Home
NT-DRT21 DeviceNet (CompoBus/D) Interface Unit
Contents
1. Reference 1 When sending explicit messages set the response monitoring time in S 2 to 0014 Hex 2 seconds or higher If a shorter time is set communications may still be busy when the next command is sent after a timeout occurs 2 The maximum number of bytes that can be transferred shown above is the maximum number of bytes allowed with IOWR in CS1 series PCs The actu al number of bytes that can be sent or received depends upon the explicit message IOWR Data Area Ranges for CS1 series PCs The following tables shows the data areas that can be used for each parameter of IOWR CIO Area CIO 0000 to CIO 6143 CIO 0000 to ClO 6142 Work Area W000 to W511 W000 to W510 Holding Bit Area HO000 to H511 H000 to H510 Auxiliary Bit Area A000 to A959 A000 to A958 Timer Area T0000 to T4095 T0000 to T4094 Counter Area C0000 to C4095 C0000 to C4094 DM Area D00000 to D32767 D00000 to D32766 EM Area without bank E00000 to E32767 E00000 to E32766 EM Area with bank En_00000 to En_32767 n 0 to En_00000 to En_32766 n 0 to C Indirect DM EM D00000 to D32767 addresses in binary E00000 to E32767 En_00000 to En_32767 n 0 to C Using Message Communications Section 7 2 Indirect DM EM D00000 to D32767 addresses in BCD E00000 to E32767 En_00000 to En_32767 n 0 to Constants 0000 to FFFF D 000
2. Initializing DeviceNet CompoBus D Memory Switches 0005 Serial Port A Settings DeviceNet CompoBus D Memory Switch Settings 0 0 0 0000 Checking the PT Settings Checking Communications with the PT Checking the System Program Version 52 52 54 56 57 59 61 64 66 67 51 Installing the System Program Section 5 1 5 1 Installing the System Program A special system program must be installed in the PT in order to use the Device Net Interface Unit The system program for the DeviceNet CompoBus D Inter face Unit is included with the Unit This section explains how to install the system program in the PT For details on other operations refer to the PT s Setup Manual or the Support Tool s Operation Manual The NT series Support Tool must be version 3 2 or higher Reference 1 5 1 1 PT Operations Putting the PT into System Installer Mode 52 To install the system program the system installer software is needed The system installer is included with the NT ZJ3AT1 EV3 ZJCAT1 EV3 and ZJCAT1 EV4 Support Tool Install the system installer software when installing the Support Tool in your personal computer Refer to the Support Tool s Operation Manual for details on installing and using the system in staller software The PT will be completely unusable if the system program is accidentally erased Before deleting the system pr
3. Insert a line filter on the primary side of the communications power supply When there are two or more communications power supplies the communica tions power cables can be grounded by simply connecting a single Power Sup ply Tap near the center of the communications cable Do not ground shielding wire at more than one place T branch Tap or Power Supply Tap Ground at only one point or Communications Connector Power Supply Tap Power Supply Tap M Y Master Master El E Slave PS Slave PS Slave PS PS Communications TS 5 PS Communications power supply power supply When there is only one power supply When there are two or more power supplies 39 Sharing the Same Power Supply Section 3 7 3 6 Correcting Faulty Operation Caused by Noise Communications Cable Shielding Communications Power Supply When noise is thought to be the cause of a malfunction in the DeviceNet net work the following measures may be effective Suspend the communications cable shielding wire without grounding it This will filter the noise that flows from the ground to the communications cable and will filter the noise current that flows in the shielding wire Suspend the communications power supply without grounding it This will also filter the noise that flows from the communications power supply groun
4. Port 0 to 7 Enabled Flags A50200 to A50207 are OFF during Enabled Flags communications instruction execution for ports 0 to 7 A50200 to A50207 respectively and turn ON when execution has completed regardless of whether or not an error has occurred Do not start a communications instruction for a port unless the corresponding Enabled Flag is ON Port 0 to 7 Execution Error Flags A50208 to A50215 turn OFF Execution Error Flags following normal completion of a communications A50208 to A50215 instruction i e after reception of response signal for ports 0 to 7 respectively These flags turn ON after an unsuccessful communications instruction attempt Execution Error Flags will maintain status until the next communications instruction They will turn ON when the next communications instruction is executed even if an error occurred for the last instruction Error types Time out error command response time greater than the response monitoring time set in the control words Transmission data errors Message The Communications Enabled Flag turns OFF when Communications message communications are not possible for the Enabled Flag in the Master Unit due to detection of Bus Off or other errors Master Unit status area This flag is ON when message communications are bit 12 in CIO 1500 possible 25 x unit No Note The behavior of the Message Communications Enabled Flag in the CVM1 CV series PCs i
5. TC 000 to TC 511 Data Memory Area DM 0000 to DM 6599 Fixed DM Area DM 6600 to DM 6655 Extended DM Area EM 0000 to EM 6143 Constants 0000 to FFFF Not usable 0001 to F128 Specifying the Leading Address of the Response Words Specify the leading address as shown in the following table These tables show only the ranges that can be used with message communications limited to ac cessing word units Refer to the PC s manuals for more details Word Bits 00 to 07 Bits 08 to 15 S Data area specifier Leftmost 2 digits of address S 1 Rightmost 2 digits of address Bit always 00 95 Using Message Communications IR Area Allowed range IR 000 to IR 511 80 Section Data area specifier Hex 7 2 Address Hex 0000 to 01FF Link Area LR 00 to LR 63 80 03E8 to 0427 Holding Area HR 00 to HR 99 80 0428 to 048B Auxiliary Area AR 00 to AR 27 80 048C to 04A7 Timer counter PVs TIM CNT 000 to TIM CNT 511 81 0000 to 01FF DM Area DM 0000 to DM 6655 82 0000 to 19FF EM Area EM 0000 to EM 6143 0000 to 17FF 98 Current bank 90 to 97 banks 0 to 7 A8 to AF banks 8 to 15 Using IOWR Use t Master Units Message Communications Enabled Flag as an execution condition for IOWR Be sure this Flag is ON before executing IOWR If this Flag is OFF a Special I O Unit error may
6. 04 81 69 Overview of Remote I O Communications Section 6 1 6 1 Overview of Remote I O Communications The Master and Slaves can communicate as described below with DeviceNet remote I O communications e Input Area Inputs at the Slave are read automatically and mirrored in the Master s input area e Output Area Data written in the output area allocated in the Master s memory are automati cally output to the corresponding Slave Reference The names of the input and output areas indicate the direction of I O from the perspective of the Master host 6 1 1 Data Exchange with the DeviceNet Interface Unit The DeviceNet Interface Unit using remote I O communications can exchange data with the host to control the PT or check its status The three allocation settings listed below must be made in order to perform re mote I O communications between the Master PC and PT using the DeviceNet Interface Unit 1 2 3 1 The settings that allocate PT data the PT status control notify areas win dow control area or other elements to PT memory Allocated data Allocation method PT status control area PT status notify Set the Control Notify Area in the area and window control area NT series Support Tool s PT Configuration settings Other Numeral character string and Set in the NT series Support Tool s eleme bit memory table data Table settings nts Lamps and touch switches Set in each element s properti
7. 80 Reference 1 2 3 After a short time turn the scan list clear bit OFF again We recommend turning the bit OFF after verifying the results of the operation in the master status area Use a PC Programming Device to turn bit 00 of the software switches the scan list enable bit from OFF to ON After a short time turn the scan list enable bit OFF again We recommend turning the bit OFF after verifying the results of the operation in the master status area If the remote I O allocation was registered properly and the Master is operat ing in scan list enabled mode the dot display on the Master Unit s 7 seg ment LED will be OFF and remote I O communications will start with the reg istered allocation Use a PC Programming Device to check whether remote I O communica tions are operating as expected When the remote I O allocation has been performed properly remote I O communications will start automatically the next time that the Master starts Free User set Allocation Use the following procedure to register the remote I O allocation area This example provides a summary of the relevant Configurator operations Re fer to the DeviceNet CompoBus D Configurator Operation Manual W328 for more details This example explains the allocation when there is only one Master Refer to the DeviceNet CompoBus D Operation Manual W267 for details on allocation with more than one Master 1 A 12 13 T
8. Countermeasures Refer to EN50081 2 for more details Countermeasures are not required if the frequency of load switching for the whole system including the PC is less than 5 times per minute Countermeasures are required if the frequency of load switching for the whole system including the PC is more than 5 times per minute Countermeasure Exam ples When switching an inductive load connect a surge protector diodes etc in Circuit parallel with the load or contact as shown below Current CR method Inductive load AC DC Characteristic If the load is a relay or solenoid there is a time lag between the moment the circuit is opened and the moment the load is reset If the supply voltage is 24 or 48 V insert the surge protector in parallel with the load If the supply voltage is 100 to 200 V insert the surge protector between the contacts Required element The capacitance of the capacitor must be 1 to 0 5 uF per contact current of 1 A and resistance of the resistor must be 0 5 to 1 per contact voltage of 1 V These values however vary with the load and the characteristics of the relay Decide these values from testing and take into consideration that the capacitance suppresses spark discharge when the contacts are separated and the resistance limits the current that flows into the load when the circuit is closed again The dielectric strength of the capacitor
9. Notification bits PM0064 to 6 3 Allocating PT Memory to the Host Master In order to use remote I O communications with the DeviceNet Interface Unit PT memory must be allocated in the host s DeviceNet I O memory input and output areas The following two steps are required to allocate PT memory in the host s input and output areas e Allocate the DeviceNet Interface Unit s input and output areas in the PT s inter nal PT memory Allocate memory with the PT s system menu e Allocate the DeviceNet Interface Unit s input and output areas in the I O memory of the PC CPU Unit where the Master is mounted Allocate memory to the Master as a DeviceNet Slave The steps above indirectly allocate part of the PT memory s area to the host s Master s I O memory as input and output areas 6 3 1 Allocating Input and Output Areas to PT Memory PT memory consists of 10 000 words from 0000 to 9999 PMO0000 to PM9999 The DeviceNet Interface Unit s input and output areas can be allocated to any location in PT memory and each area can be up to 32 words long 74 Allocating PT Memory to the Host Master Section 6 3 Allocate input and output areas to PT memory from the PT s system menu by selecting CompoBus D Seiting Switches Function Setting range Default Output area leading Sets the leading PT memory address of the PT s output PMO000 to PM9999 address area when the PT is used as a Devic
10. Total power supply length on right 140 m Total current consumption on left 1 1 1 25 2 35 A Total current consumption on right 0 5 0 25 0 25 0 85 1 85 A Maximum current for thick cable for 100 m see previous table 2 93 A Maximum current for thick cable for 140 m see previous table 2 1 A using straight line approximation between 100 to 150 m Because the total current flow on both the left and right sides is now less than the maximum current the power supply can be placed as shown in the diagram and supply current to all nodes Sharing the Communications Power Supply Section 3 3 3 3 5 Step 2 Calculating the Best Location of the Actual Nodes Formulas Go to Step 2 if the best location for the power supply cannot be determined from the graphs The second method calculates the best location for each actual node and does not estimate the worst possible configuration for the power sup ply Basically in the DeviceNet network the permissible maximum voltage drop with in the system can be specified at 5 V for a power supply line V or V by calcu lating the specifications for the voltage of the communications power supply 24 VDC and the input voltage of the communications power supply of each device 11 to 25 VDC Of the permissible maximum voltage drop within the system 5 V the permissi ble voltage drop in the trunk lines and drop lines are 4 65 V and 0 35 V respec tively Voltage Drop In the DeviceN
11. e Locations subject to shock or vibration Take appropriate and sufficient countermeasures when installing systems in the following locations e Locations subject to static electricity or other forms of noise e Locations subject to strong electromagnetic fields e Locations subject to possible exposure to radioactivity e Locations close to power supplies The operating environment of the PC System can have a large effect on the lon gevity and reliability of the system Improper operating environments can lead to malfunction failure and other unforeseeable problems with the PC System Be sure that the operating environment is within the specified conditions at installa tion and remains within the specified conditions during the life of the system 5 Application Precautions Observe the following precautions when using the PC System e You must use the CX Programmer programming software that runs on Win dows if you need to program more than one task A Programming Console can be used to program only one cyclic task plus interrupt tasks A Program ming Console can however be used to edit multitask programs originally created with the CX Programmer xiii Application Precautions 5 xiv e There are restrictions in the areas and addresses that can be accessed in I O memory of the CS1 series CPU Units when using the C200H Special I O Units in combination with the following functions e There are restrictions in data t
12. 77 functions functions of the DeviceNet Interface Unit 10 grounding 37 Identity Object 0x01 111 Indicators LED indicators 44 installation 43 precautions xiii IOWR instruction for message communications 91 L ladder program sample program 103 language setting PT display language 53 LED indicators 44 and troubleshooting 109 Master Units compatible Master Units 7 using multiple Masters 3 Memory Link control 2 contrast with regular Memory Link method 11 memory switches initializing 57 Message Communications 5 83 105 See also explicit Message Communications Message Router Object 0x02 111 model numbers 119 mounting the Unit 45 MS indicator 44 multi drop method 23 Multi layer Networks 3 123 Index N DeviceNet network connecting to a DeviceNet network 2 network connecting to a DeviceNet network 2 45 designing 21 grounding the network 37 network configuration 22 network length maximum 24 noise reducing noise 38 40 NS indicator 44 O P operating environment precautions xiii operating procedures 16 power supply 40 locating 29 sharing communications power supplies 27 using multiple power supplies 36 precautions xi applications xiii general xii operating environment xiii safety xii program sample program 103 PT Control Object Ox8B 114 PT Memory Read explicit message 99 PT Memory Write explicit message 101 PT Ob
13. Object instance 3 Attribute 1 State Rea 2 Instance type 01 hexadecimal 3 Transport class trigger 82 hexadecimal 4 Produced connection ID 5 Consumed connection ID 6 Initial comm characteristics 01 hexadecimal 7 Produced connection size See note 8 Consumed connection size 01 hexadecimal 9 Expected packet rate 12 Watchdog time out action 01 13 Produced connection path length 00 14 Produced connection path 00_00_00_00_00_00 15 Consumed connection path length 00 16 Consumed connection path 00_00_00_00_00_00 17 Production inhibit time 00 DeviceNet service Parameter option Object instance 3 Service 05 Reset OE Get_Attribute_Single 10 Set_Attribute_Single Note The following table shows the settings for the input area size number of bytes The actual setting format is 2 bytes with the leftmost byte and rightmost byte values shown in following table reversed O se O O vawe O Produced connection size Input area 0 to 64 bytes 00 to 40 hexadecimal PT Object 0x8A Object class Attribute Not supported Service Not supported DeviceNet service Parameter option Object instance Service Block_String_Read Logical Area Address Block_StringN_Read Logical Area Address Length Block_String_Write Logical Area Address Block_StringN_Write Logical Area Address Length PT Control Object Ox8B Object class Attribute N
14. Transfers data in any area Numeral memory table DeviceNet Network Direct access 1 5 2 Contrast with the Regular Memory Link Method The following operations are different with the DeviceNet Interface Unit and with regular Memory Link method e The transmission direction of the input area is always PT Host and that of the output area is always Host PT so two way functions cannot be used when using the input and output areas e Except for remote I O communications no locally initiated communications functions are supported by the DeviceNet Interface Unit With explicit mes sage communications communications are always executed by commands sent from the host and corresponding responses from the PT e Since the DeviceNet Interface Unit does not support locally initiated commu nications functions other than remote I O communications it is necessary to set the strobe ON interval to match system requirements and always read the status of the strobe at the Master Set the interval in the system menu The following table lists the operational differences between the regular Memory Link and the DeviceNet Interface Unit s Memory Link that arise due to differ 11 Functions of the DeviceNet CompoBus D Interface Unit Section 1 5 Communications with host method used to read write PT memory ences described above and differences in the hardware used for communica tions With Regular Memory
15. a single power supply will not be sufficient In that case proceed to Step 3 Configuration Example Nodes Located at Both Sides of the Power Supply Trunk Line Thick cable Drop Lines Thin cables System 1 Communications power supply System 2 Terminating resistor Thin drop line Master 16 Output points Thick truck line Terminating resistor 16 Input points 2 Analog inputs 16 Input points 2 Analog inputs 10 units units Fow 16 Output points units 4 Analog inputs 16 Input points 2 Analog inputs mo Ne pa Nfe Group Group 2 Group 3 Group 4 Group 1 Group 2 Group 3 Group 4 Communications power supply 45 mA 30 mA x 7 255 mA 30 mA x 10 300 mA 30 mA x 5 150 mA 30 mA x 5 150 mA Internal circuit power supply 90 mA x 7 630 mA 80 mA x 10 800 mA 70 mA x 5 350 mA 140 mA x 5 700 mA e Calculate the voltage drop of each group in each system when the network is supplied by the communications power supply only System 1 Group 1 20 x 0 015 2 x 0 005 x 0 255 0 0791 V Group 2 10 x 0 015 1 x 0 005 x 0 3 0 0465 V Total voltage drop for System 1 0 0791 0 0465 0 1256 V 4 65 V Thus the best location for the nodes can be determined by using the first formula System 2 Group 3 10 x
16. eee ee ee eee 2 1 4 Setting Up Communications 0 0 e eee eee 2 1 5 Starting Remote I O Communications During Operation 2 2 Simple System Configuration 16 16 17 18 18 20 20 15 Operating Procedures Flowchart Section 2 1 2 1 Operating Procedures Flowchart This section shows a flowchart of the basic operating procedures up to using the PT connected to the DeviceNet Interface Unit 2 1 1 PT Settings Procedure Setting the PT Memory s Input and Output Areas Turn ON the PT s power supply Download the system program Turn OFF the PT s power supply Mount the DeviceNet Interface Unit Turn ON the PT s power supply Settings in the PT s system menu DeviceNet Software Switch settings e Output area s starting PT memory word Example PM0100 e Size of output area Example 32 words e Input area s starting PT memory word Example PM0200 e Size of input area Example 32 words e Communications speed e Local node number e Strobe ON time setting Setting the PT Configuration with the NT series Support Tool PC vendor Memory Link PT status control area Example PM0100 to PM0104 PT status notify area Example PM0200 to PM0202 Specify PC addresses for parts LED PM010515 Touch switch input notification PM020300 Numeral memory table 0 PM0106 and PM0107 16 Transfer screen data Turn OFF the PT s power supply Set
17. include the PT status control area within the output area 5 The settings for the output area size and input area size determine the sizes of the PT s output area and input area when it is used as a Slave Making Settings Use the following operation in the system menu to set the CompoBus D memory switches Ver 2 10 Press Maintenance Mode 62 DeviceNet CompoBus D Memory Switch Settings Section 5 5 Selt node No Strobe ON Time Selt node No Strobe ON Time The setting of CompoBus L ig changed Fress Reset to enable the set value Reset Press Memory Switch Press CompoBus D Setting Switch Press the touch switch next screen or touch switch previous screen to display the desired CompoBus D switch setting screen The current settings will be displayed when the desired screen is selected The setting option changes each time the touch switch is pressed Press Quit when the CompoBus D switch set tings have been completed The final settings will go into effect and the re set screen will be displayed Press Reset The PT will be reset and the PT will restart To set other memory switches select the relevant screen using the g touch switch next screen or touch switch previous screen and then make the set ting 63 Checking the PT Settings Section 5 6 To quit th
18. 0 015 1 x 0 005 x 0 15 0 0233 V Group 4 30 x 0 015 2 x 0 005 x 0 15 0 069 V Total voltage drop for System 2 0 0233 0 069 0 0923 V 4 65 V Thus the best location for the nodes can be determined by using the first formula e Calculate the voltage drop of each group in each system when the commu nications and the internal circuit power supplies are the same System 1 Group 1 20 x 0 015 2 x 0 005 x 0 885 0 2744 V 35 Sharing the Communications Power Supply Section 3 3 Group 2 10 x 0 015 1 x 0 005 x 1 1 0 1705 V Total voltage drop for System 1 0 2744 0 1705 0 4449 V 0 65 V Thus the best location for the nodes can be determined by using the second formula System 2 Group 3 10 x 0 015 1 x 0 005 x 0 5 0 0775 V Group 4 30 x 0 015 2 x 0 005 x 0 85 0 391 V Total voltage drop for System 2 0 0775 0 391 0 4685 V 0 65 V Thus the best location for the nodes can be determined by using the second formula 3 3 6 Step 3 Splitting the System into Multiple Power Supplies Go to Step 3 if the best location for the nodes cannot be calculated from the for mulae In the third step there are multiple power supplies and the power supply system is split Splitting the Power Supply System e Be sure to use a Power Supply Tap for each power supply when the network is supplied by two or more power supplies e Remove the fuses in the Power Supply Tap to split the p
19. 11 Features of the DeviceNet Interface Unit Section 1 1 1 1 Features of the DeviceNet Interface Unit Compatible with Other Companies Masters Easily Connect to an Existing DeviceNet Network Supports Remote I O and Explicit Message Communications Memory Link Conirol The DeviceNet Interface Unit is an interface that connects PTs Programmable Terminals to a DeviceNet network The DeviceNet Interface Unit can connect NT31 NT31C NT631 and NT631C PTs DeviceNet is a industry standard network so the DeviceNet Interface Unit is compatible with devices from different vendors An OMRON PT can be con trolled from another company s Master when it is connected to the DeviceNet network The DeviceNet Interface Unit allows a PT to be connected easily to an existing DeviceNet network Separate PT wiring is not required and wiring work is re duced The DeviceNet network has a maximum communications distance of 500 m so a PT in aremote location can be controlled from the Master The DeviceNet Interface Unit supports both remote I O communications and ex plicit message communications e Remote I O Communications Remote I O communications can exchange data 32 input words and 32 out put words max with the PT at high speed and without programming just like regular I O e Explicit Message Communications More complicated control operations can be performed by sending explicit messages from the Master when required A PT
20. 12 1 10 98765 4 Word m Screen number 4 BCD digits Numeral character string memory table number Word m 1 4 digit BCD or hexadecimal Word m 2 PT status notify bits PT status notify area s Displayed screen number None The current screen number can be found in the PT status control area s screen number Notify the host of the displayed screen number Strobe of the PT status notify area s PT status notify bit The strobe goes ON for a fixed time when the displayed screen is changed or the contents of the numeral or character string memory table are changed At the same time the host is notified by the Memory Link command The strobe goes ON for time set in the system menu There is no notification to the host The strobe s ON time must be longer than the interval between data reads from the host Window control area Normally this area is used in both directions and the contents of this area are mirrored in the corresponding area in the host e Specification of the displayed window from the host to the PT e Notification of the displayed window from the PT to the host e When allocated to the input area only notifica tion of the displayed window from the PT to the host is performed e When allocated to the output area only specifi cation of the displayed window from the host to the PT is performed e When allocated to an area other than the input
21. Allocation information DeviceNet service Parameter option Object instance Service OE Get_Attribute Single 4B Allocate Master Slave_Connection_Set 4C Release_Master Slave_Connection_Set Connection Object 0x05 Object class Attribute Not supported Service Not supported Max number of active connections 1 Section Information Max number of instances Object instance 1 Instance type Explicit Message Production trigger Cyclic Transport type Server Transport class 3 ID content Object instance 1 Attribute 1 State 2 Instance type 3 Transport class trigger 4 Produced connection ID 5 Consumed connection ID 6 Initial comm characteristics 7 Produced connection size 00 hexadecimal 83 hexadecimal 21 hexadecimal FO hexadecimal 8 Consumed connection size FO hexadecimal 9 Expected packet rate 12 Watchdog time out action 01 13 Produced connection path length 14 Produced connection path 15 Consumed connection path length 16 Consumed connection path 17 Production inhibit time DeviceNet service Parameter option Object instance 1 Service 05 Reset OE Get_Attribute_Single 10 Set_Attribute_Single 112 Device Protocol Appendix A Section Information Max number of instances Object instance 2 Instance type Polled I O Production trigger Cyclic Transport type Server T
22. EC Directives 6 1 6 2 6 3 6 4 Relay Output Noise Reduction Methods xii xii xii xiii xiii xvii xvii xvii xvii xvii xi Safety Precautions 1 2 3 xii Intended Audience This manual is intended for the following personnel who must also have knowl edge of electrical systems an electrical engineer or the equivalent e Personnel in charge of installing FA systems e Personnel in charge of designing FA systems e Personnel in charge of managing FA systems and facilities General Precautions N WARNING The user must operate the product according to the performance specifications described in the operation manuals Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems railroad systems aviation systems vehicles combustion systems medical equipment amusement ma chines safety equipment and other systems machines and equipment that may have a serious influence on lives and property if used improperly consult your OMRON representative Make sure that the ratings and performance characteristics of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides information for using the DeviceNet CompoBus D I F Unit Be sure to read this manual before attempting to use the Unit and keep this manua
23. Flashing Non fatal communications error Communications timeout Not lit Offline or power supply OFF e Waiting for completion of the Master s node number duplication check e Incorrect switch settings such as an incor rect communications speed setting e Faulty network communications cable e Power supply OFF 109 Troubleshooting with the LED Indicators Section 8 2 8 2 2 Identifying and Correcting Errors in Slaves Meaning Remote I O communications or message communications in progress Remote I O communications in progress or message communications being executed Remarks Remote I O communications message communications or both are being executed Indicates normal communications status Lit green Not lit Checking for node number duplication Waiting for the Master s node number duplication check When the local Slave PT is the only Slave in this status check the communications speed setting and restart the PT Lit green Flashing green Waiting to connect Waiting for connection to be established from the Master Lit red Not lit Watchdog timer error A watchdog timer error occurred at the Slave Replace the Slave DeviceNet Interface Unit Flashing red Not lit Incorrect switch settings Incorrect switch settings such as the DIP switch Check the DeviceNet memory switch settings and restart the PT
24. Gare 38 3 6 Correcting Faulty Operation Caused by Noise 0 0 cee eee eee eee 40 3 7 Sharing the Same Power Supply 0 00 eee eee eens 40 21 Network Configuration Section 3 1 3 1 Network Configuration Terminating Resistors are connected at each end of the trunk line The following diagram shows the configuration of a DeviceNet network Communications power supply 24 VDC P ower Supply Trunk Tap or T branch line M Trunk line M Trunk line Terminating Resistors DeviceNet are connected at each cables are used end of the trunk line T branch DeviceNet Cables are used ram ie i branch Tap Tap T T branch connection M Multi drop connection DeviceNet cables 5 wire cables are used for the trunk lines and drop lines 3 1 1 Network Components Nodes Trunk Drop Lines Connection Methods Terminating Resistors Communications Power Supplies Note 22 There are two kinds of nodes in a DeviceNet network The Slaves connect to external I O and the Master administers the Network and manages the external I O of the Slaves There are also Slaves that exchange data with devices such as the CPU Unit and PTs The Master and Slaves can be
25. Link Data transfer by Memory Link commands via RS 232C or RS 422A communications With DeviceNet Interface Unit e Data transfer through the DeviceNet input and output areas The contents of corresponding words in the host are updated automatically e Data transfer by explicit message communica tions Refer to 1 5 1 Communications Using the DeviceNet Interface Unit for more details Functions possible between the PT and host The following functions can be executed with the Memory Link command e Read write PT memory numeral memory tables character string tables or bit memory tables e Clear numeral memory tables character string tables or bit memory tables e Notify the host of a touch switch numeral or character input e Notify the host of a change in the direct area or PT memory e Change the PT s operating mode e Send a resend request to the PT e Return an error response to an illegal command from the host The following functions can be executed by sending explicit messages e Read write PT memory Data is automatically transferred through the input and output areas Data can be transferred to or from any area with explicit message com munications Structure of the PT status notify area Bit Word 15 14 13 12 11 10 9 8765 43 214 0 Numeral character string memory table number 4 digit BCD or hexadecimal PT status notify bits fofo Word m Word m 1 Bit Word 15 14 13
26. Lit green Lit red Node number duplication A node number is duplicated with the Master Unit Reset the node numbers to eliminate duplication and restart the Slave Lit green Lit red Busoff detected Bus Off status communications stopped due to multiple data errors Check the following points and restart the Slave PT e Are the Master and Slave DeviceNet Inter face Unit communications speeds the same e Are the cable lengths trunk and branches within specifications e Are any cables disconnected damaged or loose e Are termination resistors connected only at each end of the trunk line e Is noise excessive 110 Flashing red Communications timeout Check the following points and restart the Slave PT e Are the Master and Slave DeviceNet Inter face Unit communications speeds the same e Are the cable lengths trunk and branches within specifications e Are any cables disconnected damaged or loose e Are termination resistors connected only at each end of the trunk line e Is noise excessive General data Appendix A Device Protocol Compatible DeviceNet specifications Volume I Release 1 3 Volume II Release 1 3 Vendor name OMRON Corporation Vendor ID 47 Device profile name Slave Human Machine Interface Profile number 18 Product catalog number V066 Product revision 1 0 Physical conforman
27. Remote I O communications will start with the scan list enabled Commu nications will not start at if they have been set to be stopped at startup from the Configurator Use the software switches or Configurator to start and stop remote I O communications Confirm that the MS and NS indicators on all Master Units and Slaves e the PT are lit green Read the Network configuration from the Configurator Save the Network configuration in a file from the Configurator Switch the PC to RUN mode 19 Simple System Configuration Section 2 2 2 1 5 Starting Remote I O Communications During Operation 1 2 3 1 Turn ON the communications power supply and then the power supply to the Slaves i e the PT 2 Turn ON the power supply to the Master i e the PC 3 Switch the PC to RUN mode Reference It is alright to turn ON the following power supplies simultaneously If the power supplies cannot be turned ON simultaneously turn them ON in the order listed above Communications power supply and Slave PT power supply Slave PT power supply and Master Unit PC power supply All three power supplies Precautions Observe the following precautions e Use a DC power supply with low voltage fluctuation e If the Slave s PT s power supply is turned ON before the communications power supply the Slave PT might not be added to the network Turn the pow er supplies ON simultaneously or turn ON the communications pow
28. Set MEMORY SWITCH 3 3 fa Comm A Bar code None Set Press PT Memory Switch Press the touch switch next screen or touch switch previous screen to display the third memory switch setting screen Press Comm A Bar Code and then select ON or None The setting option changes each time that the touch switch is pressed When connecting a bar code reader to serial port A select ON and then press Set Display the required setting for each item by pressing the touch switches The setting option changes each time the touch switch is pressed DeviceNet CompoBus D Memory Switch Settings Section 5 5 Press Quit Pressing Abort on the communication condition confirmation method setting screen causes the PT to return to the memory switch setting screen 3 3 without changing the settings The previous settings will still be effective When the communication condition confirmation method settings have been completed the PT returns to the memory switch setting screen 3 3 To set other memory switches select the relevant screen using the touch switch next screen or touch switch previous screen and then make the set ting e To confirm the settings and quit the memory switch setting screen press the Quit touch switch The settings made last will be set and the PT will return to the memory switch menu e To quit the memory switch setting screen without confirming
29. Supply Special Power Supply Tap Tap cp Remove the fuse and split V a fuse V 0 Make V the same for v Systems 1 and 2 24V OV 4 Duplex Power Supply with Multiple Power Supplies Special Power Special Power Supply Tap Supply Tap Ee A A Ee ommunications ommunications power supply Node Node Node Node Node power supply 29 Sharing the Communications Power Supply Section 3 3 Note If power supply specifications cannot be met with a single power supply when the current capacity of the thick cable exceeds 8 A even after the power supply location is modified use more than one communications power supply In con figuration 1 the power can be supplied bi directionally to the trunk line as long as each current capacity is 8 A or less when using thick cable Accordingly it is pos sible to have a configuration with a total maximum current capacity of up to 16 A Consider changing to thick cable to meet specifications if the current capacity of the thin cable exceeds 3 A when using thin cable for the trunk line Setting the Location of Determine whether or not the current
30. System Settings L_ Erase Screen Data SYSTEM MENU Quit Transmit Mode Maintenance Mode Expansion Mode MAINTENANCE MODE MENU M Quit Memory Init Memory Switch I O Settings M Calendar Check Display History Alarm History M Screen Data Disp I O Check PT Settings page 64 1 0 CHECK MENU Quit EXPANSION MODE MENU 56 Quit Programming Console Function See note stem Version page 6 Device Monitor Function Note Nothing will be executed even if the Programming Console Function is selected a Operations changed or edited for PT use with the DeviceNet Interface Unit Operations deleted for PT use with the DeviceNet Interface Unit t Screen Data Display History Alarm History t Memory Table I F Check Device Check I F CHECK MENU Quit Tool Comm Comm Port A Comm Port B Printer MEMORY MEMORY INIT MENU SWITCH MENU Quit Quit PT Memory Switch Start up Wait Time Key Press Sound Buzzer Sound I Printer Controller Print Method Screen Saver Movement Screen Saver Start up Time Hist Disp Method Resume Function Comm Auto return L Time outnterval L Retry Counts I i Comm A Bar Code page 59 ompoBus D Setting Switch Comm Sp
31. a Terminating Resistor or a Terminating block Terminating Resistor oae Node at end of trunk line 26 Sharing the Communications Power Supply Section 3 3 3 3 Sharing the Communications Power Supply It is necessary to supply communications power to each node in the DeviceNet network 3 3 1 Prerequisite Conditions e The communications power supply must be 24 VDC e The communications power supply must be connected to the trunk line e When providing power to several nodes from one power supply if possible try to locate the nodes in both directions from the power supply e Provide power through Power Supply Taps It is however possible to use T branch Taps instead when there is one communications power supply in the system and the total current consumption is less than 5 A e The power supply capacity for cables is restricted to 8 A for thick cables and 3 A for thin cables e A single network is usually supplied by one power supply It is however pos sible to have more than one power supply when power supply specifications cannot be met with a single power supply See 3 3 6 Step 3 Splitting the Sys tem into Multiple Power Supplies e Fully consider the power supply capacity allowance in the design e If the power supply is switched OFF during the operation of the network there may be a malfunction in the nodes e The current capacity of the drop line varies according to its length The longer the drop line the
32. and the Memory Link used with the DeviceNet Interface Unit but data ex change between the PT parts memory tables etc and PT memory are the same This manual explains only the functions particular to the DeviceNet Interface Unit and their usage Refer to the appropriate manual listed below for details on procedures such as operating the PT and creating screens e NT31 NT31C setup and connections NT31 NT31C Setup Manual V062 e NT631 NT631C setup and connections NT631 NT631C Setup Manual V063 e NT31 NT31C and NT631 NT631C functions and control NT31 NT631 Reference Manual V064 e Support Tool operations and operations such as creating screens NT series Support Tool Operation Manual V061 Note The manuals listed above cover the V2 versions of the NT31 NT31C and NT631 NT631C but the PT will operate as a V1 version when the DeviceNet Interface Unit is connected so some functions listed in the manuals will not be usable Refer to Appendix B for details on differences between functions in the V1 versions system version 2 1 and the V2 versions 13 SECTION 2 Operating Procedures This section shows a simple system configuration example and basic procedures up to using the PT connected to the Device Net Interface Unit 2 1 Operating Procedures Flowchart 0 0 0 eee eee 2 1 1 PT Settings Procedure 2 1 2 Flowchart 2 1 3 Preparations prior to Communications 0 0 0
33. cece ccc ccceees 2 1 Operating Procedures Flowchart 0 0 2 cece eects 2 2 Simple System Configuration 0 00 cee nee SECTION 3 Network Design sicceaccradeddcucad doanneadadtcas 3 1 Network Configuration soe ses aie das ob hea CEE Ree eas Se ees 3 2 Limitations on the Network Configuration 0 00 cece eee eee 3 3 Sharing the Communications Power Supply 0 c eee eee eee 3 4 Grounding the Network lt cc ee eek eae ead Oe be ee Re ee 3 3 Noise Precautions 2 2h dol tet nei ee A eh ee 3 6 Correcting Faulty Operation Caused by Noise 0 000 e eee ee eee 3 7 Sharing the Same Power Supply 0 0 cee eee SECTION 4 Installation and Network Connection 4 1 Components and Their Functions 00 0 eee 4 2 Mounting the Unit on the PT ee eee 4 3 Connecting to the DeviceNet Network 0 0 eee eee SECTION 5 PT Settings and Operations cece eeeeees 5 1 Installing the System Program 0 0 e ee cece eee ee 5 2 Structure of the System Menu 0 0 eee eee eee 5 3 Initializing DeviceNet CompoBus D Memory Switches 0 9 4 Serial Port A Setting S so n een Ga eae A ME eh ee es 5 5 DeviceNet CompoBus D Memory Switch Settings 000 0 5 6 Checking the PT Settings cso ss aes eae dea ke Slee es eh eames Se aes 5 7 Checking Communications w
34. connected at any loca tion in the Network as shown in the preceding diagram The trunk line refers to the cable that has Terminating Resistors on both ends Cables branching from the trunk line are known as drop lines The trunk line length does not necessarily coincide with the maximum length of the Network DeviceNet communications are transmitted through 5 wire cables The cables come in thick or thin versions Two methods can be used to connect DeviceNet nodes The T branch method and the multi drop method With the T branch method the node is connected to a drop line created with a T branch Tap With the multi drop method the node is directly connected to the trunk line or the drop line Secondary branches can be made from a drop line Both of these connection methods can be used in the same Network as shown in the example Terminating Resistors are connected at each end of the trunk line to reduce sig nal reflection and stabilize communications There are two kinds of Terminating Resistors available one for a T branch Tap and one for a Terminating block Terminating Resistor Use a DeviceNet cable when connecting a Terminating block Terminating Resistor To use DeviceNet connect a communications power supply to the communica tions connector of each node with a 5 wire cable Basically a communications power supply internal circuit power supply and I O power supply must be pro vided separately Refer to 3 7 Sharing the Same Powe
35. connected through the DeviceNet Interface Unit can execute simulated di rect access with Memory Link The PT can be controlled from the DeviceNet Master that acts as the host by reading and writing PT memory within the PT Data transfer and control through remote I O com munications and explicit message communica Communications Slave meper tons power supply C200H I O Link Unit eo T branch ag T branch Tap T branch Tap with termination with termination PT connected to Device Net Interface Unit Network length 500 m max DeviceNet Functions Section 1 2 1 2 DeviceNet Functions 1 2 1 DeviceNet Features Multi vendor Network Simultaneous Remote I O and Message Services Connect Multiple Masters to the Same Network Multi layer Networks Allow Multi point Control and Line Expansion Free Remote I O Allocation Handle Slaves with Different Response Speeds Easily Expand or Change Lines with Various Connection Methods This section explains the features of the DeviceNet network The DeviceNet conforms to the DeviceNet open field network specification which means that devices Masters and Slaves produced by other manufactur ers can be connected to the Network A wide range of field level applications can thus be supported by combining valve devices sensors and other devices Remote I O communications that constantly exchange I O data between the Maste
36. data to use when sending an explicit message to the DeviceNet Master Unit 7 2 2 Using the CMND Instruction in CVM1 and CV series PCs Use the CMND instruction when sending explicit messages from a CVM1 CV series PC Reference The DeviceNet Master Unit must be registered in the routing table local network table of the CVM1 or CV series PC to execute the CMND 194 instruction from the PC The local network table of the routing tables lists the unit numbers of the Com munications Units mounted to the PC and the addresses of the Networks to which each Unit belongs An example local network table is shown below Unit 04 Unit 05 Unit 06 Vee Unit 07 Network 1 Network 2 Network 3 Network 4 Address of local CPU Bus Unit s network unit number The unit number of the DeviceNet Master Unit as a CPU Bus Unit is the number set on the rotary switches on the front panel The network address is the address of the Network to which the CPU Bus Unit is connected Routing tables are set from the Support Software using the following display to input the settings Local Metwork Table i z J 4 F b T H 87 Using Message Communications Section 7 2 Setting method Loc Netwk The network address of each CPU Bus Unit mounted to the PC 1 to 127 SIOU unit The unit number of each CPU Bus Unit mounted to the PC and connecting it to a network 0 to 15 DELIVER COMMAND Specify CMND 1
37. error recurs Troubleshooting with the LED Indicators Section 8 2 8 2 Troubleshooting with the LED Indicators 8 2 1 Meaning of the LED Indicators The DeviceNet Interface Unit has 2 two color red or green LED indicators Module status MS Module Status LED NS Network Status LED Indicates the PT s status as a Slave Indicates the status of the network The following table shows the functions of the LED indicators The color and sta tus of the MS and NS indicators can be used to troubleshoot errors Status Lit Indicated condition Normal status Meaning Normal Unit condition Flashing Not set yet Switch settings are being read Lit Fatal error Unit hardware error Watchdog Timer error Flashing Non fatal error Minor error such as incorrect switch settings Not lit No power being supplied e Power is not being supplied to Slave Units e Waiting for initialization to start e Unit is being reset Network status Lit Online communications established Normal network condition communications established Flashing Online communications not established Normal network condition but communications are not established Lit Fatal communications error Communications error The Unit detected an error which makes communications through the network impossible e Node number duplication e Bus off detected e Network power supply error
38. first and the leftmost 2 digits Data H second as shown in the following diagram wewa eee Leading address Leading address 1 Leading address 2 7 4 Sample Program Operation This operation reads 10 bytes 5 words of data beginning at PT memory ad dress PM0100 in the Slave PT DeviceNet Interface Unit s node number 01 from the PC s Master DeviceNet Unit with node number 63 The command used to read the data is the EXPLICIT MESSAGE SEND com mand command code 2801 Hex The explicit message used is PT Memory Read L H This explicit message has the Service Code 33 Hex Class ID 008A Hex and Instance ID 0001 Hex The command and response data are stored in the PC s DM Area with the com mand data beginning at DM 1000 and the response data beginning at DM 2000 07D0 Hex IOWR Parameters IOWR C S D C DM0000 3FFE Hex Response required destination node number 3F Hex DeviceNet unit with node number 63 destination unit address FE Hex Communications Unit S DM1000 0 8207 Hex Leading address for response DM 2000 1 D000 Hex The contents of 0 and 1 82 Hex DM Area type 07D0 Hex 2000 address 2 0064 Hex Response monitoring time 10 seconds 3 000B Hex Number of command data bytes 11 bytes 4 2801 Hex Command code 2801 Hex EXPLICIT MESSAGE SEND command 5 0133 Hex Command Destination node number 01 parameters service code 33 Hex PT Memory Read L H 6 008A Hex Co
39. input words and 32 output words The number of words used by all of the Slaves including the DeviceNet Interface Unit must not exceed the maximum number of words available in the Master In particular when the Master is a C200HS a DeviceNet Interface Unit set to its default settings will use all of the Master s available words If the number of words used by all of the Slaves exceeds the maximum num ber of words available in the Master either reduce the number of Slaves or reduce the number of words used by the DeviceNet Interface Unit by chang ing the settings of the CompoBus D setting switches The memory switches for the DeviceNet Interface Unit that have been set in the PT will all be returned to their factory default settings by the CompoBus D set ting switch initialization function Use the following operation in the system menu to initialize all of the memory switch settings Ver 2 10 Press Maintenance Mode Press Memory Init 57 Initializing DeviceNet CompoBus D Memory Switches Section 5 3 58 Mji Kaori Si ih Initialize CompoBus D Setting Switches Finished The setting of CompoBus 0 ie changed Fress Reset to enable the set value Reset Press Memory Switch Press CompoBus D Setting Switch Press Yes The memory switches for the DeviceNet Inter face Unit will be initialized The message ni tializing
40. node can be determined using the formula the specifica tions for the power supply to each node can also be met Do not exceed the max imum current capacity of the cable Thick cable 8 A and thin cable 3 A Condition Formula 2 For the Voltage Drop of the Trunk Line O Lnx Re Nt x 0 005 x In 0 65 V Ln The distance between the power supply and the nodes not includ ing the lengths of the drop lines Re Maximum cable resistance Thick cable 0 015 Q m thin cable 0 069 Q m Nt The number of taps between each node and the power supply In The consumption current required for the communications power supply and the internal circuit power supply for each node 0 005 Q The contact resistance of the taps Sharing the Communications Power Supply Section 3 3 Countermeasures If the best locations cannot be determined using either the first or second formu lae follow the procedure as shown below e Locate the communications power supply in the center of the network and the nodes to both sides of it e If the nodes are already located at both sides of the power supply move the power supply in the direction that requires the larger current capacity e If thin cable is being used replace it with thick cable e Move the highest current consumption node nearer the power supply If the best locations still cannot be determined using the first and second formu lae even after carrying out the above procedure
41. not suited to long communications distances The maximum length of a network thus depends on the type of cable that is used as shown in the following table Cable type Maximum network length Thick cables 5 wire 500 m Thin cables 5 wire 100m Reference a If the length of the network is 100 meters or less the thin cables can be used for the trunk line When using thin cables for the trunk line be sure that communications power supply conditions are met Refer to 3 3 Sharing the Communications Power Supply 2 The length of the network is also restricted by the baud rate used Even with thick cables the length of the network will be restricted if the baud rate is set to anything but 125 kbps Refer to 3 2 1 Baud Rate and Communications Distance above Limitations on the Network Configuration Section 3 2 Note Combining Thick and Thin Cables The most distant nodes can also be connected by a combination of thin and thick cables When these cables are combined the following conditions must be met and the maximum network length will be shorter than when only thick cables are used Also when combining cables be sure that the maximum current capacity of the cables is not exceeded Refer to 3 3 Sharing the Communications Power Supply Baud rate Maximum network length LtHick LtHin O 100 m LtHick 2 5 x LtHin O 250 m Ltnick 5 X LtHin O 500m LtHicK Length of the thick cable LtHin Length of thin ca
42. occur Execution condition Message Communications Enabled Flag A 25506 Equals Flag Note Use the Equals Flag SR 25506 to execute the instruction again when IOWR execution ends in an error The status of the Equals Flag can be changed by other instructions be careful of its location in the program Communications Flags The following table shows the flags that are normally used when executing IOWR Address C200HX HG HE SR 25506 Functions The Equals Flag turns OFF when an error occurs in writing a command from the CPU Unit to the Master Unit This Flag turns ON after a command has been written normally from the CPU Unit to the Master Unit Equals Flag C200HX HG HE SR25503 The Error Flag is OFF when all operands and the control code are legal This Flag turns ON when an illegal operand or control code is set see note 1 or when there is an error in instruction execution CS1 series Bit 12 in ClO 2001 10 x unit No C200HX HG HE Bit 12 in IR 101 10 x unit No Message Communications Enabled Flag in the Master Unit status area The Communications Enabled Flag turns OFF during messages communications or when message communications are not possible This Flag is ON when message communications are possible 1 The number of words to write in D is not BCD or is not between 1 and 127 With indirect DM addressing the DM contents are not BCD or exceed 6556 No
43. or output area it is necessary to regularly read the contents to recognize changes and write data to control the displayed window Notification to the host Notify the host with the notification command None The user must confirm contents by regularly reading data at the locations where changes are expected or allocating part of the input area so that data is read automatically System program in the PT 12 Use the factory installed system program or the system program included with the Support Tool Install the system program included with the DeviceNet Interface Unit Functions of the DeviceNet CompoBus D Interface Unit Section 1 5 With Regular Memory Link With DeviceNet Interface Unit Simultaneous use Possible The Memory Unit cannot be used because the with the Memory DeviceNet Interface Unit also uses the Unit Expansion Interface Connector on the back of the PT It is possible to reconnect the Memory Unit and save data such as the DeviceNet Interface Unit s screen data Use of the RS 422A Possible for communications with the host Not possible A bar code reader or computer port running Support Tool can be connected to the RS 232C port Any functions that are not listed in the table above are identical with the regular Memory Link and the Memory Link used with the DeviceNet Interface Unit Com munications between the PT and host are different between the regular Memory Link
44. permissible maximum voltage drop for a single power supply line 1 V the permissible voltage drop in the trunk lines and drop lines are 0 65 V and 0 35 V respectively Supplying Power Independently for Communications and Internal Circuit Calculate the distance between the power supply and each node and the cur rent consumption of each node s communications Refer to the DeviceNet CompoBus D Operation Manual W267 Try to calculate the best location for 33 Sharing the Communications Power Supply Section 3 3 34 Note each node using the formula below If the best location for each node can be determined using the formula the specifications for the power supply to each node can also be met Do not exceed the maximum current capacity of the cable Thick cable 8 A and thin cable 3 A Condition Formula 1 For the Voltage Drop of the Trunk Line O Ln x Re Nt x 0 005 x Inf 4 65 V Ln The distance between the power supply and the nodes not includ ing the lengths of the drop lines Re Maximum cable resistance Thick cable 0 015 Q m thin cable 0 069 Q m Nt The number of taps between each node and the power supply In The consumption current required for the communications power supply for each node 0 005 Q The contact resistance of the taps Supplying Shared Power for Communications and Internal Circuit The permissible ambient power supplies of the communications and the internal circuit are as s
45. respectively The completion codes are stored as 2 bytes of data 1 word upon completion of the execution of CMND 194 These codes are the same as the response codes for FINS commands The first byte of the completion code is placed in bits 08 to 15 and the second byte is placed in bits 00 to 07 Refer to the DeviceNet Com poBus D Operation Manual W267 for more details Timing the Reading of Responses When reading the response from the DeviceNet Interface Unit after execution of CMND 194 read the response on the rising edge upward differentiation of the Port Enabled Flag as shown in the following diagram Port Enabled Flag tH Processing to read response te Using Message Communications Section 7 2 7 2 3 Using the lIOWR Instruction in CS1 series and C200HX HG HE PCs Use the IOWR instruction when sending explicit messages from a CS1 series or C200HX HG HE PC CS1 series PCs Specify IOWR in the CS1 series PC s ladder program as shown below Ladder Symbols Operands C Control code 18t source word D Destination information g n Local node Destination node py a Swe Rat ya Local Remote CPU Unit Master Unit g i Master Unit CPU Unit E 5 7 Interpretation Interpretation O I 1st response word V Response monitoring time No of command bytes Command data Response Response Execution Execution 1 For commands addressed to Master Unit 2 Fo
46. strings can be displayed when the lamp bit is ON and OFF Numeral and character string displaying guide characters labels Not allowed Can be achieved by stacking numeral displays and character string displays The specified memory table can be referenced and the numeral or character string can be displayed as guide characters Device Monitor function Not available Available The contents of PC words can be listed and PVs can be displayed or changed by touch switch operations It is also possible to specify and call a screen by its screen number while the PT is operating just like the Programming Console function Screen data compatibility from NT30 NT620 PTs to NT31 NT631 PTs 118 Major data revisions are required to convert screen data from the NT30 NT620 Series to the NT31 NT631 Series The NT30 620 compatible mode provides compatibility with the earlier NT30 620 PTs such as insertion of image and library into the text displays or labels of lamps and touch switches This mode greatly reduces the amount of screen data editing required to convert data from the NT30 NT620 Series to the NT31 NT631 Series Appendix C Standard Models PTs NT31 ST121 EV NT31 STN monochrome display ivory NT31 ST121B EV NT31 STN monochrome display black NT31C ST141 EV NT31C STN color display ivory NT31C ST141B EV NT31C STN color display black NT631 ST211 EVL NT631 High intensity EL display ye
47. the DeviceNet Interface Unit refer to 6 2 Settings with the NT series Support Tool Meaning Name in Support Tool Screen Data Type The PC model set for the screen PLC Vendor in PT data Always Memory Link Type PT Control Area Shows the words in the host PT Control Notify Area memory words allocated to the PT status control area PT memory is displayed as PM PT Notification Area Shows the words in the host PT memory words allocated to the PT status notify area PT memory is displayed as PM Window Control Area Shows the words in the host PT memory words allocated to the window control area PT memory is displayed as PM Numeric Expression Shows the default format for the Numeral Storage contents of words in the host that Type in System are allocated to numeral memory tables When the DeviceNet Interface Unit is used the PT status control area contains 5 words the PT status notify area contains 3 words and the window control area contains 9 words In the standard OMRON configuration the PT status notify area contains 2 words The Expansion I F setting is not displayed in the system menu for the Device Net Interface Unit Contents of Screen 2 3 Bar Code Reader Shows whether a bar code reader is used at serial port A 64 Checking the PT Settings Section 5 6 Contents of Screen 3 3 Item Meaning Connection Status Shows whether or not the DeviceN
48. the number of words used by the DeviceNet Interface Unit changes the maximum number of Units that can be connected in a single DeviceNet Network Section DeviceNet Functions Message Communications Max number of nodes per Master Unit for message communications using FINS commands PT DeviceNet Interface Unit Communications Instructions Master Unit model CVM1 CV Series FINS commands CMND 194 Receive SEND 192 RECV 193 CS1 Series C200HZ HX HG HE None None IOWR C200HS Master Unit model CVM1 CV Series Capacity 8 nodes CS1 Series C200HZ HX HG HE 8 nodes C200HS Not supported Max number of nodes per Master Unit for message communications using explicit messages CVM1 CV Series 63 nodes CS1 Series C200HZ HX HG HE 63 nodes C200HS Not supported Max message length Reference CVM1 CV Series SEND 192 152 bytes RECV 193 156 bytes CMND 194 160 bytes starting with command code CS1 Series C200HZ HX HG HE IOWR 160 bytes starting with command code 1 2 1 When sending explicit messages from an OMRON Master Unit use the EX PLICIT MESSAGE SEND 28 01 FINS command 2 The SEND and RECV instructions are used for communications between OMRON Master Units they are not used with the DeviceNet Interface Unit 3 Explicit messages cannot be sent when a C200HS is used as the Master De
49. the specified number of bytes of PT memory data beginning at the speci fied word address The read data is returned with the low byte first and the high byte second in the words Command Block 28 01 33 00 8A 00 O01 ry Command Class ID Instance ID code A Service code Address L Number of bytes Destination node address Address H Response Block 28 01 00 00 B3 Command Response No of bytes code code received Service Data L code Source node address Data H Read data Parameters Address L Address H Number of bytes command Specify the leading PT memory address of the data and the number of bytes to be read Specify these parameters in 2 digit hexadecimal Always specify and even number of bytes to be read because an error will occur if an odd number is specified Address L The rightmost 2 digits of the leading PT memory address Address H The leftmost 2 digits of the leading PT memory address The max number of bytes that can be read at one time is 250 bytes FA Hex When an OMRON Master is being used the maximum is 240 bytes FO Hex 100 Explicit Messages Section 7 3 Read data response The specified contents of PT memory are returned in 4 digit hexadecimal The rightmost 2 digits Data L are first and the leftmost 2 digits Data H are second as shown in the following diagram Leading address Leadin
50. to them as required Catalog suffixes showing the version and production site have been omitted Be sure you have the correct version for your region Application Contents Manual name Catalog number Connecting or Connecting a PT with a DeviceNet Interface Unit to a DeviceNet CompoBus D V066 programming fora DeviceNet network Interface Unit Operation a CoN to Communications between the PT and DeviceNet Manual Sse network This manual Installing the system program for the DeviceNet Interface Unit into the PT PT system menus for using the DeviceNet Interface Unit Operating a PT Descriptions of PT function and operation NT31 NT31C V062 Refer to the Setup Manual for your PT for settings Setup Manual peripheral device connections and other hardware information Refer to the Reference Manual for PT functions details on screen elements and host NT631 NT631C V063 communications Setup Manual A PT with a DeviceNet Interface Unit has functionality equivalent to a PT with a model number ending in V1 system program version 2 1 These three manuals describe the functions of PTs with BONS vo64 model numbers ending in V2 Refer to Appendix B eierence vanua Comparison of System Program Functions for details on differences before using any functions Creating or Descriptions of methods for creating and transferring NT series Support Tool for V061 transferring screen screens Windows me or instal
51. used to ensure backup power supply not parallel operation of power supplies Therefore each power supply to be used must meet the power allocation specifications must satisfy steps 1 and 2 3 4 Grounding the Network The DeviceNet network is grounded only one point to prevent ground loops Also connect the ground as close as possible to the center of the network Connect the cable shield to the ground terminal FG on the communications power supply and then connect to a ground of 100 Q max as shown in the fol lowing diagrams T branch Tap or Power Supply Power Supply V V CAN H CAN H rare Sead Communications Shield Communications Shield cable CANL cable CANL V y FG V V FG V V Communications power supply Ground 100 Q max Power supply with cable grounded one location only Note Communications power supply Ground 100 Q max Power supply without cable grounded If more than one communications power supply is connected to the same net work ground only the one nearest the center of the network Do not connect the shield wire at the other power supplies Always use Power Supply Taps when connecting more than one communications power supply to the same network The power supplies are not counted as network nodes 1 Always ground the communications cable shield at one and only one loca tion in the network 37 Noise Precautions Section 3 5 2 Alwa
52. will be displayed while initialization is in progress When initialization is completed a message will be displayed and then the reset screen will be displayed Press Reset The PT will be reset and will restart If No is pressed in the CompoBus D setting switch initialization screen the switch settings will not be initialized and the PT will return to the Memory Init menu The following table shows the default settings that will be set when the Compo Bus D setting switches are initialized Meaning Setting Comm speed Communications speed 125 kbps Self node No Local node number 63 Strobe ON Time Strobe ON time 30 OUT Area Head Output area starting address PM0000 OUT Area Size Output area size 32 IN Area Head Input area starting address PM0032 IN Area Size Input area size 32 Serial Port A Settings Section 5 4 5 4 Serial Port A Settings When the DeviceNet Interface Unit is used the PT is connected to the host through the DeviceNet Interface Unit That is why the PT cannot communicate with the host through serial ports A and B Serial port A can be used only for a bar code reader and serial port B cannot be used at all The NT31 NT31C and NT631 NT631C are equipped with a bar code reader in put function that allows character string data to be input from a bar code reader into character string input fields This section explains how to set the commu nications conditions for
53. words and bits PT memory PT 2 PM0000 Numeral memory table ofso Character string memory table ABCDEFG Bit memory table gt G PT status PT status Window control area notify area control area PM9999 6 4 1 Precautions when Allocating Data to PT Memory Observe the following precautions when allocating data in the PT memory of a PT with a DeviceNet Interface Unit installed e Allocate the PT status control area to the DeviceNet Interface Unit s output a rea if at all possible It won t be possible to control the PT if the PT status control area is allocated to the Unit s input area Also exchanging data by message communications takes some time so it may not be possible to control the PT as expected if message communications are used 81 Allocating PT Data to PT Memory Section 6 4 e Allocate the PT status notify area to the DeviceNet Interface Unit s input area if at all possible It won t be possible to receive notifications from the PT if the PT status notify area is allocated to the Unit s output area Also exchanging data by message communications takes some time so changes in PT status may not be recognized immediately if message communications are used e When the DeviceNet Interface Unit is being used the PT status notify area re quires one word more than it does with the regular Memory Link because th
54. 0 to 000F D 1 0001 to 0080 Data Registers DRO to DR15 Index Registers Ti Indirect addressing IRO to IR15 using Index Registers _2048 to 2047 IRO to 2048 to 2047 IR15 DRO to DR15 IRO to IR15 IRO to IR15 IR0 to JIR15 binary Specifying the Leading Address of the Response Words Specify the leading address as shown in the following table These tables show only the ranges that can be used with message communications limited to ac cessing word units Refer to the PC s manuals for more details Word Bits 00 to 07 Bits 08 to 15 S Data area specifier Leftmost 2 digits of address S 1 Rightmost 2 digits of address Bit always 00 Allowed range Data area Address Hex specifier Hex CIO Area CIO 0000 to CIO 6143 0000 to 17FF Work Area W000 to W511 B1 0000 to 01FF Holding Bit Area H000 to H511 B2 0000 to 01FF Auxiliary Bit Area A000 to A959 B3 0000 to 03BF Timer Area PVs T0000 to T4095 89 0000 to OFFF Counter Area PVs C0000 to C4095 89 8000 to 8FFF DM Area D00000 to D32767 82 0000 to 7FFF EM Area E00000 to E32767 98 0000 to 7FFF Current bank EM Area E0_00000 to E0_32767 AO bank 0 0000 to 7FFF EM banks 0 to 12 EC_00000 to EC_32767 AC bank 12 0000 to 7FFF 93 Using Message Communications Section 7 2 C200HX HG HE PCs Specify IOWR in the C200HX HG HE PC s ladder program a
55. 00 in PT memory when used as a DeviceNet Slave OUT Area Size Sets the size of the PT s output area when used as a 0 to 32 words 32 DeviceNet Slave The area size is set in words IN Area Head Sets the leading address of the PT s input area allocated in PMO000 to PM9999 PM0032 PT memory when used as a DeviceNet Slave IN Area Size Sets the size of the PT s input area when used as a 0 to 32 words 32 DeviceNet Slave The area size is set in words This section only explains how to make these settings For more details refer to 6 1 Overview of Remote I O Communications Note Set all of the nodes in the DeviceNet network Masters and Slaves to the same communications speed Setting a different communications speed in a Slave won t only disable communications with that Slave it can also cause commu nications errors between nodes that are set to the correct communications speed Reference 1 If the node number setting is identical to the node number set on another node in the network a node number duplication error will occur and the PT won t participate in network communications 2 Always set the strobe ON time longer than the instruction execution cycle time of the PC in which the Master is mounted If the strobe ON time is short er than the Master PC s cycle time the Master PC may not recognize the strobe signal 3 If possible include the PT status notify area within the input area 4 If possible
56. 28F Above 028F Response monitoring time hex 2s 65 5 s 0 1 to 65 5 s units of 0 1 s Number of command bytes hex 0000 to OOF8 0 to 248 bytes Command data beginning with command code The destination information provides the unit number of the destination Unit and the number of words to be written as shown in the following diagram D is Digits 2 to 4 Number of words to write 001 to 128 BCD Digit 1 Unit number of the destination Unit 0 to F hex 0 to 15 1 When sending explicit messages set the response monitoring time in S 2 to 0014 Hex 2 seconds or higher If a shorter time is set communications may still be busy when the next command is sent after a timeout occurs 2 The maximum number of bytes that can be transferred shown above is the maximum number of bytes allowed with IOWR in C200HX HG HE PCs The actual number of bytes that can be sent or received depends upon the ex plicit message IOWR Data Area Ranges for C200HX HG HE PCs The following tables shows the data areas that can be used for each parameter of IOWR Internal Relay Area 1 IR 000 to IR 235 Special Relay Area 1 SR 236 to SR 255 Special Relay Area 2 SR 256 to SR 299 Internal Relay Area 2 IR 300 to IR 511 Holding Relay Area HR 00 to HR 99 Auxiliary Relay Area AR 00 to AR 27 Link Relay Area LR 00 to LR 63 Timer Counter Area
57. 94 in the ladder program as shown below CMND 194 Ladder Symbol Local node source Destination node 194 o CMND S D c eee EA Operands Variations S 18t command word D 18t response word f CMND 194 C 1St control word Response Description CMND 194 transmits n bytes of command data the data after command code 28 01 beginning at word S to the destination node The m bytes of response data the data after command code 28 01 are stored in the local node beginning at word D Control Data The control words beginning with C specify the number of bytes of control data to be sent the number of bytes of response data to be received the destination node and other parameters Some control data parameters depend on the des tination Bits 00 to 07 Bits 08 to 15 Number of command bytes to send 0 to 1990 i e 0000 to 07C6 Hex Number of response bytes to receive 0 to 1990 i e 0000 to O7C6 Hex Destination network address Set to 0 0 to 127 i e 00 to 7F Hex Destination unit FINS address Destination node address Bits 00 to 03 Bits 08 to 11 No of retries 0 to 15 Transmission port number i e 0 to F Hex 0 to 7 Hex Bits 04 to 07 Bit 12 to 14 Set to 0 Set to 0 Bit 15 ON No response OFF Response returned Response monitoring time 0001 to FFFF Hex 0 1 to 6553 5 seconds Note 1 Set the destination network address to 00 when transmitting within the same net
58. CIT MESSAGE SEND 28 01 FINS command when send ing an explicit message from an OMRON Master Unit With CVM1 CV series PCs send FINS commands with the CMND instruc tion With CS1 series or C200HX HG HE PCs send FINS commands with the IOWR instruction 2 Explicit messages cannot be sent when a C200HS is used as the Master Data can only be read and written with remote I O communications 7 1 2 Data Flow of Explicit Messages 84 When sending an explicit message execute the CMND or IOWR instruction in the ladder program to send the EXPLICIT MESSAGE SEND 28 01 FINS com mand to the DeviceNet Master Unit in the local node The Master Unit removes the FINS header from the received FINS command converts the command to an explicit message and transmits it to the destination Slave PT Using Message Communications Section 7 2 Similarly the Master Unit attaches a FINS header to the response from the PT and returns it to the CPU Unit as a FINS response OMRON Slave or another DeviceNet manufacturer s CPU Unit Master Unit Master or Slave Explicit FINS FINS Explicit message header B A header Se CMND gt Ee gt gt gt or DeviceNet IOWR Use 28 01 for the network FINS command code FINS Response Response header ral header Reference When sending an explicit message specify the DeviceNet Master Unit in the lo cal node as the destination of the FINS command The final destina
59. MRON and Showa Electric Wire amp Cable Be sure to perform wiring carefully Connectors Specifications MSTB2 5 5 ST 5 08AU Connector for node connections without connector securing screws Included with the DRT1 series Connector for T branch Tap node connections with connector securing screws Included with the CVM1 DRM21 V1 C200HW DRM21 V1 CQM1 DRM21 and DCN1 Connector for multi drop node connections without connector securing screws Screwdrivers for Connectors Manufacturer Phoenix Contact Part number 1752399 see note OMRON XW4B 05C1 H1 D XW4B 05C4 T D Model Specifications Manufacturer XW4Z 00C Screwdriver for DeviceNet CompoBus D connectors OMRON Terminating Resistors Model Specifications Manufacturer DRS1 T Terminal block Terminating Resistor 121 Q OMRON Note There is a Terminating Resistor for T branch Tap connections available in addition to the terminal block style Terminating Resistor listed in the table above T branch Taps Model Specifications Three connectors are included Can create one branch line when used in the trunk line A Terminating Resistor can be installed Five connectors are included Can create three branch lines when used in the trunk line A Terminating Resistor can be installed 120 Standard Models Appendix C Power Supply Branch Taps Power Supply Branch Required when connecting two or more power OMRON Tap supplie
60. N TDN18 10G Thick cable 5 wire 10 m Showa Electric Wire amp Cable see note 1 TDN18 30G Thick cable 5 wire 30 m Showa Electric Wire amp Cable see note 1 TDN18 50G Thick cable 5 wire 50 m Showa Electric Wire amp Cable see note 1 TDN18 100G Thick cable 5 wire 100 m Showa Electric Wire amp Cable see note 1 TDN18 300G Thick cable 5 wire 300 m Showa Electric Wire amp Cable see note 1 TDN18 500G Thick cable 5 wire 500 m Showa Electric Wire amp Cable see note 1 TDN24 10G Thin cable 5 wire 10 m Showa Electric Wire amp Cable see note 1 TDN24 30G Thin cable 5 wire 30 m Showa Electric Wire amp Cable see note 1 TDN24 50G Thin cable 5 wire 50 m Showa Electric Wire amp Cable see note 1 TDN24 100G Thin cable 5 wire 100 m Showa Electric Wire amp Cable see note 1 TDN24 300G Thin cable 5 wire 300 m Showa Electric Wire amp Cable see note 1 TDN24 500G Thin cable 5 wire 500 m Showa Electric Wire amp Cable see note 1 1485C P1 A50 Thick cable 5 wire 50 m Allen Bradley see note 2 1485C P1 C150 Thin cable 5 wire 150 m Allen Bradley see note 2 Note 1 The specifications for cables made by Showa Electric Wire amp Cable are identical to the OMRON cable specifications 2 The cables made by Allen Bradley are stiffer than those made by O
61. NT DRT21 DeviceNet CompoBus D Interface Unit Operation Manual Produced August 2000 Notice OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual The following conventions are used to indicate and classify precautions in this manual Always heed the information provided with them Failure to heed precautions can result in injury to people or dam age to property DANGER Indicates an imminently hazardous situation which if not avoided will result in death or serious injury N WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Z N Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage OMRON Product References All OMRON products are capitalized in this manual The word Unit is also capitalized when it refers to an OMRON product regardless of whether or not it appears in the proper name of the product The abbreviation Ch which appears in some displays and on some OMRON products often means word and is abbreviated Wd in documentation in this sense The abbreviation PC means Programmable Controller and is not used as an abbreviation for any thing else The abbreviation PT refers to OMRON NT series and NTH series Programmable Terminals The DeviceNet Co
62. ON or reset the PT while press ing the touch switch 7 2 mm square in the upper left corner of the PT screen Turn ON the PT while pressing here Z N Caution Do not turn OFF or reset the PT while data is being transferred Installing the System Program Section 5 1 Reference The PT will enter system installer mode automatically when the power is turned Setting the Display Language Erasing the System Program Downloading the System Program ON if the PT does not contain a system program or contains a corrupted system program In system installer mode the first screen sets the display language to English or Japanese Set the display language to English when using the DeviceNet Inter face Unit Press English The system installer mode s menu will be dis played When the system program is missing or cor Exit System Installer rupted the message System program not ex pene oe ist or incorrect will be displayed Change Sustem Settings Erase Screen Data System Program not exist or incorrect Press Download System Program Exit System Installer Download System Program Change System Settings Erase Screen Data System Program not exist or incorrect 4 Press Yes The system program will be erased A mes sage will be displayed while the system pro gram is being erased Download System Pro
63. ON time with the PT system menu s CompoBus D setting switch Each strobe signal is turned OFF automatically after the strobe ON time elapses When setting the strobe ON time be sure that it is longer than the cycle time in the host s CPU Unit so that the host Master will reliably read changes in the 71 Settings with the NT series Support Tool Section 6 2 strobe status If the strobe ON time is shorter than the CPU Unit s cycle time the Master may not read changes in the PT s status properly Strobe signal _ TT PT Master le gt Strobe ON time 30 to 100 ms 6 2 Settings with the NT series Support Tool This section explains the settings required at the Support Tool when using a PT with a DeviceNet Interface Unit installed Refer to the PT s manuals for details on other settings required to use the PT Refer to the Support Tool s Operation Manual for details on basic Support Tool operations 6 2 1 Setting the PT Model and PC Model The PT model and PC model must be set as follows at the PT to which the Devi ceNet Interface Unit is installed PT Model Foran NT31 NT31 V1 System Ver 2 1 Foran NT31C NT31C V1 System Ver 2 1 For an NT631 NT631 V1 System Ver 2 1 For an NT631C NT631C V1 System Ver 2 1 PC Model PLC Vendor MEMLINK Memory Link Set the PT model and PC model PLC Vendor in the PT Type Tab of the Support Tool s PT Configuration Dialog 6 2 2 Allocating Required Areas
64. Press Expansion Mode 4 iia Press System Version 67 Checking the System Program Version Section 5 8 68 p ji Version 0 He ete ocr The PT model system program name system program version and creation date will be dis played After checking the system program information press Quit to return to the ex pansion mode menu SECTION 6 Remote I O Communications This section shows how to use remote I O communications with the DeviceNet Interface Unit and how to use the PT when using remote I O communications 6 1 Overview of Remote I O Communications 0 0 eee eee ee eee 70 6 1 1 Data Exchange with the DeviceNet Interface Unit 00 70 6 2 Settings with the NT series Support Tool 0 0 0 eee eee eee 72 6 2 1 Setting the PT Model and PC Model 0 00 0 eee eee eee 72 6 2 2 Allocating Required Areas and Elements in PT Memory 72 6 2 3 Allocation Example ss cria 0863 seus tags dares wa eae eed eae aes 74 6 3 Allocating PT Memory to the Host Master 0 0 0 0 eee eee ee ee eee 74 6 3 1 Allocating Input and Output Areas to PT Memory 004 74 6 3 2 Allocating Input and Output Areas to the Master 0004 76 6 4 Allocating PT Data to PT Memory 00 ee eee ene 81 6 4 1 Precautions when Allocating Data to PT Memory
65. T is treated as a virtual PC memory area This method allows PT memory and PT display ele ments to be accessed with simulated direct access 1 5 1 Communications Using the DeviceNet Interface Unit Accessing PT Memory through Input and Output Areas Accessing PT Memory with Explicit Message Communications 10 With the regular Memory Link method the PT and host are connected through RS 232C or RS 422A communications and the host controls the PT through the PT memory by sending commands to the PT that read write PT memory data When a DeviceNet Interface Unit is used the PT is connected to the host Mas ter through the DeviceNet network In contrast to the regular Memory Link method PT memory is accessed using one of the following two methods The DeviceNet Interface Unit is connected to the network as a DeviceNet Slave As a DeviceNet Slave the input and output areas can each contain up to 32 words In the DeviceNet system the input area is regularly read by the Master and the output area is regularly written from the Master This process maintains consis tency between the Slave s input and output areas and the input and output areas allocated to the Master Once the PT memory s input and output areas have been set PT memory can be read and written without having the host Master manage communications The maximum size of the input and output areas is only 32 words each but data is transferred automatically at high sp
66. able wire the cable with enough extra cable so that the connector won t become disconnected accidentally when pulled 23 Limitations on the Network Configuration Section 3 2 3 2 Limitations on the Network Configuration 3 2 1 Baud Rate and Communications Distance The communications distance in a DeviceNet network is also restricted by the baud rate as shown in the following table Baud rate Maximum network length Drop line Total drop Thick cable Thin cable length line length 100 m max 100 m max 39 m max 250 m max 500 m max Note Always keep the communications distance within the limits shown in this table 3 2 2 Maximum Network Length 24 The length of the network is longest at either the distance between the two most distant nodes or at the distance between the Terminating Resistors Longest distance is the maximum network length R Terminal block T branch Tap with i jt rt Terminating Resistor Terminating Resistor Length of ee drop line Node power supply Length of drop line Node There are two types of cables Thick cables and thin cables The thick cables are relatively hard and inflexible but they protect against signal attenuation and can be used for relatively long communications distances The thin cables are soft and flexible but they do not protect as well against signal attenuation and are
67. able shows the differences between system program version 3 0 described in the manuals for the V2 PTs and system program version 2 1 used with the DeviceNet Interface Unit Accessible CS1 series data areas Ver 2 1 used with the DeviceNet Interface Unit There are limitations Only the current bank of the EM Area can be accessed Access is expanded The accessible CS1 series data areas include areas such as specific EM Area banks and Task Flags Calculation function Not available All calculations must be performed by the PC program Available Arithmetic expressions set in advance with the Support Tool can be calculated in the PT This function can significantly reduce the load on the PC program Interlock Not available Operation of inputs can be enabled disabled according to the status of specified PC bits interlock bits The interlock function can be set for individual touch switches numeral inputs thumbwheel inputs and character string inputs This function can significantly reduce the load on the PC program Multiple rows of guide characters labels Not allowed 1 row only Multiple rows can be displayed by combining fixed character strings Multiple rows of guide characters can be set Up to 256 characters can be set ON OFF switching guide characters labels Not allowed always the same whether ON or OFF Substituted by image libraries etc Different character
68. and Elements in PT Memory 72 In order to use the PT the PT status control notify areas memory tables and elements must be allocated in the host s area called PT memory when using the Memory Link When using the DeviceNet Interface Unit to communicate with the host Master it is necessary to plan the allocation of the input and output areas in PT memory at the same time that you decide on the allocation of the PT status control notify areas memory tables and elements Reference 1 The input and output areas are regularly accessed from the host by remote I O communications so allocate areas and elements that are refreshed fre quently The input area is only read from the host and the output area is only written from the host Parts of PT memory outside of the input and output areas are accessed by explicit messages sent by the host so it is best to allocate areas and data that aren t changed often On the other hand this area can be used for two way read write access from the host so consider allocating parts of PT memory outside of the input and output areas to frequently refreshed data if two way data transfer is required Refer to 6 3 Allocating PT Memory to the Host Master for details on allocat ing PT memory for the input and output areas 2 Since the input and output areas are allocated in the PT s system menu the allocation is not checked from the Support Tool There is no check to pre vent the output area tha
69. aster starts Allocating PT Data to PT Memory Section 6 4 If remote I O communications are operating properly we recommend read ing the network configuration with the Configurator and saving that configu ration as a file for future reference 6 4 Allocating PT Data to PT Memory The following data can be allocated in PT memory e PT status control area 5 words fixed e PT status notify area 3 words fixed e Window control area 9 words fixed e Numeral memory table 1 or 2 words e Character string memory table 1 to 20 words e Bit memory table 1 bit e Lamp 1 bit e Touch switch 1 bit and another bit for the host notification function Reference 1 The DeviceNet Interface Unit can be mounted to an NT31 NT31C NT631 or NT631C PT A PT with the DeviceNet Interface Unit s system program installed can use only the V1 version functions of the PT 2 Refer to the N731 NT631 Programmable Terminal Reference Manual V064 for details on PT screen elements and functions Use the NT series Support Tool for Windows version 3 2 or higher for opera tions such as creating screens displayed on the PT registering screen ele ments and allocating PT memory The procedures for creating screens are the same as they are when using the regular Memory Link method Words and bits are allocated to PM0000 to PM9999 of PT memory based on the type of data being allocated PT memory can be allocated as words and bits just like I O area
70. ble Configuration Example Maximum network length 24m 125m 20m 1m A Terminal block Thin cable Thick cable Thin cable with Terminating Resistor Node 6m Communications thin Node power supply cable Node Node LTHICK LTHIN 175 100 m 500 kbps NG Lryick 2 5 x Ltyin 125 2 5 x 50 250 250m _ 250 kbps OK LTHICK 5x LTHIN 125 5 x 50 375 500 m 125 kbps OK The results of the above formulas indicate that 250 kbps and 125 kbps can be used as the baud rates for this configuration example Even when the above conditions are met however the current flowing through the cables must not exceed the permissible current capacity Refer to 3 3 Shar ing the Communications Power Supply 3 2 3 Drop Line Lengths A drop line length is measured from the point in the trunk line where the original branch was made to the end of the branch The maximum length of a drop line is 6 m It is possible to make a secondary branch from a drop line 25 Limitations on the Network Configuration Section 3 2 3 2 4 Total Drop Line Length This is the total sum length of all the drop lines Even when the length of each individual drop line is 6 m or less be sure not to exceed the maximum total drop line length The maximum total drop line length varies with the baud rate as shown in the following table Baud rate Total drop lin
71. ble connection Check the network cable wiring There is a problem with the Master s power supply Check the Master s power supply CompoBus D I F Unit Communications Error Network power supply error occurs The network power supply is not ON Check the network power supply The communications cable is disconnected or broken Check the network cable CompoBus D I F Unit Communications Error Bus Off error occurs Noise Check the following points and restart the PT e Are the Master Slave communications speeds the same e Are the cable lengths trunk and branches within specifications e Are any cables disconnected dam aged or loose e Are termination resistors connected only at each end of the trunk line e Is noise excessive CompoBus D I F Unit Communications Error Duplicate MAC ID error occurs There is another device with the same MAC ID Reset the node numbers MAC IDs to eliminate duplication and restart the PT CompoBus D I F Unit Installation Error Exponent I F connection error occurs An Expansion Interface Unit is not installed Check the DeviceNet Interface Unit s installation and restart the PT An unsupported Unit is installed Check if the DeviceNet Interface Unit is installed and restart the PT CompoBus D I F Unit Hardware Error Expansion I F Unit is broken 108 Restart the PT Replace the DeviceNet Interface Unit if the
72. block 2 l Address Addresses can be assigned m Input area in any order Input Address block 1 Input Address From Slaves block 2 Address Address Slaves and blocks can be allocated in any order The number of words number of bytes that are used depends upon the addresses The minimum is one byte and the maximum is 64 bytes 32 words Setting Example CPU Unit ee Address 5 IR Area Output Address 14 block 1 Address 3 Input sian Address 8 block 2 Address 10 HR Area Output Address 1 block 2 Address 6 Address 9 m DM Area Input Address 3 block 1 Address 11 Address 6 Address 7 77 Allocating PT Memory to the Host Master Section 6 3 Data Areas for Remote I O Communications Master model Fixed Allocation Free Allocation Without Configurator With Configurator Maximum number of CVM1 CV series 63 nodes Slaves per Master CS1 series 50 nodes 63 nodes C200HX HG HE C200HS 32 nodes 63 nodes Maximum number of CVM1 CV series 2 048 points 64 input words and 6 400 points 100 words x 4 blocks controlled I O points 64 output words per Master CS1 series 1 600 points 50 input words and 4 800 points without messaging C200HX HG HE 50 output words 1 600 points with messaging C200HS 1 024 points 32 input words and 1 280 points 32 output words Maximum number of CVM1 CV series 32 input w
73. can be supplied normally by finding the the Power Supply current capacity required by each node and the voltage drop in the cables to be used to provide power Calculate the values below in advance e The current capacity required by each node e The distance between the power supply and each node The current capacity of the DeviceNet Interface Unit is 45 mA Calculating the Location There are two methods to find the best location of the communications power of the Power Supply supply on the trunk line 3 3 4 30 e Simple calculation from a graph e Calculation by formula Calculating the voltage drop from resistance and cur rent consumption of the communications cables Each drop line must satisfy the equation on page 27 which represents the rela tionship between the drop line length and the current capacity for the drop line e From the graph a hypothetical power supply location can be determined if the conditions calculated in the graph are met by estimating the worst con figuration that has the maximum voltage drop as shown in the diagram below Node Node Node Node Communications power supply e Even if the power supply specifications cannot be met using the graph the conditions can be met and a hypothetical power supply location deter mined by using the formula Note When the communications power supply and the internal circuit sup ply are the same use the formula to ca
74. ce data Network current consumption 50 mA max at 24 VDC Connector type Open plug Physical layer insulation Yes Supported LEDs Module Network MAC ID setting Touch switch system menu Default MAC ID 0 Transfer baud rate setting Touch switch system menu Supported transfer baud rates 125 kbps 250 kbps and 500 kbps Predefined Master Slave connection set Dynamic connection support No UCMM Explicit message fragmentation support Communications data Group 2 only server Object Mounting Identity Object 0x01 Attribute Service Object class Not supported Not supported ID content Get read Set write 1 Vendor 47 2 Product type 18 3 Product code 54 4 Revision 1 0 5 Status bits supported bit 0 only 6 Serial number Unique for each Unit 7 Product name NT DRT21 a E E Object instance Service 05 Reset Message Router Object 0x02 Object instance Attribute Attribute Service Object class Not supported Not supported Attribute Not supported Service Not supported Vendor specification addition No Object instance 111 Device Protocol Appendix A DeviceNet Object 0x03 Object class Attribute Not supported Service Not supported ID content Get read Set write Object instance Attribute 1 MAC ID 2 Baud rate 3 BOI 4 Bus Off counter 5
75. communications with the bar code reader and the input data confirmation method Reference 1 When a bar code reader is connected to serial port A character string data can be input from a bar code reader into character string input fields The bar code reader type connection method communications settings and op eration are all the same as they are with standard OMRON system pro grams This manual does not provide details on these subjects Refer to the PT s Setup Manual for details 2 Either PT memory switches or CompoBus D setting switches can be se lected from the memory switch menu The PT memory switches are the same memory switch settings found in the standard system programs The CompoBus D setting switches are the settings for the DeviceNet Interface Unit 3 The system menu for the DeviceNet Interface Unit does not contain settings for serial port B so the PT memory switch setting requires only 3 screens Use the following operations from the system menu to set the communications conditions for communications with the bar code reader and the input data con firmation method Ver 2 10 Press Maintenance Mode Press Memory Switch 59 Section 5 4 Serial Port A Settings 60 PT Memory Switch CompcBue 0 Setting Switch SWI TCHS it Time PC PR2H1H Tone Abort MEMORY SWITCH 3 3 fn Comm A Bar code None
76. connected directly to drop line from drop line drop line Multi drop Trunk line Trunk line line T branch Tap Node Trunk line __ 7 Teunk line Trunk line T branch Tap Drop line T branch Tap Various combinations of branching patterns can be used on the same network as shown in the following diagram Any number of nodes up to 63 can be con nected onto a single drop line Communications power supply Trunk line Trunk line Power Supply Tap or T branch Tap Terminating Resistor Terminating Resistor Drop line Reference 1 A node can be connected directly to the trunk line with the multi drop meth od but it is easier to connect a node to a drop line 2 Multi drop connections with thick cables cannot be used with the connectors supplied with the Unit because the cables are too thick Use the following connectors for multi drop connections with thick cables For further details refer to Appendix C Standard Models XW4B 05C4 T D w o set screw made by OMRON Use a T branch Tap instead if the connector extends too far from the side of the Master Unit or DeviceNet Interface Unit and interferes with the Unit in the adjacent slot 3 When using thick c
77. crews to secure the connection Tighten the screws to a torque of between 0 25 and 0 3 Nm 4 3 4 Connecting Terminating Resistors Terminating Resistors must be connected at each end of the trunk line This sec tion shows how to connect the Terminating Resistors T branch Tap A terminating resistor is included with the T branch Tap Clip the leads on the Terminating Resistor resistor to about 3 mm and insert it into the T branch Tap as shown in the follow ing diagram The resistor can face in either direction Terminal block A terminating resistor is built into the Terminal block Terminating Resistor To Terminating Resistor connect the cable to the Terminating Resistor attach standard M3 crimp termi nals to the signal wires and securely screw the terminals to the Terminal block Terminating Resistor o Unit mm Tighten to a torque of 0 3 to 0 5 Nm Note To avoid damaging the cable or breaking wires don t pull on the cable or bend it too sharply when connecting it to the terminal block Also never put heavy ob jects on top of the cable 49 SECTION 5 PT Settings and Operations This section explains the PT settings and operations required to use the DeviceNet Interface Unit 5 1 5 2 5 3 5 4 5 5 5 6 5 7 5 8 Installing the System Program 5 1 1 PT Operations 5 1 2 Computer Operations Structure of the System Menu
78. d 500 ms Calculated value takes priority if longer Max communications cycle time with multiple Masters see note 5 Calculated from conditions Ex Input Slaves 16 pt 16 Output Slaves 16 pt 16 Max cycle time at 500 kbps 18 ms Error control checks CRC error check Note 1 FINS communications are not supported by the DeviceNet Interface Unit 2 Terminating resistors are required at both ends of trunk line 3 Indicates the length when thick cables are used Reduce the network length to 100 m max when using thin cables When using both thick and thin cables together refer to Combining Thick and Thin Cables in 3 2 2 Maximum Net work Length 4 Indicates the maximum time for remote I O communications from a Master to a specific Slave until remote I O communications are conducted again for the same Slave 5 The communications cycle time when more than one Master is present on a single network Refer to the DeviceNet CompoBus D Operation Manual W267 for other com munications specifications such as communications cycle times System Configuration Section 1 3 1 3 System Configuration A CompoBus D DeviceNet system can be constructed in two ways fixed al location or free allocation Fixed Allocation A DeviceNet system can be constructed easily even without the Configurator With fixed allocation predetermined words are allocated to each node for the Slave s I O An OMRON Master Uni
79. d to the communications cable or the noise current that flows in the shielding wire The switching power supply is usually connected to the case and the capacitor as shown below The FG terminal must be suspended and the control board for the power supply itself must be insulated Switching Power Supply Configuration Switching power supply F Power AC power supply AC input supply uppl DC output circuit dai Casing Suspending the Communications Power Supply S82J power supply 4 3 DC power supply s82Y OON Mounting Tool Ja Insulating material such as baked board or acrylic board When using S82J power supply When using other power supplies 3 7 Sharing the Same Power Supply Communica gt tions power supply 40 Slave Units in the DeviceNet network can be classified into three types accord ing to how the power is supplied as shown below The DeviceNet Interface Unit is the middle type Slave Unit Communica Same power gt lt VO power tions power Slave Unit I y r Slave Unit 1 O power supply ONS powe supply for supply supply gt communications gt lt Internal circuit power supply Tel and internal circuit Internal circuit power supply Because the power supplies for the communications internal circuit and I O ar
80. d with respect to the use of the information contained herein Moreover because OMRON is constantly striving to improve its high quality products the information contained in this manual is subject to change without notice Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the informa tion contained in this publication TABLE OF CONTENTS PRECAUTIONS 4 seni traaoiue Sate ern twats eresaas Intended AudienCe raiti tanta eee Lactic gigs ebb i aE pone bo and ted doteacs 2 General Precautions since eG ek a Sth a AR RA DERE Oe eee bo SS 3 Safety Precautions jsci 5 cisod sees acs ss hist sont aig es karte E RR Se aOR as A ote Bie ee ais wee Ss 4 Operating Environment Precautions 0 0 0 cee eee eens 5 Application Precautions 22s ke plea ba 84M OAR eae Pe hat ae Peta eae ed 6 Conformance to EC Directives rin erin nis eee eee A RARA E SECTION 1 Introduction oes ss ss SER OR SG BEN SSE se OURS SES 1 1 Features of the DeviceNet Interface Unit 0 0 0 ccc nee 1 2 DeviceNet Functions eune oeiee ai en Ea eee ete ER E E 1 3 System Config ratom sosya e n E E A A R E E A a 1 4 Qutlne of Configurator scs i s eea praa E E Fee a Gees 1 5 Functions of the DeviceNet CompoBus D Interface Unit SECTION 2 Operating Procedures cece
81. e first word of the PT status notify area is used to indicate the screen number of the current PT screen Refer to 1 5 2 Contrast with the Regular Memory Link Method for more details PT Status Notify Area with the Regular Memory Link Word 15 14131211109 8 7 6 5 4 3 2 1 0 Bit Numeral character string memory table number 4 digit BCD or hexadecimal value m 1 PT status notify bits 0 0 0 m PT Status Notify Area with the DeviceNet Interface Unit Word 15 14131211109 8 7 6 5 4 3 2 1 0 Bit m Screen number 4 digit BCD Numeral character string memory table number 4 digit BCD or hexadecimal value m 2 PT status notify bits 0 0 0 e Some data is transmitted in both directions PT lt Host such as the window control area numeral memory tables and character string memory tables When two way data is allocated to the DeviceNet Interface Unit s output area or input area only that one direction of data flow can be used Only the control from the host can be used if the data is allocated to the output area and only the notification to the host can be used if the data is allocated to the input area Message communications provide two way data exchange but responses may be delayed e Do not allocate the following elements to the DeviceNet Interface Unit s output area Doing so will disable the element s functions e Touch switch notification bits used for notification to the host e Numeral and character stri
82. e individually insulated as shown below as a general rule each power supply should be connected separately Commu Internal I O circuit nications circuit circuit f nsulation f Insulation i Insulation Communications Internal circuit O power power supply power supply supply Sharing the Same Power Supply Section 3 7 Because of space and cost difficulties involved in preparing individual power supplies sharing the same power supply may be unavoidable If this is the case take the following precautions e Be sure to keep the I O power supply separate e When the communications and internal circuit power supply is shared wiring the network as shown in configuration A is recommended Do not wire the net work as shown in configuration B because it will generate more noise than the network in configuration A Note The lower voltage boundary of the internal circuit power supply must be higher than that of the communications power supply To meet the voltage specifica tions for the internal circuit power supply be sure to follow the specifications pro vided in 3 3 Sharing the Communications Power Supply Configuration A Communications Internal circuit Communications Internal circuit power supply power supply power supply power supply Same power supply for communications and internal circuit Configuration B Communications Internal circuit Communications Internal circuit
83. e CompoBus D switch setting screen without confirming the settings press the Abort touch switch The PT will return to the memory switch menu screen with the previous settings still in effect 5 6 Checking the PT Settings This section explains how to check the settings for direct access of the PT s screen data bar code reader settings for serial port A and the DeviceNet Inter face Unit s settings Screen Layout and The 3 PT setting status screens are shown in the following diagram Settings KPT SETTINGS 1 3 next screen Conn Po aoo A Comm Setting Data Bit Length 7 bits 5 A1 Stop Bit Length 1 bit A Parity Bit None previous screen Bereen Data Type Memory Link next screen PT Control Area PM BABA PM BAB4 PT Notification Area PM A10 PM 0812 indow Control Area PM A228 PM 8428 lumeric Expression Binary pansion I F Connect Comm Speed 125kbps OUT Area UNIT gt PT PMAQAA PMES1 IN Area PT LNIT PMagG2 PM RBS Self node No A Comm Speed 96AAbps Input Method Auto e previous screen next screen previous screen The third screen in the DeviceNet Interface Unit s system menu shows the Com poBus D switch settings Contents of Screen 1 3 It is possible to check the contents of the PT configuration settings set in screen data with the Support Tool For details on Support Tool settings when using
84. e address The following response is returned if the explicit message cannot be sent or times out Command Response code code Parameters Destination node address command The node address of the destination of the explicit message The node address of the local Master Unit is specified in the control data for the CMND 194 or IOWR instruction but the node address of the actual destination is specified here in the FINS command Service code command response A service code defined for DeviceNet In a normal response bit 15 of the service code specified in the command will be turned ON and returned In an error response 94 hex will always be returned Class ID command The class ID of the destination of the explicit message The class ID is always 008A Hex when reading or writing the DeviceNet Inter face Unit s PT memory Instance ID command The instance ID of the destination of the explicit mes sage The instance ID is always 0001 Hex when reading or writing the Device Net Interface Unit s PT memory Service data command response The data defined for the services codes No of bytes received response The number of bytes received from the des tination node address local node Destination node address response The node address of the OMRON Special I O Slave Unit or slave manufactured by another company to which the explicit message was sent is returned General Error Code response The following err
85. e input and output areas in the DeviceNet memory switch screen For example when the Unit s input area size has been set to 16 words the output area size has been set to 10 words and the node number is set to 5 the input area will occupy the words for nodes 5 through 20 and the output area will occupy the words for nodes 5 through 14 Note With the CS1 Series the DeviceNet Output Area CIO 0050 to CIO 0099 is con tained inside the I O Area CIO 0000 to CIO 0319 For this reason in systems with a large number of I O points edit the I O table with the CX programmer so that there is no overlap of area allocation Each node address is allocated one input and one output word If a Slave re quires more than one input or one output word then it is assigned more than one node address If a Slave requires less than one word it simply uses the right most bits in the word allocated to it 76 Allocating PT Memory to the Host Master Section 6 3 User set Free Allocation A Configurator can be used to allocate a total of 4 blocks blocks 1 and 2 in the output area and input blocks 1 and 2 in the input area in any order Blocks can be positioned in any order in memory e g the following order is okay input block 1 output block 2 input block 2 output block 1 CPU Unit Address m Output area 4 pe Address To Slaves Output TT Adaress
86. e length 39 m max 78 m max 156 m max Configuration Example Terminating rT Terminating Resistor Ff Resistor im e 6m 6m 6m L Node Node Node Node In the configuration example the length of each drop line is 6 m or less as de manded but the total sum length of all the drop lines is 40 m Set the baud rate at 250 kbps or 125 kbps because the total maximum length of drop lines at 500 kbps must not exceed 39 m 3 2 5 Locating Terminating Resistors Be sure to connect the Terminating Resistors at both ends of the trunk line to reduce signal reflection and stabilize communications When there is a T branch Tap 6 meters or less from the end of the trunk line or the node A Terminating Resistor attached to a T branch Tap can easily be mounted without taking up much space When there is not a T branch Tap 6 meters or less from the end of the trunk line or the node A Terminating Resistor must be connected before that point Either a T branch Tap mounted to a Terminating Resistor or a Terminating block Ter minating Resistor can be used In this case be sure to make the cable length 1 m or less from the node to the Terminating Resistor Truck line T branch Tap mounted to
87. e may result in malfunction or burning Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied in places where the power supply is unsta ble An incorrect power supply may result in malfunction e Install external breakers and take other safety measures against short circuit ing in external wiring Insufficient safety measures against short circuiting may result in burning e Do not apply voltages to the Input Units in excess of the rated input voltage Excess voltages may result in burning e Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity Excess voltage or loads may result in burning e Disconnect the functional ground terminal when performing withstand voltage tests Not disconnecting the functional ground terminal may result in burning XV Application Precautions 5 xvi e Install the Units properly as specified in the operation manuals Improper installation of the Units may result in malfunction e Be sure that all the mounting screws terminal screws and cable connector screws are tightened to the torque specified in the relevant manuals Incorrect tightening torque may result in malfunction e Leave the label attached to the Unit when wiring Removing the label may re sult in malfunction if foreign matter enters the Unit e Remove the label after the completion of wiring to ensure proper heat dissipa ti
88. eNet Slave Output area size Sets the size of the PT s output area when the PT is 0 to 32 words used as a DeviceNet Slave The area size is set in words Input area leading Sets the leading PT memory address of the PT s input PM0000 to PM9999 _ PM0032 address area when the PT is used as a DeviceNet Slave Input area size Sets the size of the PT s input area when the PT is used 0 to 32 words 32 as a DeviceNet Slave The area size is set in words pT DeviceNet In memor i y Output area leading address terface Unit PT PM0000 to PM9999 Output area Input area Output area size en o ml Input area leading address PM0000 to PM9999 Input area size N 0 to 32 words Allocate settings in the CompoBus D setting switches screen of the PT s system menu Refer to 5 5 DeviceNet Memory Switch Settings for details on making settings in the CompoBus D setting switches screen of the PT s system menu Reference The output area settings are in the second page of the CompoBus D setting switches screen and the input area settings are in the third page 75 Allocating PT Memory to the Host Master Section 6 3 6 3 2 Allocating Input and Output Areas to the Master The DeviceNet Interface Unit s input and output areas are allocated to the Unit as a DeviceNet Slave in the Master s I O memory Fixed Allocation With fixed allocation words in the CPU Unit a
89. ector with the Unit connector insert the cable connector ful ly and tighten the screws on both sides of the connector to lock it in place Tight en the screws to 0 25 to 0 3 N m Note 1 Before connecting the communications cables turn OFF the power supply to all PCs Slaves and communications power supplies 47 Connecting to the DeviceNet Network Section 4 3 2 Use crimp terminals for wiring Connecting bare twisted wires can cause the cables to come OFF break or short circuit most likely resulting in incorrect operation and possibly damage to the Units 3 Use suitable crimp tools and crimping methods when attaching crimp termi nals Consult the manufacturer of the tools and terminals you are using In appropriate tools or methods can result in broken wires 4 Be extremely careful to wire all signal lines power lines and shielding wire correctly 5 Tighten all set screws firmly Tighten to a torque of between 0 25 and 0 3 NEm 6 Wire the signal lines power lines and shielding wire so that they do not be come disconnected during communications 7 Do not pull on communications cables with excessive force 8 Allow leeway so that communications cables do not have to be bent further than natural The Cables may become disconnected or wires may break if the cables are bent too far 9 Never place heavy objects on communications cables 10 Double check all wiring before turning ON the power supply 4 3 3 Con
90. eed page 61 Self node No page 61 Strobe ON Time page 61 OUT Area Head page 61 OUT Area Size page 61 IN Area Head page 61 IN Area Size page 61 O SETTINGS MENU Quit Contrast Adjust L Brightness Adjust DISPLAY HISTORY MENU DEVICE CHECK MENU Quit Sort by Occurrence Quit Buzzer Check LED Check LCD Check Backlight Check Screen Memor Touch Switch Battery L_ Sort by Frequency ALARM HISTORY MENU Quit Sort by Occurrence Sort by Frequency Initializing DeviceNet CompoBus D Memory Switches Section 5 3 5 3 Initializing DeviceNet CompoBus D Memory Switches In addition to the standard OMRON memory initialization functions the system menu for the DeviceNet Interface Unit has a function that initializes Compo Bus D setting switches Refer to the PT s User s Manual for details on the other memory initialization op erations Reference 1 Memory initialization cannot be performed when screen memory is write protected with the system installer mode s system settings 2 Either PT memory switches or CompoBus D setting switches can be se lected from the memory switch initialization menu Select PT memory switches to initialize settings other than those for the DeviceNet Interface Unit 3 When the CompoBus D setting switches have been initialized the Device Net Interface Unit will use 32
91. eed so it is useful to allocate areas that re quire regular data transfers with the host such as the PT status control area and PT status notify area or areas that are frequently refreshed such as the numeral memory tables Parts of PT memory other than the input and output areas can be read written by sending explicit messages from the host Functions of the DeviceNet CompoBus D Interface Unit Section 1 5 Transferring data with explicit message communications takes more time than transferring data with the input and output areas but all of PT memory can be accessed If explicit message communications are used as the main method to transfer data the DeviceNet Interface Unit s input and output areas can be reduced to their minimum required sizes and more input and output area capacity will be available for other Slaves Note Observe the following precautions in order to minimize the communications time required for explicit message communications e Limit the amount of data transmitted in each message communications event e Consider setting the ladder program in the host that controls the DeviceNet In terface Unit so that it transfers just the data in the displayed screen In this case it will be necessary to write a ladder program section for each screen Remote I O ee Master Unit PT status notify area Touch switch PT status control area CPU Unit Explicit message com munications
92. er supply first e Always operate the Master Unit with the scan list enabled By operating with the scan list enabled the Master can determine whether or not the Slave PT is participating in the network so the user can check whether the DeviceNet network is operating normally 2 2 Simple System Configuration OMRON manufactures a variety of devices that are compatible with the Device Net standard including devices that handle bit I O temperature inputs analog I O and other functions Moreover devices manufactured by other companies can be connected if they conform to DeviceNet standards It is also easy to change the configuration of a DeviceNet network since just one cable is required for wiring Master Communications Slave power supply C200H I O Link Unit Slave T branch Tap with T branch Tap Remote I O Terminating Resistor with Terminat Terminal ing Resistor Slave Remote I O Terminal Temperature Input Terminal PT connected to Devi ceNet Interface Unit A PT connected to the network through a DeviceNet Interface Unit can perform some of the functions of a control panel such as switch operations and numeric inputs as well as displaying the system s operating status 20 SECTION 3 Network Design This section provides information required when designing a network such as precautions regarding the configuration of the DeviceNet network to which the CompoBus D Interface Un
93. es with the NT series Support Tool The allocation settings above are the same as they are with a regular PT set for Memory Link method 2 The settings that allocate the DeviceNet Interface Unit s input and output areas in PT memory within the PT Set the input and output areas with the CompoBus D setting switches in the PT s system menu Other DeviceNet memory switch settings are also re quired Refer to 5 5 DeviceNet Memory Switch Settings for details 3 The settings that allocate the DeviceNet Interface Unit s input and output areas in the I O memory of the Master PC Free allocation or fixed alloca tion can be used 70 Overview of Remote I O Communications Section 6 1 Set the input and output areas with the DeviceNet Master Unit s software switches or the Configurator Master Unit I O memory The DeviceNet Interface Unit s input and output areas are allocated in the Master s I O memory work area etc I O data is transferred automatically so that the contents are the same Output area Input are Allocation 3 Automatic I O PT memory within PT Allocation Allocation 2 Output Input area area DeviceNet Interface Unit Elements in the PT s screen are The DeviceNet Interface Unit s out directly accessed using the PT put area is regularly written to the memory within the PT area allocated in PT
94. ess The read data is returned with the high byte first and the low byte second in the words Command Block 28 01 32 00 8A 00 01 T Command Class ID Instance ID code Service code Address L Number of bytes Destination node address Address H Response Block 28 01 00 00 B2 Command Response No of bytes code code received Service Data L code Source node address Data H Read data 99 Explicit Messages Section 7 3 Parameters Address L Address H Number of bytes command Specify the leading PT memory address of the data and the number of bytes to be read Specify these parameters in 2 digit hexadecimal Always specify and even number of bytes to be read because an error will occur if an odd number is specified Address L The rightmost 2 digits of the leading PT memory address Address H The leftmost 2 digits of the leading PT memory address The max number of bytes that can be read at one time is 250 bytes FA Hex When an OMRON Master is being used the maximum is 240 bytes FO Hex Read data response The specified contents of PT memory are returned in 4 digit hexadecimal The leftmost 2 digits Data H are first and the rightmost 2 digits Data L are second as shown in the following diagram Leading address Leading address 1 Leading address 2 Read data 7 3 3 PT Memory Read L gt H Reads
95. et Interface Unit is installed Comm Speed Communications speed in the DeviceNet network OUT Area Shows the DeviceNet output area words allocated in PT memory IN Area Shows the DeviceNet input area words allocated in PT memory Local Node No Shows the PT s node number as a DeviceNet Slave Displaying Settings Use the following operation in the system menu to display the PT settings Ver 2 10 Press Maintenance Mode Press PT Settings RRES quit Press the touch switch next screen or touch switch previous screen to display the Screen Data Type Memory Link desired screen PT Control Area PM BBAD PM BAA4 PT Notification Area PM BABIA PM pA12 Window Control Area PM 424 PM A28 Numeric Expression Binary Expansion I F None Press Quit to return to the maintenance mode menu Connect ion Connect Comm Speed 125Kbps OUT AreaCUNIT 3PT PMARAA PMARS 1 IN Area PT gt UNIT PMARG2 PMALE3 Self node No 15 65 Checking Communications with the PT Section 5 7 5 7 Checking Communications with the PT Use the following operation in the system menu to check communications be tween the PT and the DeviceNet Interface Unit 66 Ver 2 10 Press Maintenance Mode Press I O Check Press I F Check Press CompoBus D Check the connection of CompoBus D R CompoB
96. et network the voltage drop at the communications cables taking the allowance into consideration is 5 V or less according to the spec ifications for the communications power supply device 24 VDC and com munications power supply for each node 11 to 25 VDC LT V Voltage drop Va V4 V2 Voltage supplied i to each node V Voltage drop Vg Voltage supplied to communications power supply device V4 Voltage supplied to the communications power supply device Con sider the ambient variations of the power supply voltage and take V to be 23 V Vo Voltage supplied to each node Consider the allowance and take Vo to be 13 V or greater Va Voltage drop at the power supply cables V Ve Voltage drop at the power supply cables V In the DeviceNet network Va and Vg is taken as 5 V or less The voltage drop at the communications cables is specified at 5 V fora single power supply line V or V Of the permissible maximum voltage drop within the system 5 V the permissible voltage drops in the trunk lines and drop lines are 4 65 V and 0 35 V respectively Note Note that when the communications power supply for each node and the internal circuit power supply must be shared the permissible ambient voltage of the in ternal circuit is lower than the permissible maximum ambient voltage of the com munications power supply Also the maximum voltage drop for a single power supply line V or V must be taken as 1 V Of the
97. ews Example T branch Connection Blue CAN low Black V GP vas White CAN high Shield Note Be sure the wire set screws are sufficiently loosened before attempt ing to insert the lines If these screws are not loose the lines will enter the gaps in the back of the connector and will not lock properly N Signal wire Hole where signal wire is inserted There are colored stickers provided on the Master Unit and Slaves that match the colors of the lines to be inserted Be sure that the colors match when wiring the connectors These colors are as follows 46 Connecting to the DeviceNet Network Section 4 3 Power line negative voltage V Communications line low CAN low Shield Communications line high CAN high Power line positive voltage V 6 Tighten the line set screws for each line in the connector Tighten the screws to a torque between 0 25 and 0 3 Nim You will not be able to tighten these screws with a normal screwdriver which narrows to a point at the end You will need a screwdriver that is consistently thin for the entire length Use a flat blade screwdriver that is consistently thin at the end The following diagram shows the dimensions of the OMRON XW4Z 00C screwdriver which is made specifically for tightening these set screws Side view Front view l am 0 6 mm 3 5 mm 4 3 2 Installing and Removing the Connector Align the cable conn
98. formance to EC Directives 6 When switching a load with a high inrush current such as an incandescent lamp suppress the inrush current as shown below Countermeasure 1 Countermeasure 2 R OUT L OUT K R COM COM Providing a dark current of approx Providing a limiting resistor one third of the rated value through an incandescent lamp xix SECTION 1 Introduction This section describes the main features and basic functions of the DeviceNet CompoBus D system and the DeviceNet CompoBus D Interface Unit 1 1 Features of the DeviceNet Interface Unit 0 0 cee cee ene 2 1 2 DeviceNet Functions sedie wees shee aoe ete bee eb ooh ane Gap dee reece tig ri eesti eee 3 1221 DeviceNet Beatures s onain a Oi baie aaah ae ea es mn aan 3 1 2 2 Communications Functions of Master Units 00 000 e eee eee 4 1 2 3 DeviceNet CompoBus D Communications Specifications 6 1 3 System Configuration sessie sea n wos Goat ag Mee ud Aisa a dua eta aes ale 7 1 3 1 Master Units ienee ee desea SO 8 Baek OOS SE ye eee ed ee a ee 7 1 3 2 Example System Configuration 0 0 0 cece eee eee ee 8 1 4 Outline of Configurator 0 ec eee Aas 9 1 5 Functions of the DeviceNet CompoBus D Interface Unit 000 10 1 5 1 Communications Using the DeviceNet Interface Unit 10 1 5 2 Contrast with the Regular Memory Link Method 0
99. g address 1 Leading address 2 Read data 7 3 4 PT Memory Write H gt L Writes the specified data to PT memory beginning at the specified word address The data is written to PT memory words with the leftmost byte Data H first and rightmost byte Data L second Command Block 28 01 34 00 8A 00 O01 ry A SS SS es Command Class ID Instance ID code 3 Service code Address L Data H Destination node address Address H Data L Write data Response Block 28 01 00 00 00 02 B4 Command Response No of bytes code code received A Service code Source node address Parameters Address L and Address H command Specify the leading PT memory address where the data will be written Specify both of these parameters in 2 digit hexadecimal Address L The rightmost 2 digits of the leading PT memory address Address H The leftmost 2 digits of the leading PT memory address The max number of bytes that can be written at one time is 248 bytes F8 Hex When an OMRON Master is being used the maximum is 240 bytes FO Hex Write data command The write data is the 4 digit hexadecimal data that is written to PT memory Data is written to PT memory beginning at the specified 101 Explicit Messages Section 7 3 leading address with the leftmost 2 digits Data H first and the rightmost 2 digits Data L second as sh
100. g address of read data to PT memory address 0100 Writes 0A00 to DM 1009 Sets number of read bytes to 10 bytes Sample Program Section 7 4 Continued from previous page 00002 CMP 20 0094 INC 38 DM0006 25506 Equals Flag i 25506 Equals Flag 00000 Message Communications Enabled Flag DM0000 00001 25506 IOWR write incomplete INC 38 ASL 25 IOWR write l completed END 01 To read just the error code the leftmost byte of DM 2003 is set to 00 and the result is stored in DM 0010 If execution of IOWR was completed in the last cycle the content of DM 0010 service code is compared to 0094 for an error check If the error code matches the content of DM 0006 is incremented by 1 to record an error completion If an error completion hasn t occurred the contents of IR 000 are shifted two bits to the right This step is repeated so IR 000 returns to its initial status Shifts the contents of IR 000 one bit to the left If message communications are enabled transfers the 10 words of command data beginning at DM 1000 to Master Unit 0 If the IOWR instruction s write transfer operation hasn t been completed the contents of IR 000 are shifted one bit to the right for a retry As long as the write operation isn t completed the content of DM 0007 is incremented by 1 to record an error If the IOWR instruction s wri
101. gram Erase Sustem Program Are vou sure Return to Menu Yes e If Return to Menu is pressed the PT will return to the system installer mode s menu without erasing the system program e If the erase operation failed a screen will be displayed that asks whether or not to erase the system program again When the erase operation is completed the PT will be ready for the system pro gram to be downloaded If the system program was erased properly the PT will automatically wait for the system program to be downloaded 53 Installing the System Program Section 5 1 When the PT is in this status transfer the sys tem program from the computer s system in staller Ready for downloading The PT will track the system program transfer as the program is being downloaded Download Sustem Program If the Abort button is pressed while the PT is downloading or waiting for the download the download will be cancelled and a screen will be displayed that asks whether or not to download the system program again 5 1 2 Computer Operations Extracting the System Program Starting the System Installer 1 2 3 54 Start the NT series System Installer in the personal computer and transfer the system program to the PT Extract the system program for the DeviceNet Interface Unit from the floppy disk that is included with the Unit The system programs are in compressed self extracting files in two f
102. hown below Make every effort to avoid sharing the communications power supply and the internal circuit power supply Refer to 3 7 Sharing the Same Power Supply for details e Permissible ambient voltage of the communications power supply 11 to 25 VDC e Permissible ambient voltage of the internal circuit power supply 24 VDC from 10 to 15 The lowest permissible ambient voltage is 11 VDC for the communications pow er supply whereas it is 21 VDC including the allowance for the internal circuit power supply Due to this difference in lowest permissible ambient voltages when the internal circuit power is supplied by the communications power supply the permissible ambient voltage drop at is lower than if the power supplies were separate When the output voltage ambient fluctuation of the communications power supply has a lower limit of 23 V the permissible maximum voltage drop of a single power supply line is 23 V 21 V 2 1 V Of the permissible maximum voltage drop of a single power supply line 1 V the permissible maximum volt age drop of trunk lines and drop lines are 0 65 V and 0 35 V respectively Calculate the distance between the power supply and each node and the total current consumption of each node in the communications and the internal cir cuit Refer to the DeviceNet CompoBus D Operation Manual W267 Try to calculate the best location for each node using the formula below If the best location for each
103. in Configurator Functions Configurator functions Monitoring functions Note The main functions of the Configurator are illustrated below For details refer to the DeviceNet CompoBus D Configurator Operation Manual W328 M Setting remote I O allocations scan list Setting other Master parameters initial remote Setup functions I O status communications cycle time Setting Slave parameters for Slaves not from OMRON Displaying connected device lists Monitoring Master status Master error histories and communications cycle times Operating functions Starting stopping remote I O communications Reading writing files for connected device data File management functions online and device data resulting from setting Master parameters offline 1 Connect only one Configurator to each Network 2 Do not use a Configurator in locations subjected to excessive noise particu larly when using a PCMCIA Card Excessive noise will cause the computer to run out of control This will not however adversely affect the DeviceNet network 3 The OMRON Configurator can only be used for OMRON Master Units CVM1 DRM21 V1 C200HW DRM21 V1 Do not use the Configurator for other company s Master Units 1 5 Functions of the DeviceNet CompoBus D Interface Unit A PT connected to the DeviceNet Interface Unit uses the Memory Link method In the Memory Link method the PT memory area within the P
104. in the CompoBus D memory switch screen of the PT connected to the CompoBus D Interface Unit and reset the PT Always set the input area size and output area size first Turn ON the Master PC Switch the Master PC to PROGRAM mode Check the Master s Registered Slave information area and verify that communications have been established with the connected Slaves The location of the Registered Slave information area depends upon the PC being used as shown below PC model Leading word address 2 CVM1 CV series CIO 1502 25 x unit number CS1 series CIO 2002 10 x unit number C200HX HG HE with unit numbers 0 to 9 IR 102 10 x unit number C200HX HG HE with unit numbers Ato F IR 402 10 x unit number 10 15 14 13 12 1110 9 8 7 6 5 4 3 2 1 O Bit Leading address 2 Leading address 3 Leading address 4 Leading address 5 125124 23 22 21 20 19 18 17 16 41 40 39 38 37 36 35 34 33 32 57 56 55 54 53 52 51 50 49 48 The numbers in the table above indicate the node numbers corresponding to each bit A Slave is communicating normally when the bit corresponding to its node number is ON Use a PC Programming Device to turn bit 01 of the software switches the scan list clear bit from OFF to ON This operation is disabled when the Master is operating in scan list disabled mode 79 Allocating PT Memory to the Host Master Section 6 3
105. it connects 3 1 Network Configuration lt i cessc secies naaa a E E AE S ete 22 3 1 1 Network Components 0 0 0 cee eee nee 22 3 1 27 Connections essen 6 sts Feiss Hanns a E ad svat retest ORRA elegant ENS 23 3 2 Limitations on the Network Configuration 0 0 0 eee eee eee eee 24 3 2 1 Baud Rate and Communications Distance 00 00 00 0 eee eee 24 3 2 2 Maximum Network Length 0 0 0 0 eee ee eee eee 24 3 2 3 Drop Line Lengths seecae eo a eee See ets See a a e 25 3 2 4 Total Drop Line Length 0 0 ee ee eee 26 3 2 5 Locating Terminating Resistors 0 0 0 eee eee eee 26 3 3 Sharing the Communications Power Supply 0 0 eee eee eee eee 27 3 3 1 Prerequisite Conditions ses ss ces riesasta tsue eee eee 27 3 3 2 Determining the Communications Power Supply Method 28 3 3 3 Locating the Power Supply 00 0 0 0 cece cece eee eee 29 3 3 4 Step 1 Determining the Best Location for the Power Supply from a Graph 30 3 3 5 Step 2 Calculating the Best Location of the Actual Nodes 33 3 3 6 Step 3 Splitting the System into Multiple Power Supplies 36 323 7 Dual PowerSupply vives us ister e eee ait is oi oud shake oils 37 3 4 Grounding the Network 0 0 cece cent nee 37 3 4 1 Ground Wire Connection 0 0 0 cece eee ee 38 325 Noise Precautions ee tercet Seek See Oe bo ee oe Boone Gee E Saree Stee
106. ith the PT 0 0 0 ccc 5 8 Checking the System Program Version 0 0 00 e eee eee eee eee SECTION 6 Remote I O Communications ccccceeee 6 1 Overview of Remote I O Communications 0 0 0 cee eee eee 6 2 Settings with the NT series Support Tool 0 0 0 eee eee eee 6 3 Allocating PT Memory to the Host Master 0 0 0 0 eee eee ee eee eee 6 4 Allocating PT Data to PT Memory 0 cee eee s XI xii xii xii xiii xiii xvii p O ONUN p 15 16 20 21 22 24 27 37 38 40 40 43 45 45 51 52 56 57 59 61 66 67 vii Viii TABLE OF CONTENTS SECTION 7 Message Communications ccc cece ee eeees 7 1 Overview of Message Communications 0 0 eee eee eee eee 7 2 Using Message Communications 0 0 00 eects 7 3 Explicit Messages ioo unene Sh acrid e E gb bh acd a a A nE Gd Act aA e 7 4 Sample Program s sasoe e ob hae kk aanhag Keele as teh S eae as SECTION 8 Error Processing cnc ei eset eee eel oe ees 8 1 Error Screens Specific to the DeviceNet Interface Unit 00 8 2 Troubleshooting with the LED Indicators 0 0 0 0 cee ee eee Appendices A gt Deyice Protocol macaan see isa BN bg aes a el a a ate a Retake Bua eS B Comparison of System Program Functions 0 0 0 c eee C Standard Models f vse aici sare eal rte ate ee aged E ee aber tan
107. ject Ox8A 114 PT operations 51 PT settings 51 checking 64 PT Settings procedure 16 PT Status Object Ox8C 115 R remote I O Communications 2 3 4 remote I O communications 69 82 overview 70 starting during operation 20 Support Tool settings 72 using fixed I O allocations 18 using free I O allocations 19 routing tables 87 124 S safety precautions See precautions serial port A settings 59 specifications communications specifications 6 standard models 119 surge suppressors to reduce noise 39 system configuration 7 8 20 System Menu structure 56 system program checking the version information 67 comparison of system program function 117 installing 52 T T branch Tap connecting cables 48 Terminating Resistor 22 connecting 49 location 26 T branch Tap 49 Terminal Block 49 thick cable combining with thin cable 25 voltage drop 31 thin cable combining with thick cable 25 voltage drop 31 troubleshooting 107 trunk line 22 V W voltage drop 30 33 Window Control Object 0x8D 115 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual Cat No VO66 E1 1 Revision code The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code bate Revised conten August 2000 Original production 125
108. l close at hand for reference during operation It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions especially in applications that can directly or indirectly affect human life You must consult with your OMRON representative before applying a PC System to the above mentioned applications Safety Precautions N WARNING N WARNING N WARNING The CPU Unit refreshes I O even when the program is stopped i e even in PROGRAM mode Confirm safety thoroughly in advance before changing the status of any part of memory allocated to I O Units Special I O Units or CPU Bus Units Any changes to the data allocated to any Unit may result in unexpected operation of the loads connected to the Unit Any of the following operation may result in changes to memory status e Transferring I O memory data to the CPU Unit from a Programming Device e Changing present values in memory from a Programming Device e Force setting resetting bits from a Programming Device e Transferring I O memory files from a Memory Card or EM file memory to the CPU Unit e Transferring I O memory from a host computer or from another PC on a net work Do not attempt to take any Unit apart while the power is being supplied Doing so may result in electric shock Do not touch any of the terminals or terminal blocks while the power is being supplied Doing so may result in electric shock Applica
109. lay will appear at the PT allowing the PT to be restarted with the new system program Press Run System Download System Program Downloading is completed Run System The PT will start regular operation when the system program is started The sys tem menu will be displayed if screen data has not been transferred Reference The PT will be completely unusable if the system program is not downloaded properly after the PT s system program is erased Always download the system program completely after the system program is erased 55 Structure of the System Menu Section 5 2 5 2 Structure of the System Menu The System Menu allows the various functions of the PT to be executed using touch switches displayed as a menu on the touch panel The structure of the sys tem menu menu tree is shown below The difference between the system pro gram for the DeviceNet Interface Unit and the standard system program is also shown The menu shown here is from an NT31 NT31C PT The menu items may differ slightly depending upon the PT model being used but the items related to the DeviceNet Interface Unit are the same for all PT models This manual explains only the operations that are changed or edited for use with the DeviceNet Interface Unit Refer to the PT s User s Manual for details on all other operations SYSTEM INSTALLER MODE t Exit System Installer Download System Program page 53 Change
110. lculate a hypothetical power supply location because it cannot be determined by using the graph Step 1 Determining the Best Location for the Power Supply from a Graph A voltage drop occurs when a current flows through a communications cable The longer the communications cable the greater the voltage drop The com munications power supply at each node must be 11 VDC or more To ensure this the relationship is plotted as shown in the graph below to find the maximum current that satisfies the voltage of the communications power supply at differ ent trunk line lengths even if there is a voltage drop due to cable resistance Sharing the Communications Power Supply Section 3 3 Thick Cable _Distance m o 25 50 100 150 200 250 300 350 400 450 500 Max current A 8 00 8 00 5 42 2 93 2 01 1 53 1 23 1 03 0 89 0 78 0 69 0 63 Max current A Distance m Thin Cable _Distance m o 10 20 30 40 so 60 70 80 90 100 N Max current A Distance m Determining the Best Verify the Items 1 to 3 below for each node located in the same direction viewed Location of the Power from the power supply Therefore if nodes are located on both sides of the pow Supply from a Graph er supply these items must be verified for all nodes located in each direction 1 2 3 1 Find A the total current consumption of all the nodes
111. ling The Support Tool is used to create and transfer Operation Manual System programs screens for the PT to which the DeviceNet Interface Unit is mounted You must use version 3 2 or later of the Support Tool Constructing a Information on OMRON DeviceNet products and DeviceNet CompoBus D W267 DeviceNet network network configuration Operation Manual Refer to the DeviceNet CompoBus D Operation DeviceNet CompoBus D W347 Manual for overall network details and using the Slave Operation Manual DeviceNet Master Unit and refer to the DeviceNet DeviceNet CompoBus D W348 CompoBus D Configurator Operation Manual for MULTIPLE I O TERMINAL detailed control and setting methods Operation Manual DeviceNet CompoBus D W328 Configurator Operation Manual This section provides general precautions for using the CS 1 series Programmable Controllers PCs and related devices PRECAUTIONS The information contained in this section is important for the safe and reliable application of Programmable Control lers You must read this section and understand the information contained before attempting to set up or operate a PC system 1 Intended Audience 0 0 0 0 cee cece ee 2 General Precautions 0 0 0 0 cece eee eens 3 Safety Precautions 4 Operating Environment Precautions 5 Application Precautions 6 Conformance to EC Directives Applicable Directives Concepts uses sake sag saa Conformance to
112. llow ivory NT631 ST211B EV NT631 High intensity EL display yellow black NT631C ST141 EV NT631C STN color display ivory NT631C ST141B EV NT631C STN color display black NT631C ST151 EV NT631C High intensity STN color display ivory NT631C ST151B EV NT631C High intensity STN color display black Note The DeviceNet CompoBus D Interface Unit can be used with any PT version by installing the Unit s sys tem program but the system program s functions are equivalent to the functions of V1 versions system version 2 1 DeviceNet CompoBus D Configurators DeviceNet CompoBus D 3G8F5 DRM21 ISA board version Configurator 3G8E2 DRM21 PCMCIA card version Support Tools Remarks NT series Support Tool NT ZJ3AT1 EV3 Ver 3 2 earlier versions cannot be used Compatible with PC AT personal computers For Windows 95 98 NT English version Floppy Disk NT ZJCAT1 EV3 Ver 3 2 earlier versions cannot be used Compatible with PC AT personal computers For Windows 95 98 NT English version CD ROM NT ZJCAT1 EV4 Ver 4 1 Compatible with PC AT personal computers For Windows 95 98 NT English version CD ROM 119 Standard Models Communications Cables Specifications DCA2 5C10 Thick cable 5 wire 100 m Appendix C Manufacturer OMRON DCA1 5C10 Thin cable 5 wire 100 m OMRO
113. loppy disks One disk contains the NT31 NT31C system program Nt31 exe and the other contains the NT631 NT631C system program Nt631 exe Self extracting file Contents Remarks Nt31 exe DRT E0A 31 System program for the NT31 DRT E0A 31 c System program for the NT31C Nt631 exe DRT E0A 631 System program for the NT631 DRT E0A 63c System program for the NT631C The compressed files are self extracting so the contents can be extracted just by double clicking the file name and specifying the destination directory 1 Start the system installer by selecting Start Programs Omron Ntst3 2e NT series System Installer from the Windows Start Button The menu names in your system may be slightly different depending upon the Support Tool version and selections made when the Support Tool was installed 2 When the system installer has started a main menu like the one below will be displayed Geanina Syehare Hhrip ComPan edsn Shater Fie Any one of the following operations can be used to close the system installer Installing the System Program Section 5 1 e Select Download System Exit from the menu e Click the X button in the upper right corner of the main system installer window e Double click the system installer icon in the upper left corner of the system in staller window e Click the system installer icon in the upper left corner of the main system in staller window and select Close fr
114. lower its maximum capacity becomes This is the same whether the cable is thick or thin Calculate the current capacity passing through the drop line the total current consumption at the drop line using the following formula I 4 57 L l Permissible current A L Length of the drop line m 27 Sharing the Communications Power Supply Section 3 3 3 3 2 Determining the Communications Power Supply Method This section provides a basic flow chart to determine which communications power supply method to use Use the flow chart below to determine the commu nications power supply on the trunk line The current carried by each drop line must be less than the permissible current which can be calculated with the for mula on page 27 Provisionally determine the location of the power supply l Determine the best location of the power supply from the graphs Step 1 i Are the power supply specifications met Consider changing the Yes location of the power supply Consider using thick cable Are the power supply specifications met Step 2 i Yes Calculate the best location of the actual nodes Are the power supply specifications met pe Consider changing the location of Yes the power supply Consider using thick cable Consider changing the location of high current consumption nodes Are the power sup
115. m removing too much of the covering can result in short circuits Approx 30 to 80 mm Poo BRK RRR KD BS HO 2 Carefully peel back the weaving You ll find the signal lines power lines and the shielding wire The shielding wire will be loose on the outside of the other lines but it is harder than the weaving and should be easily identified Shielding wire 45 Connecting to the DeviceNet Network Section 4 3 3 Remove the exposed weaving remove the aluminum tape from the signal and power lines and strip the covering from the signal and power lines to the proper length for the crimp terminal connectors Twist together the wires of each of the signal and power lines Mea Strip to match the crimp terminals Note We recommend the following crimp terminals for easier wiring and improved reliability Phoenix Contact K K Al series Crimp Terminals u Ha Crimp Wire terminal Insert the line into the terminal and then crimp The following crimp tool is also available Phoenix Contact K K Contact ZA3 Crimp Tool 4 Attach the crimp terminals to the lines and then cover any exposed areas of the cable and lines with electricians tape or heat shrinking tubes 5 Orient the connector properly loosen the line set screws and then insert the lines in order from left to right Black blue shield white and then red The wiring method is the same regardless of whether or not the connector is equipped with set scr
116. memory and the contents of the input area are regularly read Reading PT Status Input Area Operations 1 2 3 1 If changes are made to the status or memory tables by PT or other opera tions the changes are mirrored in PT memory 2 If there are changes in PT memory the contents are automatically mirrored in the corresponding input area 3 The contents of the DeviceNet Interface Unit s input area are mirrored in the part of the host s input area that is allocated to the DeviceNet Interface Unit 4 The changes in PT status or memory tables can be read from the contents of the host s input area Controlling the PT Output Area Operations 1 2 3 1 Write data in the part of the host s output area that is allocated to the Device Net Interface Unit 2 Data written to the host s output area is automatically mirrored in the Device Net Interface Unit s output area 3 Data in the DeviceNet Interface Unit s output area is automatically written to the corresponding part of PT memory 4 The PT s display and operation change in accordance with the contents of PT memory Precautions for the The strobe ON time is the length of time that the PT keeps ON the signals which Strobe ON Time Setting notify the host Master of a change in PT status The strobe ON time setting con trols all three strobes the screen switching strobe numeral input strobe and character string input strobe Set the strobe
117. mmand Destination Class ID 008A Hex parameters 7 0001 Hex Command Destination Instance ID 0001 Hex parameters 8 6400 Hex Command Leading PT memory address to parameters read 0100 9 0A00 Hex Command Number of bytes to read 10 bytes parameters D 0010 Destination unit number 0 Hex Number of transfer words 10 words 010 BCD 103 Sample Program Section 7 4 Continued on next page 104 First Cycle Flag 25315 MOV 21 3FFE DM0000 MOV 21 8207 DM1000 0000 MOV 21 0064 DM1002 0009 MOV 21 2801 DM1004 MOV 21 0001 DM1007 Clears writes 0000 to DM 0000 to DM 2999 Writes 0001 to IR 000 to indicate the progress of processing Writes 3FFE to DM 0000 Sets destination node number to 3F Hex and destination unit address to FE Hex Writes 8207 to DM 1000 and D000 to DM 1001 Sets leading address for response to DM 2000 The leading address is set using the variable area s specification method Writes 0064 to DM 1002 Sets response monitor ing time to 10 s Writes 0009 to DM 1003 Sets number of com mand data bytes to 9 bytes Writes 2801 to DM 1004 Sets command code to 28 01 Hex Writes 0133 to DM 1005 Sets Slave node num ber to 01 Hex and service code to 33 Hex Writes 008A to DM 1006 Sets class ID to 8A Hex Writes 0001 to DM 1007 Sets instance ID to 01 Hex Writes 6400 to DM 1008 Sets leadin
118. mpoBus D Interface Unit is used with NT31 NT31C NT631 and NT631C PTs CS1 Series refers to CS1H and CS1G PCs and related products C Series refers to C200H C1000H F C2000H C200HS CPM1 and CQM1 PCs and related prod ucts CVM1 CV Series refers to CV500 CV1000 CV2000 and CVM1 PCs and related products CPU Unit refers to OMRON CS1 series C200HX HG HE Z C series and CVM1 CV series CPU Units Support Tool refers to the following NT series Support Tools for Windows Ver 3 2 or later e Ver 3 2 NT ZJ3AT1 EV3 NT ZJCAT1 EV3 e Ver 4 1 NT ZUCAT1 EV4 Only the above Support Tools can be used to create screen data for PTs to which the DeviceNet CompoBus D Interface Unit is mounted The term host refers to the control device e g PC or computer that controls the PT Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient operation of the product 1 2 3 1 Indicates lists of one sort or another such as procedures checklists etc OMRON 2000 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permis sion of OMRON No patent liability is assume
119. munications Enabled Flag OFF i IOWR CPU Unit executed Command written Master Unit e E Peripheral servicing ON 1 i Equals Flag SR 25506 OFF i Response Message ON poe tead Response Received in the Next Cycle l IOWR CPU Unit executed Command written T N l Peripheral servicing ON i 1 q Master Unit Equals Flag SR 25506 OFF Message ON Communications Enabled Flag OFF 3 Response read OFF until response is received Message Communications Enabled Flag remains ON here 97 Using Message Communications Section 7 2 Use the type of programming shown below The programming shown at the top will not always read the response properly 98 WRONG Can Improperly Read Response Execution Message condition Communications Enabled Flag A IOWR B 25506 f A DIFU 13 C C SET D D _ Instructions to Message read response Communications Enabled Flag CORRECT Properly Reads Response A DIFU 13 C Cc D Instructions to Message read response Communications Enabled Flag Execution Message condition Communications Enabled Flag A 25506 Explicit Messages Section 7 3 7 3 Explicit Messages This section describes the explicit messages supported by the DeviceNet Inter face Unit When sending explicit messages from an OMRON Master Unit use the CMND or IOWR ins
120. must be 200 to 300 V If the circuit is an AC circuit use a capacitor with no polarity Diode method Inductive load The diode connected in parallel with the load changes energy accumulated by the coil into a current which then flows into the coil so that the current will be converted into Joule heat by the resistance of the inductive load This time lag between the moment the circuit is opened and the moment the load is reset caused by this method is longer than that caused by the CR method The reversed dielectric strength value of the diode must be at least 10 times as large as the circuit voltage value The forward current of the diode must be the same as or larger than the load current The reversed dielectric strength value of the diode may be two to three times larger than the supply voltage if the surge protector is applied to electronic circuits with low circuit voltages Varistor method 0 J Inductive load xviii The varistor method prevents the imposition of high voltage between the contacts by using the constant voltage characteristic of the varistor There is time lag between the moment the circuit is opened and the moment the load is reset If the supply voltage is 24 or 48 V insert the varistor in parallel with the load If the supply voltage is 100 to 200 V insert the varistor between the contacts Con
121. n the table above Registering the Remote This section explains how to connect the DeviceNet network properly I O Allocation Area Reference Only the basic connection procedures are explained here Refer to the Device Net CompoBus D Operation Manual W267 for more details 78 Allocating PT Memory to the Host Master Section 6 3 Fixed Allocation The Master Unit s software settings for the following example procedure are shown below PC model Leading word address CVM1 CV series CIO 1500 25 x unit number CS1 series CIO 2000 10 x unit number C200HX HG HE with unit numbers 0 to 9 IR 100 10 x unit number C200HX HG HE with unit numbers Ato F IR 400 10 x unit number 10 151413121110 9 87 6 5 4 3 21 0 Bit Not used Scan list enable bit Scan list clear bit Communications error stop release bit Start remote I O communications bit Stop remote I O communications bit Use the following procedure to register the remote I O allocation area 1 2 3 1 o gt Turn ON the Master PC after making any required Master Unit hardware settings Refer to the DeviceNet CompoBus D Operation Manual W267 for details on Master Unit hardware settings Connect a Programming Device to the PC turn ON the Master PC and create the I O table Turn OFF the Master PC Turn ON all of the Slaves connected to the Master Make the required settings
122. n unexpected operation e Do not pull on the cables or bend the cables beyond their natural limit Doing either of these may break the cables e Do not place objects on top of the cables or other wiring lines Doing so may break the cables e When replacing parts be sure to confirm that the rating of a new part is correct Not doing so may result in malfunction or burning e Before touching a Unit be sure to first touch a grounded metallic object in order to discharge any static build up Not doing so may result in malfunction or dam age e When transporting or storing circuit boards cover them in antistatic material to protect them from static electricity and maintain the proper storage tempera ture e Do not touch circuit boards or the components mounted to them with your bare hands There are sharp leads and other parts on the boards that may cause injury if handled improperly e Do not short the battery terminals or charge disassemble heat or incinerate the battery Do not subject the battery to strong shocks Doing any of these may result in leakage rupture heat generation or ignition of the battery Dis pose of any battery that has been dropped on the floor or otherwise subjected to excessive shock Batteries that have been subjected to shock may leak if they are used Conformance to EC Directives 6 6 4 e UL standards required that batteries be replaced only by experienced techni cians Do not allow unqualified
123. nd SYSMAC Power Lines onto the control panel on which high voltage devices are mounted 38 Noise Precautions Install surge suppressors on devices that generates noise particularly devices that have an inductive component such as motors transformers solenoids and magnetic coils Surge suppressor Installed next to device Surge suppressor Installed next to device Section gt i Ea A Perl i l 7 E DC input type Device AC input type Device such as a motor such as a motor If a surge suppressor does not fit on the device installing a ferrite core directly next to the device s contactors such as a contactor may be effective 3 Raa Device such as a motor Ferrite core 0443 1641151 Nisshin Electric Co Ltd r 1 T 1 1 1 1 1 1 1 i 1 Because noise currents flow through metallic equipment such as casings the communications cables should be placed as far away from metallic equipment as possible Ground the shielding wire on the communications cable at one point If the same ground is used for the communications cable and communications power sup ply there is a possibility that noise may be transmitted through the ground line to the communications line In order to avoid this be sure that the power line ground and the grounds for the communications cables and the communica tions power supply are located as far from each other as possible
124. necting Communications Cables to T branch Taps 48 This section shows how to connect a communications cable with a connector attached to a T branch Tap When using a DeviceNet Interface Unit we recom mend wiring with a T branch Tap rather than the multi drop method because it allows for easier maintenance There are two kinds of T branch Taps one makes a single branch and the other makes three branches but the cable connections are the same for both The connectors indicated by asterisks in the following diagrams have the least resistance and these connectors should be used for the trunk line connections When using a T branch Tap on a drop line we recommend connecting the long est drop line to these connectors DCN1 1C 1 branch Use for trunk line of longest drop line DCN1 3C 3 branches Use for trunk line of longest drop line The required number of connectors is included with the T branch Taps shown above The following table describes the included connectors Connecting to the DeviceNet Network Section 4 3 Specifications si XW4B aa a H1 D Connector for T branch Tap connection 4 a L anatactares node with connector attachment screws Align the cable connector with the socket on the T branch Tap as shown in the following diagram and fully insert the connector into the socket Tighten the set s
125. ng memory tables used for numeral and char acter string inputs e Do not allocate the following elements to the DeviceNet Interface Unit s input area Doing so will disable the element s functions e Lamp bits of lamps or touch switches e Numeral and character string memory tables written from the host e Bit memory tables 82 SECTION 7 Message Communications This section explains how to use message communications with a DeviceNet Interface Unit and how to use the PT when mes sage communications are being used 7 1 Overview of Message Communications 0 0 eee eee eee 7 1 1 Exchanging Data with the DeviceNet Interface Unit 7 1 2 Data Flow of Explicit Messages 0 cee cece eee eens 7 2 Using Message Communications 0 0 ccc ce eee eens 7 2 1 EXPLICIT MESSAGE SEND FINS Command 2801 7 2 2 Using the CMND Instruction in CVM1 and CV series PCs 7 2 3 Using the IOWR Instruction in CS l series and C200HX HG HE PCs T3 Explicit Messa Sane a e eh ee iad ea ae 7 3 1 Supported Explicit Messages 0 0 cee eee eee 7 3 2 PT Memory Read H gt L 1 eee n nee 7 3 3 PT Memory Read L gt H sirana a ee eee A eee 7 3 4 PT Memory Write HO L 6 eee ences 7 3 5 PT Memory Write L H eee eee een eee 7 4 Sample Program 84 84 84 85 85 87 91 99 99 99 100 101 102 103 83 Overview of Message Communica
126. nit in the Network Using Fixed I O Always operate with the scan list enabled Refer to the DeviceNet Compo Allocations Bus D Operation Manual W267 for details on connecting more than one Mas ter Unit in a single network 1 2 3 1 2 3 4 18 Turn ON the communications power supply and then the power supply to the Slaves i e the PT Turn ON the power supply to the Master i e the PC Switch the PC to PROGRAM mode If the scan list was disabled at startup perform the following and go to step 7 Otherwise proceed to step 5 a Confirm that communications are possible with the registered Slaves i e the PT by monitoring the Master s Registered Slave Data Area b From a Programming Device connected to the PC turn ON the Scan List Enable Bit in the Master s software switches bit 0 Remote I O communications will start with the scan list enabled You can use the Master s software switches to start and stop remote I O communica tions If the scan list was disabled at startup and you want to re register it perform the following from a Programming Device connected to the PC and go to step 7 Otherwise proceed to step 6 a Turn ON the Scan List Clear Bit in the Master s software switches bit 1 b Confirm that communications are possible with the registered Slaves by monitoring the Master s Registered Slave Data Area Operating Procedures Flowchart Section 2 1 8 c Turn ON
127. nk Units are not used and transfer the resulting I O table to the CPU Unit If operation is attempted when the spe cial bits and flags for PC Link Units are also allocated to I O Units which can occur even if automatic allocation is used the PC Link Units and I O Units may both exhibit faulty operation N WARNING Always heed these precautions Failure to abide by the following precautions N Caution could lead to serious or possibly fatal injury e Always connect to a ground of 100 Q or less when installing the Units Not con necting to a ground of 100 Q or less may result in electric shock e A ground of 100 Q or less must be installed when shorting the GR and LG ter minals on the Power Supply Unit e Always turn OFF the power supply to the PC before attempting any of the fol lowing Not turning OFF the power supply may result in malfunction or electric shock e Mounting or dismounting I O Units CPU Units Inner Boards or any other Units e Assembling the Units e Setting DIP switches or rotary switches e Connecting cables or wiring the system e Connecting or disconnecting the connectors Failure to abide by the following precautions could lead to faulty operation of the PC or the system or could damage the PC or PC Units Always heed these pre cautions e When using a CPU Unit for the first time install the CS1W BAT1 Battery pro vided with the Unit and clear all memory areas from a Programming Device before s
128. nsure safety in the event of incorrect missing or abnormal signals caused by broken signal lines momentary power interruptions or other causes Interlock circuits limit circuits and similar safety measures in external circuits i e not in the Programmable Controller must be provided by the customer Do not turn OFF the power supply to the PC when data is being transferred In particular do not turn OFF the power supply when reading or writing a Memory Card Also do not remove the Memory Card when the BUSY indicator is lit To remove a Memory Card first press the memory card power supply switch and then wait for the BUSY indicator to go out before removing the Memory Card If the I O Hold Bit is turned ON the outputs from the PC will not be turned OFF and will maintain their previous status when the PC is switched from RUN or MONITOR mode to PROGRAM mode Make sure that the external loads will not produce dangerous conditions when this occurs When operation stops for a fatal error including those produced with the FALS 007 instruction all outputs from Output Unit will be turned OFF and only the internal output status will be maintained When supplying power at 200 to 240 VAC always remove the metal jumper from the voltage selector terminals The product will be destroyed if 200 to 240 VAC is supplied while the metal jumper is attached Always use the power supply voltages specified in the operation manuals An incorrect voltag
129. o or MACHINE No on front panel switch Node address back panel DIP switch Baud rate back panel DIP switch Communications continue stop setting for communications error front pan el switch Mount the Master Unit and wire the Network For CVM1 and CV series PCs Master Units are treated as CPU Bus Units and can be mounted to the CPU Rack or Expansion CPU Rack Only one Master Unit can mounted if a Configurator is not used but up to 16 Master Units can be mounted if a Configurator is used For C200HX HG HE PCs Masters are treated as Special I O Units and can be mounted to the CPU Rack or Expansion I O Rack Only one Master Unit can be mounted if a Configurator is not used but up to 10 or 16 Master Units can be mounted if a Configurator is used For CS1 series PCs Masters are treated as Special I O Units and can be mounted to the CPU Rack or Expansion I O Rack Only one Master Unit can be mounted if a Configurator is not used but up to 16 Master Units can be mounted if a Configurator is used For C200HS PCs Masters are treated as Special I O Units and can be mounted to the CPU Rack or Expansion I O Rack Only one Master Unit can be mounted if a Configurator is not used but up to 10 Master Units can be mounted if a Configurator is used Connect a Programming Device to the PC and turn ON the power supply to the PC Generate the I O table 2 1 4 Setting Up Communications Remote I O Communications with One Master U
130. ogram confirm that the Support Tool is equipped with the system installer software and there is a Memory Unit containing the system program However registered screen data and memory switch settings are retained Install the system program for the PT being used NT31 NT31C NT631 or NT631C that supports the DeviceNet Interface Unit APT which has the DeviceNet Interface Unit s system program installed can use only the functions of a V1 version of the NT31 NT31C or NT631 NT631C PT Only Memory Link communications can be used with the host The actual communications method is specific to the DeviceNet Interface Unit but create screen data for the Memory Link method in the Support Tool The computer and PT must be connected in order to transfer the system program from the computer to the PT For details refer to the PT s Setup Manual or the Support Tool s Operation Manual To prepare for the system program download put the PT in system installer mode and delete the system program from the PT An NT31 NT31C PT is used in these examples but the steps are the same for an NT631 NT631C Reference It isn t possible to download the system program with the DeviceNet Interface Unit installed Before downloading the system program for the DeviceNet Inter face Unit remove the DeviceNet Interface Unit from the PT The PT must be OFF when removing the DeviceNet Interface Unit When installing the system program either turn
131. ol notify area settings registered in the PT can be displayed with the PT Settings screen from the PT s system menu Refer to 5 6 Checking the PT Settings for details Allocate elements such as memory tables lamps or touch switches in PT memory when displaying the contents of host Master words on the PT screen or notifying the host Master of the results of PT operations Make allocation settings for numeral memory tables character string memory tables and bit memory tables with the Support Tool s Table screen Make al location settings for each element in each element s properties Data in the input and output areas is transferred in only one direction so be sure to allocate data based on its usage i e whether it is being transferred from PT Host Host gt PT or PT lt Host It is important to consider the direction of data flow PT Host Host PT or PT lt Host and number of words required when allocating the PT s control notify areas memory tables and data such as elements to the output and input areas Use the following table for reference Area or data type Allocation size Allocation to input or output area Input area Output area PT Host Host gt PT PT status control area 5 words fixed PT status notify area 3 words fixed Window control area 9 words fixed Numeral memory table 1 or 2 words See note 1 Character string memory 1 to 20 words
132. om the menu e Press the Alt and F4 Keys The computer will return to the Windows screen when the system installer closes Installing the System Use the following procedure to install the system program Program 1 2 3 1 Specify the PT Model of the PT in which the system will be installed The PT Model field is in the main system installer window 2 Specify the Drive File Location Look in and System File of the system pro gram to be installed The selected items are displayed in reverse video The system programs for the specified PT Model family in the selected folder will be displayed in the System Files area Specify the system pro gram to be installed in the PT from this area The following table shows the system programs which support the Device Net Interface Unit for each PT model File name Corresponding PT model DRT E0A 31 NT31 DRT E0A 31 NT31C DRT E0A 631 NT631 DRT E0A 63c NT631C 3 Specify the RS 232C port COM port that will be used to communicate with the PT The COM port field is in the main system installer window 4 Click the Go button in the main system installer window Installation of the system program will begin The progress of the transfer will be tracked during the installation 5 A message will be displayed when installation is completed Check the mes sage and click the OK button to confirm When installation of the system program is completed the following disp
133. on Leaving the label attached may result in malfunction e Use crimp terminals for wiring Do not connect bare stranded wires directly to terminals Connection of bare stranded wires may result in burning e Wire all connections correctly e Double check all wiring and switch settings before turning ON the power sup ply Incorrect wiring may result in burning e Mount Units only after checking terminal blocks and connectors completely e Be sure that the terminal blocks Memory Units expansion cables and other items with locking devices are properly locked into place Improper locking may result in malfunction e Check switch settings the contents of the DM Area and other preparations before starting operation Starting operation without the proper settings or data may result in an unexpected operation e Check the user program for proper execution before actually running it on the Unit Not checking the program may result in an unexpected operation e Confirm that no adverse effect will occur in the system before attempting any of the following Not doing so may result in an unexpected operation e Changing the operating mode of the PC e Force setting force resetting any bit in memory e Changing the present value of any word or any set value in memory e Resume operation only after transferring to the new CPU Unit the contents of the DM Area HR Area and other data required for resuming operation Not doing so may result in a
134. on 7 explains how to use message communications with a DeviceNet Interface Unit and how to use the PT when message communications are being used Section 8 explains how to troubleshoot errors that may occur when using the DeviceNet Interface Unit Refer to the CompoBus D DeviceNet User s Manual and the PT s User s Manual for more details The Appendices provide relevant DeviceNet protocol specifications comparisons between different system program versions and a list of related products Copyrights and Trademarks DeviceNet is a registered trademark of the Open DeviceNet Vendor Association The copyright to the software installed in the DeviceNet CompoBus D Master Unit belongs to Wood head Industries Inc Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and or other countries Other product names and company names that appear in this manual are trademarks or registered trade marks of their respective companies NWARNING Failure to read and understand the information provided in this manual may result in personal injury or death damage to the product or product failure Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given ix Related Manuals The following manuals are related to DeviceNet or PT applications Refer
135. or codes may be returned 86 Note General error code Error name Object state conflict Cause of error The PT is not able to process the message in its current status Service not supported The Service Code is not supported Resource unavailable The Instance ID is not supported Invalid attribute value The Attribute Value is not supported Too much data The data string is too long Not enough data The data string is too short or there is an odd number of bytes Attribute not supported The Attribute ID is not supported Invalid parameter An incorrect PT memory address was specified Reply data too large More than 250 bytes of read data was returned when reading PT memory Object does not exist The Class ID is not supported 1 Unlike other FINS commands this command is addressed to the local node s DeviceNet Master Unit The actual destination of the explicit mes sage is given in the command data as described above Using Message Communications Section 7 2 Always specify the local node s DeviceNet Master Unit in the control code of the CMND or IOWR instruction An error will occur if another node s Master Unit is specified 2 If the DeviceNet Master Unit receives an explicit message it will automati cally return a response Reference Refer to 7 3 Explicit Messages for details on the service code class ID instance ID and service
136. ords and 32 output words I O points in Slave CS1 series controlled by Master C200HX HG HE C200HS Remote I O allocation CVM1 CV series Input CIO 2000 to CIO 2063 CV500 CVM1 CPU01 V area Output CIO 1900 to CIO 1963 CIO 0000 to 2427 G G008 to G255 DM D00000 to D08191 Other PCs CIO 0000 to 2555 G G008 to G255 DM D00000 to D24575 CS1 series CS1 series PCs CS1 series PCs C200HX HG HE Input CIO 0350 to CIO 0399 CIO 0000 to 0235 0300 to 0511 Output CIO 0050 to CIO 0099 HR HROOO to HRO99 CIO 1000 to 1063 see note C200HX HG HE Input IR 350 to IR 399 DM D00000 to D05999 Output IR 50 to IR 99 C200HE CPU11 Z IR 0000 to 0235 0300 to 0511 HR HROOO to HRO99 LR LROO to LR63 DM DM0000 to DM4095 Other C200HX HG HE PCs IR 0000 to 0235 0300 to 0511 HR HROOO to HRO99 LR LROO to LR63 DM DM0000 to DM5999 C200HS Input IR 350 to IR 381 IR 0000 to 0235 0300 to 0511 Output IR 50 to IR 81 HR HROOO to HRO99 LR LROO to LR63 DM D00000 to D05999 Note When LR 00 to LR 63 are allocated in CS1 series PCs with the Configurator the actual words allocated are CIO 1000 to CIO 1063 When free user set allocation is used up to 4 blocks 2 output blocks and 2 input blocks of up to 100 words each can be set in the areas listed in the table above Reference There are limits on free allocation in CS1 series PCs Follow the limits shown i
137. ork communications cable e Power supply OFF Connecting to the DeviceNet Network Section 4 3 4 2 Mounting the Unit on the PT Mount the DeviceNet Interface Unit to the Expansion Interface Connector on the back of the PT as shown in the following diagram The Expansion Interface Connector is under the note label This example shows an NT31 NT31C PT Note 1 Always turn OFF the PT before installing or removing the DeviceNet Inter face Unit 2 Always tighten the two mounting screws after mounting the Unit on the PT 3 Do not touch the printed circuit board with your bare hands Discharge the static electricity from your body before handling the board 4 3 Connecting to the DeviceNet Network This manual primarily explains how to connect the DeviceNet Interface Unit to a DeviceNet network For details on connecting other Slaves or Masters refer to the individual Unit s manuals 4 3 1 Connecting Communications Cables This section explains how to prepare and connect the communications cables to connectors for the DeviceNet network Use the following procedure to prepare and connect the communications cables to the connectors Some connectors are equipped with set screws and some are not only use connectors with set screws with the DeviceNet Interface Unit 1 2 3 1 Remove approx 30 to 80 mm of the cable covering being careful not to damage the shield weaving underneath Do not remove more than about 30 m
138. ot supported Service Not supported ID content Object instance Attribute 1 Display Number 2 Memory Table Copy 3 PT Control Item DeviceNet service Parameter option Object instance Service 01 Get_Attribute_All No 02 Set_Attribute_All No 114 Device Protocol Appendix A PT Status Object 0x8C Object class Attribute Not supported Service Not supported ID content Set write Object instance Attribute 1 Display Number 2 Memory Table 3 PT Status Object instance Service 01 Get Attribute All Window Control Object 0x8D Object class Attribute Not supported Service Not supported ID content Set write Object instance Attribute 1 Display Number 2 X Offset 3 Y Offset Item DeviceNet service Parameter option Object instance Service 01 Get_Attribute_All No 02 Set_Attribute_All No 115 Appendix B Comparison of System Program Functions A PT with the DeviceNet Interface Unit installed will operate with the functions of a V1 version system program version 2 1 of the PT regardless of the PT s actual version The functions that can actually be used in newer PTs will differ from the functions described in the PT s manual when the DeviceNet Interface Unit s system program is installed Moreover the manuals for the V1 PT versions describe the functions of system program version 2 0 so they do not cover the ne
139. ower supply system Once the power supply system is split return to Step 1 or 2 and determine the best location of the nodes in each system Power Supply Tap Configuration moai Name Specifications Manufacturer Power Supply Includes two OMRON Branch Tap connectors 1485T P2T5 T5 Power supply tap Includes ground Allen Bradley terminal Power Supply Tap Connector C De Fuse A Fuse B Ke ld4 r Power supply cable i r O O Cable A Sg e ty Cable B o Ol JO o Connector A Connector B 36 Grounding the Network Section 3 4 Internal Circuitry of the Power Supply Tap V CAN H 5 wire cables Shield on side A CANL y Fuse A Fuse B poea ue Te diode Ground terminal Power Supply Tap EE N ae b 5 wire cables CANL Fuses used Little fuse 312008 V Rated amperage 8 A Rated voltage 250 V 6 35 x 31 75 mm V V YS Power supply device Remove fuse A when disconnecting cables on side A and fuse B when discon necting cables on side B 3 3 7 Dual Power Supply Restrictions Power Supply Taps can be used to construct a dual power supply system in the network Dual power supply differs from parallel operation of power supplies so the following restrictions apply Dual power supply is basically
140. own in the following diagram mea eeel Leading address Leading address 1 Leading address 2 7 3 5 PT Memory Write L H Writes the specified data to PT memory beginning at the specified word address The data is written to PT memory words with the rightmost byte Data L first and leftmost byte Data H second Command Block 28 01 35 00 8A 00 01 r ry i a er ao UU Command Class ID Instance ID code Service code Address L Data L Destination node address Address H Data H Write data Response Block 28 01 00 00 00 02 B5 Command Response No of bytes code code received Service code Source node address Parameters Address L and Address H command Specify the leading PT memory address where the data will be written Specify both of these parameters in 2 digit hexadecimal Address L The rightmost 2 digits of the leading PT memory address Address H The leftmost 2 digits of the leading PT memory address The max number of bytes that can be written at one time is 248 bytes F8 Hex When an OMRON Master is being used the maximum is 240 bytes FO Hex Write data command The write data is the 4 digit hexadecimal data that is written to PT memory Data is written to PT memory beginning at the specified 102 Sample Program Section 7 4 leading address with the rightmost 2 digits Data L
141. persons to replace batteries Conformance to EC Directives Applicable Directives Concepts Note e EMC Directives e Low Voltage Directive EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or ma chines The actual products have been checked for conformity to EMC stan dards see the following note Whether the products conform to the standards in the system used by the customer however must be checked by the customer EMC related performance of the OMRON devices that comply with EC Direc tives will vary depending on the configuration wiring and other conditions of the equipment or control panel in which the OMRON devices are installed The cus tomer must therefore perform final checks to confirm that devices and the over all machine conform to EMC standards Applicable EMC Electromagnetic Compatibility standards are as follows EMS Electromagnetic Susceptibility EN61131 2 EMI Electromagnetic Interference EN50081 2 Radiated emission 10 m regulations Low Voltage Directive Always ensure that devices operating at voltages of 50 to 1 000 VAC or 75 to 1 500 VDC meet the required safety standards for the PC EN61131 2 Conformance to EC Directives 1 2 3 The CS1 series PCs comply with EC Directives To ensure that the machine or device in which a CS1 series PC is used complies with EC directive
142. ply specifications met Step 3 ii v Split the power supply es system by installing two or y more power supplies Set the location for the power supply 28 Sharing the Communications Power Supply Section 3 3 3 3 3 Locating the Power Supply Power Supply Location The power supply can be located in the configurations shown below Basically Patterns select from the configurations 1 and 2 Consider using configuration 3 when power supply specifications cannot be met by configurations 1 and 2 It is possible to use configuration 4 for a duplex power supply Refer to sections 3 3 4 to 3 3 6 for more details concerning each configuration 1 2 3 1 Locating the Nodes on Both Sides of the Power Supply Power Supply Tap or T branch Tap Communications power supply 2 Locating the Nodes on One Side of the Power Supply Note Configuration 1 is recommended for a single power supply to several nodes Power Supply Tap or T branch Tap Communications power supply Node 3 Splitting the Power Supply System with Multiple Power Supplies System 1 System 2 Special Power
143. power supply power supply power supply power supply 24VDC 24VDC Same power supply Vo Ve Ve Ye Say or communications les ceil L u u and internal circuit i i 41 SECTION 4 Installation and Network Connection This section explains how to mount the DeviceNet Interface Unit on the PT and connect the Unit to the DeviceNet network 4 1 4 3 Components and Their Functions 4 2 Mounting the Unit on the PT Connecting to the DeviceNet Network 4 3 1 4 3 2 4 3 3 4 3 4 Connecting Communications Cables 0 0 0 eee eee eee eee Installing and Removing the Connector 0 0 0 c eee eee eee eee Connecting Communications Cables to T branch Taps Connecting Terminating Resistors 44 45 45 45 47 48 49 43 Components and Their Functions Section 4 1 4 1 Components and Their Functions Front view Rear view Mounting screws Attach the DeviceNet In terface Unit to the PT LED indicators Indicate the status of the DeviceNet network and the I F Unit Communications connector r f PT connector Connects the Unit to a DeviceNet network communications cable Communications power is also supplied through this cable Connects the Unit with the PT Note Inspect the DeviceNet Interface Unit for any damage after removing it from its packaging Lightly shake the Unit to check whether any parts have broken off inside LED Indica
144. r Supply for details 1 Always use 5 wire DeviceNet cables 2 Connect Terminating Resistors to both ends of the trunk line When using a Terminating block Terminating Resistor use a DeviceNet cable to connect the Terminating Resistor When connecting the Terminating Resistor insu late the power supply lines that are not being used with vinyl electrical tape to avoid a short circuit in the cables 3 Do not use products other than DeviceNet products for example a lightning arrester in the communications path Using other products can interfere with normal communications by causing signal reflections and other prob lems Network Configuration Section 3 1 3 1 2 Connections Trunk and Drop Lines The trunk line is a cable to which Terminating Resistors are connected at the ends Drop lines are cables that branch from the trunk lines A special 5 wire cable is used for both the trunk lines and the drop lines Branching Patterns Branching Patterns from Trunk Line 1 One drop line from 2 Three drop lines maximum 3 Node connected directly to trunk line from trunk line trunk line Multi drop Trunk line Trunk line Trunk line Trunk line Trunk line Trunk line T branch Tap T branch Tap Node Drop line T branch Tap Node Node Node Branching Patterns from Drop Line 4 One drop line from 5 Three drop lines maximum 6 Node
145. r and Slaves can be executed simultaneously with message communica tions that send receive Master Unit data as required by the application A Devi ceNet network can thus be installed to flexibly handle applications that require both bit data and message data A Configurator sold separately can be used to enable connection of more than one Master to the Network allowing message communications between Mas ters and remote I O communications between multiple groups of Masters and Slaves This allows the DeviceNet network to be used as a common bus to unify controls while reducing wiring A Configurator sold separately can be used to enable mounting more than one Master Unit to a single PC allowing control of many more points This feature can easily handle line expansions and other applications A Configurator sold separately can be used to enable flexible allocation of I O i e in any area and in any order This allows I O allocations that suit the applica tion to simplify programming and enable effective usage of PC memory areas A Configurator sold separately can be used to set the communications cycle time enabling usage of Slaves with slow response times Use a multi drop trunk line T branch multi drop lines or daisy chain drop lines All three connection methods can be combined to flexibly construct a network that meets the needs of the application Trunk line Multi drop trunk line T branch multi drop line 1 ap Dais
146. r commands addressed to CPU Unit Description IOWR transfers n words of data beginning at S beginning with command code 28 01 Hex through the local node s Master Unit to the Master Unit or CPU Unit at the specified destination node The control code C specified parameters for the instruction as shown in the following illustration Destination unit address see following table Destination node address 00 to 3E indicate nodes 0 to 63 Response Setting ON No response OFF Response returned Destination Unit Address CPU Unit 00 Communications Unit FE Special I O Unit 10 to 1F Unit No 10 91 Using Message Communications Section 7 2 92 The source words starting with S provide execution parameter and the com mand data as shown in the following table Word Contents Address of first word containing response See Specifying the Leading Address of the Response Words on page 93 Response monitoring time hex 2s 1000 to 028F 0 1 to 65 5 s units of 0 1 s Above 028F 65 5s Number of command bytes hex 0000 to OOF8 0 to 248 bytes Command data beginning with command code The destination information provides the unit number of the destination Unit and the number of words to be written as shown in the following diagram Word Contents D Unit number of the destination Unit 0000 to OOOF hex 0 to 15 D 1 Number of words to write 0001 to 0080 hex 1 to 128
147. ransfer with the CPU Unit when program ming transfers inside an ASCII Unit using the PC READ PC WRITE and similar commands e There are restrictions in data transfer with the CPU Unit for allocated bits and DM area specifications areas and addresses for source and destina tion specifications e The DeviceNet CompoBus D output area for a DeviceNet Master Unit CIO 0050 to CIO 0099 overlaps with the I O bit area CIO 0000 to CIO 0319 Do not use automatic allocations for I O in any system where al locations to the DeviceNet system will overlap with allocations to I O Units Instead use a Programming Device or the CX Programmer to manually allocate I O for the DeviceNet devices being sure that the same words and bits are not allocated more than once and transfer the resulting I O table to the CPU Unit If DeviceNet communications are attempted when the same bits are allocated to both DeviceNet devices and I O Units which can occur even if automatic allocation is used the DeviceNet devices and I O Units may both exhibit faulty operation e Special bits and flags for PC Link Units CIO 0247 to CIO 0250 overlap with the I O bit area CIO 0000 to CIO 0319 Do not use automatic alloca tions for I O in any system where allocations to the I O Units will overlap with allocations to I O Units Instead use a Programming Device or the CX Programmer to manually allocate I O to I O Units being sure that the the special bits and flags for PC Li
148. ransport class 2 ID content write Object instance 2 Attribute 1 State 2 Instance type 01 hexadecimal 3 Transport class trigger 82 hexadecimal 4 Produced connection ID 5 Consumed connection ID 6 Initial comm characteristics 01 hexadecimal 7 Produced connection size See note 8 Consumed connection size See note 9 Expected packet rate 12 Watchdog time out action 01 13 Produced connection path length 00 14 Produced connection path 00_00_00_00_00_00 15 Consumed connection path length 00 16 Consumed connection path 00_00_00_00_00_00 17 Production inhibit time 00 DeviceNet service Parameter option Object instance 2 Service 05 Reset OE Get_Attribute_Single 10 Set_Attribute_Single Note The following table shows the settings for the sizes number of bytes of the input area and output area The actual setting format is 2 bytes with the leftmost byte and rightmost byte values shown in following table reversed Attribute o Size Value Produced connection size Input area 0 to 64 bytes 00 to 40 hexadecimal Consumed connection size Output area 0 to 64 bytes 00 to 40 hexadecimal Section Information Max number of instances Object instance 3 Instance type Bit strobed I O Production trigger Cyclic Transport type Server Transport class 2 113 Device Protocol Appendix A ID content Set write
149. re allocated in the order of node numbers starting from node 00 The words are divided into an output area and an input area The specific words that are allocated depend on the model of PC that is being used CVM1 CV series PCs CS1 series PCs CIO 1900 CIO 1900 Node 0 IR 50 IR 50 Node 0 Outout CIO 1901 Node 1 Output IR 51 Node 1 oan To Slaves EE To Slaves CIO 1963 CIO 1962 Node 62 IR 99 IR 98 Node 48 CIO 1963 Node 63 IR 99 Node 49 CIO 2000 J Input ClO 2000 Node 0 IR 350 Input R 350 Node 0 Aea CIO 2001 Node 1 area IR 351 Node 1 From Slaves From Slaves CIO 2063 CIO 2064 Node 62 IR 399 IR 398 Node 48 CIO 2063 Node 63 IR 399 Node 49 C200HX HG HE PCs C200HS PCs IR 50 IR 50 Node 0 IR 50 IR 50 Node 0 IR 51 Node 1 Output IR 51 Node 1 ow 5 To Slaves PAN To Slaves IR 99 IR 98 Node 48 IR 81 IR 80 Node 30 IR 99 Node 49 IR 81 Node 37 IR 350 1R350 Node 0 IR350 mo R350 Node 0 sil IR351 Node 1 ahi IR 351 Node 1 From Slaves From Slaves IR 399 IR 398 Node 48 IR 381 IR 380 Node 30 IR 399 Node 49 IR 381 Node 31 The DeviceNet Interface Unit will occupy the number of words number of node numbers set for th
150. s Two connectors are attached and a terminating resistor is included 1485T P2T5 T5 Power Supply Tap Required when connecting two or more power Allen Bradley see note supplies A ground terminal is attached Internet Contacts Allen Bradley http www ab com OMRON http www omron com Phoenix Contact http Awww phoenixcontact com 121 A B applications precautions xiii bar code reader settings 59 baud rate maximum 24 branching patterns 23 C cables preparing communications cables 45 CMND instruction for message communications 87 communications checking communications with PT 66 maximum distance 24 power supplies 22 preparations for 18 sharing power supplies 27 communications cables preparing 45 compatibility with DeviceNet devices 2 computer computer operations 54 Configurator outline of Configurator functions 9 Connection Object 0x05 112 connectors removing and installing 47 D device protocol 111 DeviceNet Object 0x03 112 display language setting PT display language 53 drop line 22 lengths 25 total length 26 E EC Directives xvii error messages 108 error processing 107 explicit Message Communications 2 3 5 10 99 105 EXPLICIT MESSAGE SEND command 85 Index F features 2 FINS command EXPLICIT MESSAGE SEND 85 fixed allocation 7 8 with remote I O communications 76 free allocation 7 with remote I O communications
151. s the PC must be installed as follows 1 The PC must be installed within a control panel 2 Reinforced insulation or double insulation must be used for the DC power supplies used for the communications and I O power supplies 3 PCs complying with EC Directives also conform to the Common Emission Standard EN50081 2 When a PC is built into a machine however noise can be generated by switching devices using relay outputs and cause the overall machine to fail to meet the Standards If this occurs surge killers must be connected or other measures taken external to the PC The following methods represent typical methods for reducing noise and may not be sufficient in all cases Required countermeasures will vary depending on the devices connected to the control panel wiring the config uration of the system and other conditions Relay Output Noise Reduction Methods The CS1 series PCs conforms to the Common Emission Standards EN50081 2 of the EMC Directives However noise generated by relay output switching may not satisfy these Standards In such a case a noise filter must be connected to the load side or other appropriate countermeasures must be pro vided external to the PC xvii Conformance to EC Directives 6 Countermeasures taken to satisfy the standards vary depending on the devices on the load side wiring configuration of machines etc Following are examples of countermeasures for reducing the generated noise
152. s different from the behavior in the C200HX HG HE PCs Reference In the CVM1 CV series PCs the 8 ports can be used independently to execute network instructions SEND 192 RECV 193 and CMND 194 Communications Flag Operation The relationship between the the Message Communications Enabled Flag and the NS indicator is shown in the following table 89 90 Using Message Communications Section 7 2 Message Network status NS indicator Communications Enabled Flag Communications connection made network Lit green normal Communications connection not made Flashing green network normal but communications not established Non fatal communications error error in one Flashing red or more Slaves Offline or power supply is off no power Not lit supply resetting minor failure or send error Fatal communications error Lit red i Flag 0 Instruction Instruction Instruction I j j I Communications 1 executed 2 executed 3 executed instruction Execution Error Flag Completion code 00 Normal code end end Completion Codes Completion codes are stored in memory as shown in the following table at the completion of execution of CMND 194 The completion code will be 00 or 0000 during execution of the instruction Port 0 to 7 A503 to A510 contain the completion codes for the Completion Codes results of communications instruction execution for ports A503 to A510 0 to 7
153. s shown below Ladder Symbols Operands C Control code S 1St source word D Destination information Local node Destination node fe a Se eo ee N Local 0 Remote CPU Unit Master Unit g i Master Unit CPU Unit ed agen ee Re 5 i Interpretation Interpretation oO I 1st response word Response O monitoring time No of command bytes Command F data Execution O Execution Response Response 1 For commands addressed to Master Unit 2 For commands addressed to CPU Unit Description IOWR transfers n words of data beginning at S beginning with command code 28 01 Hex through the local node s Master Unit to the Master Unit or CPU Unit at the specified destination node The control code C specified parameters for the instruction as shown in the following illustration Destination unit address see following table Destination node address 00 to 3E indicate nodes 0 to 63 Response Setting ON No response OFF Response returned Destination Unit Address CPU Unit 00 Communications Unit FE Special I O Unit 10 to 1F Unit No 10 94 Using Message Communications Section 7 2 Note The source words starting with S provide execution parameter and the com mand data as shown in the following table Word Contents Address of first word containing response See Specifying the Leading Address of the Response Words on page 95 1000 to 0
154. t be located off the center of the Network Because the current consumption is not the same on the left and right sides of the Network the current flow to one side will be insufficient if the power supply is connected in the very center of the Network Placing it off center just a little allows power to be supplied to all nodes Trunk line Terminating resistor 5 wire cable 5 wire cable Terminating resistor max Communications power supply Trunk line J J Trunk line 120 m 120 m c Power supply cable Total power supply length on left Total power supply length on right 120 m Total current consumption on left 1 1 1 25 0 5 2 85 A Total current consumption on right 0 25 0 25 0 85 1 35 A Maximum current for thick cable for 120 m see previous table approx 2 5 A using straight line approximation between 100 to 150 m Because the total current flow on the left side 2 85 A is greater than the maxi mum current on the left side 2 56 A the power supply cannot be placed at the center of the network and supply current to all nodes This problem can be corrected by moving the communications power supply as shown in the following diagram Trunk line Terminating resistor 5 wire cable 5 wire cable SS 0 5A 0 25 A 0 25 A 0 85 A Communications power supply J Trunk line 100 m 140 m c Power supply cable Total power supply length on left 100 m
155. t is written from the host from being allocated as an area that is written from the PT Settings with the NT series Support Tool Section 6 2 Allocating Control Notify Areas The following three control and notify areas must be allocated in PT memory in order for the PT to be used e PT status control area 5 words e PT status notify area 3 words e Window control area 9 words It isn t necessary to allocate these words when the PT s window functions aren t being used Allocate the control notify areas in the Control Notify Area Tab of the Support Tool s PT Configuration dialog Set the leading PT memory address being allo cated to each area in the PC address setting columns Reference 1 Data inthe PT status control area and PT status notify area has to be ex Allocating Data Area Data Type and Output Input Area Allocation changed frequently with the host Master so allocate these areas to the DeviceNet Interface Unit s output and input areas as shown below if at all possible e PT status control area In the DeviceNet Interface Unit s output area e PT status notify area In the DeviceNet Interface Unit s input area 2 When the DeviceNet Interface Unit is being used the first word of the PT status notify area indicates the screen number of the screen currently being displayed at the PT For this reason the PT status notify area requires one word more than it does with the regular Memory Link 3 The contr
156. t must be used in order to perform fixed allocation More over with fixed allocation only one Master Unit can be used in a DeviceNet net work and only one Master Unit may be mounted to a PC Free Allocation The Configurator can be used to freely allocate the words used by each Slave With free allocation more than one Master Unit can be connected in a Device Net network and each Master s Slave I O can be set independently More than one Master Unit may be mounted to each PC and those Masters can be used independently Furthermore other companies Masters can be used Reference 1 The maximum number of words occupied by the DeviceNet Interface Unit is 32 input words and 32 output words The number of input words and output words can be set independently from 0 to 32 words Do not allocate words that are allocated to another Slave 2 The maximum number of points controlled by each Master is lower with fixed allocation than it is with free allocation When the DeviceNet Interface Unit is allocated a large number of words do not exceed the maximum num ber of points that can be controlled by the Master In particular if a C200HS is used as the Master with fixed allocation the DeviceNet Interface Unit will use all of the available points 32 input words and 32 output words and it won t be possible to connect another Slave 3 Each Master Unit and Configurator is connected as a single node in the De viceNet network and requires a uniq
157. table See note 1 Bit memory table 1 bit Lamp lamp bit 1 bit Touch Notification bit 1 bit switch Lamp bit 1 bit O Allocation OK A The functions are limited to the allocated area s transfer direction x Allocation not possible 73 Support Tool Section 6 3 Allocating PT Memory to the Host Master Reference 1 The number of words allocated to the memory tables can be set with the 2 The output area and input area can be allocated up to 32 words of PT memory each Refer to 6 3 Allocating PT Memory to the Host Master for details 6 2 3 Allocation Example Elements allocated in PT memory Element Allocation PT status control area 1 Fixed at 5 words PT status notify area 1 Fixed at 2 words Lamps 2 Touch switches input notification function 3 Numeral memory tables 0 to 3 4 1 word each Address PT memory PMO0000 l PT status control area to i Output area Host PT PM0004 PMo0005 __ Lamps and touch switches aan 2 8 7 ale ae 10 Bit PM0006 Numeral memory table 0 PM0007 Numeral memory table 1 Sens PMO0008 Lamp bits to PM0031 PM0032 to PM0034 PT status notify area Input area PT Host 151413121110 98 76 54 32 10 Bit I Touch switches PM0035 PM0036 PM0037 PM0038 a Touch switches
158. tarting to program Application Precautions 5 e When using the internal clock turn ON power after installing the battery and set the clock from a Programming Device or using the DATE 735 instruction The clock will not start until the time has been set e When creating an AUTOEXEC IOM file from a Programming Device a Pro gramming Console or the CX Programmer to automatically transfer data at startup set the first write address to D20000 and be sure that the size of data written does not exceed the size of the DM Area When the data file is read from the Memory Card at startup data will be written in the CPU Unit starting at D20000 even if another address was set when the AUTOEXEC IOM file was created Also if the DM Area is exceeded which is possible when the CX Pro grammer is used the remaining data will be written to the EM Area Always turn ON power to the PC before turning ON power to the control sys tem If the PC power supply is turned ON after the control power supply tem porary errors may result in control system signals because the output termi nals on DC Output Units and other Units will momentarily turn ON when power is turned ON to the PC Fail safe measures must be taken by the customer to ensure safety in the event that outputs from Output Units remain ON as a result of internal circuit failures which can occur in relays transistors and other elements Fail safe measures must be taken by the customer to e
159. te 96 Using Message Communications Section 7 2 The unit address of the local Master Unit is not between 0 and F the Master Unit is mounted on a Slave Rack etc 2 The behavior of the Message Communications Enabled Flag in CVM1 and CV series PCs is different from the behavior in CS1 series and C200HX HG HE PCs 3 With CS1 series PCs there are no memory addresses for the Equals Flag and the Error Flag Timing the Reading of Responses When reading the response from the DeviceNet Interface Unit after execution of IOWR read the response in the cycle after the one in which IOWR is executed and when the Message Communications Enabled Flag is ON Even if IOWR execution is finished the status of the Message Communications Enabled Flag will not change until the next peripheral servicing in the CPU Unit If the response is returned in the same cycle as IOWR execution the Message Communications Enabled Flag will remain ON If the response is not received until the next cycle the Flag will turn OFF during peripheral servicing and then turn ON at the next peripheral servicing after the response is received If the Message Communications Enabled Flag is used in the same cycle as the execution condition for reading the response after execution of IOWR an at tempt could be made to read the response even though it has not yet been re turned Response Received in the Same Cycle Com
160. te transfer operation is completed the contents of IR 000 are shifted one bit to the left 105 SECTION 8 Error Processing This section explains how to troubleshoot errors that may occur when using the DeviceNet Interface Unit Refer to the Device Net CompoBus D Operation Manual W267 and the PT s User s Manual for more details 8 1 Error Screens Specific to the DeviceNet Interface Unit 0 002 108 8 2 Troubleshooting with the LED Indicators 00 c eee eee eee eee 109 8 2 1 Meaning of the LED Indicators 00 00 cee eee eee 109 8 2 2 Identifying and Correcting Errors in Slaves 0 00 0 000002 ee 110 107 Error Screens Specific to the DeviceNet Interface Unit Section 8 1 8 1 Error Screens Specific to the DeviceNet Interface Unit The following error messages may be displayed when using a DeviceNet Inter face Unit in addition to the regular error screens error messages displayed at the PT Message CompoBus D I F Unit Communications Error Connection can t be established with the DeviceNet Master Likely cause Faulty communications cable connection Check the network cable wiring The Master s power supply is not ON Check the Master s power supply The network power supply is not ON Check the network power supply CompoBus D I F Unit Communications Error Connection timeout error occurs Faulty communications ca
161. teh erate Ind x 6 055 aes See S54 a eee eee See Kee es Revision History 2 3s0 6 casas cine e ee ca eed 83 84 85 99 103 107 108 109 111 117 119 123 125 About this Manual This manual describes the installation and operation of the NT DRT21 DeviceNet CompoBus D Inter face Unit and includes the sections described below The DeviceNet Interface Unit can be used with the NT31 NT31C NT631 and NT631C Programmable Terminals PTs Please read this manual carefully and be sure you understand the information provided before attempting to install and operate a DeviceNet Interface Unit Section 1 describes the main features and basic functions of the DeviceNet CompoBus D system and the DeviceNet CompoBus D Interface Unit Section 2 shows a simple system configuration example and basic procedures up to using the PT con nected to the DeviceNet Interface Unit Section 3 provides information required when designing a network such as precautions regarding the configuration of the DeviceNet network to which the CompoBus D Interface Unit connects Section 4 explains how to mount the DeviceNet Interface Unit on the PT and connect the Unit to the Devi ceNet network Section 5 explains the PT settings and operations required to use the DeviceNet Interface Unit Section 6 shows how to use remote I O communications with the DeviceNet Interface Unit and how to use the PT when using remote I O communications Secti
162. the Scan List Enable Bit in the Master s software switches bit 0 Remote I O communications will start with the scan list enabled You can use the Master s software switches to start and stop remote I O communica tions Do nothing if the scan list was enabled at startup and you do not want to change it Remote I O communications will start with the scan list enabled You can use the Master s software switches to start and stop remote I O communica tions Go to step 7 Confirm that the MS and NS indicators on all Master Units and Slaves e the PT are lit green Switch the PC to RUN mode Note The dots on the 7 segment display on the Master Unit can be used to determine if the scan list is enabled or disabled If both the right and left dots are not lit the scan list is enabled If both dots are lit the scan list is disabled Using Free User set I O Allocations 1 2 3 Always operate with the scan list enabled Refer to the DeviceNet Compo Bus D Operation Manual W267 for details on connecting more than one Mas ter Unit in a single network 1 2 oo rR Ww Connect a Configurator to the Network Turn ON the communications power supply and then the power supply to the Slaves i e the PT Turn ON the power supply to the Master i e the PC Switch the PC to PROGRAM mode Create the Master parameters with the Configurator Register the Master parameters in the Master Unit
163. the settings press the Abort touch switch The PT will return to the memory switch menu screen with the previous settings still in effect 5 5 DeviceNet CompoBus D Memory Switch Settings Screen Layout and Settings Compo D SET SW t Self node No 125kbps Strobe ON Time Quiti Abort next screen 4 f previous screen The 3 memory switch setting screens are shown in the following diagram OUT Area Head UNIT gt PT IN Area Head PT UNIT OUT Area Size UNIT gt PT IN Area Size PT gt UNIT next screen f previous screen 61 DeviceNet CompoBus D Memory Switch Settings Section 5 5 Make the following settings in the DeviceNet Interface Unit s system menu to use the PT as a Slave in DeviceNet remote I O communications Function Settings Default Comm Speed Sets the speed used for communications with the 125 250 or 500 kbps 125 kbps DeviceNet Master Self node No Sets the PT s node number as a DeviceNet Slave 0 to 63 63 Strobe ON Time Sets the ON time of the strobes that indicate a change in 30 to 100 ms 30 the PT s status The strobes include the screen change strobe numeral input strobe and character string input strobe The strobe ON time is set in ms OUT Area Head Sets the leading address of the PT s output area allocated PM0000 to PM9999 PM00
164. ting communications parameters The Configurator is run on an IBM PC AT or compatible computer connected to the network as a DeviceNet node Connection is made either through an ISA Board or PCMCIA Card as shown in the following diagrams The Configurator can be removed from the network after settings have been completed Components Dedicated ISA Board and Configurator Installation Disk ISA Board in IBM PC AT or Compatible tJ Configurator software ISA Board je PCMCIA Card in IBM PC AT or Compatible Configurator software i A Network Interface Unit sA Y Connector to network Dedicated ISA Board 3G8E2 DRM21 Dedicated PCMCIA Card and Configurator Installation Disk Dedicated PCMCIA Card PCMCIA Card B LLLA eS eae TS 3G8F5 DRM21 3G8E2 DRM21 Applicable computer IBM PC AT or compatible See Minimum System Requirements below Minimum System Requirements The minimum system requirements for an IBM PC AT or compatible computer are as follows CPU Memory Hard disk Windows 95 or Windows NT 3 51 4 0 Windows 95 i486 DX2 66 MHz min for Windows 95 Pentium 90 MHz min for Windows NT 12 MB min 16 MB recommended for Windows 95 16 MB min 24 MB recommended for Windows NT 5 MB of free sp ace min Functions of the DeviceNet CompoBus D Interface Unit Section 1 5 Ma
165. tion Precautions 5 N WARNING N WARNING Z N Caution Z N Caution Z N Caution Do not attempt to disassemble repair or modify any Units Any attempt to do so may result in malfunction fire or electric shock Do not touch the Power Supply Unit while power is being supplied or immediately after power has been turned OFF Doing so may result in electric shock Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time Otherwise the input signals may not be readable Confirm safety at the destination node before transferring a program to another node or changing contents of the I O memory area Doing either of these without confirming safety may result in injury Tighten the screws on the terminal block of the AC Power Supply Unit to the torque specified in the operation manual The loose screws may result in burning or malfunction 4 Operating Environment Precautions N Caution N Caution Z N Caution Do not operate the control system in the following locations e Locations subject to direct sunlight e Locations subject to temperatures or humidity outside the range specified in the specifications e Locations subject to condensation as the result of severe changes in tempera ture e Locations subject to corrosive or flammable gases e Locations subject to dust especially iron dust or salts e Locations subject to exposure to water oil or chemicals
166. tion Slave PT is specified in the command data of the FINS command 7 2 Using Message Communications This section explains how to use the FINS command code 28 01 that sends explicit messages as well as the CMND and IOWR instructions Refer to 7 3 Explicit Messages for details on the contents of explicit messages 7 2 1 EXPLICIT MESSAGE SEND FINS Command 28 01 The EXPLICIT MESSAGE SEND command is used to send an explicit Device Net message to the DeviceNet Master Unit Command Block 28 01 00 8j 00 01 242 bytes max Command Class ID Instance ID Service data code Service code Destination node address Response Block Normal Response 28 01 00 00 240 bytes max Service data Service code see note Command Response No of bytes code code received Source node address Note For anormal response the leftmost bit of the service code specified in the com mand will be turned ON and then returned For example a command service code of 32 Hex is returned as B2 Hex in the response Error Responses The following response is returned if an error occurs for the explicit message 85 Using Message Communications Section 7 2 28 01 00 00 94 FF f Additional error code FF hex General error code Service code 94 hex Command Response No of bytes code code received Source nod
167. tions Section 7 1 7 1 Overview of Message Communications Explicit messages can be sent between nodes in a DeviceNet network to trans fer data and control other nodes The DeviceNet Interface Unit can freely write the contents of PT memory from the Master using DeviceNet explicit messages This function allows PT memory outside of the allocated input and output areas to be accessed from the host to control the PT or read its status 7 1 1 Exchanging Data with the DeviceNet Interface Unit Master Unit Data can be exchanged between the host Master and a DeviceNet Interface Unit using message communications to control the PT or read its status PT data control notify areas elements etc must be allocated to PT memory to enable explicit message communications from the Master PC to the PT via the DeviceNet Interface Unit The allocation method is the same as a regular link method Send an explicit message command with an IOWR or CMND instruction to read or write PT memory Explicit messages Response Command PT memory within the PT t All areas can be read written DeviceNet Interface Unit Elements on the PT screen The command from the Master host is can be directly accessed interpreted data is read from written to using PT memory the specified location in PT memory and the read data command result is returned as a response Reference 1 Use the EXPLI
168. to which communica tions power is to be supplied 2 Using the graph compute B the maximum current flow in each cable from the power supply to the end of the trunk line according to the types of cables thick or thin 3 Compare the values found in steps 1 and 2 above If the first value A is less than the second B this shows that power supply specifications are met and power can be supplied to all nodes at any point in the network Note Be sure to refer to the correct graph because the maximum current flow is different for thick and thin cables Countermeasures If the second value B is less than the first A use the following procedure to locate the communications power supply e Locate the communications power supply in the center of the network and the nodes to both sides of it 31 Sharing the Communications Power Supply Section 3 3 32 Terminating resistor Trunk line e If the nodes are already located at both sides of the power supply move the power supply in the direction that requires the larger current capacity e If thin cable is being used replace it with thick cable If after following the above procedure B is still less than A go to Step 2 and de termine the actual position of the nodes by the formula calculation method Example Uneven Current Consumption on Left and Right The following example shows a Network that requires power to be supplied for 240 m on thick cable The power supply mus
169. tors The following table shows the functions of the LED indicators The color and sta tus of the MS and NS indicators can be used to troubleshoot errors Refer to 8 2 Troubleshooting with the LED Indicators for more details Status Module status Lit Indicated condition Normal status Meaning Normal Unit condition Flashing Not set yet Switch settings are being read Lit Fatal error Unit hardware error Watchdog Timer error Flashing Non fatal error Minor error such as incorrect switch settings Not lit No power being supplied e Power is not being supplied to Slave Units e Waiting for initialization to start e Unit is being reset Network status Lit Online communications established Normal network condition communications established Flashing Online communications not established Normal network condition but communications are not established Lit Fatal communications error Communications error The Unit detected an error which makes communications through the network impossible e Network power supply error e Node number duplication e Bus off detected Flashing Non fatal communications error Communications timeout Not lit 44 Offline or power supply OFF e Waiting for completion of the Master s node number duplication check e Incorrect switch settings such as an incor rect baud rate setting e Faulty netw
170. truction to send the message data as an EXPLICIT MESSAGE SEND 28 01 FINS command Only the normal response is shown here refer to 7 2 1 EXPLICIT MESSAGE SEND FINS Command 28 01 for details on re sponses returned when errors occur When sending explicit messages from another company s Master Unit refer to that Master Unit s manuals for details on sending the message data shown here 7 3 1 Supported Explicit Messages The following table lists the explicit messages supported by the DeviceNet Inter face Unit Explicit Message Function Class ID Service code Instance see note ID PT Memory Read Reads data from PT memory 008A Hex 32 Hex B2 Hex 0001 Hex H gt L The read data is returned with the high byte first and the low byte second in the words PT Memory Read Reads data from PT memory 33 Hex B3 Hex L gt H The read data is returned with the low byte first and the high byte second in the words PT Memory Write Writes data to PT memory 34 Hex B4 Hex H gt L Specify the write data with the high byte first and the low byte second in the words PT Memory Write Writes data to PT memory 35 Hex B5 Hex L gt H Specify the write data with the low byte first and the high byte second in the words Note The response service code is shown in parentheses 7 3 2 PT Memory Read H gt L Reads the specified number of bytes of PT memory data beginning at the speci fied word addr
171. ue node number 1 3 1 Master Units The following OMRON Master Units are available Applicable PC Master Unit model Mounting position Max number of Units number With Without Configurator Configurator CVM1 CV Series CVM1 DRM21 V1 CPU or Expansion CPU Rack 16 Classified as CPU Bus Units CS1 Series C200HW DRM21 V1 CPU Rack or Expansion I O Rack 16 C200HZ HX HG HE Classified as Special 1 O Units 100r 16 see note C200HS 10 Note Some CPUs can control 16 Master Units and other CPUs can control 10 System Configuration Section 1 3 1 3 2 Example System Configuration System Configuration without a Configurator Fixed Allocation Master Unit CPU Unit XQ v A CVM1 CV series PCs 64 nodes max CS1 series C200HZ HX HG HE PCs 51 nodes max C200HS PCs 33 nodes max System Configuration with a Configurator Free Allocation Master Unit Master Unit Master Unit Configurator A ISA Board CPU Unit Message communications Lt 64 nodes max 64 nodes max Section 1 4 Outline of Configurator 1 4 Outline of Configurator The Configurator is required to use any of the following functions Configurators Model number 3G8F5 DRM21 e User set remote I O allocations e More than one Master Unit per PC i e per CPU Unit e More than one Master Unit per network e Set
172. up the DeviceNet network Turn ON the PT s power supply Operating Procedures Flowchart Section 2 1 2 1 2 Flowchart The following flowchart outlines the basic flow of operations for setting up the DeviceNet system Determine a suitable baud rate for the user s system Refer to the DeviceNet CompoBus D Op eration Manual W267 Determine the node arrangement the wiring configura Refer to Section 3 Network Design tion and the cable lengths A Restrictions on lengths of trunk lines and drop lines and total drop line length Selection of thick cables or thin cables B Separation from noise sources Do 1 and 2 above meet the No DeviceNet specifications Check Yes 3 Determine the method for providing a Refer to Section 3 3 Sharing the Communications communications power supply Power Supply Y Refer to Section 4 Installation and Network Connection a Arrange for the requirea Hevices Appendix B the DeviceNet CompoBus D Operation Manual the DeviceNet CompoBus D Slaves Operation Manual or the DeviceNet CompoBus D MULTIPLE I O TERMINAL Operation Manual Purchase devices AA 5 Installation Refer to Section 4 Installation and Network Connection 17 Operating Procedures Flowchart Section 2 1 2 1 3 Preparations prior to Communications 1 2 3 1 3 4 Set the initial settings for the Master Unit Unit number UNIT N
173. urn ON the Master PC after making any required Master Unit hardware settings Refer to the DeviceNet CompoBus D Operation Manual W267 for details on Master Unit hardware settings Connect a Programming Device to the PC turn ON the Master PC and create the I O table Turn OFF the Master PC Connect the Configurator to the DeviceNet network Turn ON all of the Slaves Make the required settings in the DeviceNet memory switch screen of the PT connected to the DeviceNet Interface Unit and reset the PT Always set the input area size and output area size first Put the Configurator in online mode and read the network configuration Create the Mater parameters The Master parameters contain the input and output area settings and Slave I O allocation Always save the Master pa rameters in a file Turn OFF all of the Slaves Turn ON the Master PC 10 11 Read the network configuration with the Configurator Switch to the Master Unit s device parameters editing page in the Configura tor read the Master parameter file created in step 7 and write those Master parameters to the Master Unit Turn ON all of the Slaves Start remote I O communications with the Configurator Use a PC Programming Device to check whether remote I O communica tions are operating as expected When the remote I O allocation has been performed properly remote I O communications will start automatically the next time that the M
174. us D Setting Switch xecute Bending Data Received Data The CompoBus D Communications Check screen will be displayed Checking the System Program Version Section 5 8 The communications check begins when Execute is pressed in the Compo Bus D Communications Check screen The data string 01 02 04 08 10 20 40 80 is sent to the DeviceNet Interface Unit and displayed under Sending Data If communications with the Unit are normal the same data 01 02 04 08 10 20 40 80 will be displayed under Received Data lt CompoBus D0 Comm CHECK Quit Check the connection of CompoBus 0 R GompoBus D Setting Switch Bending Data Hl o 4 WS 1A 24 4a oa Received Data Wl W2 4 WS 1A 24 4a oa If an error occurs in communications with the Unit during the check the correct data will not be displayed under Received Data or a communications error screen will be displayed Check the PT s settings if a communications error oc curs After checking the results of the communications check press Quit to return to the I F check menu 5 8 Checking the System Program Version The version of the system program installed in the PT can be displayed Reference Refer to 5 7 Installing the System Program for details on installing the system program that supports the DeviceNet Interface Unit Use the following operation in the system menu to display the PT system pro gram s version information Ver 3 10
175. viceNet Functions Section 1 2 1 2 3 DeviceNet CompoBus D Communications Specifications Item Specification Communications protocol DeviceNet Supported connections communications Master Slave Remote I O and explicit messages Peer to peer FINS commands see note 1 Both conform to DeviceNet specifications Connection forms see note 2 Combination of multi drop and T branch connections for trunk or drop lines Baud rate 500 kbps 250 kbps or 125 kbps switchable Communications media Special 5 wire cables 2 signal lines 2 power lines 1 shield line Communications distances 500 kbps Network length 100 m max see note 3 Drop line length 6 m max Total drop line length 39 m max 250 kbps Network length 250 m max see note 3 Drop line length 6 m max Total drop line length 78 m max 125 kbps Network length 500 m max see note 3 Drop line length 6 m max Total drop line length 156 m max Communications power supply 24 VDC supplied externally Max number of nodes 64 nodes including Configurator when used Max number of Masters Without Configurator 1 With Configurator 63 Max number of Slaves 63 Slaves Communications cycle time see note 4 Without Configurator Calculated from conditions Ex Input Slaves 16 pt 16 Output Slaves 16 pt 16 Cycle time at 500 kbps 9 7 ms With Configurator Set between 2 an
176. w functions added to system program version 2 1 This appendix describes only the differences between the functions which can be used with version 2 1 and the contents of the manuals for the V1 and V2 PTs so this appendix can be used as reference when creating screen data for the DeviceNet Interface Unit Only the differences due to the system program version are de scribed here Refer to 7 5 Functions of the DeviceNet Interface Unit for details on functional differences due to the DeviceNet Interface Unit s specifications Differences from System Program Version 2 0 The following table shows the differences between system program version 2 0 described in the manuals for the V1 PTs and system program version 2 1 used with the DeviceNet Interface Unit Ver 2 1 used with the DeviceNet Interface Unit Indirect reference of images and libraries Indirect referencing not supported Indirect referencing supported Number of fixed display elements that can 64 max 65 535 max be registered in the library Max number of message characters that 40 characters max 40 characters max can be displayed in the alarm list history of an NT631 NT631C PT The actual number may be lower The max is always 40 characters depending on the display method regardless of the display method 117 Comparison of System Program Functions Appendix B Differences from System Program Version 3 0 The following t
177. work 2 Indicates a Unit as shown in the following table CPU Unit 00 User program in FA computer 01 CPU Bus Unit 10 to 1F Hex Unit numbers 0 to 15 FE Hex The local Unit 3 Values of 01 to 3F Hex indicate nodes 1 to 63 4 Designates the length of time that the PC retries transmission when bit 15 of C 3 is OFF and no response is received The default value is 0000 which indicates 2 seconds 88 Using Message Communications Section 7 2 Reference When sending explicit messages set the response monitoring time in C 5 to 0014 Hex 2 seconds or higher If a shorter time is set communications may still be busy when the next command is sent after a timeout occurs The maximum number of bytes that can be transferred shown above is the maximum number of bytes allowed with CMND 194 The actual number of by tes that can be sent or received depends upon the explicit message Using CMND 194 Normally CMND 194 is used with the following flags ANDed as executions conditions to ensure that any previous network communications operation has completed before CMND 194 is executed The Port Enabled Flag for the com munications port and the Message Enabled Flag for the Master Unit are general ly programmed as follows Execution Port Enabled Message condition Flag Enabled Flag _ 1 s a E SEND RECV or CMND Communications Flags The following table shows the flags that are normally used when executing CMND 194
178. y chain Drop line drop line DeviceNet Functions Section 1 2 1 2 2 Communications Functions of Master Units Remote I O Communications Max number of Slave nodes per Master Master Unit Output area Input area B ETI A Allocated in I O memory e g IR CIO Area Automatically input output Lt B Note Input and output areas are automatically allocated in fixed areas unless a Confi gurator is used A Configurator can be used to freely allocate input blocks 1 and 2 and output blocks 1 and 2 anywhere in I O memory Master Unit model CVM1 CV Series Without Configurator 63 nodes With Configurator CS1 Series C200HZ HX HG HE 50 nodes 63 nodes C200HS 32 nodes 63 nodes Max number of control points per Master CVM1 CV Series 2 048 pts 64 input 64 output words 6 400 pts 100 words x 4 blocks CS1 Series C200HZ HX HG HE 1 600 pts 50 input 50 output words Without messages 4 800 pts With messages 1 600 pts C200HS 1 024 pts 32 input 32 output words 1 280 pts Max number of I O points per Slave controllable by Master CVM1 CV Series CS1 Series C200HZ HX HG HE C200HS 32 input 32 output words Remote I O allocation areas CVM1 CV Series CS1 Series C200HZ HX HG HE C200HS Fixed words in IR Area or CIO area for CS1 series PCs Any area Reference Setting
179. ys ground to 100 Q or less 3 Always use a separate ground Never use the same ground as for inverters or other drive system devices 3 4 1 Ground Wire Connection Grounding from a The network can be grounded by inserting the ground wire into the same hole as Connector the communications cable s shield wire as shown in the following diagram Ground wire Grounding from a The network can be grounded by inserting the ground wire into one of the T T branch Tap branch Tap connectors as shown in the following diagram Ground wire 3 5 Noise Precautions General Precautions To prevent inductive noise do not wire the communications line SYSMAC pow er lines and power lines near to each other In particular be sure to keep the power lines for inverters motors regulators and contactors at least 300 mm away from both the communications lines and the SYSMAC power lines Also provide separate conduits or ducts for the communications lines and power lines E a cols Suspended duct Floor duct Communications line i To SYSMAC I O Line QQ0000Q0 ESLLS BEAS 300 mm l Control cable i max SELL SYSMAC Power Line 188889988 Communications line General control circuit line 300 iin Shielding SYSMAC I O Line Power cable m max Power line Power line 33383383 af Ground 100 Q max Do not install communications lines a
Download Pdf Manuals
Related Search
Related Contents
Samsung Galaxy Star Plus 4GB Black Herrmidifier Co G-100ES Humidifier User Manual 10/100M Management Switch Yamaha POCKETRAK C24 dictaphone Control panel LED indications Applications DLC-8P2J Smeg A21X-5 Range User Manual Copyright © All rights reserved.
Failed to retrieve file