Home

Toshiba DeviceNet Modules for PLCs Instruction

image

Contents

1. 00256 MOV D0091 gt TE E 01023 MOV RW104 00001 MOV RW105 D0091 WRITE RW104 gt H0001J SET R0183 RST R0182 Writes 256 in the request register 01020 MOV RW106 00001 MOV RW107 H0001 READ RW106 gt D0092 a Reads the acknowledgement flag register 92 00001 SET RO184 RST RO183 0720 MOV RW108 00002 MOV RW109 01 READ RW108 gt D0300 D0301 D0300 DMOV D0531 D0530 Reads the Acknowledgement area completion status 00 00024 D0301 00001 SET RO185 RST R0184 00000 MOV D0094 01020 MOV RW106 00001 MOV RW107 D0094 WRITE RW106 gt H0001 RST RO185 RST R0018 Writes 0 in the acknowledgement flag register 120 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 3 Slave Data Input Output After the DN211 is set to run mode by operation mode control request the ladder program for the T2 T2E T2N writes data to output slave devices and also reads data inputted from slave devices as well As described in 1 4 The Basic Functions the communication between the DN211 and slave devices can be performed with the polling instruction response mode and bit strobe instruction response mode In addition synchronous mode or asynchronous mode can be used to exchange data between the T2 T2
2. gt Bit strobe instruction gt Bit strobe response Figure 1 9 Example of the Bit Strobe Instruction Response Mode 2 The Bit Strobe Response A slave device which received the bit strobe instruction transmits 0 to 8 byte response data to the master device The contents of response data varies depending on the specification of the slave device The way the T2 T2E T2N reads bit strobe response data from the DN211 is described in 5 Communication with Slave Devices 99 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 4 3 Synchronization Asynchronous Mode and Data Update Cycle As explained in the preceding section the communication function between the DN211 and slave devices has the polling instruction response mode and the bit strobe instruction response mode Data can be exchanged between the T2 T2E T2N and the DN211 in synchronous mode or asynchronous mode This section describes the synchronous mode asynchronous mode 1 The synchronous mode At output The T2 T2E T2N writes output data to slave devices into the DN211 beforehand and activates a polling instruction bit strobe instruction When the polling instruction bit strobe instruction is activated the DN211 sends the output data to slave devices At input The DN211 receives data from slave devices by a polling response bit strobe response After having received data
3. 63 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 Input Data Semaphore Register 0106H 1 word This semaphore register is used when inputting data into the T2 T2E T2N from the DN211 effective only for synchronous transmission mode The register is used both in the polling mode bit strobe mode e DN211 side operation The DN211 writes data collected from the slave devices in the polling mode or the bit strobe mode into polling bit strobe input data area before setting 1 to this register e T2 T2E T2N ladder program operation The ladder program for the T2 T2E T2N monitors this register When detecting 1 is written into this register the ladder program reads data from the polling bit strobe input data area and then writes 0 in the register before notifying the DN211 of read completion Write the value 0 only in this semaphore register 2 Polling Output Data Semaphore Register 0105H 1 word This semaphore register is used when outputting polling data to the DN211 from the T2 T2E T2N effective only for synchronous transmission mode e T2 T2E T2N ladder program operation The ladder program writes data to be outputted to the polling output data area to slave device in the polling mode before writing 1 in this register and then instructs the DN211 to start output Write the value 1 only in this semaphore
4. 00005 TON T034 RST R0743 RST R0073 1 D4003 Compares transmission data with reception data R074F R0744 i Ee D1710 1 D1712 1 D1714 Updates transmission data RST RO734 RST RO744 128 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 RAS Information except RAS area on communication memory This chapter describes the following RAS functions of the DN211 1 Indicators on the front panel e Module status network status LED MS NS e 7 segment LED NA ERROR 2 Information by reading RAS Information e RAS history counter e Event history See 4 3 The RAS information Area for the RAS information area on the DN211 communication memory This chapter describes the subjects necessary for using many functions of the DN211 from the T2 T2E T2N Try to understand well before writing programs Chapter 5 explains a sample program that can read RAS information Because the sample program is basic you need to discuss it before applying to real systems 129 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 1 Module Status Network Status LED MS NS The 2 color light emitting diode LED on the front panel of the DN211 module status network status LED has two colors green red to light an
5. SI devic SET RO 12 D1665 Local stat 00019 Operation 13 D1668 Checks th t req est deleting slav parameters 012 7 SET RO712 08192 RST R0711 ion and slave devic MOV D0100 05648 mode control reque OV D0101 st D1669 number of ET R0713 sla R0710 R0713 D1690 Chec ve devices parameter setting requests RST R0712 D0101 MOV D1690 S ET R0013 D1665 SI ET R072F D1690 lt gt D1665 RST R072F RST R0071 1 D4000 ks the station status 119 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 RO72F RO714 00256 MOV RW120 00004 MOV RW121 D1700 WRITE RW120 gt H0001 Writes bit strobe transmission data D2504 MOV RW122 D2505 MOV RW123 D1710 WRITE RW122 gt H0001 a Writes polling transmission data of node address D2540 MOV RW122 D2541 MOV RW123 D1712 WRITE RW122 gt H0001 e Writes polling transmission data of node address D2624 MOV RW122 D2625 MOV RW123 t D1714 WRITE RW122 gt H0001 SET RO715 SET R0714 Writes polling transmission data of node address 20 RO72F RO715 00005 TON T051 SET RO716 RST RO71
6. Usage Recommendations This section puts together the knowledge and handling manners necessary for correct operation Read the section carefully and be familiar with equipment knowledge safety information and notes e Network cnfiguration Usage Recommendation 1 Don t make a network configuration whose extended trunk line and drop lines have no node being connected Don t attach a terminal resistor to the node It could cause communication error Attach a terminal resistor to both ends of the trunk line don t attach a terminal resistor on the end of a drop line Attach only to both ends of the trunk line 1 2 Network Configuration of the DeviceNet e Switch setting Usage Recommendation 1 Use a small minus screwdriver for changing the value of the DIP switch 3 2 1 DIP Switch for Setting the Operation Mode Communication Rate Usage Recommendation 1 Use a small minus screwdriver for changing values of the rotary switch 3 2 2 Rotary Switch for Node Address Setting e Connecting your DN211 with the network side connector Usage Recommendation 1 Loosen the cable fixing screws on the connector before inserting a cable into the network side connector The cable cannot be fixed when the screws are kept tightened Colors corresponding to cable colors are printed by the device side connector of the DN211 Match the cable colors with the printed colors to have correct wiring The DN211 and the DN311 DeviceNet mo
7. R0730 000 OV D1700 00000 MOV D1701 00000 MOV D1702 00000 MOV D1703 00100 MOV D1710 00000 MOV D1711 00100 MOV D1712 00000 MOV D1713 00100 MOV D1714 00000 MOV D1715 Initializes transmission data 00017 MOV D0100 00001 MOV D0101 SET R0011 alta D1665 08256 SET R0731 Reset request deleting slave device parameters SET R0012 aan 12 D1665 08192 SET RO732 RST R0731 Local station and slave device parameter setting requests 00019 MOV D0100 05656 MOV D0101 SET R0013 Operation mode control request 13 D1668 D1669 ET RO733 RST R0732 Checks the number of slave devices D0101 MOV D1690 R0730 R0733 D1690 D1665 SET R074F D1690 lt gt D1665 RST RO74F RST ROO73 1 D4000 Checks the station status 125 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 RO74F R0734 00256 MOV RW120 00004 MOV RW121 D1700 WRITE RW120 gt H0001 se Writes bit strobe transmission data D2504 MOV RW122 D2505 OV RW123 D1710 WRITE RW122 gt H0001 Writes polling transmission data of node address D2540 MOV RW122 D2541 OV RW123 z
8. e For synchronous mode communication an interval time value longer than the transmission interval of the user program must be specified d Supplement to the Polling Transmission Mode The DN211 resolution varies when a slave device in polling mode results in no response after selecting the polling transmission mode When the polling transmission mode 0 e The master device performs polling requests asynchronously with the responses of slave devices in polling mode the master device waits for the polling response from a slave device for 20 ms after executing a request When the 20 ms exceeds the next scan starts e As long as a no responding slave device is found the master device performs 20 ms of response wait time per scan e The real scan cycle when a no responding slave device is found is expressed in the following formula Real scan cycle Real scan cycle in normal operation 20 ms When the polling transmission mode 1 e The master device checks for the response from a slave device in polling mode and sequentially executes polling requests to individual slave devices When polling results in no response from a slave device the master device waits for 20 ms before executing a polling request to the next slave device e When three consecutive timeouts occur for a no responding slave device the slave device is delisted from the scan list in the DN211 This will allow the DN211 to transmit with the remaining
9. OOH 01H 02H 03H Unassigned setting disabled 500kbps 250kbps 125kbps 16 The Operation Mode on Busoff Occurring 0108H 1 word The DN211 s operation mode setting is stored when the DN211 detects busoff state of the local station OOH O1H When busoff is detected the module will be set to standby mode followed by the initialization of the CAN controller The procedure for resuming transmission is the same for starting ordinary transmission Chapter 5 describes the transmission start procedure When busoff is detected the operation mode of the module is left intact and the CAN controller is initialized followed by resuming communication if possible 17 Yes No of Supplying the Network Power 0107H 1 word The supply mode of the network power is stored OOH O1H Network power normal Network power abnormal 96 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 ey o S Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 4 Allocating Slave Device Data to the Input Output Data Area Reception transmission data of slave devices will be allocated to the input output data area in the order from smaller to larger node addresses For example in Table 4 11 Slave Device Configuration the input data area output data area is allocated to the top
10. H or L in address column in Table 6 4 indicates the high order byte or the low order byte of the register area read H F 8 bits side L 7 0 bits side Acknowledgement area F 87 0 02D0H Request code 0015H 02D1H 02D2H_ Number of RAS information words 50 words E Table 6 4 List of RAS Counters 1 RAS_CNT 3 RAS_CNT 4 RAS_CNT 5 RAS_CNT 6 RAS_CNT 7 RAS_CNT 8 RAS_CNT 1 RAS_CNT 1 RAS_CNT 1 RAS_CNT 1 RAS_CNT 1 RAS_CNT 1 RAS_CNT 1 RAS_CNT 1 OlyrAIl ny oye wth oO 02D3H Abnormal interrupt intret 02D3H Abnormal interrupt trap 02D4H Number of HOST interrupt times Reception response request code invalid 02D7H Number of port memory pool abnormal times 02D8H Status code of port memory pool abnormal 02D8H Number of reset request times Number of control request times Number of control response times Number of RAS read request times Number of time setting request times 134 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Table 6 5 List of RAS Counters 2 EEE RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C 20 21 7 7 7 E E E
11. Ethernet TOSLINE S20 DeviceNet DeviceNet Input Output device Input Output Input Output device device Drive unit Drive unit Input Output device oo Figure 1 2 Example of the System Configuration 90 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 2 Network Configuration of DeviceNet This section describes the network configuration of the DeviceNet 1 2 1 The Network Configuration The network configuration of a DeviceNet consists of a trunk line and drop lines as shown in Figure 1 3 1 The Nodes The nodes of the DeviceNet in Figure 1 3 have slave devices such as input output devices sensors and drive units and a master device such as the DN211 to exchange data with each other One network can have up to 64 nodes and one master device Physical arrangement of a master device and slave devices has no particular restrictions Each of the DeviceNet devices on a network has a unique number NA node address to identify the node from the other nodes The node address values must be within O to 63 in decimal scale and the node addresses in the network must be different from the others 2 The Trunk Line According to the DeviceNet specification a trunk line is a cable which connects nodes located most distant The trunk line can have nodes directly connected with it connection with no drop line The length o
12. Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 00267 MOV RW118 00125 MOV RW119 HO001 READ D1000 00392 MOV RW118 00125 MOV RW119 HO001 READ DLJ 00517 MOV RW118 00134 MOV RW119 H0001 READ gt D1250 Reads input output data setting information 010BH SET RO191 25 mae L006 0002 gt D2900 L007 0002 D2902 L008 0002 D2904 L009 0002 D2906 0002 D2908 0128 D2504 00002 gt D2911 t D2912 gt D2505 input output data information for node address L036 1 0002 gt D2900 D2901 gt D2536 L037 0002 D2902 D29035 gt D2537 1038 0002 D2904 D2905 gt D2538 1039 0002 D2906 D2907 gt D2539 1040 0002 D2908 t D2909 gt D2910 D2910 0128 D2540 D1041 00002 gt D2911 D2911 D2912 gt D2541 Slave input output data setting information for node address 6 114 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 1049 L050 LO51 L052 D2910 D1053 Slave L120 L121 1122 L123 1124 L132 L133 1134 L135 L136 D2910 D1137 0002 0002 0002 0002 0002 0128 00002 gt input outpu 0002 gt 0002 0002 0002
13. Figure 4 13 Composition of Specified Information Bits Table 4 16 Meaning of Specified Information Bits C Polling mode transmission enabled 1 Polling and bit strobe transmission start 0 Stop transmission T2 T2E T2N lt DN211 transfer mode 1 Synchronous 0 Asynchronous b Acknowledgement Acknowledgement area 02D0H Request code 0013H 02D1H Completion status See 4 7 Completion Status for above completion status 3 Others e The following combinations of requests are forbidden standby request and run request are requested simultaneously The already running mode standby run is requested e See the station status for the actual mode change confirmation e When you are changing BIT 10 9 4 or 3 first change to standby mode before requesting a run request and a new setting e When BITs 10 9 4 and 3 are set to 1 no standby request is allowed 93 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 6 RAS Information Read Request 1 The Function Reads the RAS information on the DN211 from the T2 T2E T2N This RAS information includes RAS history counter event history and execution node information execution information of the slave devices that DN211 has these three types of information are different from those in the RAS information area Unless the DN211 is in initialize mode these types of in
14. L qn nm I qn D I Phone 800 894 0412 Fax 888 136 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 3 2 Event History When you specify 2 for RAS information read request at request information type event history data can be read into the acknowledgement area Acknowledgement area 02D0H Request code 0015H 02D1H 02D2H Number of RAS information words n pieces x 8 words a NS gt Event history composition e Record capacity 8 word e Number of records 160 pieces e Operation when overflowed Old information is updated Thus 160 of event traces can be checked from new information e Format Binary code is used because the format is for the DN211 internal information See Table 6 7 and Table 6 8 for the contents of the binary codes Note however the BCD time is displayed 02D3H 02D4H 02D5H 02D6H 1st event history 02D7H 02D8H 02D9H 02DAH 02DBH 02DCH 02DDH 02DEH 2nd event history 02DFH 02E0H 02E1H 02E2H Figure 6 1 Event History Composition when reading 2 events 137 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Table 6 7 Event Trace Items 1 Event Detailed Detailed Detailed Detailed Description Code Information 1 H Information 2 H Information 3 H Information 4 H p 0001H Down code 1 Memory check When module 2
15. Real scan cycle in normal operation 20 ms Usage Recommendation 1 Set the node address of your DN211 to a value smaller than the node addresses of slave devices because of the feature of CAN currently used in the DeviceNet 89 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 4 Parameter Setting Request slave device 1 The Function This request is used for setting slave devices parameters in the DN211 The request can be issued only when the DN211 is in standby mode Up to 10 salve devices can be set per parameter setting request As slave devices parameters setting is stored in the non volatile memory of the DN211 no additional setting is required when switching ON the power as long as the current slave devices configuration is unchanged When the slave devices parameters in the non volatile memory are identical with the slave devices parameters newly requested no writing is executed into the non volatile memory When the slave devices configuration is changed delete the slave devices parameters before registering new slave devices parameters Up to 300 times of slave devices parameters setting are available in the non volatile memory of the DN211 2 Data Part Format a Request Request area 0334H 0335H 0336H Number of slave devices set by this request 0337H Fixed at 0 0338H Setting value 0 to 63 0339H i 033AH 1 0
16. a Sum of current consumption in section 1 1 1A 1 25A 0 5A 2 85A a Sum of current consumption in section 2 0 25A 0 25A 0 85A 1 35A b Total length extended in section 1 Total length extended in Section 2 120 m c Maximum current available on the cable based on Figure 3 10 approx 2 56A Obtain the approximate value between 100 to 150 meter straight cable d Since the sum of current consumption in section 1 gt maximum current the current is overloaded Solution Move the power tap to the overcurrent section See Figure 3 15 52 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Section 1 Section 2 100m 140m Power hag 0 85A Network power supply unit Figure 3 15 Example of Solving the Overload a Sum of current consumption in section 1 1 1A 1 25A 2 35A a Sum of current consumption in section 2 0 5A 0 25A 0 25A 0 895A 1 85A b Total length extended in section 1 100 m b Total length extended in section 2 140 m c Maximum current available on the cable in section 1 based on Figure 3 10 approx 2 19A Obtain the approximate value between 100 to 150 meter straight cable d Since both of the sums of current consumption in section 1 2 lt maximum current a single power unit central connection can supply the power to all nodes e Install a network power unit with a rated cur
17. 0002 0128 00002 gt 0002 0002 0002 0002 0002 0128 0002 RST RO191 RST ROO Slave input output data setting information D2900 D2902 D2904 D2906 D2908 D2552 D2911 t dat D2900 D2902 D2904 D2906 D2908 D2624 D2911 input output data D2900 D2902 D2904 D2906 D2908 D2636 D2911 19 6F3B0364 a D2912 forma D2901 D2903 D2905 D2907 D2909 gt tion gt gt gt gt D2553 for node address D2620 D2621 D2622 D2623 D2910 D2912 forma D2901 D2903 D2905 D2907 D2909 gt tion gt gt aad a gt D2625 for node address D2632 D2633 D2634 D2635 D2910 D2911 SET R0020 115 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 7 RAS Information Read See 4 6 6 RAS Information Read Request for details Request area F 0 Register allocation 0334H 0015H RAS information read request code 0335H 0002H Request information type event history 0336H 0000H Starting position from newest 0337H 0002H Number of events to read 2 Acknowledgement area Register allocation 02D0H RAS information read request code D0300 02D1H Oooo OS Completion status Dooi O 02D2
18. 121 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 3 3 Synchronous Mode Data Input Output When outputting Output data to slave devices from the T2 T2E T2N is written into the output data area of the DN211 Then an output data semaphore or bit strobe output data semaphore is used for commanding a polling instruction or bit strobe instruction When receiving the polling instruction bit strobe instruction the DN211 will transmit the written output data to slave devices When inputting The DN211 receives data from slave devices in polling response bit strobe response When Completing Deen Mialy from all slave devices the DN211 will update data in the input data area Then an input data semaphore is used for notifyingthe T2 T2E T2N of the input completion When reading input data the T2 T2E T2N read data after checking for input completion by the DN211 T2 T2E T2N Data Update Cycle T2 TE2 T2N Output instruction Output instruction completion Output Intput Output processing processing processing Slave Response Figure 5 5 Synchronous Mode Data Input Output Input Intput processing How to Use an Output Input Data Semaphore for synchronous mode only Figure 5 6 illustrates the relation between the output data semaphore polling bit strobe and the input oe semaphore The squares in obliq
19. 1485C P5N5 M5 1485C P10N5 M5 1485C P1 A50 1485C P1 A150 1485C P1 A300 2 Thin Cable for trunk line and drop line Manufacturer Rockwell Automation item name 1 m with connectors 2 m with connectors 3 m with connectors 150 m with no connector 300 m with no connectors 600 m with no connectors Catalog No 1485R P1M5 C 1485R P2M5 C 1485R P3M5 C 1485C P1 C150 1485C P1 C300 1485C P1 C600 Remarks Shieldded mini connectors male female attached Shielded mini connectors 871A TS5 NM3 male and 871A Ts5 N3 female for fixing Remarks Discrete shielded mini connector male and open type connector Used for linking an open type connector to an open type connector in daisy chain Used when connecting the DeviceBox Tap with an open type connector Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 Tap Multiport Tap Manufacturer Rockwell Automation Item name T Port Tap DeviceBox Tap 2 ports DeviceBox Tap 4 ports DeviceBox Tap 8 ports 4 Others Catalog No 1485P P1N5 MN5R1 1485P P2T5 T5 1485P P4T5 T5 1485P P8T5 T5 Manufacturer Rockwell Automation Item name Power Tap Terminator male Terminator female Catalog No 1485T P2T5 T5 1485A T1M5 1485A T1N5 Remarks T branch one drop line from the trunk line Both the trunk line and drop line use a cable with shie
20. Email info ctiautomation net TOSHIBA 6F3B0364 7738 Green Red Transmission size is different from the actual size when lighting blinking setting slave device parameters 132 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 7 segment LED lms NS Description 7868S 79 amp M 84 M 91 amp M 92 amp M AO CA F0 amp M F1 amp M F2 amp M F3 amp M F4 amp M F5 amp M F6 amp M F7 amp M F8 amp M Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 6F3B0364 Table 6 3 Combined Indications of the 7 Segment LED and 2 Color LED M DN211 node address S Slave device node address Green Red When unable to start communicating with one or more lighting blinking slave devices in the scan list Green Red 1 When the START bit was not set to 1 at run lighting blinking request followed by the indication of 78 S 2S 2 When response from all slaves ceased during normal transmission followed by the indication of 72 3 No slave device is found in network when starting transmission this display only Green Green When the slave devices were not initialized lighting blinking Green Red When busoff occurred communication halt was lighting lighting chosen when busoff occurred Green Not lit 1 No network power is supplied to the 1DN211
21. Remote I O Remote I O Remote I O NA 1 NA 6 NA 20 Polling Mode Device Photoelectric switch Series 9000 photoelectric sensor Rockwell Automation Bit strobe mode slave device Reception data size 1 byte Remote I O FLEX I O Rockwell Automation Polling mode slave device AD 1794 ADN FLEX I O adapter module DO 1794 OB16 24 Vdc 16 point DO module DI 1794 IB16 24 Vdc 16 point DI module Transmitting data size 4 bytes 2 words Reception data size 6 bytes 3 words Transmission data Reception data A Output data to DO B Input data from AD A 1 Output data to DI B 1 Input data from DO B 2 Input data from DI Refer to the instruction manual made by Rockwell Automation for details about Series 9000 photoelectric sensors and FLEX I O 101 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 3 Reset Request See 4 6 2 Reset Request for details Request area F 0 Register allocation 0334H 0011H Reset request code D0100 0335H 0001H Scan request clear D0101 Acknowledgement area Register allocation 02D0H 0011H Reset request code 02D1H Eo Completion status an abnormal response Semaphore register Register allocation 03FDH Request flag register O3FFH Request register 03FCH Acknowledgement flag register read 03FCH Acknowledgement flag register write RAS information Register allocation oceh T Station status
22. lighting 2 The network connector on the DN211 was disconnected Irregular Irregular When requests to the T2 T2E T2N are completed unsuccessfully completion status Table 4 17 is indicated on the 7 segment LED Red Not lit Down mode lighting Red Not lit Down mode blinking Red Not lit Down mode blinking Red Not lit Down mode lighting Red Not lit Down mode lighting Red Not lit Down mode lighting Red Not lit Down mode blinking Red Not lit Down mode blinking Red Not lit Down mode blinking 133 Watchdog timeout error Memory bus trouble occurred TRAP occurred BCC check error occurred on ROM at DN211 startup Read write error occurred on RAM at DN211 startup Read write error occurred on the T2 T2E T2N communication memory at DN211 startup DN211 node address setting abnormal DN211 network communication rate setting abnormal EEPROM for scan list read error occurred TOSHIBA 6F3B0364 6 3 RAS Information Reading Data This section describes the RAS information of the DN211 RAS counter event history execution node information read by the ladder program See 4 6 6 RAS Information Read Request for RAS information reading request 6 3 1 The RAS Counter When you specify 1 for request information type at RAS information read request the RAS counter can be read on to the acknowledgement area Individual items in the RAS counter of the DN211 have one byte data in size
23. specified by a parameter setting request from the T2 T2E T2N setting information 8 The Number of Online Devices 029DH 1 word Indicates the number of the slave devices which are performing data input output with the DN211 execution information 9 The Number of Bit Strobe Devices 029CH 1 word Indicates the number of the bit strobe mode slave devices operable on the network specified by a parameter setting request from the T2 T2E T2N setting information 10 The Number of Polling Devices 0O29BH 1 word Indicates the number of the polling mode slave devices operable on the network specified by a parameter setting request from the T2 T2E T2N setting information Note For the slave devices which support both the polling mode and bit strobe mode both of the bit strobe devices and polling devices are counted 11 The Polling No Response Device Map 0297H 029AH 4 words Indicates per bit the individual polling mode devices not responding to the transmission from the DN211 The value in each frame in Table 4 8 indicates the node address of a slave device When a slave device becomes not responding the corresponding bit turns ON The bit for the normal slave device is set to OFF The corresponding bit for the slave device not selected is also set to OFF F E D C B A 9 8 7 6 5 4 3 2 1 0 oom s ol n o e e 7 s s s 2 1 0 ozas o1 a0 20 20 a7 26 es ae 2a 20 er 20 19 ve a7 16 0299H 31
24. Appendix 3 DN211A In DN211A the function enhancing old model DN211 and the problem are corrected A Feature of DN211A A 1 DN211A has passed ODVA conformance test DeviceNet CONFORMANCE TESTED A 2 Compatibility with old model DN211 a DeviceNet communication function It has not changed with old model DN211 polling instruction response mode and bit strobe instruction response mode are supported b The communication memory map between T2E T2N and DN211A It has not changed with old model DN211 c Station status A bit 0 displays network power supply normal abnormal in DN211A In old model DN211 it was a reservation bit ON Network power abnormal OFF Network power normal d Parameter setting request slave device In specifing scan type of slave device the mix of polling and bit strobe was available at old model DN211 but this specification is stopped using in DN211A This is because the slave which uses the mix of polling and a bit strobe does not exist e Operation mode control request Although the bit 4 was transmission start stop bit in old model DN211 this bit does not influence operation of DN211A even if it is operated In DN211A if it becomes the run mode and it will become the transmission start if it becomes the standby mode and it will become transmission stop However In DN211A ON OFF of bit 4 is reflected in the bit 4 of station status for compatibility with the radder pro
25. D1712 WRITE RW122 gt H0001 E _ Writes polling transmission data of node address D2624 MOV RW122 D2625 OV RW123 D1714 WRITE RW122 gt H0001 SET RO735 SET RO734 Writes polling transmission data of node address 22 RO74F R0735 00001 MOV D0095 00260 MOV RW110 00001 MOV RW111 D0095 WRITE RW110 gt H0001 SET RO736 RST R0735 Writes 1 in the bit strobe output data semaphore RO74F R0736 00260 MOV RW110 00001 MOV RW111 Se Ta H0001 READ RW110 gt D0010 D0010 00000 SET R0737 RST R0736 Checks the bit strobe output data semaphore for clear RO74F R0737 00262 MOV RW114 00001 MOV RW115 00000 MOV D0097 H0001 READ RW114 gt D0097 Reads the input data semaphore 00100 TON T056 RST RO736 RST R0073 1 RST D4001 D0097 00001 SET R0738 RST RO737 RO74F RO738 00000 MOV D0098 00262 MOV RW114 00001 MOV RW115 D0098 WRITE RW114 gt H0001 SET RO739 RST R0738 Writes 0 in the input data semaphore RO74F R0739 00001 MOV D0096 mcr as 00261 MOV RW112 00001 MOV RW113 D0096 WRITE RW112 gt H0001 SET RO73A RST RO739 Writes 1 in the output data semaphore 126 Phone 800 894 041
26. Line Table 1 2 Maximum Cable Length Thick Cable Thin Cable alone Communication Thick Cable Thin Cable alone Rate alone 125 kbps 100 m 250 kbps 100 m 500 kbps 100 m b Figure 1 6 shows the maximum distance between two nodes in the case that a Thick Cable or Thin Cable alone is used for the trunk line and that drop lines are used Table 1 2 lists the maximum cable length In this case the maximum trunk line length between two nodes is as follows Maximun trunk line length between two nodes Maximum cable length value in Table 1 2 Total length of drop lines for both ends nodes of trunk line For Figure 1 6 the maximum trunk line length between node O and node n is equal to the maximum cable length value in Table 1 2 minus total length of drop lines for node 0 and node n Terminal lt Terminal resistor Distance between two nodes lt Maximum cable length resistor a Hy 23 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Figure 1 6 Distance Between Two Nodes on a Network with Drop Lines ey ees Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 c Figure 1 7 shows the maximum distance between two nodes in the case that the trunk line consists of Thick Cable and Thin Cables and that drop lines are connected Use the formulas in Table 1 3 for
27. NET request data timeout O connection inactivity timeout Explicit connection inactivity timeout endor ID invalid H Project type invalid E zZ L a Z I Z Z Z Zz E 1s lt 135 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Symbol name RAS_CNT 61 RAS_CNT RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C RAS_C Oo N 3 4 4 J J H aJo WS oD Sz 4 7 4 a 1 1 Oy 0y yoco oO ee ae co N 7 7 7 7 E 7 7 E 7 1 p p p p p p d p oO C ofle joisin an Ao oO Ha 7 7 E 1 p d W1TO oO B1wW N E 7 7 1 1 1 WO nolo Xe N 7 4 A 1 WO lo Oo Table 6 6 List of RAS Counters 3 Reception maximum data length unmatched NO fragment Connection table fragment buffer acquisition failed ragment data type abnormal ragment data intermediate counter abnormal ragment data final counter abnormal eception maximum size over eception data length abnormal fragment data olling 20 ms response wait MI read port reading value 02F7H Number of CAN transmission times 02F7H CAN transmission disabled content of status register
28. Request 5 2 4 5 2 5 Parameter Setting Request and 5 2 6 Operation Mode Control Request e This program allows the WRITE READ instructions to write read output and input data for individual slave devices Besides these performances input output data can be read written in batch processing maximum 128 words This method allows to reduce the number of READ WRITE executions resulting in a shorter execution time for the ladder program 124 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 00667 MOV Reads t RW116 00004 MOV RW117 H0001 00659 MOV Reads t ne 00703 MOV RW116 RW116 number of polling devices to 00008 MOV RW117 H0001 bit strobe and polling slave 00016 MOV RW117 H0001 Reads t R0710 a o a 000 00000 00255 00000 PROTA 00017 D1665 Res nod rror counter and up to OV D1700 00000 MOV D1701 OV D1703 R d R S EAD RW116 gt D1666 he number of total devices EAD RW116 gt D1670 evices EAD RW116 gt D1650 tation status 00000 MOV D1702 OV D1710 00000 MOV D1711 OV D1713 00255 MOV D1714 ializes transmission data OV D0100 00001 MOV D0101 08256 1 1 SET R0711 00255 MOV D1712 00000 MOV D1715 S ET R0011
29. Setting value in ms b Acknowledgement Acknowledgement area 02D0H Request code 0012H 02D1H Completion status See 4 7 Completion Status for the above completion status c Local Station Parameters Table 4 13 Local Station Parameters 1 2 Polling transmitting mode 0 Makes a polling request to all slave devices and waits for the polling response in batch 1 Waits for polling response after requesting polling by the slave device Scan interval wait time Specifies the wait time until starting the next access after completing access to all slave devices Minimum value 2 ms Maximum value 10 000 ms Background poll ratio Accesses the devices to which background polling was specified setting with slave parameters at scan interval set to the poll ratio Example When 5 is specified access is made by 5 scans This parameter is effective both for polling mode devices 1 bit strobe mode devices 87 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Table 4 14 Local Station Parameters 2 2 Transmission timing Is the value for slave devices to detect transmission timeout when the DN211 doesn t access for a certain interval or more Set a value larger than the scan cycle to slave devices usually 100 ms or more e When a slave device with background polling is installed set a value of time longer than scan cycle x poll ratio
30. TRAP Content of read port downed 3 WDT Content of WDT_FLG Startup type DN startup 01 Power 02 Soft reset Station status Write port Reset accept abnormal 03 T2 E N HALT Station Status Write port Read port T2 E N HALT 0003H Before mode change After mode change Station mode change 0004H Request mode Reception request Comparison ID Reception ID Reception code instruction response 0005H 1 EP_ROM Number of DBASE Creating a scan list composition data settings 2 EP_ROM_CRC Calculation CRC 0050H Request code Completion status Loader processing 0100H Request ID Request code Completion status Control port 0111H Station status Contents of write a ae Reset request port Type Parameter request 00 Local station Port No error setting Node address unmatched Polling mode Scan time Skipped Transmission counter 01 Slave setting Number of pieces abnormal Port No error Node address abnormal Specifying as the local station node address Data length abnormal 0118H Request code 18H Completion status 0200H Request ID Request code Completion status iva co O an Request devo TD Scanype 0242H Type Data write 01 Size abnormal Request device Scan type Data size Type Control request 01 Unassigned Request node Present station status BITON 02 Identical request 03 Permission bit ON invalid in STBY 04 STBY RUN 05 RUN among RUNs 06 Task activation abnormal 07 STBY amo
31. Table 1 4 lists the function specification of the DN211 The general specification of the DN211 conforms with the T2 T2E T2N main unit Table 1 4 Function Specification mem Specification SOS Connector MSTBP 2 5 5 STF 5 08 AB GY AU SO TMSTBP 2 5 5 STF 5 08 AB GY AU Phoenix Contact Corporation Connection cable DeviceNet THICK cable thick cable DeviceNet THIN cable thin cable Communication function Polling instruction response mode synchronous asynchronous Bit strobe instruction response mode synchronous asynchronous RAS function Self check when the power is ON ROM RAM and CAN controllers DN211 communication memory for T2 T2E T2N RAS information on the T2 T2E T2N interface buffer memory Information by reading RAS information e Event trace e CAN controller circuit information Time setting function Displaying the module status network status on the 7 D on e eqgmen ne oni pan T2 T2E T2N side DC5V 500 mA Network side DC 24 V 90 mA 32 5 W x 138 H x 102 1 D Weight g 200 Board specification One slot slot width Mounting T2 T2E T2N base unit basic extension I O slot Number of modules See 1 5 2 Number of Mounting Modules Access READ WRITE instruction module control data input output Note CSMA NBA Carrier Sense Multiple Access with Non destructive Bitwise Arbitration 32 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info c
32. The T2 T2E T2N side power d Activating the DN211 communication The DN211 doesn t yet start communication when the T2 T2E T2N side power is switched ON Set the parameters of the local nodes and register the parameters of the slave devices in the scanning list before engaging in communication start processing See 5 2 Module Setting Procedure for detailed procedures Be sure to turn ON the network power before turning ON the power of the DeviceNet devices Some nodes of the slave devices use the network power as the operation power while other slave devices indicate an error when their work power is not supplied Therefore be sure to switch ON the network power Also note unless the network power is switched ON your DN211 cannot start communication with slave devices Be sure the network power is supplied to all the nodes being connected with the network The aes to which no network power is supplied could cause communication obstacle to other nodes Make sure the power of all slave devices is switched ON before the DN211 begins communication When the DN211 begins communication while the power of a slave device is not switched ON the DN211 will display an error message of no response from that device 2 When Deactivating the System a The slave devices power b The network power c HALT the operation mode of the T2 T2E T2N d The T2 T2E T2N side power 4 While network communications are operating don t shut OFF the networ
33. Time setting request 0335H 0597H 0336H 1512H 0337H 0030H Acknowledgement area Register allocation 02D0H 0018H Time setting request 02D1H eo Completion status Semaphore register Register allocation 03FDH Request flag register 03FFH Request register 03FCH Acknowledgement flag register read 03FCH Acknowledgement flag register write Work register Register allocation Request area address store Request data length store Request flag register address store Request flag register length store Request register address store Request register length store Acknowledgement flag register address store Acknowledgement flag register length store Acknowledgement area address store Acknowledgement data length store RAS information read address store RAS information read data length store R0018 in the sample program on the following page indicates the startup relay for time setting request 119 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 00024 MOV D0100 01431 D0101 05394 MOV D0102 00048 MOV D0103 00820 MOV RW100 00004 RW101 t D0100 WRITE RW100 gt H0001 SET R0181 Writes in the request area Time setting request 00001 MOV D0090 01021 MOV RW102 00001 MOV RW103 D0090 WRITE RW102 gt H0001 SET R0182 RST R0181 Writes 1 in the request flag register
34. calculating the maximum cable length In this case the maximum trunk line length between two nodes is represented in the following formula Maximum trunk line length between two nodes Maximum cable length value in Table 1 3 Total length of drop lines for the nodes at both ends of trunk line For Figure 1 7 the maximum trunk line length between node 0 and node n is equal to the maximum cable length value in Table 1 3 minus the total length of the drop lines for node 0 and node n Distance between two nodes lt Maximum cable length Terminal resistor Terminal z resistor Figure 1 7 Distance Between Two Nodes on a Network with Drop Lines Table 1 3 Maximum Cable Length Mixture of Thick Cable Thin Cable Communication Calculation Formula Rate 125 kbps L thick 5 x L thin lt 500 m 250 kbps L thick 2 5 x L thin lt 250 m 500 kbps L thick L thin lt 100m L thin Length of trunk line using thin cable m L thick Length of trunk line using thick cable m 1 2 3 The Terminal Resistor The DeviceNet needs a terminal resistor on both ends of the trunk line in order to reduce signal reflections and stabilize communications The specifications of the terminal resistor are as follows e 121Q e 1 of the metal film e 14W Terminal resistors conforming with the above specifications are available in the commercial market See 3 6 The Network Components Usage Recommendation Don t make a network con
35. correct when connecting the DeviceNet cables to the network side connector The short circuit of the network power etc can fail communication with other nodes When you are going to detach or connect the network side connector to from the device side connector on the DN211 front panel don t engage yourself while the T2 T2E T2N side power is rising Failing to do so can cause the DN211 to fail or malfunction Attaching the opposite end of the network side connector with from the device side connector is not possible because of the specific form Trying connecting the wrong end by excessive force can damage both the network side connector and the device side connector Ask a qualified person to wire cables Incorrect wiring can cause fire failure and or electric shock 151 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 8 4 Network Installation Refer to 3 6 The Network Components for the network components This section describes the installation gists both for outside and inside the control board Ask the qualified subcontractor for sufficient safety and noise suppression measures when installing the DeviceNet cable Refer to DeviceNet Volume Release 1 3 for the standard installation It is recommended to consign a subcontractor specialized in safety measures and standards Avoid the network components for the DeviceNet cable from in
36. for TOSHIBA is software which works on Microsoft Windows 95 98 NT4 0 The user can keep handy with the registration of the slave parameter to the master module and the allocation of the slave data to master module input output area by graphical user interface like the figure below Please buy DeviceNet Wizard for TOSHIBA from our company Product code TDW33E2SS gt DeviceNet Wizard DN3114 PC3 g File Edit Project Who Utilities View Window Help BeH Sele MA FERA AARRE Project Name DN3114 Network Data Rate Network Description Device List GI aC Drive Gl Photoelectric Sensor G General Purpose Discrete I O E Software E Communication Adapter E Allen Bradley Company Inc Toshiba Corporation B DN2114 Scanner Module DN611A Scanner Module 2 Barcode Scanner le Allen Bradley Company Inc GI scanport Device Dodge EZLINK Revision F D Catalog poe ooo GY Ready For Help press F1 161 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 The personal computer in which DeviceNet Wizard for TOSHIBA is installed is connected with the DeviceNet network and actual various work is done There are three kinds of interfaces of the following by which the personal computer is connected with the DeviceNet network Please buy the product from each maker s agency 1770 KFD RS 232C
37. from all slave devices the DN211 arranges input data before notifying the input completion to the T2 T2E T2N If the T2 T2E T2N is reading input data it will check for the input completion by the DN211 before reading the input data T2 T2E T2N Data Update Cycle Output Jb Input instruction completion Output lutput Output processing processing processing Slave dis tee Output data and input data exchanged between the T2 T2E T2N the DN211 are synchronizing with the output input cycles of the T2 T2E T2N side program For this reason the size of synchronous data value is equal to one time output input data to all slave devices T2 Output instruction Input completion Intput processing 30 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 The asynchronous mode At output The T2 T2E T2N writes output data to slave devices into the DN211 Disregarding the timing of the T2 T2E T2N s output data writing the DN211 sends by the scanning cycle at the local station written output data to a slave device Unless output data is updated by the T2 T2E T2N the DN211 sends the same data to slave devices At input The DN211 receives data from slave devices by a polling response bit strobe response After having received data from all slave devices the DN211 updates input data The DN211 doesn t notify the completion of
38. net TOSHIBA 6F3B0364 00019 MOV D0100 04624 MOV DO101 00820 MOV RW100 00002 MOV RW101 D0O100 WRITE RW100 gt H0001 SET R0131 Writes in the request area Operation mode control request 00001 MOV D0090 01021 MOV RW102 00001 MOV RW103 D0090 WRITE RW102 gt H0001 SET RO132 RST R0131 Writes 1 in the request flag register 00256 MOV D0091 Za ae 01023 MOV RW104 00001 MOV RW105 D0091 WRITE RW104 gt H0001 SET RO133 RST R0132 Writes 256 in the request register 01020 MOV RW106 00001 MOV RW107 H0001 READ RW106 gt D0092 Reads the acknowledgement flag register 92 00001 SET R0134 RST R0133 0720 MOV 108 00002 MOV RW109 H0001 READ RW108 gt D0300 D0301 D0300 DMOV D0516 D0515 Reads the acknowledgement area completion status D0300 00019 D0301 00001 SET R0135 RST R0134 00718 MOV 116 00001 MOV RW117 H0001 READ RW116 gt D1665 Reads the station status D1665 D0101 SET R0136 RST R0135 00000 MOV D0094 01020 MOV RW106 00001 MOV RW107 D0094 WRITE RW106 gt H0001 RST R0136 SET R0019 RST R0013 Calculates input output data setting information after writing 0 in theacknowledgement flag register 113 Phone 800 894 0412
39. number of times available for setting slave devices parameters in the non volatile memory of the DN211 is 300 times The DN211 has the following restriction for transmitting 0 byte to a slave device from the DN211 e When a slave device comes into no communication state with the DN211 due to some reason for example the power of the slave device is OFF the connector is disconnected etc the DN211 cannot recognize the slave device is abnormal Even after the cause of the failed communications is solved the DN211 and the slave device cannot communicate with each other Note The above restriction of the present DN211 will be solved by a version up of the internal software 92 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 5 Operation Mode Control Request 1 The Function Specifies the operation mode of the DN211 module When the DN211 is neither in down mode nor initialize mode a request is enabled Run mode transmission enabled is available only when the DN211 is in standby mode and the local node parameters are set When the DN211 is set to run mode slave device data will be allocated to the input output data area 2 Data Part Format a Request Request area 0334H Request code 0013H 0335H Specified information Specified information 1 has some meaning 15 14 13 12 1i 10 9 8 7 6 5 4 3 2 1 0 RUN POLL SYNC
40. of the Thick Cable and Thin Cable are available in the commercial market Buy ones which meet the configuration of your network Details are explained in 3 6 The Network Components 1 The Trunk Line The trunk line of a DeviceNet consists of a Thick Cable or a Thin Cable their mixture is also possible Since the Thin Cable is flexible compared with the Thick Cable wiring the cable is easy Conversely the Thick Cable allows longer network cabling than the Thin Cable A maximum of the trunk line length varies depending on the type of cable used and the communication rate on the network For details see 3 The Maximum Network Length 2 The Drop Line The drop lines of a DeviceNet consists of Thin Cables Table 1 1 lists the length of drop lines and the total length A node on a drop line can be configured in a short drop line configuration multi drops configuration short brunch configuration Figure 1 4 shows how to calculate the drop line length and the total length by different configurations Table 1 1 Maximum Drop Line Length eee ad Total Extension by Network 125 kbps 156 meters 250 kbps 6 meters 78 meters 500 kbps 39 meters Terminal Branch configuration Node 45 jl Pa tap Tap PARISOT Ea g R Caid i Node 50 oqe Th B Tap Node 30 Node 40 Nees Node 60 Terminal Tap Multiport tap e Multidrop a configuration q b te d Node 5 ee nee Node Node oge 20 25 Short drop line configuration Individual drop l
41. register D0092 00001 SET R0115 RST R0114 If the acknowledgement flag register 1 R0115 is set to D0092 lt gt 0001 SET R0118 RST R0114 If the acknowledgement flag register 0 R0118 is set to 00720 MOV RW108 00002 MOV RW109 H0001 READ RW108 gt D0300 D0301 D0300 DMOV D0501 eD0500 Reads the acknowledgement area error status D0300 00017 SET R0116 RST R0115 ae 0000 MOV D0094 1020 MOV RW106 00001 MOV RW107 094 WRITE RW106 gt H0001 RST RO116 RST R0011 After writing 0 in the acknowledgement flag register R0011 is set to OFF 00718 MOV RW116 00001 MOV RW117 H0001 READ RW116 gt D1665 aie Reads the station status D1665 08192 D0101 00000 RST R0118 RST D1665 08256 D0101 00001 RST R0118 RST After checking the station status R0011 is set to OFF 103 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 4 Parameter Setting Request local node See 4 6 3 Parameter Setting Request local node for details Request area F 0 Register allocation 0334H 0012H_ s Parameter setting request code 0335H 0000H O Local node parameter setting 0336H 0000H Fixed at o 0337H 0000H O Node address 0 0338H oH Polling tr
42. the DN211 specification and application systems etc Read this chapter to know basic performances of the DN211 Chapter 2 Names and Functions of DN211 Parts Describes the names and functions of DN211 parts Read this chapter carefully since important information required for hardware settings in the next chapter is included in this chapter Chapter 3 Preparation for Operation hardware Describes the hardware preparation and setting necessary for your DN211 operation Chapter 4 How to Handle Your DN211 software Explains accessing the DN211 from the T2 T2E T2N and software settings Chapter 5 Examples of DN211 Applications Describes sample programs of handling the DN 211 explained in Chapter 4 Chapter 6 RAS Information except RAS area on communication memory Describes the formats and contents of RAS information on the DN211 except for RAS area on communication memory Chapter 7 Troubleshooting Explains possible causes and solutions when your DN211 malfunctions Chapter 8 Installation Wiring Work Explains how to install your DN211 and T2 T2E T2N how to wire transmission cables and how to arrange other preparation work Appendix Describes the maintenance and check items and the execution time of READ WRITE instructions of the T2 T2E T2N SES V 54 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA In addition to this instruction manual
43. the following descriptions about the T2 T2E T2N instruction words programmer and computer link procedure transmission are also prepared for your reading T2 User s Manual Basic Hardware and Function UM TS02 E001 Describes hardware basic unit basic I O and the main unit functions of the T2 T2E User s Manual Basic Hardware and Function UM TS02E E001 Describes hardware basic unit basic I O and the main unit function of the T2E T2E User s Manual Enhanced Communication Function UM TS02E E003 Describes the functions and how to handle the optional communication card for the T2E T2N User s Manual Basic Hardware and Function UM TSO2N E001 Describes hardware basic unit basic I O and the main unit functions of the T2E Instruction Manual TOSLINE S20LP T2N T3H Stations 6F3B0356 Describes the system configuration of the T2N built in data link system TOSLINE S20LP and its device configuration and the functions performances and handling of TOSLINE S20LP Built in Ethernet Module for T2N PU235N 245N Instruction Manual 6F3B0362 Describes the Ethernet built in T2N and the handling T Series Instruction Set UM TS03 E004 Explains a detailed specification of instruction words about the ladder diagram and SFC programming languages which are supported by Toshiba s T series T Series Computer Link Operation Manual UM TS03 E008 Describes the specification and operating manners for the computer link f
44. top address Number of polling output data words BS input data top address Number of BS input data words Node address 1 Node address 6 Node address 8 Node address 20 Node address 22 Remarks e This sample program performs loopback check of data transmitted to FLEX I O e R0073 in the sample program on the next page indicates the startup relay for asynchronous data input output e This sample program requires the programs stated in 5 2 3 Reset Request 5 2 4 5 2 5 Parameter Setting Request and 5 2 6 Operation Mode Control Request e This program allows the WRITE READ instructions to write read output and input data for individual slave devices Besides these performances input output data can be read written in batch processing maximum 128 words This method allows to reduce the number of READ WRITE executions resulting in a shorter execution time for the ladder program 124 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 00667 MOV RW116 00004 MOV RW117 HO001 READ RW116 gt D1666 Reads t number of polling devices to the number of total devices 00659 MOV RW116 00008 MOV RW117 H0001 READ RW116 gt D1670j Reads the bit strobe and polling slave devices 00703 MOV RW116 00016 MOV RW117 HOO01 READ RW116 gt D1650 Reads t nod rror counter and up to station status
45. turn OFF the power before mounting removing wiring or un wiring the DN211 Failing to do so can cause electric shock malfunction and or failure Keep your DN211 free from foreign matter such as electric wire waste Failing to do so could cause fire failure and or malfunction Check the connectors and cables and the DN211 mount in the base unit for their firm connections and mount using stoppers screws Loose connection and mounting becomes shaky and disconnected resulting in failure or malfunction 8 2 Mounting Removing the Module e Wiring the power and grounding Be sure to turn OFF the power before wiring cables Failing to do so could cause electric shock Use crimp on connectors with sheath or cover the conducting part with tape when wiring your T2 T2E T2N power module Also handle the terminal block cover correctly to avoid fall off and damage when fixing Be sure to fix the cover on the terminal block when completing the wiring If the conducting part is exposed you can have electric shock Be sure to have grounding When not grounded electric shock and or malfunction can occur Make sure the wiring is correct when connecting the DeviceNet cables to the network side connector The short circuit of the network power etc can fail communication with other nodes When you are going to detach or connect the network side connector to from the device side connector on the DN211 front panel don t engage yourself while th
46. with the DN211 due to some reason for example the power of the slave device is OFF the connector is disconnected etc the DN211 cannot recognize the slave device is abnormal Even after the cause of the failed communications is solved the DN211 and the slave device cannot communicate with each other Note The above restriction of the present DN211 will be solved by a version up of the internal software 4 6 4 Parameter Setting Request slave device e Installation environment and mounting in the base unit Apply the environment specified in the User s Manual of the T2 T2E T2N When using your DN211 in the environment other than specified the DN211 can cause electric shock fire failure and or malfunction Mount your DN211 in the way specified in the User s Manual of the T2 T2E T2N If mounted in the direction other than specified or if mounted incorrectly the DN211 could fall off or cause fire failure and or malfunction 8 1 Installation Environment and Mounting in the Base Unit 259 5 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Mounting removing the module Since the DN211 is designed for the T2 series be sure to attach it to the base unit Don t use your DN211 in stand alone state or to other applications Failing to do so could cause electric shock injury and or failure Be sure to
47. 0 MOV D0102 00002 MOV D0103 00820 MOV RW100 00004 MOV RW101 DO100 WRITE RW100 gt H0001 SET R0151 RR Writes in the request area RAS information read request 00001 MOV D0090 ze z 01021 MOV RW102 00001 MOV RW103 D0090 WRITE RW102 gt H0001 SET R0152 RST R0151 Writes 1 in the request flag register 00256 MOV D0091 gt TE 01023 MOV RW104 00001 MOV RW105 D0091 WRITE RW104 gt H0001J SET RO153 RST RO152 Writes 256 in the request register 01020 MOV RW106 00001 MOV RW107 H0001 READ RW106 gt D0092 gt z Reads the acknowledgement flag register 92 00001 SET R0154 RST R0153 0720 MOV RW108 00019 MOV RW109 01 READ RW108 gt D0300 D0301 D0300 DMOV D0521 eD0520 Reads the acknowledgement area completion status RAS information 0021 D0301 00001 SET R0155 RST R0154 00000 MOV D0094 01020 MOV RW106 00001 MOV RW107 D0094 WRITE RW106 gt H0001 RST R0155 RST R0015 Writes 0 in the acknowledgement flag register 118 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 8 Time Setting Request See 4 6 7 Time Setting Request for details Request area F 0 Register allocation 0334H
48. 2 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 RO74F RO73A 00261 MOV RW112 00001 MOV RW113 H0001 READ RW112 gt D0010 D0010 00000 SET R073B RST R073A Checks the output data semaphore for clear RO74F R073B 00262 MOV RW114 00001 MOV RW115 00000 MOV D0097 H0001 READ RW114 gt D0097 Reads the input data semaphor 00100 TON T056 RST RO736 RST R0073 1 D4001 D0097 00001 SET RO73C RST RO73B RO74F RO73C 00000 MOV D0098 00262 MOV RW114 00001 MOV RW115 D0098 WRITE RW114 gt H0001 SET RO73D RST RO73C Writes 0 in the input data semaphor RO74F RO73D 00001 TON T057 SET RO73E RST RO73D Waits for loopback time RO74F RO73E 00001 Mov D0096 a 00261 MOV RW112 00001 MOV RW113 D0096 WRITE RW112 gt H0001 SET RO73F RST Writes 1 in the output data semaphore RO74F RO73F 00261 MOV RW112 00001 MOV RW113 H0001 READ RW112 gt D0010 D0010 00000 SET R0740 RST R073F Checks the output data semaphore for clear RO74F R0740 00262 MOV RW114 00001 MOV RW115 00000 MOV D0097 H0001 READ RW114 gt D0097 Reads the input data sem
49. 3 4 1 Connecting DeviceNet Cables to Network Side Connectors 44 3 4 2 Connecting the Network Side Connector to the DN211 ceeeeeeee 45 3 5 The Network Power Groundinn cccccceeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeseeeeeeeeeeneeeeeeas 47 3 5 1 The Network Power Mechanism cccceeeeceneeeeeeeaeeeeeeaaeeeeeeaaeeeeeeaaanees 47 3 5 2 How to Configure Network Power Uniits ccceceeeeeeeeeeeeeeeeeeeaaeeeeeeaneeees 48 3 5 3 The Network Power Unit 24 VdC ececcceeeeeeeaneeeeeenaeeeeeeaaeeeeeeaaeeeeeaaanees 54 3 5 4 The Network Grounding ioira n EE E E EAA E N 55 3 5 5 Procedure for Switching ON Shutting OFF the POWEf sses 56 3 6 The Network COMponenttS cccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeaeeeseaueeeeseeeneeeeees 57 4 How to Handle Your DN211 SOftWare ssscceseseeseeseeneeseeserseeeneeneeseeneeees 60 4 1 Configuration of the DN211 Communication Memory ccssseceeeeeeeeeeeeeeeeeeees 61 4 2 The Input Output Data Aread cccceececeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeeeseaeeeeeeees 62 4 3 The RAS Information Area cccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeseeeeeeeseaeeeeeseaeeeeeeees 66 16 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 4 Allocating Slave Device Data to the Input Output Data Area ccccceeeeeeeees 75
50. 33BH a 033CH Setting value 0 1 2 033DH Setting value 0 1 033EH a First slave device 033FH 1 setting information 0340H Fixed at 0 0341H i 0342H Fixed at 0 0343H 5 0344H Minor revision 1 0345H Fixed at 0 0346H Fixed at 0 0347H Portnumber fe 0348H i Second slave device 0349H setting information 1 Refer to the description of the slave device Specify the polling transmission size bit strobe reception size in bytes 90 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 b Acknowledgement Acknowledgement area 02D0H Request code 0012H 02D1H Completion status See 4 7 Completion Status for the above completion status c Slave Device Parameters For slave device parameters refer to the description of the relevant slave devices except for the parameters listed in the following Table 4 15 Note the DN211 has the following restrictions in transmitting 0 byte to a slave device Restrictions When a slave device fails to communicate with the DN211 due to some reason power of the slave device side turned OFF connector removed etc the DN211 cannot identify the slave device being malfunctioned Even after the cause of the failure is solved no communication between the slave device DN211 can be resumed Note Though the present DN211 has the above mentioned restrictions an upgraded version of the internal softwa
51. 4 5 The Semaphore Area cccccceeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeseeeseeeeeeessaeneeesees 76 4 6 Requests to the DN211 cccceeeeceeeeeeeeeeeeeeeeeeeee ee eeeeeeeeeeeeeeeeeseeeseeeseaeeeeessaneeeesees 79 4 6 1 The DN211 Operation Modes ceceeecceeeeeeeeeeeeeeeeeeeeeeaaeeeeeeaaeeeeeeaaeneees 80 4 6 2 Reset ReQuestistisccccctievecoetstecvedartcetbeastaeaezatacecantinaceddestdoudendtareaista teravedtaedes 81 4 6 3 Parameter Setting Request local node ceeeeeeeeeeeeeeeeeeeeeeaneeeeeeaneeees 82 4 6 4 Parameter Setting Request Slave device 00 0 ee eeeeeeeeeeeeneeeeeenaeeeeeeaneeees 85 4 6 5 Operation Mode Control Request ccceeeeeeaeeeeeeeneeeeeeeaaeeeeeeaaeeeeeaaaeees 88 4 6 6 RAS Information Read Request cececcceeeeeceneeeeeeaaeeeeeeaaeeeeeaaeeeeeeanaaees 89 4 6 7 TIMES SSttiN GtREQUOSt ree ea A E dead Geebieedaees 90 4 7 Completion Status cccecececeeeeeeeeeeeeeeeeeeeeeeeeeee se eeeeeeeeeeeeeeeeeeeeeeeeessaeseeessaeeeeesees 91 5 Example of DN211 Applications sssscsccscsssseesesseeeeesseeneesseeeneeseeeenensneeneens 92 5 1 The DN211 Operation Order ccceececeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeseaeeeeeeeeneeeeeees 92 5 2 Module Setting Procedure ccccceeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeseaueneesseneeeeeees 93 5 2 1 Accessing the DN211 in Module Setting cceeeeeeeeeeeeeeeeeeeeeeeeeeeeaneeees 94 5 2 2 Configuration of a M
52. 5 Waits for loopback time RO72F RO716 D2502 MOV RW124 D2503 MOV RW125 H0001 READ RW124 gt D2100 Reads polling reception data of node address t D2538 OV RW124 D2539 MOV RW125 H0001 READ RW124 gt D2103 Reads polling reception data of node address D2622 OV RW124 D2623 MOV RW125 H0001 READ RW124 gt D2107 Reads polling reception data of node address 20 x D2548 OV RW124 D2549 OV RW125 gt os H0001 READ RW124 gt D2106 a or Reads bit strobe reception data of address 8 D2632 OV RW124 D2633 OV RW125 H0001 READ RW124 gt D2110 SET RO717 RST R0716 Reads bit strobe reception data of node address 22 120 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 RO72F RO717 RST R072A D1710 D2102 SET RO72A RST RO72B D1712 D2105 SET RO72B RST RO72C D1714 D2109 SET RO72C RO72A RO72B RO72C uian SET RO718 RST RO717 00010 TON T052 RST RO717 RST ROO71 1 D4003 Compares transmission data amp reception data RO72F R0718 00001 TON T053 1 D1710 1 D1712 1 D1714 Updates transmission data RST R0714 RST R0718
53. 500 kbps 250 m for 250 kbps and 500 m for 125 kbps The detail is explained in 1 2 Network Configuration of DeviceNet 10 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 Means of Inputting Outputting Data The DN211 supports polling instruction response and bit strobe instruction response both of which are specified in the DeviceNet specification as the means of inputting outputting data to from slave devices The details of polling instruction response and bit strobe instruction response are explained in 1 4 The Basic Functions 4 Examples of the System Configuration This section describes a typical system configuration using the DN211 which is mounted on the TO slot of the T2 T2E T2N The DN211 allows the T2 T2E T2N to exchange data with slave devices on the DeviceNet In the following example the DN211 is connected with slave devices such as input output devices sensor and drive unit which conforms with the DeviceNet specification Moreover a Toshiba s original control LAN TOSLINE S20 is used to connect the T2 T2E T2N with a higher rank controller A number of wiring combinations meeting the installation environment are available because the T branch topology and the multi drop topology are combinable when wiring a DeviceNet High rank computer T2N PROSEC T2N T2E PROSEC T2E 20 TOSLINE S20
54. 64 2 7 Segment LED Status 02F3H 0312H 32 words 02F3H 0312H in the acknowledgement area are used for the 7 segment LED status The 7 segment LED status shows the DN211 status network status and status of the slave devices the DN211 manages It corresponds with the error code indication on the front panel of the of DN211 some of the statuses are not displayed on Table 6 2 and Table 6 3 NA O in Table 6 11 shows a node address 02F3H 02F4H 02F5H 02F6H 02F7H 02F8H 02F9H 02FAH 02FBH 02FCH 02FDH 02FEH 02FFH 0300H 0301H 0302H Module status code 70 46H 72 48H 73 49H 75 4BH 76 4CH 77 4DH 78 4EH 79 4FH 80 50H 81 51H 82 52H 83 53H 84 54H 85 55H 91 5BH 92 5CH Table 6 11 7 Segment LED Status F 8 7 0 0303H 0304H 0305H 0306H 0307H 0308H 0309H 030AH 030BH 030CH 030DH 030EH 030FH 0310H 0311H 0312H Table 6 12 7 Segment LED Status Code Description DN211 is encountering trouble at duplicated node address checking DN211 cannot communicate with slave devices The vendor ID product type or product code of a slave device differ from those in the scan list of the DN211 No slave device is found on the network No slave device is registered in the scan list DN211 has detected communication timeout since no response from slave devices When the transmission size of a slave device differs from the size
55. 7 E 7 7 E 7 7 1 p p d p d 1 1 1 J 1 1 1 Ww DP Th Nb N AJw N Ww Ww U Oo Ww E 7 7 7 7 7 p 1 p T d p 01 KOLE ROLE ROLE RSLS ESI oloju ionlae 02DDH Number of time setting response times H Number of input data read request times L umber of input data read response times umber of output data write request times bit strobe Number of output data write response times bit strobe umber of output data write request times polling umber of output data write response times polling umber of explicit message request times umber of explicit message response times umber of invalid request code reception times Content of invalid request code reception umber of normal response times umber of abnormal response times ransmission MBX memory pool abnormal for data ransmission MBX memory pool abnormal MBX BX transmission abnormal BX reception abnormal eception data size 0 byte Reception MBX release abnormal for data BX Reception normal own code own detail code umber of confirm register 2 second waiting times umber of indication register 2 second waiting times EP ROM SCAN list CRC error umber of DBASE normal SCAN lists Number of SCAN list settings EP ROM Bit strobe 20 ms response wait umber of overrun times umber of error active times umber of error passives times umber of busoff times umber of transmission interrupt times umber of reception data ID abnormal times MI error EVICE
56. A 6F3B0364 4 The Bit Strobe Output Data Area 0100H 0103H 4 words Stores data that the DN211 outputs to slave devices in the bit strobe mode The ladder program for the T2 T2E T2N writes output data in this area The transmitting data in the bit strobe mode is fixed at 8 bytes 64 bits The corresponding relation of the bits in this area and the node addresses of the slave devices is indicated below Table 4 1 Bit Strobe Output Data Area Configuration F E D C B A 9 8 7 6 5 4 3 2 1 0 oon as pa e per pe e e e e e e e fal osm ar a0 a0 0 ar es as ee 20 22 er a0 oe ve 7 oan ars 5 oe ee os 0 a9 a r as oe oe oan es oe o1 Leo 50 se sr 56 55 se 0 se sr 50 oe 5 The Polling Output Data Area 0080H OOFFH 128 words Stores data that the DN211 will output to slave devices in the polling mode The ladder program for the T2 T2E T2N writes output data in this area The area has 128 words 2048 bits in size unless the data size that the DN211 sends to salve devices doesn t exceed this limit up to 63 slave devices are connectable with one DN211 How to allocate output data to slave devices from this area is explained in 4 4 Allocating Slave Data to the Input Output Data Area 6 The Polling Bit Strobe Input Data Area 0000H 007FH 128 words Stores data collected by the DN211 from the slave devices in the polling mode and bit strobe mode The ladder program for the T2 T2E T2N rea
57. D1665 Work register Register allocation Request area address store Request data length store Request flag register address store Request flag register length store Request register address store Request register length store Acknowledgement flag register address store Acknowledgement flag register length store Acknowledgement area address store Acknowledgement data length store RAS information read address store RAS information read data length store R0011 in the sample program on the following page indicates a reset request startup relay 102 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 00017 MOV D0100 00001 MOV DO101 00820 MOV RW100 00002 MOV RW101 D0100 WRITE RW100 gt H0001 SET R0111 Writes in the request area reset request 00001 MOV D0090 01021 MOV RW102 00001 MOV RW103 D0090 WRITE RW102 gt HO001 SET RO112 RST R0111 Writes 1 in the request flag register 00256 MOV D0091 a 7 01023 MOV RW104 00001 MOV RW105 D0091 WRITE RW104 gt H0001 SET RO113 RST Writes 256 in the request register 00200 TON T020 SET R0O114 RST R0113 Waits for 2 seconds 01020 MOV RW106 00001 MOV RW107 H0001 READ RW106 gt D0092 gt Reads the acknowledgement flag
58. Drop Line and Maximum Cable Length Check the drops cable length less than 6 m Check the total extension of drops cables Refer to 1 2 2 Trunk Line Drop Line and Maximum Cable Length Check the network power mechanism and the power capacity Refer to 3 5 1 The Network Power Mechanism and 3 5 3 The Network Power Unit 24vdc Check the grounding of the network cables Refer to 3 5 4 The Network Grounding 3 Overrun Errors Occur An overrun error occurs when data slave devices transmitted cannot be received by the DN211 the number of overrun error times is stored at 02C5H in the RAS information area How to Solve Overrun Error 1 Lower the network communication rate when overrun errors occur 500 kbps 250 kbps 125 kbps 2 Set the polling transmission mode to 1 at local station parameter setting request when the polling slaves and bit strobe slave devices have been intermingled waiting for polling response after polling request by a slave device is issued 149 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 8 Installation Wiring Work 8 1 Installation Environment and Mounting in the Base Unit Use your DN211 in the installation environment specified in the Installation Environment of T2 User s Manual T2E User s Manual and or T2N User s Manual Also follow the instructions specified in Installation E
59. E T2N and the DN211 This section describes data input output between the T2 T2E T2N and the DN211 in synchronous mode or asynchronous mode 5 3 1 Slave Device Check It is recommended to check the communication circuits with the slave devices before reading writing slave input output data This can be done when you check for MS NS s green lighting on the front panel and for the local node address indication on the 7 segment LED This checking also can be done through the program when you find the number of the total devices 029EH and the number of the online devices 029DH in the RAS information are equal Moreover when a difference is found in the numbers of the total devices and of the online devices no responded slave devices can be identified using the polling no responded device map and the bit strobe no responded device map The sample program in this chapter checks communication circuits by comparing the number of the total devices with the number of the online devices and when these numbers differ the program will stop data updates e The number of total devices 029EH Indicates the number of the slave devices specified by a parameter setting request setting information e The number of online devices 029DH Indicates the number of the slave devices which are performing data input output with the DN211 execution information e Polling no responded device map Indicates per bit per device the number of the slave devices n
60. H 0010H Number of RAS information words 16 Do3o2 o 02D3H Event code D0303 O 02D4H M Dooa 02D5H M Doo 02D6H Do3o6 02D7H M oo 02D8H Month 00308 02D9H Hour Doso9g 02DAH Second Doso O 02DBH Dos 02DCH M Do 02DDH M oa 02DEH DOsI4 02DFH M os 02E0H Dosie 02E1H D0317 02E2H D0318 Do520 D0521 Semaphore register Register allocation 03FDH Request flag register Doogo 03FFH Request register Doo O 03FCH Acknowledgement flag register read D0092 03FCH Acknowledgement flag register write poo 116 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Work register Register allocation Request area address store Request data length store Request flag register address store Request flag register length store Request register address store Request register length store Acknowledgement flag register address store Acknowledgement flag register length store Acknowledgement area address store Acknowledgement data length store RAS information read address store RAS information read data length store R0015 in the sample program on the following page indicates the startup relay for RAS information read request 117 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 00021 MOV D0100 00002 D0101 0000
61. ITE instruction 721 15 0xN 427 10 6 x N N Number of transfer words Table 1 7 Maximum Execution Time for DN211 Access ms 128 words for input output T2E T2N 1 15 1 78 2 93 READ instruction WRITE instruction Total The values in Table 1 7 indicate times for accessing the DN211 When you are mounting more than one DN211 unit calculate and total the instruction execution times to access individual DN211 units One unit of T2 T2E T2N cannot cover the entire DN211 units being mounted when the total of the sum times necessary for the T2 T2E T2N s accessing the DN211 units and the sum time necessary for input output and internal processing except for accessing the DN211 units are larger than the response time that your system requires In this case divide your T2 T2E T2N to mount DN211 units depending on your system configuration 34 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 Names and Functions of DN211 Parts This chapter explains the names and functions of DN211 parts 2 1 Outer Dimensions and Sizes Figure 2 1 Outer Dimensions and Sizes unit mm Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 2 Names of DN211 Parts LOADER Black Blue White Red DeviceNet LED for module status network status indication 7 segment
62. LED for node address error code indication DIP switch for operation mode communication rate setting Test connector D Sub 9 pin Device side connector connecting the DeviceNet Figure 2 2 Appearance front panel 336 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 NA H NA L Rotary switch for setting node addresses Figure 2 3 Appearance side view 37 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 3 Functions of DN211 Parts 1 LED for module status network status indication MS NS This LED can light green red By making a distinction between green and red and lighting and blinking the DN211 s module status MS and network status NS are indicated LED Indication Meaning of the indication main trouble status Not lit e No power is supplied to the DN211 e Though the power is oe to the DN211 the module doesn t become run mode When the 7 segment LED for node address error code indicates the local station node address the power is supplied Green lighting The DN211 is operating normally Green blinking e The DN211 is reading switch settings Red blinking e The DN211 is encountering a recoverable trouble Switch setting abnormal DIP switch rotary switch etc Red lighting e The DN211 is encountering a non recoverable trou
63. MOV RW103 090 WRITE RW102 gt H0001 SET R0128 RST R0127 Writes 1 in the request flag register 0256 MOV D0091 1023 MOV RW104 00001 MOV RW105 D0091 WRITE RW104 gt HOO001 SET RO129 RST RO128 Writes 256 in the request register 109 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1020 MOV RW106 00001 MOV RW107 01 READ RW106 gt D0093 2s Reads the acknowledgement flag register 093 00001 SET RO12A RST RO129 720 MOV RW108 00002 MOV RW109 01 READ RW108 gt D0300 D0301eD0300 DMOV D0511 D0510 Reads the acknowledgement are completion status 300 00018 D0301 00001 SET RO12B RST RO12A 0000 MOV D0094 1020 MOV RW106 00001 MOV RW107 0094 WRITE RW106 gt H0001 RST RO12B RST R0126 Writes 0 in the acknowledgement flag register RST R0012 110 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 6 Operation Mode Control Request See 4 6 5 Operation Mode Control Request for details Request area F 0 Register allocation 0334H 0013H Operation mode control request code D0100 0335H 1210H Specified information D0101 Acknowledgement area Register allocati
64. N the power 3 2 1 DIP Switch for Setting the Operation Mode Communication Rate 274 4 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Rotary switch for setting the node address When you set a value within 64 to 99 to the node address of your DN211 and turn ON the power of your T2 T2E T2N Node Address Setting Failed will appear with the following indications e The MS LED is blinking red e F6 and the local station node address are being displayed alternately on the 7 segment LED To clear these indications set the correct value to the node address and issue a reset request or turn OFF and ON the power If your DN211 node address has the same value with another node and when the DN211 comes into run state Node Address Duplicated will appear with the following indications e The MS LED is lighting red and or the NS LED is lighting red e 70 and the local station node address are being displayed alternately on the 7 segment LED To clear these indications set the correct value to the node address and issue a reset request or turn OFF and ON the power 3 2 2 Rotary Switch for Node Address Setting e Mounting in the base unit Since the DN211 is designed for Toshiba s T2 series be sure to mount your DN211 in the base unit instead of using it in stand alone don t use it for other application
65. N211A Using old model DN211 the user must set the local node parameter in DN211 by the ladder program at each time of control power supply turning on or module reset DN211A memorizes the local node parameter to the nonvolatile memory in oneself as well as the slave device parameter For this reason if the local node parameter and the slave device parameter are set once as DN211A a user can make DN211A the run mode after a control power supply turning on or module reset using the operation mode control request C DN211A corresponds to DeviceNet Wizard for TOSHIBA C 1 Registration of local node parameter and slave device parameter The user needed to carry out the local node parameter setup and the slave device parameter registration to old model DN211 by the ladder program DN211A can use DeviceNet Wizard for TOSHIBA option the user can register a self node parameter and a slave device parameter into DN211A using DeviceNet Wizard for TOSHIBA The local node parameter registration and slave device parameter registration which used the ladder program of course are also possible in DN211A C 2 Allocating slave device data to the input output data area in DN211A In old model DN211 the slave device data is allocated from the head of input output data area for DN211 in order with small node address of the registered slave device Refer to 4 4 Allocating Slave Device Data to the Input Output Data Area In DN211A after setting
66. T2N OFF When turned busoff the DN211 initializes the internal network controller before resuming transmission factory setting Fil a Sets the communication rate Refer to Table 3 2 1 Busoff Individual nodes on the DeviceNet check for abnormal transmission paths when the local node is judged to be the cause of abnormal transmission path the local node is separated from the transmission path This state is called busoff Table 3 2 Communication Rate Setting Communication Rate 125 kbps OFF OFF lt Factory setting 250 kbps OFF ON 500 kbps ON OFF Ale Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Setting disabled ON ON iy Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Set and keep OSEN on the DIP switch to OFF Setting it to ON can get failed or malfunctioned When you set BUSOFF on the DIP switch to OFF transmission will restart automatically even when busoff occurs Unless the cause of the DN211 s busoff cause of communication error is solved however busoff may get repeated When you set both of communication rate DRO and DR1 to ON and turn on the power of the T2 T2E T2N Communication Rate Setting Failed will appear with the following indications e The MS LED is blinking red ge and the local station node address are
67. TOSHIBA 6F3B0364 DeviceNet Module DN211 for PROSEC T2 T2E T2N Instruction Manual Appendix3 DN211A REQUIREMENTS Read this instruction manual carefully before operating Keep the manual aside to use when necessary e Pack the manual with the DN211 when transferring or reselling January 2001 TOSHIBA CORPORATION 2001 Toshiba Corporation All rights reserved UM TS02 E16 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Copyright 1998 by Toshiba Corporation Tokyo Japan Toshiba Corporation reserves the right to make changes and improvements to this publication and or related products at any time without notice No obligation shall be incurred except as noted in this publication This publication is copyrighted and contains proprietary material No part of this book may be reproduced stored in a retrieval system or transmitted in any form or by any means electrical mechanical by photocopying recording or otherwise without obtaining prior written permission from Toshiba Important Information Misuse of this equipment can result in property damage or human injury Because controlled system applications vary widely you should satisfy yourself as to the acceptabillity of this equipment for your intended purpose In no event will Toshiba Corporation be responsible or liable for either indirect or consequential dama
68. also explains subjects necessary to use the DN211 Thus try to understand the DN211 well before writing programs Because the sample program is basic ample discussion is needed before applying to real systems When the T2 T2E T2N changes to the HALT ERROR mode from the RUN mode the DN211 in run mode will change to standby mode 5 1 The DN211 Operation Order Figure 5 1 illustrates steps from switching ON the DN211 power setting the module writing output data and to reading input data Switching On the power Setting the module setting parameters of the Cea station and slave devices Setting the operation mode Run mode Checking slave devices Writing output data Inputting outputting slave data Synchronous mode or asynchronous mode Reading input data Figure 5 1 The DN211 Operation Flow S077 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 Module Setting Procedure This section describes based on the flowchart of Figure 5 2 the procedures for setting and starting up the DN211 module Switching On the power Reset request DN211 module self check DN21 Note Don t issue requests to the DN211 during reset processing Otherwise the request will be completed unsuccessfully gt Station mode abnormal User program processing processing Checking the 7 segment LED indication Visually check the node address se
69. and the subsequent addresses without skipping as shown in Figure 4 8 Allocation will be executed when run mode transmission state enabled is set by an operation mode control request after setting slave device parameters Table 4 11 Slave Device Configuration sample Node address Transmission size Reception size 2 bytes 4 bytes 6 bytes 3 bytes 4 bytes 4 bytes Bae data area 0080H NA 10 0081H NA 11 0082H 0083H 0084H NA 12 0085H 0086H 0087H 0088H NA 30 0089H 008AH NA 40 008BH Figure 4 8 0000H 0001H 0002H 0003H 0004H 0005H 0006H 0007H 0008H 0009H 000AH 000BH 4 bytes 2 bytes 6 bytes 4 bytes 1 byte 6 bytes Input data area NA 11 A ome NA 20 NA 30 NA 40 Input Output Data Area in Slave Device Configuration sample When a slave device has odd transmission reception bytes in size the actual size plus 1 byte are allocated in the DN211 input output area When you add a new slave device enter a new value larger than the node addresses of the present slave devices For Figure 4 8 enter a value larger than 41 for the node address of a new slave If the node address of a new slave device is set to 18 allocating data area of node addresses 20 30 40 will be shifted Don t change the input output data size for slave devices FLEX I O etc which are flexible in data allocation size If changed the slave devices with a node address larger than that of th
70. ansmission mode specify 0339H 000AH Scan interval wait time 10 ms 033AH 00H O Background poll ratio 033BH 0001H _ Fixed at 1 033CH 0064H O Transmission timing 100 ms Acknowledgement area 02D0H 0012H Parameter setting request code 02D1H E o Completion status Semaphore register 03FDH Request flag register O3FFH Request register O3FCH Acknowledgement flag register read 03FCH Acknowledgement flag register write Work register Request area address store Request data length store Request flag register address store Request flag register length store Request register address store Request register length store Acknowledgement flag register address store Acknowledgement flag register length store Acknowledgement area address store Acknowledgement data length store RAS information read address store RAS information read data length store 104 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 5 Parameter Setting Request slave device See 4 6 4 Parameter Setting Request slave device for details Request area Register allocation F 0 0012H 0334H Parameter setting request code 0335H Slave parameter setting 0336H Number of slave devices 5 0337H Fixed at 0 0338H Node address 1 0339H 0001H Vendor ID 1 033AH Product type 12 033BH Product code 1 033CH Scan type polling 033DH Pol
71. aphore 00100 TON T058 RST RO73B RST R0073 1 D4002 D0097 00001 SET RO741 RST RO740 127 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 RO74F RO741 D2502 OV RW124 D2503 MOV RW125 H0001 READ RW124 gt D2100 Reads polling reception data of node address D2538 OV RW124 D2539 RW125 H0001 READ RW124 gt D2103 za ae Reads polling reception data of node address D2622 OV RW124 D2623 OV RW125 H0001 READ RW124 gt D2107 gt Reads polling reception data of node address 20 D2548 OV RW124 D2549 OV RW125 H0001 READ RW124 gt D2106 a Reads bit strobe reception data of node address 8 D2632 OV RW124 D2633 OV RW125 H0001 READ RW124 gt D2110 SET RO717 RST R0716 Reads bit strobe reception data of node address 22 RO74F R0742 00000 MOV D0098 00262 MOV RW114 00001 MOV RW115 D0098 WRITE RW114 gt H0001 SET RO743 RST R0742 Writes 0 in the input data semaphore RO74F R0743 RST R074A D1710 D2102 SET RO74A RST RO74B D1712 D2105 ET R074B RST RO74C D1714 D2109 ET R074C R074A R074B R074C N a 1 ET R0744 RST R0743 1 D0000
72. are registered trademarks of RockWell Automation Co Ltd m COMBICON is a registered trademark of Phoenix Contact Corporation eee Cees Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 4 The Basic Functions This section describes the following two functions for communicating between the DN211 and slave devices 1 Polling instruction response mode 2 Bit strobe instruction response mode 1 4 1 The Polling Instruction Response Mode The polling instruction response mode is used for exchanging an arbitrary size of data between the master device amp slave devices The master device has information on slaves devices items of scan list such as node address input output data volume etc on the network For polling instructions based on such information the master device outputs an arbitrary size of data to slave devices Slave devices transmit response data arbitrary data size to a polling instruction to the master device polling response It depends on the specification of a slave device how the slave device interprets the polling instruction and what data the slave device transmits as the polling response For this communication function it is prerequisite that the slave device supports the polling instruction response mode Almost all the slave devices on the DeviceNet support this communication system 1 The Polling Instruction The exa
73. ation ccceeeseeeeeeeeeeeeeeeeeeeeeeeseeeeeeeseeeeneeseeeeeeeseeeaeenseesaneees 30 1 5 1 The Function Specification cece ecceeeeeeecneeeeeeaaeeeeeeaaeeeeeeaaeeeeeeaaeeeeees 30 1 5 2 Number of Mounting MOdules ceecceeeeeeeneeeeeeeaeeeeeeeaaeeeeeeaaeeeeeeaaeeeeeed 31 2 Names and Functions of DN211 Parts ssscscssseeseeeeesseeneeesseeneenseeeneeneeeaes 33 2 1 Outer Dimensions and SiZeCS cceeeeceeeeeee cece ee eeeeeeeeeeeeeeneeeeeeeeeeeeeseeeeeeeeeeeeeeesees 33 2 2 Names Of DN211 Parts c 2 2 2022c lt ccccceneecezdeesccesdentesazececcacseateccasceecctescectccasecectaaecenes 34 2 3 Functions of DN211 Parts ci 2ccc0sccesiete ceesceetcee ceeds aneceeddeteretds cues cecdenececceenseceddeberews 36 3 Preparation for Operation hardware sssssnenenennnnununununununununununununnnnnnnnnnnnnn 38 3 1 DN211 Setting Flowchart hardwar e 22 ceccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseaeeeeeeeenees 38 3 2 Switch Setting aceia slates cede eee EAN ses EAA EENE EEEE AANA NEEE AAN aces ces dons 39 3 2 1 DIP Switch for Setting the Operation Mode Communication Rate 39 3 2 2 Rotary Switch for Node Address Setting cccecesseeeeeeneeeeeenaeeeeeeaaeeees 41 3 3 Mounting in the Base Uniit ccceeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseaeeeeeseaeeeeeeees 42 3 4 Connection with the Network cececeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeseeeeeeeeees 43
74. being displayed alternately on the 7 segment To clear these indications set DRO and DR1 correctly and issue a reset request or turn OFF and ON the power Set the communication rates of your nodes being connected to the network to the same communication rate Setting different communication rates on your different nodes will cause slave devices or the DN211 to get malfunctioned resulting in no communication started Read the relevant manuals and descriptions to set the communication rate of your slave devices Don t change over the communication rates while your T2 T2E T2N is rising just after the turning on the power In particular never change the communication rate while communicating with slave devices Failing to do so will cause Communication Rate Setting Failed to appear To clear this indication set the DIP switch to the correct setting and issue a reset request or turn OFF and ON the power Usage Recommendation 1 Use a small minus screwdriver for changing the value of the DIP switch Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 2 2 Rotary Switch for Node Address Setting The DN211 board has a rotary switch for node address 0 to 63 in decimal scale setting Figure 3 3 NA H is used for setting a 10 order figure while NA L is used for setting a 1 order figure Since both of NA H and NA L can set a value from 0 to 9 the value can
75. ble down status You may need to replace the module Not lit e No power is supplied to the DN211 check MS e Though the power is supplied to the DN211 the module doesn t become run mode 1 check MS e The DN211 is encountering a non recoverable trouble down status check MS e No network power is supplied to the DN211 Green lighting e The DN211 is normally communicating with slave devices Green blinking e No communication between the DN211 and slave devices is established e No slave devices are registered in the DN211 Red blinking e No communication is established with more than one slave devices Red lighting e The DN211 communication is stopped due to busoff 2 e Communication is stopped due to the node address duplicated 1 See 4 6 Requests to the DN211 for the run mode 2 Busoff Individual nodes on the DeviceNet check for abnormal transmission paths when the local node is judged to be the cause of the abnormal transmission path the local node is separated from the transmission path This state is called busoff 38 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 2 3 4 5 6 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 7 Segment LED for Node Address Error Code Indication NA ERROR While the DN211 is normally transmitting data w
76. cated Refer to 3 2 2 Rotary Switch for Node Address Setting Check the setting of the network communication rate for the same communication rate Refer to 3 2 1 DIP Switch for Setting Operation Mode Communication Rate Check the local node parameter setting and the scan list Refer to 4 6 3 Parameter Setting Request local node and 4 6 4 Parameter Setting Request slave device Check the slave devices for normal operation by referring to the slave device description Slave device Check the slave device main unit for the power Check the connection of the network cables mis wiring disconnection Check the node address settings for node address overlapped Check the network communication rates for the same communication rate Check setting items specific to individual slave devices Check the terminal resistor on both ends of the trunk cable 121 Check the maximum network length specified Newer Refer to 1 2 2 Trunk Line Drop Line and Maximum Cable Length Check the drops cable length less than 6 m Check the total extension of drops cables Refer to 1 2 2 Trunk Line Drop Line and Maximum Cable Length Check the network power mechanism and the power capacity Refer to 3 5 1 The Network Power Mechanism and 3 5 3 The Network Power Unit 24vdc Check the grounding of the network cables Refer to 3 5 4 The Network Grounding 148 Phone 800 894 0412 Fax 888 723 4773 Web www c
77. coon ea 62 61 60 s se 57 so lss se sa se sr so 0 3 Table 4 8 Polling No Response Slave Devices 12 The Bit Strobe No Response Device Map 0293H 0296H 4 words Indicates per bit the individual bit strobe mode salve devices not responding to the transmission from the DN211 The value in each frame in Table 4 9 indicates the node address of a slave device When a slave device becomes not responding the corresponding bit turns ON The bit for the normal slave device is set to OFF The corresponding bit for the slave device not selected is also set to OFF F E D C B A 9 8 7 6 5 4 3 2 1 0 0293H ojee els ele e 1 0 Table 4 9 Bit Strobe No Response Slave Devices sT Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 13 Input Output Data Setting Information 010BH 028AH 384 words Indicates per slave device node address NA the allocations of input output data for slave devices in the input output data area The input output data setting information has 6 words per 1 slave device Figure 4 7 indicates the top addresses of areas where individual node information is stored Table 4 10 lists the meanings per slave device After the slave device parameters are set data will be input in these areas when the DN211 is set to run mode transmission enabled status by an operation mode control request 0 is set to the areas
78. ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 RAS information Register allocation 029BH Number of polling devices 029CH Number of bit strobe devices 029DH Number of online devices 029EH Number of total devices 0293H 0294H Bit strobe 0295H No response device 0296H 0297H 0298H Polling 0299H No response device 029AH ocen SStationstatus D1665 Work register Register allocation RAS information read address store RW116 RAS information read data length store RW117 Request mode store of operation mode control request D1690 Polling input data top address Node address 1 Number of polling input data words Polling output data top address Number of polling output data words Polling input data top address Node address 6 Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Node address 8 Node address 20 Node address 22 Remarks e This sample program performs loopback check of data transmitted to FLEX I O e R0071 in the sample program on the next page indicates the startup relay for asynchronous data input output e This sample program requires the programs stated in 5 2 3 Reset
79. d blinking not lit states which distinctively indicates the module status MS and the network status NS Table 6 1 Module Status Network Status LED LED Indication state Meaning of indication major trouble MS Not lit e No power is supplied to the DN211 e Although the power is supplied to the DN211 it is not in run mode While the 7 segment LED node address error code is indicating the local station node address the power is supplied Green lighting e The DN211 is normally operating Green blinking e The DN211 is reading switch settings Red blinking e The DN211 is encountering a recoverable trouble Switch setting abnormal DIP switch rotary switch etc Red lighting e The DN211 is encountering an unrecoverable trouble down state Yoy may have to replace the module NS Not lit eNo power is supplied to the DN211 check MS e Although the power is supplied to the DN211 it is not in run mode check MS e The DN211 is encountering an unrecoverable trouble down state check MS e No network power is supplied to the DN211 Green lighting e The DN211 is normally communicating with slave devices Green blinking e No communication is established between the DN211 and slave devices e Not a single slave device is registered in the DN211 Red blinking e The DN211 is unable to communicate with an abnormal slave device Red lighting e Communication halted due to busoff in the DN211 e Communication halted d
80. d data from this area The area has 128 words 2048 bits in size unless the data size that slave devices send to the DN211 doesn t exceed this limit up to 63 slave devices are connectable with one DN211 How to allocate input data from slave devices to this area is explained in 4 4 Allocating Slave Data to Input Output Data Area Figure 4 3 shows an overview of the output data area input data area T2 T2E T2N DN211 READ Slave instruction i Input data el os strobe Polling register area Mpu oara arga Polling output data area Slave Output data register area Bit strobe a o gt Figure 4 3 Overview of Input Output Data Area 5 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 7 The usage of Output Input Data Semaphore for synchronous transmission mode alone Figure 4 4 indicates the relation between output data semaphore polling bit strobe and input data semaphore Oblique lines parts indicate each of the semaphore values is set to the 1 T2 T2E Writes in output Reads from Writes in output T2N data area input data area data area Writes output A Writes instruction 1 ouput Writes read struction Output data completion semaphore g Writes output comple Intput data tion 0 semaphore Figure 4 4 Use of Semaphores in Synchronous Mode 8 Cautions in Using the Input O
81. de address are being displayed alternately on the 7 segment LED To clear these indications set the correct value to the node address and issue a reset request or turn OFF and ON the power Usage Recommendation 1 Use a small minus screwdriver for changing values of the rotary switch SN V eaS Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 3 Mounting in the Base Unit Mount your DN211 in the I O slot of the base unit for the T2 T2E T2N and lock the master device See Mounting Removing the Module in the Main Unit User s Manual for detail Since the DN211 is designed for Toshiba s T2 series be sure to mount your DN211 in the base unit instead of using it in stand alone don t use it for other applications Unauthorized applications can cause electric shock bodily injury and or mechanical malfunction Be sure to turn OFF the power on the T2 side and network side before attaching or detaching the DN211 and or the terminal block Failing to do so will cause electric shock malfunction and or failure Keep the DN211 free from foreign matter such as electric wire waste Failing to do so could cause fire failure and or malfunction Check the connectors cables and base unit of the DN211 for their firm connection and mounting using stoppers and screws Note loose connection or mounting can be shaky or easily disconnected off resulting in fail
82. dule for T3 T3H have different directions for attaching the network side connector DeviceNet cable power tap and device tap connecting the trunk line with drop lines are necessary when constructing a system using a DeviceNet Refer to 3 6 The Network Components for detail Some of the network components must be prepared by the user When you use the network side connector that has the upper and lower rows with holes for cables at the left side Figure 3 5 the connector protrudes from the left side DN211 about 5mm When you attach or detach the left side module of DN211 you must detach the connector from DN211 3 4 2 Connecting Network Side Connector to the DN211 a Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Usage Recommendations continued e Network power configuration Usage Recommendation 1 Consider not only current capacity of the trunk line but also current capacity of drop lines when you install a node on a drop line In particular when you are connecting nodes in daisy chain on a drop line be careful not to have insufficient current capacity Use a network power whose capacity is much larger than the total current consumption necessary for the network 3 5 2 How to Configure Network Power Units e Network power unit Usage Recommendation 1 Use a network power whose capacity is much larger than the total current cons
83. e T2 T2E T2N side power is rising Failing to do so can cause the DN211 to fail or malfunction Attaching the opposite end of the network side connector with from the device side connector is not possible because of the specific form Trying connecting the wrong end by excessive force can damage both the network side connector and the device side connector Ask a qualified person to wire cables Incorrect wiring can cause fire failure and or electric shock 8 3 Power Unit Wiring Grounding F f Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Basic caution in network Installation Ask the qualified subcontractor for sufficient safety and noise suppression measures when installing the DeviceNet cable Refer to DeviceNet Volume Release1 3 for the standard installation It is recommended to consign a subcontractor specialized in safety measures and standards Avoid the network components of the DeviceNet cable from being installed in a noisy environment When installing be sure to furnish noise suppression measures as described in the following section 8 4 Network Installation e Maintenance Be sure to turn OFF the power mounting or removing the module terminal block and cable Failing to do so can cause electric shock malfunction and or failure Carry out daily check periodical check and cleani
84. e slave device changed data size will be shifted in their data allocation 78 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 5 The Semaphore Area This area is used for issuing a request from the T2 T2E T2N for operating the DN211 or for reading the DN211 s response to a request The addresses in Figure 4 9 indicate the word addresses seen from the T2 T2E T2N 02CFH Reserved 1 word 02D0H Acknowledgement area 100 words 0334H Request area 200 words Figure 4 9 The Semaphore Area Configuration 5570s Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 The Request Register 03FFH 1 word T2 T2E T2N gt DN211 This register is used for notifying the DN211 of a request when the T2 T2E T2N issues the request to the DN211 After writing 1 in the request flag register the ladder program of the T2 T2E T2N writes 256 0100H in this register 0 No notice 256 Noticed After reading a request from the request area the DN211 sets this register to 0 2 The Request Flag Register O3FDH 1 word T2 T2E T2N gt DN211 This register is used when the T2 T2E T2N issues a request to the DN211 After writing request data in the request area the ladder program of the T2 T2E T2N writes 1 in this register 0 No request 1 A req
85. e 5 1 BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words READ WRITE Instruction Parameters Register D2500 D2501 D2502 D2503 D2504 D2505 D2536 D2537 D2538 D2539 D2540 D2541 D2548 D2549 D2550 D2551 D2552 D2553 D2620 D2621 D2622 D2623 D2624 D2625 D2632 D2633 D2634 D2635 D2636 D2637 R0013 in the sample program on the following page indicates the startup relay for mode control request operation 112 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation
86. e T2 T2E T2N issues to the DN211 The six types of requests are classified into those executable and those not executable depending on the DN211 s operation mode which is explained in 4 6 1 The DN211 Operation Modes Table 4 12 lists the relation between different types of requests and the operation modes The six types of requests are detailed in 4 6 2 Reset Request Table 4 12 List of Requests Operatin mode Down mode Initialization Standby mode STBY Run mode mode Local node Local node Request name request code Reset 0011H Paremeter setting x x x local node 0012H Parameter setting y slave device 0012H x Operation mode control J 7 2 o 0013H RAS information reading o 0015H Time setting O Request enabled A Though the request is enabled an error could be responded depending on the down cause See Table 4 4 Down Information for the possible down cause x Request disabled When requested an error is responded The error codes are explained in 4 7 Completion Status 83 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 1 The DN211 Operation Modes The DN211 has the following operation modes 1 Initialize Mode e The DN211 is in the process of resetting when the power is turned ON or reset is requested e The reset processing turns standby mode when the reset processing is compl
87. e sure not to make the wrong connection Failing to do so can cause short circuit of the network power resulting in no communication with other nodes Neither attach nor detach the network side connector with the device side connector on the DN211 front panel while the T2 T2E T2N is rising just after the power is turned ON Failing to do so can cause the DN211 to fail or malfunction Attaching the opposite end of the network side connector with from a device side connector is not possible because of the specific form Trying connecting the wrong end by excessive force can damage both the network side connector and the device side connector Be sure not to wire the cable in too tightly stretched state or in bent state Also don t put heavy stuff on the cable Otherwise the cable could break Ask the qualified expert for the installation work of the DeviceNet cables because it requires sufficient safety and noise suppression measures Refer to DeviceNet Volume Release 1 3 for the standard installation 9 4 Netwo a on in th man The DN211 supports the plug connection connector open type It has two types of network side connectors attached as shown in Figure 3 5 Follow the order stated below to connect the DeviceNet cable to the DN211 1 Connect the Devicenet cable to the network side connector and fix it 2 Insert the network side connector into the device side connector on the front panel of the DN211 The connector at the
88. e test connector This connector is only for maintenance You may not use it The device side connector for DeviceNet connection This connector is for connecting the DeviceNet cable to the DN211 3 4 Connection with the Network explains how to connect cables 6F3B0364 TOSHIBA 6F3B0364 3 Preparation for Operation hardware 3 1 DN211 Setting Flowchart hardware Configure an emergency stop circuit interlock circuit and or other similar safety circuits outside the PC and DN211 If the PC or DN211 gets failed or malfunctioned it can cause an accident which will lead to bodily injury and or mechanical damage 2 Secure the safe environment before executing program modification forcible output RUN or HALT instruction during operation An operational mistake can cause mechanical damage or accident The following flowchart shows the DN211 setting Set the node address for the DN211 with the rotary switch on the side Also set the operation mode and communication rate with the DIP switch on the front panel See 3 2 Switch Setting for detail Setting your DN211 s node address operation mode communication rate base unit See Mounting module in the Main Unit User s Manual for detail Mounting the DN211 on the I O slot of the Mount the DN211 into the I O slot of the T2 T2E T2N T2 T2E T2N Using the network side connector attached to DN211 Connecting the DN211 to the network connect the DeviceN
89. ecessary for the network 3 Single Power Unit Terminal Connection Below is an example of a network power unit installed at the end of the trunk line thick cable with a total extension of 200 meters The current consumption by the node is shown below 0 1A 200 m Sum of current consumption 0 1A 0 15A 0 05A 0 25A 0 1A 0 65 A Total of power cable length extended 200 m Maximum current 1 53 A available on the cable based on Figure 3 10 Since the sum of current consumption lt maximum current a single power supply terminal connection can supply the power to all nodes e Install a network power supply unit with a rated current of 0 65 A or more Select one with ample current in considering usage conditions Network power supply unit 3 12 Example of Single Power Terminal Connection _ 25 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 Single Power Unit Central Connection This section describes an example of installing a network power unit at the center of the trunk line Thick cable with a total extension of 240 meters The current consumption by the node is shown below Since the network power unit is installed at the center the maximum current can be supplied to all directions of the network Section 1 Section 2 120m 120m 0 15A 0 15A Network power supply unit Figure 3 13 Example of Single Powe
90. er 107 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 018 D0100 00001 Sets lave devices 000 D0103 00001 0012 MOV D0106 00001 000 MOV D0109 00000 0000 MOV D0112 00004 001 MOV D0115 00004 000 MOV D0118 Ist it 000 MOV D0119 0012 MOV D0122 000 MOV D0125 0000 MOV D0128 001 MOV D0131 000 MOV D0134 2nd unit 000 MOV D0135 0012 MOV D0138 000 MOV D0141 0000 MOV D0144 001 MOV D0147 000 MOV D0150 3rd unit 108 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 D0151 006 MOV D0154 0000 MOV D0157 000 MOV D0160 0001 MOV D0163 000 MOV D0166 4th unit 0000 MOV D0167 006 MOV D0170 0000 MOV D0173 000 MOV D0176 0001 MOV D0179 000 MOV D0182 5th unit 0102 00016 gt D0266eD0265 D0265 00003 gt D0266 820 MOV RW100 D0266 MOV RW101 D0100 WRITE RW100 gt H0001 SET R0127 Writes in the request area Slave device parameter setting request 0001 MOV D00900 1021 MOV RW102 00001
91. er be sure to install safety systems to minimize the effect of a possible accident before you apply your DN211 to the equipment which will endanger people s life or cause serious damage on the surroundings if the DN211 should break down 3 Toshiba s DN211 is meant for those who have general knowledge of handling control equipment especially the knowledge about installation wiring operation and maintenance of the DN211 Incorrect handling of the DN211 can cause electric shock fire failure or and malfunction Therefore don t engage in the installation wiring operation or maintenance of the DN211 if your knowledge including electrical knowledge is not enough to handle control equipment Instead ask the qualified person to do such work 4 This instruction manual and accompanying documents are meant for those who have general knowledge about the programmable controller and how to handle control equipment If you have any questions on the content of this manual don t hesitate to contact the Toshiba dealer 22h Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued Warning indication This instruction manual has the following important indications and symbols to prevent bodily injury and property damage during operation Be familiar with these safety indications to follow during operation After reading the text keep the manual as
92. et cables to the DN211 See 3 4 Connection with the Network for detail Supply the communication power for the DeviceNet devices through the network cable See 3 5 The Network Power Grounding for detail Supplying the network power to the DN211 After completing the above work switch ON the power of the T2 T2E T2N See Grounding and Power supply Wiring in the Main Unit User s Manual for the details of power supply wiring grounding End Figure 3 1 DN211 Setting Flowchart 49 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 2 Switch Setting The DN211 has a DIP switch on the front panel and a rotary switch on the side These switches are used for setting the operation mode communication rate and node address of the DN211 3 2 1 DIP Switch for Setting the Operation Mode Communication Rate lt DIP switch for setting the operation mode communication rate Factory setting OFF LOADER Figure 3 2 DIP Switch for Setting the Operation Mode Communication Rate Table 3 1 DIP Switch Setting a OSEN Is reserved for the system Set to OFF and keep it BUSOFF Specifies the operation mode when the DN211 turns busoff 1 ON When turned busoff the DN211 initializes the internal network controller to become standby mode After solving the cause of the busoff state resume transmission with the instruction from the T2 T2E
93. eted succes sfully e The reset processing turns down mode when the reset processing fails to complete successfully e g when an error occurs in self testing e Don t issue an instruction from the user program of the T2 T2E T2N side during initialize mode 2 Standby Mode e The DN211 turns this mode when the reset processing is completed successfully after you turn ON the power or request resetting e An operation mode control request can changes run mode to standby mode e Only this mode allows you to set the parameters of the local node slave devices to the DN211 e Unless the parameters of the local node is set run mode cannot be set from this mode 3 Run Mode e After the parameters of the local node are set an operation mode control request allows you to change to run mode e This mode allows the DN211 to transmit to salve devices e This mode allows you to select a transmission mode polling mode bit strobe mode with slave devices e This mode allows you to select a transfer mode synchronous asynchronous mode between the T2 T2E T2N amp DN211 4 Down mode e Indicates that the DN211 has turned unrecoverable abnormal state e A reset request can change to standby mode If such a reset request gets an error response turn OFF and ON the power for recovery e See Table 4 4 Down Information for the possible cause of the down mode Figure 4 11 illustrates transitions of the DN211 operation modes Inside sq
94. f the trunk line varies depending on the communication rate of the network The both ends of the trunk line need a terminal resistor 3 The Drop Line All the cables branched from taps on the trunk line fall on drop lines The drop line has a maximum length of 6 meters from tap to most distant node regardless of the communication rate on the network The total extension of drop lines varies depending on the communication rate on the network A drop line can have one or more nodes connected The following three types of node configurations are available as shown in Figure 1 3 a Configuration of drop lines short from the tap multiport tap b Configuration of multidrops on a drop line c Configuration of branches on a drop line no branch configuration for the trunk line Branch configuration Multip rt tap Tap Tetor ye ca C E Tap Node 50 Node 55 Terminal Node 60 resistor Tap Multiport tap C Multidrop configuration Node 0 T Node Node No drop line 15 20 Short drop line configuration G Trunk line Drop line Figure 1 3 Example of DeviceNet Network Configuration 9 S Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 2 2 Trunk Line Drop Line and Maximum Cable Length The DeviceNet specification stipulates the Thick Cable and the Thin Cable For detail see DeviceNet Volume I Currently cables conforming with the standards
95. figuration whose extended trunk line and drop lines have no node being connected Don t attach a terminal resistor to the node It could cause communication error Attach a terminal resistor to both ends of the trunk line don t attach a terminal resistor on the F Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 end of a drop line Attach only to both ends of the trunk line 26 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 3 Conformity Specification and Trademarks DeviceNet is a standardized device level network for factory automation FA which is developed by RockWell Automation Co Ltd in USA Currently a nonprofit organization called ODVA Open DeviceNet Vendor Association is serving as the center for the maintenance and extensions of DeviceNet and introduction of conformable products The DeviceNet specification has Volume I DeviceNet Communication Model and Protocol and Volume II DeviceNet Device Profiles and Object Library in which the hardware and software specifications are defined The DeviceNet specification that the DN211 conforms with is found in Volume I Release 1 3 and Volume II Release 1 2 Trademarks m DeviceNet is a registered trademark of ODVA Open DeviceNet Vendor Association m PowerTap T Port Tap DeviceBox Tap and FLEX 1 0
96. figure indicate that 1 has been set to the flag registers and that 256 has been set to the request register a Use a READ instruction to read the acknowledgement flag register to check it is 0 If a value other than 0 is found write 0 in the area first time only b Use a WRITE instruction to write request data to the DN211 in the request area top address 0334H c Use a WRITE instruction to write 1 in the request flag register d Use a WRITE instruction to write 256 in the request register e Use a READ instruction to read the acknowledgement flag register and wait until 1 is set to the register f Use a READ instruction to read the response data of the DN211 from the acknowledgement area when 1 is found in the acknowledgement flag register top address 02D0H g Use a WRITE instruction to write 0 in the acknowledgement flag register Returns to b Writing in the reading qhe T2 T2E T2N request area mont area Reading the Completes Request flag Requested acknowledgement ong me a i WwW register flag register ment ae Request Request notification Z register A Acknowl Completing reading edgement the request area Y flag register E Responded i DN211 Dia A Reading the l ae Writing in the DN211 request area Internal processing acknowledgment area Figure 5 3 How to Use the Semaphore Area on Requests 2 Cautions When Using the Semaphore Area a Since only a pair of req
97. formation can be read anytime The content of the RAS data read is explained in 6 3 RAS Information Reading Data 2 Data Part Format a Request Request area 0336H The dotted line is valid only for event history 0337H A history of up to 10 events can be read Request type 1 RAS history 2 Event history 3 Execution node information 4 RAS information clear Start position Specifies from where to read event history 0 specified Newest event b Acknowledgement Acknowledgement area 02D0H Request code 0015H 02D2H Number of RAS information words Number of RAS data words read 02D3H RAS information See 4 7 Completion Status for the above completion status 94 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 7 Time Setting Request 1 The Function Performs the time setting in the DN211 This time is used for event history data which is read by RAS information read request When the DN211 is in down mode or initialize mode this function cannot be used 2 Data Part Format a Request Request area 0334H b Acknowledgement Acknowledgement area 02D0H Request code 0018H 02D1H See 4 7 Completion Status for the above completion status 3 Other e Use to the BCD codes to enter a year month day hour minute and second e Enter the last two digits of the Western calendar in t
98. fter reset request M blinking Not lit Not lit In the processing of setting slave device parameters M lighting Green Green Is engaging in normal transmission both module and lighting lighting network have no trouble 70 amp M Green Red The DN211 detected an duplicated node address with a lighting lighting slave device 728S Green lighting Red 1 When the response from a slave device ceased blinking during normal transmission 2 When setting no polling mode to enabled state at operation mode setting though polling mode devices are found in the scan list 3 When setting no bit strobe mode to enabled state at operation mode setting though bit strobe mode devices are found in the scan list 4 When setting slave device parameters reception data size or scan type is different from the actual one 738S Green Red When setting slave device parameters the vendor ID lighting blinking product type or product code is different from the actual one 75 M Green Red No slave device is found on the network when starting lighting blinking transmission this indication only 75 amp M Green Green 1 When run mode is requested without setting the lighting blinking parameters of a slave device This state can occur before the DN211 and a slave device start transmission If this state lasts for 30 seconds or more check the parameters of the slave device 131 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net
99. g Figure 3 5 at the left side upper and lower rows with holes for inserting cables on the preceding page As shown in Figure 3 7 loosen screws on the cable connectors beforehand Match the colors of the cable coatings with those of the network side connector before inserting the cables into the connectors Tighten the screws for fixing cables Cable fixing screw Color indication Network side connector Black Blue White R d Shield Drain Screws for fixing cables in lower row holes is located on this side Figure 3 7 Connecting Cables with Network Side Connector ads eaS Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 45 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 4 2 Connecting the Network Side Connector to the DN211 Insert the network side connector into the device side connector on front panel of the DN211 Note the network side connector cannot be attached upside down due to the specific form don t try to connect these connectors by force Tighten the screws for fixing the network side connector on the DN211 Network connecto fixing screw Figure 3 8 Mounting the Network Side Connector 46 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Usage Reco
100. g the Completes Requested acknowledgement reading the f i k l Request flag VY flag register aes omccae register vA A Request notification Request Uy register A Completing reading Acknowl the request area edgement E Y flag register A 7 Responded DN211 DN211 internal processing Reading the Writing in the request acknowledgment area area Figure 4 10 How to Use the Semaphore Area on Requests 7 Cautions When Using the Semaphore Area a Since only a pair of request area and acknowledgment area is furnished issue the next request after the DN211 returns the acknowledgement to a request from the T2 T2E T2N b Don t write data no WRITE instruction in the acknowledgement area acknowledgement flag register Otherwise data could be destroyed c When a WRITE instruction writes data in the request area be careful of the top address and the data size to be written Failing to do so could lead to the destruction of other data causing the DN211 to get malfunctioned 81 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 82 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 Requests to the DN211 This section describes different types of requests that the T2 T2E T2N issues to the DN211 There are six such types of requests that th
101. gain Strip the cable coating and connect the cable core with the connector Firmly insert the network side connector into the module side before tightening the fixing screws Stop the system turn OFF the power wire the cables again Keep the cable distance from the power cable Cover the cable with shield into range Improve them permissible specified Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Be sure to turn OFF the power mounting or removing the module terminal block and cable Failing to do so can cause electric shock malfunction and or failure Carry out daily check periodical check and cleaning to keep the system in normal condition If your DN211 does not operate normally refer to 7 Troubleshooting to identify the cause of the trouble Contact a Toshiba s branch office or dealer or service agency for returning your DN211 for repair when failed Operation and safety of your DN211 can be guaranteed only when repaired by Toshiba or a Toshiba s authorized service agency Neither try to disassemble nor modify the hardware of the module Similarly don t modify the software by any means Failing to do so could cause fire electric shock and or injury due to failure or malfunctioning Make sure you are safe when measuring the voltage on the connector of the module Failing to do so could cause electric shock St
102. ge or injury that may result from the use of this equipment No patent liability is assumed by Toshiba Corporation with respect to the use of information illustration circuits equipment of application examples in this publication ee he Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions Thank you for purchasing Toshiba s DeviceNet module DN211 for programmable controllers PROSEC T2 series T2 T2E T2N This instruction manual describes the handling precautions and operation of the DN211 Be sure to carefully read this manual and all of other related documents to learn the safety precautions notes and knowledge about the DN211 before its installation operation or inspection This will allow you to operate your DN211 comfortably Important Information 1 Toshiba s DN211 is designed and manufactured for use with general industrial equipment manufacture line control devices machine tools etc it is not intended for use with equipment and systems which will endanger people s life during operation Contact the Toshiba dealer in advance when you are going to use your DN211 for special applications such as transport vehicles train etc medical equipment aerospace equipment nuclear power control equipment underwater relay equipment or other similar applications 2 Toshiba s DN211 is manufactured under strict quality control Howev
103. gram of old model DN211 159 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 f 7 segment LED display Old model DN211 DN211A The slave which does not exist on a network was registered into the master and transmission was Started The response of a slave were lost during normal transmission between master and slave The receiving size of the slave registered into the master differed from the receiving size of an actual slave The scan type of the slave registered into the master differed from the scan type of an actual slave 72 and the node address of the slave which does not exist are displayed by turns 72 and the node address of the slave which does not exist are displayed by turns 72 and the node address of the slave from which reception size is different are displayed by turns 72 and the node address of the slave from which scan type is different are displayed by turns 78 and the node address of the slave which does not exist are displayed by turns 78 and the node address of the slave which does not exist are displayed by turns 77 and the node address of the slave from which reception size is different are displayed by turns 83 and the node address of the slave from which scan type is different are displayed by turns B Local node parameter is written in D
104. guration of the station status bits of the DN211 in different modes 68 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Table 4 3 DN21 s Modes and Station statuses Domes o on fon After switching ON the power or after issuing a reset STBY 2000H request from the T2 T2E T2N No slave device is registered or deleted in the STBY 2040H DN211 in mode b NCOIN When a slave device is registered in mode c by a 2000H STBY parameter setting request When standby is requested by a module control STBY 2000H request from the T2 T2E T2N f When transmission enabled polling mode RUN 1210H transmission asynchronous mode is requested by START a module control request from the T2 T2E T2N and POLL transmitted normally When transmission enabled bit strobe mode RUN 1410H transmission asynchronous mode is requested by START a module control request from the T2 T2E T2N and BITS transmitted normally When transmission enabled polling mode and bit 1610H strobe mode transmissions asynchronous mode is START requested by a module control request from the T2 T2E T2N and transmitted normally When asynchronous mode is requested in a mode within f to h Bits from f to h followed by SYNC within f to i the slave device stopped responses i followed by TXERR When busoff occurs the DIP switch of the DN211 Station status bits befo
105. h slave devices and the procedure for reading RAS information including event history and sample programs Write programs after understanding the contents As sample programs are basic you need to examine your programs from beginning to end before applying them to actual systems 4 How to Handle Your DN211 software 5 Examples of DN211 Applications 6 RAS Information except RAS area on communication memory e Allocation of slave device data to input output data area Z CAUTION 1 When a slave device has odd transmission reception bytes in size the actual size plus 1 byte are allocated to the DN211 input output area When you add a new slave device enter a new value larger than the node addresses of the present slave devices For Figure 4 8 enter a value larger than 41 for the node address of a new slave If the node address of a new slave device is set to 18 allocating data area of node addresses 20 30 40 will be shifted Don t change the input output data size for slave devices FLEX I O etc which are flexible in data allocation size If changed the slave devices with a node address larger than that of the slave device changed data size will be shifted in their data allocation 4 4 Allocating Slave Device Data to the Input Output Data Area e Operating mode of the T2 T2E T2N and the DN211 1 If the T2 T2E TOQN turns into HALT ERROR mode the DN211 in run mode becomes standby mode 4 6 1 DN211 Operation M
106. he DN211 the DN211 sets response data to the T2 T2E T2N to this acknowledgment area The response data is set at the addresses beginning 02 DOH The request data composition is described in 4 6 Requests to the DN211 80 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 Howto Use the Semaphore Area Figure 4 10 illustrates the usage of the areas and registers discussed at 1 to 5 The squares in oblique lines in the figure indicate that 1 has been set to the flag registers and that 256 has been set to the request register a Use a READ instruction to the acknowledgement flag register to check for 0 If a value other than 0 is found write 0 in this area first time only b n WRITE instruction to write request data to the DN211 in the request area top address H c Use a WRITE instruction to write 1 in the request flag register d Use a WRITE instruction to write 256 in the request register e Use a READ instruction to read the acknowledgement flag register and waits until 1 is set to the register f Use a READ instruction to read response data of the DN211 from the acknowledgement area when 1 is found in the acknowledgement flag register top address 02DOH g Use a WRITE instruction to write 0 in the acknowledgement flag register Returns to b Writing in the Bahl T2 T2E T2N request area AO ESI Readin
107. he year item For the year 2000 enter 00 Example 12 20 00 September 30 1997 0334H 0335H 0336H 0337H e Since the time set above will be updated by the timer in the DN211 it can be different from the time of the T2 T2E T2N Daily adjustment of time is recommend 95 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 7 Completion Status Indicated below are the completion statuses that DN211 returns to the T2 T2E T2N Except for normal completion an error code and the local node address are indicated alternatively on the 7 segment LED on the front panel of the DN211 The error code indication stops when the following request is completed successfully Table 4 17 List of Completion Statuses Completin status Normal completion 0001H Indicates a request is completed successfully is Local station failure OOAOH When a request for inhibited processing requested in down mode Serial number unregistered 00A1H When a serial number registered in the DN211 disappeared Ask for repair because the DN211 needs resetting Local station parameters 00A2H A request for inhibited processing is issued when no unassigned local station parameters are set Length abnormal O0A3H When the data size of a bit strobe output data write request is 8 bytes or more Station mode abnormal When a request for inhibited processing is issued during run mode time W
108. hen a request for inhibited processing is issued during standby mode time os Transmission inhibition status OOA6H When a request relating to transmission processing is issued in transmission inhibition state by the T2 T2E T2N Format abnormal OOBOH When the requested processing code is not supported for operation mode control request 00B8H When the node address is invalid at parameter setting request and explicit message request value other than 0 to 63 Composition data abnormal 00C0H When invalid data is found in the composition data for parameter setting request see trace information Event history for detail 00C1H Input output data of a slave device cannot be allocated to the input output data area when operation mode control request RUN is issued Memory pool 00C2H When the OS in the DN211 fails to allocate memory acquisition abnormal turn OFF and ON the power to reset the module Number of request devices 00C3H When the number of read devices is incorrect at abnormal input data request and output data write request 96 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 Example of DN211 Applications This chapter describes an example of operating the DN211 from the T2 T2E T2N and a sample ladder program This chapter describes an example of operating the DN211 s functions from the T2 T2E T2N and a sample ladder program It
109. ide connector on the DN211 front panel while T2 T2E T2N is rising just after the power is turned ON Failing to do so can cause the DN211 to fail or malfunction Attaching the opposite end of the network side connector with from the device side connector is not possible because of the specific form Trying connecting the wrong end by excessive force can damage both the network side connector and the device side connector Be sure not to wire the cable in too tightly stretched state or in bent state Also don t put heavy stuff on the cable Otherwise the cable could break Ask the qualified expert for the installation work of the DeviceNet cables because it requires sufficient safety and noise suppression measures Refer to DeviceNet Volume Release 1 3 for the standard installation 3 4 Connection with the Network Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Turning ON OFF the power of master slave and the network Be sure to turn ON the network power before turning ON the power of the DeviceNet devices Some nodes of the slave devices use the network power as the operation power while other slave devices indicate an error when their work power is not supplied Therefore be sure to switch ON the network power Also note unless the network power is switched ON your DN211 cannot start communication with
110. ide to consult when necessary Description of Safety Signs Indication Meaning A DANGER A CAUTION Indicates misuse of the handling could cause a fatal accident or serious injury Indicates misuse of the handling could cause injury or material damage Injury means a hurt burn or electric shock which requires neither hospitalization nor long term medical treatment by visits Some of the CAUTION items however could bring about grave consequences depending on the situation So be sure to always follow the CAUTION instructions oe ee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Precaution for operation A DANGER 1 Configure an emergency stop circuit interlock circuit and or other similar safety circuits outside the PC and DN211 If the PC or DN211 gets failed or malfunctioned it can cause an accident which will lead to bodily injury and or mechanical damage T2 T2E T2N User s Manuals 3 Preparation for Operation hardware 2 Secure the safe environment before executing program modification forcible output RUN or HALT instruction during operation An operational mistake can cause mechanical damage or accident T2 T2E T2N User s Manuals 3 Preparation for Operation hardware e DIP switch for setting the operating mode communication rate Z CAUTION 1 Set and keep OSEN on the DIP swi
111. in the scan list of DN211 DN211 cannot start transmission with slave devices DN211 cannot send to slave devices DN211 s communication port is set to IDLE mode DN211 s communication port is set to FAULT mode An error occurred due to fragmented transmission reception data Slave device initialization was refused Slave device initialization is not completed DN211 reception buffer has an overflow Busoff has occurred at DN211 Network power of DN211 has trouble 142 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 7 Troubleshooting This chapter discusses how to find the cause of the trouble and countermeasures during the DN211 operation Also refer to the T2 T2E T2N Main Unit User s Manual when encountering trouble 7 1 When Starting up the Module 1 If the module does not start up normally becoming no standby status When the module is normal the DN211 starts module initialization when the power is turned ON or reset is requested and then becomes standby status Standby status MS NS Not lit 7 Segment LED Node address is lighting START Is the power supplied to the power No Supply the power module with the rated supply module of the T2 side corrent Yes Is the DN211 mounted correctly in No Correctly mount the DN211 in the slot and the base unit tight it with fixing screw Yes No Is station status not down m
112. ine length a lt 6 m b lt 6 m c lt 6 m and d lt 6 m short drop line configuration e lt 6 m multi drops configuration f g lt 6m f h lt 6m f i lt 6m branch configuration Total of drop lines extended a b c d e f g h i Figure 1 4 Example of Calculating the Drop Line Length ey yee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 The Maximum Cable Length The distance between two nodes on the network cannot exceed the Maximum cable length specified in the DeviceNet specification In Figure 1 4 the distance from node 0 to node 60 is not allowed to exceed the Maximum cable length The Maximum cable length varies depending on the communication rate of the network and the type of the cable used for the trunk line a Table 1 2 lists the maximum cable length for the case that the trunk line consists of a Thick Cable alone and no drop line is connected on it that is all nodes are connected on the trunk line as shown in Figure 1 5 In this case maximum trunk line length between node 0 and node n maximum cable length Moreover when the maximum trunk line length between node 0 and node n maximum cable length no new node can be attached outside node 0 and node n Terminal patente Distance between two nodes lt Maximum cable length Terminal resistor Figure 1 5 Distance Between Two Nodes on a Network With No Drop
113. ing diverse functions of the DN211 from the T2 T2E T2N Chapter 5 describes based on the subjects explained in Chapter 4 setting the DN211 parameters activating transmission inputting outoutting data with slave devices and the procedure for reading RAS information including event history and sample programs Write programs after understanding the contents As sample programs are basic you need to examine your programs from beginning to end before applying them to actual systems Usage Recommendation 1 When your DN211 is going to be I O registered in the T2 T2E TQN leave blank for the slot where the DN211 is installed After automatic allocation is performed the DN211 installed slot is left blank 60 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 1 Configuration of the DN211 Communication Memory Indicated below is the configuration of the DN211 communication memory seeing from the T2 T2E T2N Word address 0000H Input output data area 263 words 0106H 0107H RAS information area 456 words 02CEH 02CFH Semaphore area 305 words O3FFH Figure 4 1 DN211 Communication Memory Map 1 The Semaphore Area This area is used for issuing requests from the T2 T2E T2N to operate the DN211 and for reading the DN211 responses 2 The RAS information Area This area of the DN211 displays the DN211 s module status communica
114. interface Rockwell Automation 1784 PCD PCMCIA interface Rockwell Automation 5136 DN ISA bus interface S S Technologies 162 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net
115. ion describes on the assumption that the module has started up normally Set the parameters of the local station at parameter setting request before issuing an operation mode control request when you are changing to run mode from standby mode after having started up the module Also clear the scan list before setting slave device parameters at parameter setting request when the configuration of the slave devices is changed 1 Local Node Parameter Setting Request sine HE Mi a a iaiaaias Execute the request by referring to 4 6 3 9 i Parameter Setting Request local node Yes Is the parameter setting request completed Check Yes the semaphore area use by referring to 4 5 The Semaphore Area Remove the cause of the trouble based on the completion status If slave device parameters are unassigned go to slave device parameter setting if they are already assigned go to operation mode control request 145 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 Slave Device Parameter Setting Request Is the parameter setting request n being executed Execute the request by referring to 4 6 4 Parameter Setting Request slave device Yes wae e vee Check the semaphore area use by i referring to 4 5 The Semaphore Area Yes It takes about 4 seconds per slave device parameter setting Since 10 slave de
116. isposing power units for supplying the network power to individual nodes of the DeviceNet 1 Maximum Current on the DeviceNet cable The network power of the DeviceNet is set to rated 24 Vdc The current which can be passed on the network cable is as follows e Trunk line of thick cable 8 A a asm on co om ns on ono om on aco a00 52 200 201 50 128 108 on 07 000 os Cable length Max current A Maximum Current of Thick Cable T fob 3 oO gt Z o gt O D Cable length Figure 3 10 Current of the Trunk Line thick cable 49 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 e Trunk line of thin cable 3 A up to 100 m Cable length 0 64 Maximum Current of Thin Cable Current value A Cable length Figure 3 11 Current of the Trunk Line thin cable e For drop line 0 75 to 3 0 A Formula 4 57 L however I lt 3 A I I Max current of drop line A L Drop line length 0 to 6 m Usage Recommendation Consider not only current capacity of the trunk line but also current capacity of a drop line when you install a node on the drop line In particular when you are connecting nodes in daisy chain on a drop line be careful not to have insufficient current capacity 50 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiaut
117. ith slave devices the local station node address is displayed Node address A node identification number that the DeviceNet devices nodes linked to the network have The values range within 0 to 63 in decimal scale In a DeviceNet the node address of a node linked to the network must be unique In the following cases module or network status is displayed in combination of this LED and the LED for module status network status indication e A trouble occur on the DN211 or on the network e An error occurs when the T2 T2E T2N requests Parameter setting and operation mode controlling etc are performed by the request from the T2 T2E T2N e The DN211 is downed See 6 2 Indications of the 7 Segment LED for the combinations and meanings of this LED and the LED for module status network status indication DIP switch for setting the operation mode communication rate This DIP switch is used for setting the operation mode at DN211 busoff and a communication rate on the network 500 kbps 250 kbps 125 kbps 3 2 Switch Setting explains the contents of the DIP switch and how to set it Rotary switch for node address setting NA H NA L Is used for setting node addresses in the network of the DeviceNet The DN211 can have a node address within 0 to 63 decimal scale unless the node address doesn t duplicate with another node address slave device in the network 3 2 Switch Setting explains how to set the rotary switch Th
118. its Grounding the network is also explained 3 5 1 The Network Power Mechanism In order to supply the network power 24 Vdc to the DeviceNet cables the power tap Figure 3 9 specified in the DeviceNet must to be used The power tap is an apparatus for connecting a 24 Vdc power unit to the trunk cable It has the following functions 1 When more than one 24 Vdc power unit are connected to one network the power tap prevents adverse current flow to power units by potential differences 2 The power tap supports a maximum of 16 A from a power unit directly connected to the tap 3 The protective circuit fuse or circuit breaker restricts the current flow from the power tap to the cables within 8 A 4 Provides terminals for grounding the network Power tap Signal on Signal LCAN_L DeviceNet Shield Drain cables J gt Trunk cable Protective Protective cir uit circuit V Shot key diode Grounding terminal V V Network power supply unit The maximum cable length from a power supply unit to the power tap is 3 meters Figure 3 9 Power Tap Configuration The following power tap products specified in the DeviceNet are available Model name 1485T P2T5 T5 PowerTap Rockwell Automation 48 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 5 2 How to Configure Network Power Units This section describes selecting and d
119. k power Failing to do so will cause the entire network communications to stop and one of the nodes become busoff state Switch OFF the T2 T2E T2N side power at last after the DN211 begins communication This helps the master device DN211 to be recognized from the network and prevents slave devices from malfunctioning 56 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 6 The Network Components This section explains the network components of the DeviceNet other than the master slave devices Figure 3 17 Since peripheral devices are recommended on the following pages which are available in the commercial market buy some of them when you need Node Multiport tap Tap Torna Nod Trunk line sm g Tap cc Terminal Node rasistar Tap Multiport tap Node Ai Node Drop line Node Noge P Node Node Node Node Figure 3 17 Example of DeviceNet Network Configuration 57 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 Thick Cable for trunk line Manufacturer Rockwell Automation item name 1 m with connectors 2 m with connectors 3 m with connectors 5 m with connectors 10 m with connectors 50 m with no connector 150 m with no connectors 300 m with no connectors Catalog No 1485C P1N5 M5 1485C P2N5 M5 1485C P3N5 M5
120. l node and slave device parameter setting request 106 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 OV D01 0000 D0101 00000 MOV D0102 OV D0103 0001 D0104 00010 MOV D0105 OV D0106 0001 D0107 00100 MOV D0108 0820 MOV RW100 0009 RW101 D0100 WRITE RW100 gt H0001 SET R0121 Writes in the request area Local node parameter setting request 00001 MOV D0090 01021 MOV RW102 00001 MOV RW103 D0090 WRITE RW102 gt H0001 SET RO122 RST R0121 Writes 1 in the request flag register 00256 MOV D0091 aae Te 2 01023 MOV RW104 00001 MOV RW105 D0091 WRITE RW104 gt H0001 SET RO123 RST RO122 Writes 256 in the request register 01020 MOV RW106 00001 MOV RW107 H0001 READ RW106 gt D0092 aa lt Reads the acknowledgement flag register 92 00001 SET R0124 RST R0123 0720 MOV RW108 00002 MOV RW109 01 READ RW108 gt D0300 D0301 D0300 DMOV D0506eD0505 Reads the acknowledgement area completion status 00 00018 D0301 00001 SET R0125 RST R0124 00000 MOV D0094 01020 MOV RW106 00001 MOV RW107 D0094 WRITE RW106 gt H0001 RST RO125 SET R0126 Writes 0 in the acknowledgement flag regist
121. lded mini connectors 2 drop lines from the trunk line 4 drop lines from the trunk line 8 drop lines from the trunk line The trunk line cable and drop line cable connected with a DeviceBox Tap are open type and discrete Remarks Tap power capacity for the trunk line 7 5A The trunk line connected with a PowerTap with overcurrent protection uses a discrete open type connector no shielded mini connector Terminates the trunk line These are used for a Thick Cable with mini connectors or T Port Tap Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 How to Handle Your DN211 software This chapter describes the subjects necessary for using various functions of the DN211 in ladder programs for the T2 T2E T2N More specifically the following subjects are explained in this chapter e Configuration and functions of the DN211 communication memory seeing from the T2 T2E T2N e Functions and usage of various request instructions for operating the DN211 e DN211 s response code to various request instructions completion status Based on the subjects discussed in this chapter Chapter 5 describes the procedures in the DN211 for setting parameters activating transmission inputting outputting data with slave devices and reading RAS information including event history and introduces sample programs Chapter 4 describes the subjects necessary for us
122. left side figure below has the upper and lower rows with holes for cables so that the DN211 can be connected in the middle of the network daisy chain Meanwhile the connector at the right side figure below has a row with holes for cables so that the DN211 can be connected at the network end Select either of the connectors after discussing the point you are going to connect your DN211 in the network Hole to insert a cable Phoenix Contact Phoenix Contact TMSTBP2 5 5 STF 5 08 AB GY AU MSTBP2 5 5 STF 5 08 AB GY AU SO Figure 3 5 Network Side Connectors Attached to the DN211 poe ic ees Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 4 1 Connecting DeviceNet Cables to Network Side Connector 1 Preparing DeviceNet Cables Use an open type cable end 2 power cables 2 signal cables and 1 drain cable in discrete state for DeviceNet cables which will be connected with the network side connector of the DN211 Or purchase such an open type cable end in the commercial market Color of cable coating Description Black Power cable V Blue Signal cable CAN_L E Shield Drain White Signal cable CAN_H Red Power cable V 5 to 7 mm Approx 30 mm Figure 3 6 Processing of the DeviceNet Cable End 2 Connecting DevicNet cables to the network side connector This section describes how to connect DeviceNet cables to network side connectors by usin
123. ling by the scan iat 033EH BS reception size byte unit 033FH PL reception size byte 0340H Fixed at 0 0341H PL transmitting size byte 0342H Fixed at 0 0343H Major revision 1 0344H Minor revision 4 0345H Fixed at 0 0346H Fixed at 0 0347H Fixed at 0 0348H Node address 6 0349H 0001H Vendor ID 1 ea 034AH Product type 12 unit 034BH Product code 1 034CH Scan type polling 034DH Polling by the Scan Acknowledgement area Register allocation 02D0H Parameter setting request code Do300 02D1H ees Completion statue Dooa O Dosto Don Semaphore register Register allocation 03FDH Request flag register Doo90 03FFH Request register Doon O 03FCH ye flag register Doos 03FCH Acknowledgement flag register write Doog4 O 105 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Work register Register allocation Request area address store Request data length store Request flag register address store Request flag register length store Request register address store Request register length store Acknowledgement flag register address store Acknowledgement flag register length store Acknowledgement area address store Acknowledgement data length store RAS information read address store RAS information read data length store R0012 in the sample program on the following page indicates the startup relay for the loca
124. mmendation Loosen the cable fixing screw on the connector before inserting cables into the network side connector The cable cannot be fixed when the screws are kept tightened Colors corresponding to cable colors are printed by the device side connector of the DN211 Match the cable colors with the printed colors to have correct wiring The DN211 and the DN311 DeviceNet module for the T3 T3H have different directions for attaching the network side connector DeviceNet cables power tap and device tap connecting the trunk line with drop lines are necessary when constructing a system using a DeviceNet Refer to 3 6 The Network Components for detail Some of the network components must be prepared by the user When you use the network side connector that has the upper and lower rows with holes for cables at the left side Figure 3 5 the connector protrudes from the left side DN211 about 5mm When you attach or detach the left side module of DN211 you must detach the connector from DN211 eee y ees Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 5 The Network Power Grounding In the DeviceNet the power for communication 24 Vdc is supplied from the power cables V V for the DeviceNet cables via the network side connector This section describes how to supply the network power to the DeviceNet cables and how to configure network power un
125. mple in Figure 1 8 indicates the DN211 is polling sensors inputting sensor input information and trying to send output control data to the actuator How to write polling output data to the DN211 from the T2 T2E T2N is found in 5 Communication with Slave Devices T2 T2E T2N NA Node Address Master Node identification number that individual DeviceNet devices have in the DeviceNet network The values DN211 range from 0 to 63 in decimal scale NA 1 In the DeviceNet network the node addresses of the devices must be unique and different from each other Slave 1 Slave 3 Slave 5 Proximity sensor Optoelectronic sensor Actuator NA 19 NA 22 NA 52 gt Polling instruction gt Polling response Figure 1 8 Example of Polling Instruction Response Mode 2 The Polling Response A slave device which received a polling instruction transmits an arbitrary size of response data to the master device The content of response data varies depending on the specification of the slave device The mechanism the T2 T2E T2N reads polling response data from the DN211 is explained in 5 Communication with Slave Devices 28 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 4 2 The Bit Strobe Instruction Response Mode The bit strobe instruction response mode is used for exchanging a small size of data between the master device 4 slave de
126. n status read to D1665 is stored The station status will be stored in D1665 by turning ON R0000 4 How to Use the WRITE Instruction 00256 MOV D0091 Prepares write data 01023 MOV RW104 00001 MOV RW105 Specifies a write destination and the number of words to write D0091 WRITE RW104 gt HOOO1 RST R0112 Executes the WRITE instruction and clears R0112 after the execution Description of the WRITE instruction H0001 Specifies the Module High order 2 digits specifies a unit Low order 2 digits specifies a slot Fo H O OQ O gt 1 speciies slot 1 in the basic unit SS Basic unit Slot 1 forsitio HOOOA RW104 specifies a write destination In this case request register 1023 D3FFH is specified RW105 specifies the number of words to write 1 D0091 specifies the register that stores data to write in the request register In this case data 256 0100H is stored in D0091 Data 256 in D0091 will be written in the request register by turning ON R0112 100 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 2 Configuration of a Module Setting Sample Program The figure below is the configuration of a module setting sample program Bit strobe mode slave device Photoelectric switch Installed in slot 1 NA 8 Photoelectric switch Bm
127. nes mm voltage and current Over 100 A 100 A or less 50 A orless 10 Aor less Over 440 V 440 V or less 220 V or less 110 V or less 60 V or less 153 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 It is recommended to use a metal cable duct with lid or a protective pipe made from steel in consideration of noise proof nature The following table shows electric power lines in parallel wiring and a recommended minimum distance table Table 8 3 Recommended Minimum Distance metal duct with lid and metal piping work in mm Cable Installation Duct with lid or protective steel piping Parallel distance 10 mor 25 mor 100 mor 200mor 500mor 501 mor less less less less less more 125 V and 10A or less 100 200 250 250 V and 50A or less 10 200 250 250 400 V and 100A or less 50 250 250 250 500 V and 200A or less 100 250 250 250 Exceding the above 500 or more lt Microcomputer Applied Measuring Instrument Installation Guideline gt By Japan Electrical Measurement Equipment Industry Association Q re oO D z a 2 O i Place a separator steel in the cable duct as shown below to separate from electric power lines n a a ec hoe Separator Erectie power cable Instrumentation power line Electromagnetic valve Transmission cable operation signal line etc Figure 8 1 Example of Installati
128. ng STBY 08 Composition data end Parameter setting Completion status flag 138 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 To Sean type Request device Scantypes Sid SSCS 139 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Table 6 8 Event Trace Items 2 Event Detailed Detailed Detailed Detailed Description Code Information 1 H Information 2 H Information 3 H Information 4 H 0300H MBX ID Event ID Server node Client node MBX transmission address address abnormal 0401H Node address Reception vendor Reception vendor ID ID abnormal 0402H Node address Reception project Project type 0403H Node address Reception project Project code 0404H Node address Reception data Data length length abnormal 0405H Node address Data length Reception data length abnormal 0406H Error code Node address Reception node Duplicated node address address reception 0407H Error code Duplicated node address abnormal 0408H Node address Strobe deletion aa ee coe eee ee FFFFH Pre station status Station status Detailed code System down 140 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 3 3 Execution Node Information When you specify 3 for request informa
129. ng to keep the system in normal condition If your DN211 does not operate normally refer to 7 Troubleshooting to identify the cause of the trouble Contact a Toshiba s branch office or dealer or service agency for returning your DN211 for repair when failed Operation and safety of your DN211 can be guaranteed only when repaired by Toshiba or a Toshiba s authorized service agency Neither try to disassemble nor modify the hardware of the module Similarly don t modify the software by any means Failing to do so could cause fire electric shock and or injury due to failure or malfunctioning Make sure you are safe when measuring the voltage on the connector of the module Failing to do so could cause electric shock Stop the network and turn OFF the T2 T2E T2N side power before replacing the module Failing to do so could cause electric shock malfunction and or failure Don t use your DN211 in abnormal condition such as smoking or nasty smelling Failing to do so could cause fire electric shock and or failure If such an abnormal condition happens turn OFF all the power supplies immediately and contact a Toshiba branch office or dealer or authorized service agency Since it is very dangerous don t engage yourself in modifying or repairing your DN211 by any means Appendix maintenance E G ee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364
130. ntenance and Inspection 6F3B0364 Perform periodical inspection once for every six months or so Also perform inspection when the surroundings or environment is changed Table 1 Periodical Inspection Items Check item Check content Judgment standard Measure when abnormal Power etc T2 side Pe power Measure the voltage on power terminal Is a power screw loose Must be within the limits specified within Keep the input voltage the limits specified terminal Not loose Turn OFF the power to tighten the loose screw Is a wired cable Not damaged Turn OFF the power to damaged wire the cable again Attachment state Is the module fixed Not loose not saccadic Tighten the screwdriver firmly Is the network cable fixed with the network side connector Connecting network cables Is the connection cable is nearly broken Is the network side connector completely inserted into the module side Wiring transmission cables see 8 4 Network Installation Is the trunk drops cable not damaged Is a cable not wired near the power cable etc Check whether the temperature humidity vibration dust etc are within the specification Surrondings No loose cable fixing No appearance abnormal No loose module side connector No damage No power line near the cable Within general specification 156 Loose the cable fixing screws and tighten them a
131. nvironment when you are installing the control board containing your DN211 Read the instructions relating to the base unit mounting specified in the T2 User s Manual T2E User s Manual T2N User s Manual before you mount the base unit Apply the environment specified in the User s Manual of the T2 T2E T2N When using your DN211 in the environment other than specified the DN211 can cause electric shock fire failure and or malfunction Mount your DN211 in the way specified in the User s Manual of the T2 T2E T2N If mounted in the direction other than specified or if mounted incorrectly the DN211 could fall off or cause fire failure and or malfunction 8 2 Mounting Removing the Module Follow the instructions specified in Mounting the Module of the T2 User s Manual T2E User s Manual and T2N User s Manual when you are mounting removing the module Since the DN211 is designed for the T2 series be sure to attach it to the base unit Don t use your DN211 in stand alone state or to other applications Failing to do so could cause electric shock injury and or failure Be sure to turn OFF the power before mounting removing wiring or un wiring the DN211 Failing to do so can cause electric shock malfunction and or failure Keep your DN211 free from foreign matter such as electric wire waste Failing to do so could cause fire failure and or malfunction Check the connectors and cables and the DN211 m
132. o ctiautomation net TOSHIBA 6F3B0364 5 The Node Error Counter O2BFH to 02C5H 7 words The CAN controller used in the DN211 has a function of notifying error state changes of the local station error state error active lt error passive lt busoff based on the number of transmission errors occurring The CAN controller also has a function of notifying the DN211 of overrun error if the DN211 fails to take the data sent from slave devices The DN211 maintains the current error state and a history of error state changes since communication was activated This register indicates a history of error state changes since communication was activated and the total number of transmission times and reception times Table 4 6 Node Error Counter Configuration Current error state Error code hexadecimal scale yy eee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 Slave Device Configuration Information 029FH O2BEH 32 words This area indicates scan type information for slave devices which is set in the DN211 stored in the non volatile memory Table 4 7 Slave Device Configuration Information p Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 7 The Number of Total Devices 029EH 1 word Indicates the number of the slave devices operable on the network
133. ode Yes Does the DN211 start up normally No Replace the module when combined with other Read the down information and pack it with T2 T2E T2N the module to send to TOSHIBA Yes Replace T2 T2E T2N END 2 When Encountering Down Mode While Communicating with Slave Devices Countermeasure Replace the modules Record the down information before replacing the module as noted on the module front Send the downed module and down information to TOSHIBA 143 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 7 2 Reset Request scan list clear 1 The module Becomes Down Mode After Issuing a Reset Request Stop read write input output data in reset request Does the down code indicate other than F5H Yes Replace the module Read the down information and pack it with the module to send to TOSHIBA 2 The Module Doesn t Return to Standby Mode When Requesting Reset with Scan List Clear When scan list clear is specified and when the scan list is unassigned the reset request takes about 9 seconds When it takes a longer time reset the power If it takes 9 seconds or more after resetting the power replace the module 144 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 7 3 When the Module Doesn t Become Run Mode This sect
134. ode 5 Examples of DN211 Applications as et Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Action when your DN211 is reset Neither issue a request from the T2 T2E T2N to DN211 while the DN211 is being reset nor execute data input output Otherwise the instruction requested will be completed abnormal error of station mode abnormal or the module self check will fail turning into down mode 4 6 2 Reset Request e Setting slave device parameters The parameter setting request slave device sets the parameters of slave devices on to the non volatile memory in the DN211 As long as the slave devices configuration is unchanged you don t need to execute this request every time when the power is switched ON In addition when the parameters of the slave device requested and the parameters of the slave device in the non volatile memory are same this setting request is not executed When the slave devices configuration needs to be changed delete the salve devices parameters using a reset request before setting new slave devices parameters The number of times available for setting slave devices parameters in the non volatile memory of the DN211 is 300 times The DN211 has the following restriction for transmitting 0 byte to a slave device from the DN211 e When a slave device comes into no communication state
135. odule Setting Sample Program c eeeseeeeeeeeeees 96 5 2 SIRESCLIRC GUEST erei ar coi iweecendteceebe e AER 97 5 2 4 Parameter Setting Request local node cee eeeeeeeeeeeeeeeeeeeeeeeeeeeeaneeees 99 5 2 5 Parameter Setting Request Slave device 2 0 0 ce eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 100 5 2 6 Operation Mode Control REqQuest ccceeeeeeceeeeeeeeeeeeeeeeeaeeeeeeeaeeeeeenees 106 5 2 7 RAS Information Raai eneen E E A EEA RS 111 5 2 8 Time Setting ReguUoSi aeie aeee eE AE ANA ARa E EE AR S 114 5 3 Slave Data Input Output 2 ee eeee eee ee eee e ee ee ee ee ee eeeeeeeeeeseeeeeeeseeeeeeeeeseeeeeeeeeeeeeeees 116 5 3 1 Slave Device Check orron nrerin en ERREI ERAK TENO ENCUEI EER 116 5 3 2 Asynchronous Mode Data Input OUutput cece eeeeeeeeeeeeeeeeeeeeeeeeeeenees 117 5 3 3 Synchronous Mode Data Input Output ee eee e ee eeee cece ee eeeeeeeeeeeeeeenees 122 6 RAS Information except RAS area on communication memory 129 6 1 Module Status Network Status LED MS NS ceeeeceeeeeeeeeeeeeeeeeeeeeeeeeenes 130 6 2 Indications of the 7 Segment LED secccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 131 6 3 RAS Information Reading Data cccceeeeseeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeseeeeeeeeeeeeeees 133 6 321 TheRAS COUNTE ai en eke Roh ceedheh tithendcelaie gs Tita EE 133 653 2 Event HISTORY sive coe ay ace ee ceca AR E Bee actus AN A ERN 136 6 3 3 Exec
136. omation net TOSHIBA 6F3B0364 2 How to Know the Optimal Arrangement of Network Power Units Use the following procedure to know optimal arrangement of network power units a Obtain the sum of the network currents consumed by individual nodes on the network For the nodes which use the network power to operate uses the sum of both currents b Measure the full length of the network c Based on the cable type thick cable thin cable used for the trunk line and the full length of the network obtained through procedure b get the maximum current value available on the cable by using Figure 3 10 and Figure 3 11 d When the sum of the currents consumed on the network procedure a is smaller than the maximum current available on the cable procedure c a network power unit installed at the network end can be used to supply the power to all nodes single power unit terminal connection e When the sum of the currents consumed on the network procedure a is larger than the maximum current available on the cable procedure c install a network power unit near the center of the network and examine whether it can supply the power to all nodes single power unit central connection f If the single power central connection is insufficient to supply the network power to all nodes install additional network power units Usage Recommendation 3 Use a network power whose capacity is much larger than the total current consumption n
137. on 02D0H 0013H Operation mode control request code D0300 D 02D1H Eo Completion status D0301 Semaphore register Register allocation 03FDH Request flag register 03FFH Request register 03FCH Acknowledgement flag register read 03FCH Acknowledgement flag register write RAS information Register allocation 010BH D1000 Input output data setting information aaa 028AH D01383 Station status D1665 Work register Register allocation Request area address store Request data length store Request flag register address store Request flag register length store Request register address store Request register length store Acknowledgement flag register address store Acknowledgement flag register length store Acknowledgement area address store Acknowledgment data length store RAS information reading address store RAS information reading data length store Input output data setting information address store 02CEH Input output data setting information data length store 111 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Allocations of the slave device data in the input output data area input output data setting information are read onto D1000 D1383 Based on this information Obtain parameters for reading and writing input output data area using the READ WRITE instructions Node Address 20 22 BS Bit Strobe Tabl
138. on in the Duct Use a separator to install cables in the pit as in the duct Separator steel made Signal cable Power cable x Grounding class 3 grounding Figure 8 2 Example of Installation in the Pit 154 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 Installation Routes The following route order is recommended to install transmission cables Using the leased route Using the computer system leased route Using the general instrumentation route Using the leased route for plant control 8 4 2 Installation Gists Inside the Control Board Abide by the following points when installing the DeviceNet cable in the Control board 1 Wiring route Use the weak signal route in the Control board when wiring DeviceNet cables In particular keep these cables 50 cm away from the power cable 2 Fixing the Cables Use clamps to bear the weight of the cable so that the connector doesn t bear it Don t bend the cable in circle smaller the minimum bending radius 3 Ask the manufacturer for the bending radius of the cable and other physical characteristic values 4 Don t install cables at a place that has a high temperature humid environment dust or oil mist 155 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Appendix 1 TOSHIBA lt Periodical Inspection gt Mai
139. op the network and turn OFF the T2 T2E T2N side power before replacing the module Failing to do so could cause electric shock malfunction and or failure Don t use your DN211 in abnormal condition such as smoking or nasty smelling Failing to do so could cause fire electric shock and or failure If such an abnormal condition happens turn OFF all the power supplies immediately and contact a Toshiba branch office or dealer or authorized service agency Since it is very dangerous don t engage yourself in modifying or repairing your DN211 by any means 157 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Appendix 2 READ WRITE Instruction Execution Time The READ and WRITE instructions have different execution times depending on the T2 T2E T2N 1 wm For the T2 basic extension base unit e READ instruction Instruction execution time us 720 us 9 0 us word x N word e WRITE instruction Instruction execution time us 721 us 15 0 us word x N word 2 For the T2E T2N basic extension base unit wa e READ instruction Instruction execution time us 430 Us 5 6 us word x N word e WRITE instruction Instruction execution time us 127 us 10 6 us word x N word 158 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364
140. ot responded to the DN211 No response for ON The figure in frames in Table 5 2 represent the node address of a slave device Table 5 2 Polling No response Slave Devices F E D C B A 9 8 7 6 5 4 3 2 1 0 worn is 1 e e u ole el 7 s s a 2 o ozseHl 21 0 29 28 27 26 25 e 28 22 a 20 9 ne 7 16 azoot a7 46 45 46 ao 2 ar 0 99 30 a7 a6 05 24 oa 92 czons 03 62 61 60 so se 57 s6 55 54 58 52 51 50 a0 a8 e Bit strobe no responded device map Indicates per bit per device the number of the slave devices not responded to the DN211 No response for ON The figure in frames in Table 5 3 represents the node address of a slave device Table 5 3 Bit Strobe No response Slave Devices F E D C B A 9 8 7 6 5 4 3 2 1 0 ozasH 15 14 13 fief 11 tol el 7 els is 2 i o 0294H caosn a7 48 as aa aa 42 a eo Loo 20 or as as Lee a 121 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 aa oe oi oo se ss or 56 ss oo lo 122 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 3 2 Asynchronous Mode Data Input Output When outputting Output data to slave devices will be written in the output data area of the DN211 from the T2 T2E T2N The DN211 transmits ou
141. ount in the base unit for their firm connection and mount using stoppers screws Loose connection and mounting becomes shaky and easily disconnected resulting in failure or malfunction 150 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 8 3 Power Unit Wiring Grounding 8 3 1 Power Unit Wiring 1 T2 T2E T2N Side Power Unit Wiring Follow the instructions in Power Unit Wiring of the T2 User s Manual T2E T2N when wiring them 2 Network Power Unit Wiring Refer to 3 5 Network Power Grounding in this instruction manual 8 3 2 Grounding 1 T2 T2E T2N Side Ground Wiring Follow the instructions in Grounding and Installation Method in T2 User s Manual T2E T2N when wiring 2 Ground Wiring of the Network Power Unit Refer to 3 5 Network Power Unit Grounding in this manual Be sure to turn OFF the power before wiring cables Failing to do so could cause electric shock Use crimp on connectors with sheath or cover the conducting part with tape when wiring your T2 T2E T2N power module Also handle the terminal block cover correctly to avoid fall off and damage when fixing Be sure to fix the cover on the terminal block when completing the wiring If the conducting part is exposed you can have electric shock Be sure to have grounding When not grounded electric shock and or malfunction can occur Make sure the wiring is
142. pecification and for conformable products introduction The DN211 functioning as the master parent station device on a DeviceNet performs data input output between the master device and the DeviceNet slave child station devices which are developed by different makers vendors in and outside Japan and conform with the DeviceNet to interface such slave devices with the T2 T2E T2N 2 Input Output Data Size Number of Slave Devices communication Rate and Network Length A DN211 allows a DeviceNet to have one network to be connected The sizes of inputting and outputting data allowed between a DN211 and slave devices are 128 words for input and 128 words for output one word 16 points Input data and output data so far as each of them is within 128 words in total can be exchanged data with up to 63 slave devices Since the amount of data outputted to a slave device and the amount of data inputted from a slave device vary depending on the slave device check the slave device specification of data size The definition of input data and output data dealt in this book is shown in the following figures Output data T2 T2E T2N gt DN211 Slave device Input data T2 T2E T2N DN211 lt Slave device Figure 1 1 Definition of Output Data and Input Data Three types of communication rates namely 500 kbps 250 kbps and 125 kbps are available The maximum network length varies depending on the communication rate 100 m for
143. point grounding class 3 grounding for control device only for the network grounding If more than one point are grounded the ground can loop Conversely the network without being grounded is likely to malfunction due to external noises Use the power tap as the point for 1 point grounding Connect the ground terminal of the power tap with the FG terminal of the power unit before applying class 3 grounding for control device only as shown in Figure 3 16 Install a power tap near the center of the network and ground from it When more than one power units are used in the network apply grounding to a power tap near the center of the network Use a grounding line with a maximum of 3 meters 8AWG power line Power tap Power tap Grounding Grounding V V4 terminal V V terminal FG V V FG V V Power supply Power supply unit unit Power tap grounded Power tap not grounded Figure 3 16 How to Install Your Network 55 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 5 5 Procedure for Switching ON Shutting OFF the Power This section describes the order of switching on the slave devices power the network power and the T2 T2E T2N side power before starting up the DN211 Check all device wiring and settings are completed before switching ON in the following order 1 When Starting up the System a The network power b The slave device power c
144. r Unit Central Connection a Sum of current consumption in section 1 0 1A 0 25A 0 2A 0 55A a Sum of current consumption in section 2 0 15A 0 25A 0 15A 0 55A b Total length extended in section 1 Total length extended in Section 2 120 m c Maximum current available on the cable based on Figure 3 10 approx 2 56 A Obtain the approximate value between 100 to 150 meter straight cable d Since the sum of current consumption lt maximum current a single power unit central connection can supply the power to all nodes e Install a network power unit with a rated current of 1 1A or more Select one with ample current in considering usage conditions When the current consumption by the section exceeds the maximum current available for the cable in single power unit central connection take measures in the table below Figure 3 14 indicates an example of an overloaded single power unit central connection Cable section where the currentis applied Only one of the two section Move a node in the overloaded section to the other section Move the power tap closer to the section overloaded Both sections Use two power taps 3h Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Section 1 Section 2 120m 120m 0 25A 0 85A Network power supply unit Figure 3 14 Example of Overloaded Single Power Unit Central Connection
145. range within 0 to 99 When a value within 64 to 99 is set however a Node Address Setting Abnormal error occurs with the DN211 when the T2 T2E T2N power is switched ON To clear the error set the correct node address and issue a reset request or switch OFF and ON the power In the DeviceNet each of the node address values in the network must be unique When the DN211 s node address duplicates with another node address a Node Address Duplicated error occurs with the DN211 when it turns run status To clear the error allocate the correct node address and issue a reset request or switch OFF and ON the power DN211 board NA H NA L Front panel Factory setting 0 Figure 3 3 Rotary Switch for Node Address Setting When you set a value within 64 to 99 to the node address of your DN211 and turn ON the power of your T2 T2E T2N Node Address Setting Failed will appear with the following indications e The MS LED is blinking red e F6 and the local station node address are being displayed alternately on the 7 segment LED To clear these indications set the correct value to the node address and issue a reset request or turn OFF and ON the power If your DN211 node address has the same value with another node and when the DN211 comes into run state Node Address Duplicated will appear with the following indications e The MS LED is lighting red and or the NS LED is lighting red e 70 and the local station no
146. re busoff BUSOFF remains OFF when the DN211 has occurring followed by BUSOFF control of restarting transmission When busoff occurs the DIP switch of the DN211 STBY 2004H BUSOFF remains ON changing to standby mode BUSOFF when busoff occurring An overlapped node address is detected when STBY 2002H starting transmission DPADR While transmitting with a slave device in a mode The bits from f to 69 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 Down Information O2CDH 1 word This register stores the cause of becoming the down mode when the DN211 turns down mode When this happens some of the following down codes are displayed in the 7 segment LED on the front panel Table 4 4 Down Information Down information Cause of down mode occurred hex OH RAM s read write error occurred on DN211 startup F5H Read Write error occurred for the DN211 communication memory on DN211 startup DN211 node address setting abnormal DN211 network communication rate setting abnormal Configuration data EEPROM read error occurred 3 Polling Bit Strobe Scan Cycle 02C8H O2CCH 5 words This area stores the DN211 s scan time in milliseconds for the polling mode or bit strobe mode transmission When in asynchronous mode The scan cycle means the time that the DN211 starts carrying out data input output with all slave devices un
147. re will solve those restrictions Table 4 15 Slave Device Parameters San type Specifies the transmission system of a slave device 0 Bit strobe 1 Pollin No value other than 0 1 or 2 can be A specified reserved 2 2 Bit strobe and polling Poll background polling Specifies an access interval that the DN211 can have to a device 00 Scan polling accessing for every scan 01 Background polling accessing by the number of scan times specified by the poll ratio 9 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 Other e It takes about 4 seconds to set the parameters of a slave device to the non volatile storage of the DN211 e While slave device parameters are being set the local node address is blinking on the 7 segment LED The parameter setting request slave device sets the parameters of slave devices on to the non volatile memory in the DN211 As long as the slave devices configuration is unchanged you don t need to execute this request every time when the power is switched ON In addition when the parameters of the slave device requested and the parameters of the slave device in the non volatile memory are same this setting request is not executed When the slave devices configuration needs to be changed delete the salve devices parameters using a reset request before setting new slave devices parameters The
148. register e DN211 side operation The DN211 monitors this register in the scan interval wait time cycle specified from the T2 T2E T2N When detecting 1 is set to this register the DN211 outputs output data in the polling output data area to slave devices When the output is completed 0 is set to the register The scan interval wait time is explained in 4 6 3 Parameter Setting Request local node 3 Bit Strobe Output Data Semaphore Register 0104H 1 word This semaphore register is used when outputting bit strobe data to the DN211 from the T2 T2E T2N effective only for synchronous transmission mode e T2 T2E T2N ladder program operation The ladder program writes data to be outputted to slave devices in the bit strobe mode into the bit strobe output data area before writing 1 into this register and then instructs the DN211 to start output Write the value 1 only in this semaphore register e DN211 side operation The DN211 monitors this register in the scan interval wait time cycle specified from the T2 T2E T2N When detecting 1 is set to this register the DN211 outputs output data in the bit strobe output data area to slave devices When the output is completed 0 is set to the register The scan interval wait time is explained in 4 6 3 Parameter Setting Request local node 64 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIB
149. rent of 4 2A or more Select one with ample current in considering usage conditions 5 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 5 3 The Network Power Unit 24 Vdc The network power unit is not attached to the DN211 you have to buy such a unit in the commercial market Your network power unit must conform with the following specifications tem Specification O O Effects by the ambient temperature Input Voltage 120V 10 230V 10 if necessary or Automatic changeover within 95 to 250V Input frequency 47 to 62 Hz Output ripple 250 mVp p Output side capacity Max 7000 uF Ambient temperature During operation 0 to 66 C When stored 40 to 85 C Rated output derating at 60 C is allowed Yes Max current 125 250 ms by the 5 value of the max output voltage Insulation Between output AC power unit between output case grounding Conformity Required UL Recommended FCC Class B CSA TUV VDE Ambiant humidity 20 to 90 no dew Surge current capacity 10 of reserve capacity Usage Recommendation 1 Use a network power whose capacity is much larger than the total current consumption necessary for the network 54 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 5 4 The Network Grounding For the DeviceNet use 1
150. s 6 Node address 8 Node address 20 Node address 22 Node address 1 Node address 6 Node address 20 Number of polling devices Number of bit strobe devices Number of online devices Number of total devices Bit strobe no responded device Polling no responded device Station status 123 6F3B0364 Register allocation Register allocation Register allocation Register allocation D1665 TOSHIBA 6F3B0364 Semaphore register Register allocation 0104H BS output data semaphore 0105H Output data semaphore 0106H Input data semaphore read 0106H Input data semaphore write Work register Bit strobe output data semaphore address store Bit strobe output data semaphore data length store Output data semaphore address store Output data semaphore data length store Input data semaphore address store Input data semaphore data length store RAS information read address store RAS information read data length store Storing request mode for operation mode control request D1690 Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words Polling input data top address Number of polling input data words Polling output data top address Number of polling output data words BS input data top address Number of BS input data words Polling input data top address Number of polling input data words Polling output data
151. s Unauthorized applications can cause electric shock bodily injury and or mechanical malfunction Be sure to turn OFF the power on the T2 side and network side before attaching or detaching the DN211 and or the terminal block Failing to do so will cause electric shock malfunction and or failure Keep the DN211 free from foreign matter such as electric wire waste Failing to do so could cause fire failure and or malfunction Check the connectors cables and base unit of the DN211 for their firm connection and mounting using stoppers and screws Note loose connection or mounting can be shaky or easily disconnected off resulting in failure or malfunction of the DN211 3 3 Mounting in the Base Unit pe eee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued e Connection with the network Don t engage in attaching or detaching the DeviceNet cable with the network side connector during network operation Failing to do so can cause reverse connection or short circuit of the network power resulting in no communication with other nodes When you connect the DeviceNet cable with the network side connector be sure not to make the wrong connection Failing to do so can cause short circuit of the network power resulting in no communication with other nodes Neither attach nor detach the network side connector with the device s
152. s 16 units The maximum number of the DN211 units available on your system varies depending on the number of non DN211 modules mounted 33 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 Instruction execution time when accessing the DN211 from the T2 T2E T2N When outputting data to slave devices from the T2 T2E T2N through the DN211 the WRITE instruction writes the output data in the DN211 from the T2 T2E T2N When inputting data from slave devices through the DN211 the READ instruction reads from the DN211 Table 1 6 lists the instruction execution times of the T2 T2E T2N The DN211 has 128 words for the output data area area where output data to slave devices are stored and 128 words for the input data area area where input data from slave devices are stored Table 1 7 lists the execution times for the WRITE READ instructions by the T2 T2E T2N when accessing 128 words When input output data with slave devices is smaller than 128 words the instruction execution time becomes shorter Conversely when accessing the output data area input data area several times the sum of instruction execution times increases depending on the number of accessed times the output data area input data area is explained in 4 2 The Input Output Data Area Table 1 6 READ WRITE Instruction Execution Time ps READ instruction 720 9 0 xN 430 5 6 x N WR
153. s along the wall to avoid cable damage or under the floor where an electromagnetic interference device is not installed Keep the standard separation distance for the cables when they are going to be wired in parallel or wired close or crossed with low voltage cables for the building Fix the cable on the wall in every 3 meter distance to protect them when you wire them on the wall or when you wire them vertically Don t bend cables in circle of a radius smaller than the minimum bending radius 3 Cautions in Piping Work Don t mix these cable with high voltage current cables in the same piping Keep the bending angle of piping within 90 degrees Keep the bending radius of piping 6 times or larger than the inner radius of piping keep the bending radius of piping larger than the minimum bending radius of the cables in the pipe Ground metal pipes 4 Separation from Other Wiring Keep the network cables 2 meters away from electric power lines and from those devices which generate magnetic fields and electric fields When you are wiring cables at a distance smaller than 2 meters refer to the following table to find a minimum permissible distance based on the actual voltage and current of the induction source Note however that the induction source must be kept at 440 V and 100 A or less to protect weak signals Table 8 2 Minimum Distance of Separation Recommended Induction source Minimum distance of parallel li
154. slave devices Be sure the network power is supplied to all the nodes being connected with the network The node to which no network power is supplied could cause communication obstacle to other nodes Make sure the power of all slave devices is switched ON before the DN211 begins communication When the DN211 begins communication while the power of a slave device is not switched ON the DN211 will display an error message of no response from that device While network communications are operating don t shut OFF the network power Failing to do so will cause the entire network communications to stop and one of the nodes become busoff state Switch OFF the T2 T2E T2N side power at last after the DN211 begins communications This helps the master device DN211 to be recognized from the network and prevents slave devices from malfunctioning 3 5 The Network Power Grounding EER ee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Safety Precautions continued Relating to the following sections e How to handle your DN211 software e Examples of DN211 applications e RAS information Z CAUTION 1 Chapter 4 describes the subjects necessary for using diverse functions of the DN211 from the T2 T2E T2N Chapter 5 describes based on the subjects explained in Chapter 4 setting the DN211 parameters activating transmission inputting outputting data wit
155. slave devices in normal operation and no wait time for response takes place e Only the slave devices which have three consecutive timeouts of no response will be delisted from the scan list When a slave device has two consecutive timeouts of no response but responds to the third polling the number of timeouts of no response is cleared e The DN211 periodically checks for the response from the slave devices delisted from the scan list if a delisted slave device responds the device is re registered in the scan list e When n units of slave devices results in no response at the same time the real scan cycle for three consecutive timeouts is expressed in the following formula Real scan cycle Real scan cycle in normal operation n units x 20 ms 88 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 e When a slave device in bit strobe mode results in no response The master device executes bit strobe requests disregarding the polling transmission mode selected it waits for the bit strobe response from a slave device for 20 ms after executing a request After the 20 ms of response wait time passes the next scan starts e As long as a no responding slave device is found the master device executes 20 ms of response wait time per scan e When ano responding slave device is found the real scan cycle is expressed in the following formula Real scan cycle
156. stalling into a noisy environment When installing be sure to furnish noise suppression measures as described in the following section 8 4 1 Installation Gists Outside the Control Board 1 Installation Environment and Application Construction Performs the cable installation work as shown in the following table depending on the environment Table 8 1 Installation Environment and Application Construction Environment for cable installation Work description Large classification Small classification Site that cables get damaged Installation work except piping Piping work Site that cables get damaged Place where people and things Piping work move Place subject to humidity Metal piping work chemicals oil heat etc Place where cables are subject Piping work to damage by rats and other animals Place subject to strong Metal piping work mechanical shock or pressure by heavy stuff Place subject to possible Cable separation and protection electromagnetic interference work Metal piping work Either metal pipes or hard vinyl pipes are good for piping work 152 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 Installation Work Without Piping Install a floor duct to protect cables or use wire protector cable covers Don t intermingle these cables with high voltage current cables when installing them Wire cable
157. t for the DN211 is displayed Operation mode check Check the operation mode of the module with station status Standby mode Yes l Local node parameter setting Set the parameters of the DN211 by using a parameter setting rdquest Slave device parameter setting When the scan list has Create a scan list by setting the parameters of slaveePn created setting is devices unhecessary DN211 abnormal Replace the module DN211 startup Specify the communication mode you want before activating communication using operation mode control request MS NS LED self check Establishing circuits with slave devices MS NS LED Green lighting 7 segment LED node address Figure 5 2 Module Setting Procedure 98 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 5 2 1 Accessing the DN211 in Module Setting This section describes how to access the DN211 in module setting The semaphore area of the DN211 is used for this accessing It is the area used for issuing requests from the T2 T2E T2N for operating the DN211 or reading the response to a request from the DN211 See 4 5 The Semaphore Area for details of individual areas and registers in the semaphore area 1 How to Use the Semaphore Area Figure 5 3 illustrates the usage of the areas and registers in the semaphore area The squares in oblique lines in the
158. tch to OFF Setting it to ON can get failed or malfunctioned When you set BUSOFF on the DIP switch to OFF transmission will restart automatically even when busoff occurs Unless the cause of the DN211 s_ busoff cause of communication error is solved however busoff may get repeated When you set both of communication rate DRO and DR1 to ON and turn on the power of the T2 T2E T2N Communication Rate Setting Failed will appear with the following indications e The MS LED is blinking red e F7 and the local station node address are being displayed alternately on the 7 segment LED To clear these indications set DRO and DR1 correctly and issue a reset request or turn OFF and ON the power Set the communication rates of your nodes being connected to the network to the same communication rate Setting different communication rates on your different nodes will cause slave devices or the DN211 to get malfunctioned resulting in no communication started Read the relevant manuals and descriptions to set the communication rate of your slave devices Don t change over the communication rates while your T2 T2E TA2N is rising just after the turning on power In particular never change the communication rate while communicating with slave devices Failing to do so will cause Communication Rate Setting Failed to appear To clear this indication set the DIP switch to the correct setting and issue a reset request or turn OFF and O
159. the data reception to the T2 T2E T2N Disregarding the timing of input data update by the DN211 the T2 T2E T2N reads input data T2 T2E T2N Data Update Cycle T2 T2E Output Input Output T2N data data data J L DN211 scan J L Output lutput Output Intput Outpu Intput Outpu DN211 processing processing processing processing processing processing processing vA vn vu ds Transfer of output data and input data between the T2 T2E T2N lt the DN211 and the transfer between the DN211 amp slave devices are asynchronous Transfer between the T2 T2E T2N lt the DN211 are synchronizes with the scan cycle by the T2 T2E T2N side while the transfer between the DN211 amp slave devices are synchronizes with the scan cycle in the DN211 Although data are secured by the byte 8 bits the sequence program is simplified for data transfer processing compared with the synchronous mode When the scan cycle by the DN211 side is shorter than the scan cycle by the T2 T2E T2N delay of data update time between the T2 T2E T2N lt slave devices becomes smaller The scan time by the DN211 varies depending on the number of slave devices being connected size of transmission data by the slave device and the performances of the slave device being connected 31 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 5 The DN211 Specification 1 5 1 The Function Specification
160. the slave device parameter in DN211A by using DeviceNet Wizard for TOSHIBA the user can freely allocate the slave device data to input output data area of DN211A C 3 The parameter registration by ladder program and the parameter registration by DeviceNet 160 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Wizard for TOSHIBA Registration by the ladder program and registration by DeviceNet Wizard for TOSHIBA must not exist together The example The node parameter is registerd by the ladder program and the slave device parameter is registerd by DeviceNet Wizard for TOSHIBA If registration by both is intermingled rewriting of the contents of registration etc occurs and there is a possibility that the allocation of slave device data to input output data area may become impossible D Problem in old model DN211 The following restriction which was in old model DN211 is solved in DN211A Using the polling mode slave device which transmission data size from master device is 0 bytes when that slave device fails to communicate with DN211 due to some reason power of that slave device side turned OFF connector removed etc DN211 cannot identify that slave device being malfunctioned Even after the cause of the failure is solved no communication between that slave device and DN211 can be resumed E DeviceNet Wizard for TOSHIBA DeviceNet Wizard
161. tiautomation net TOSHIBA 6F3B0364 1 5 2 Number of Mounting Modules This section describes the number of the DN211 units available on the T2 T2E T2N and the instruction execution time when accessing the DN211 from the T2 T2E T2N 1 Number of DN211 Units Available The number of the DN211 units available on the T2 T2E T2N system varies depending on the power capacity of the T2 power module and the current consumption of the entire T2 T2E T2N system Table 1 5 5Vdc Power Current consumption Power module PS261 5 Vdc power 2500 mA when no external 24 Vdc is used T2 CPU module PU224 5 Vdc current consumption 800 mA T2E CPU module PU234E with optional card 5 Vde current consumption 800 mA T2N CPU module PU245N with optional card 5 Vde current consumption 2000 mA DN211 5 Vdc current consumption 500 mA For the T2 T2E Number of mounting basic base units 2500 800 500 3 4 3 units Number of extended base units 2500 500 5 5 units The maximum configuration of the T2 and the T2E is equal to basic base unit x 1 unit extended base unit x 3 unit thus the number of mounting DN211 units available reaches 18 units For the T2N Number of mounting basic base units 2500 2000 500 1 1 unit Number of extended base units 2500 500 5 5 units The maximum configuration of the T2N is equal to basic base unit x 1 unit extended base unit x 3 unit thus the number of mounting DN211 units available reache
162. tiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 2 Communication with Slave Devices Aborted When the 7 segment LED indicates an abnormal code remove the cause of the trouble by referring to 6 2 Indications of the 7 Ssegment LED Checking objects DN211 Check the T2 T2E T2N side power supplies Check the connection of the network cables mis wiring disconnection Refer to 3 4 Connection with the Network Check the node address setting for node address duplicated Refer to 3 2 2 Rotary Switch for Node Address Setting Check the setting of the network communication rate for the same communication rate Refer to 3 2 1 DIP Switch for Setting Operation Mode Communication Rate Check the local node parameter setting and the scan list Refer to 4 6 3 Parameter Setting Request local node and 4 6 4 Parameter Setting Request slave device Check the slave devices for normal operation by referring to the slave device description Slave device Check the slave device main unit for the power Check the connection of the network cables mis wiring disconnection Check the node address settings for node address overlapped Check the network communication rates for the same communication rate Check setting items specific to individual slave devices Network Check the terminal resistor on both ends of the trunk cable 121 Check the maximum network length specified Refer to 1 2 2 Trunk Line
163. til starting the next input output e Only for the slave devices with the polling mode the scan cycle means the time from starting polling input output until starting the next polling input output e Only for the slave device with the bit strobe mode the scan cycle means the time from starting bit strobe input output until starting the next bit strobe input output e For the salve devices where the polling mode and bit strobe mode are intermingled the scan cycle means the time from starting bit strobe input output followed by performing polling input output until starting the next bit strobe input output When in synchronous mode The scan completion time means the time from the T2 T2E T2N s writing 1 in the bit strobe output data semaphore polling output data semaphore until the DN211 s writing 1 in the input data semaphore Table 4 5 Scan Cycle Configuration 0208H 02C9H 02CAH 02CBH 02CCH Synchronous mode Max scan cycle time value 4 Completion of module initialization 02C6H 1 word This register indicates the completion of initialization processing by switching ON the power or by requesting resetting 1 Completion of initialization Value other than 1 Under initialization ey i Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 ee ee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email inf
164. tion status with network and slave devices 3 The Input Output Data Area This area stores data to be exchanged between the DN211 and slave devices Output data from the T2 T2E T2N is written in this area while input data is read from this area This area also have the output and input semaphore registers used for synchronous communications between the DN211 and slave devices 6l Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 62 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 2 The Input Output Data Area This area stores data to be exchanged between the DN211 and slave devices Output data from the T2 T2E T2N is written in this area while input data is read from this area This area also have the output and input semaphore registers used for synchronous communications between the DN211 and slave devices The addresses in Figure 4 2 indicate the word addresses seen from the T2 T2E T2N 0000H Polling Bit strobe input data area 128 words 2048 bits 007FH 0080H Polling output data area 128 words 2048 bits OOFFH 0100H Bit strobe output data area 4 words 64 bits 0103H 0104H Bit strobe output data semaphore 1 word 0105H Polling output data semaphore 1 word 0106H Input data semaphore 1 word Figure 4 2 Input Output Data Area Configuration
165. tion type at RAS information read request the execution information of the slave devices module status 7 segment LED status can be read into the acknowledgement area Acknowledgement area 02D0H Request code 0015H 02D1H Completion status 02D2H Number of RAS information words 64 words 02D3H Execution node information 0312H 1 Module Status 02D3H 02F2H 32 words 02D3H 02F2H in the acknowledgement area are used for module status Module status indicates the operations in code that the DN211 is executing with slave devices and the network NA in Table 6 9 shows a node address Table 6 9 Module Status F 8 7 0 F 8 7 0 0203H 02E3H 02D4H 02E4H 02D5H 02E5H 02D6H 02E6H 02D7H 02E7H 02D8H 02E8H 0209H 02E9H 02DAH 02EAH 02DBH 02EBH 02DCH 02ECH 02DDH 02EDH 02DEH 02EEH 02DFH 02EFH 02E0H 02FOH 02E1H 02F1H 02E2H 02F2H Table 6 10 Module Status Code Module status code Description 0 00H Normal status 1 01H Not set to transmittable status enabled 2 02H No data flows onto the transmission path 3 03H Communication error occurred 4 04H The scan list differs from the actual slave composition 5 05H The network is encountering trouble 6 06H Abnormal network power is detected 9 09H Busoff is detected 10 OAH An Duplicated node address is detected 141 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B03
166. tput data written in its scan cycle to slave devices unrelated to the output data write timing by the male 2E T anus output data is updated the DN211 continues to transmit the same data When inputting The DN211 receives data from slave devices in polling response bit strobe response The DN211 updates data in the input data area when completing data reception from all slave devices The DN211 doesn t inform the T2 T2E T2N of the completion of receiving data The T2 T2E T2N reads input data regardless of the timing of input data updates by the DN211 T2 T2E T2N Data Update Cycle T2 T2E Output Input Output T2N data data data Jb DN211 scan lt gt Jb Output lutput Output Intput Output Intput Output DN211 processing processing processing processing processing processing processing Figure 5 4 Asynchronous Mode Data Input Output Input data area Register allocation 0000H D02100 0001H Node address 1 D02101 0002H D02102 0003H D02103 0004H Node address 6 D02104 0005H D02105 0006H Node address 8 D02106 0007H D02107 0008H Node address 20 D02108 0009H D02109 OO0AH Node address 22 D02110 Output data area Register allocation 0080H D1710 0081H Node address 1 DIZ 0082H D1712 0083H Node address 6 D1713 0084H D1714 0085H Node address 20 D1715 Bit strobe output data area Register allocation 0100H D1700 0101H D1701 0102H D1702 0103H D1703 123 Phone 800 894 0412 Fax 888 723 4773 Web www
167. tside the Board s ssssssssssssssrsrrrrrresssrnrrrrrreresrsrnrnt 150 8 4 2 Installation Gists Inside the Board sssssssssesriisesrrirserriserrrresrrrssrrens 153 Appendix Appendix 1 Maintenance and INSpection cccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeenaees 154 Appendix 2 READ WRITE Instruction Execution Time 000 eee 156 Appendics DN2UVA is sisi eea Sect aad Sates EEE ETTA I AAAA 157 18 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 Overview of the DeviceNet Module 1 1 Features and System Configuration Examples of the DeviceNet Module DN211 This section describes the features and system configuration examples of the DeviceNet module DN211 for the programmable controller PROSEC T2 series T2 T2E T2N The DN211 is an interface module for connecting the DeviceNet which is a device level network for FA to the PROSEC T2 series Hereafter the programmable controllers PROSEC T2 PROSEC T2E and PROSEC T2N are respectively called the T2 T2E and T2N Likewise the DeviceNet module for the T2 series is also called the DN211 1 Conformed with DeviceNet DeviceNet is a standardized device level network for factory automation FA developed by RockWell Automation Co in USA A nonprofit organization called ODVA Open DeviceNet Vendor Association is serving as the center for the maintenance extension of the DeviceNet s
168. uare frames indicates the operation mode of the DN211 The paa mode in thick squared frame is the one that the user program can control The thick arrowheads indicate the request that the user program can specify switch ON the power Self check completed successfully Reset request Run request Standby a Standby request b T2 T2E T2N RUN gt HALT c Busoff occurred For the case BUSOFF on DIP SW on front panel remains ON Self check completed unsuccessfully Reset request Reset request or switch ON the power Run transmission enabled Unrecoverable error occurred Figure 4 11 The DN211 Operation Modes Z CAUTION 1 If e T2 T2E T2N turns into HALT ERROR mode the DN211 in run mode becomes standby mode 84 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 2 Reset Request 1 The Function This request is used for resetting the DN211 from theT2 T2E T2N When receiving a reset request the DN211 executes initialization of the module This request also can delete the scan list parameters of the slave devices being linked to the network saved in the internal non volatile storage of the DN211 During normal operation When a reset request is executed the DN211 turns waiting for a parameter setting request standby mode No response will be made to the T2 T2E T2N when a reset req
169. ue lines indicate the value of individual semaphores are set to 1 When devices with the polling system and bit strobe system are intermingled use of the input data semaphore register is shared by the polling mode and bit strobe mode Therefore input output data ee e processed alternatively after the other mode completes the processing as shown elow Polling mode Bit strobe mode Polling mode Bit strobe mode gt T2 T2E Writes in output Reads from Writes in output T2N data area input data area data area A Writes output Writes instruction 1 output Writes read instruction Output data completion if semaphore o i l i Writes output i output completion comple 0 tion 0 Intput data semaphore p t DN211 Output 1 Output g processi D Figure 5 6 How to Use Semaphores in Synchronous Mode 122 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA Input data area 0000H 0001H 0002H 0003H 0004H 0005H 0006H 0007H 0008H 0009H 000AH Output data area 0080H 0081H 0082H 0083H 0084H 0085H Bit strobe output data are 0100H 0101H 0102H 0103H ll RAS information 029BH 029CH 029DH 029EH l 0293H 0294H 0295H 0296H 0297H 0298H 0299H 029AH 02CEH Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net Node address 1 Node addres
170. ue to an overlapped node address 130 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 6 2 Indications of the 7 Segment LED The 7 segment LED NA ERROR on the front panel of the DN211 is used for indicating a node address error code When the DN211 is normally transmitting with slave devices the local station node address value set by the rotary switch on the side panel of the module is displayed Moreover if one of the following troubles occurs the segment LED indicates the state of the module or the network e When the DN21 1 network slave device is encountering trouble e When an error occurs with requests from the T2 T2E T2N e When the DN211 is downed This LED is blinking the local station node address while creating a scan list at the step of setting slave device parameters Table 6 2 and Table 6 3 describe combinations in the 7 segment LED for module status network status and their meanings The mark lt gt in the tables indicates alternative display of indications on both sides Table 6 2 7 Combined Indications of the 7 segment LED and 2 Color LED M DN211 node address S Slave device node address 7 segment LED MS oO JN Description Not lit Not lit Not lit No power is supplied to the T2 T2E T2N Initialization is underway after reset request M lighting Not lit Not lit Indicates standby mode Just after switching ON the power a
171. uest area and acknowledgment area is furnished issue the next request after the DN211 returns the acknowledgement to a request from the T2 T2E T2N b Don t write data no WRITE instruction in the acknowledgement area acknowledge ment flag register Otherwise response data could be destroyed c When using a WRITE instruction to write data in the request area be careful of the top address and the data size to be written Failing to do so could lead to the destruction of other data causing the DN211 to get malfunctioned 99 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 Example of Using the READ Instruction 00718 MOV RW116 00001 MOV RW117 Specifies a read destination and the number of words to read H0001 READ RW116 gt D1665 RST R0000 Executes the READ instruction and clears R0000 after the execution Description of the READ instruction H0001 Specifies the Module High order 2 digits specifies a unit Low order 2 digits specifies a slot Fo H QO Q O 1 specifies slot 1 in the basic unit Basic unit Slot 1 for slot 10 HOOOA RW116 specifies a read destination In this case station status register 718 O2CEH is specified RW117 specifies the number of words to read 1 D1665 specifies the register that stores the station status read In this case the statio
172. uest is completed successfully To confirm successful completion of the reset request check the station status O5D5H for transiting from initialize mode to standby mode When in abnormal state An error response completion status will be returned to the T2 T2E T2N when the request is not accepted Reset request Reset completion INZ bit 14 bits STBY bit 12 bits NCOIN bit 6 bits when clearing the scan list Station status 4000H 2000H 2040H Figure 4 12 Station Status Operation on Reset Request 2 The Data Part Format a Request Request area 0334H Request code 0011H 0335H Scan list clear 0 Don t clear it 1 Clear it b Acknowledgement only for abnormal state Acknowledgement area 02D0H Request code 0011H 02D1H Completion status See 4 7 Completion Status for the above completion status 3 Execution Time Since the T2 T2E T2N writes 1 in the request register until the station status changes to 2000H 2040H from 4000H e When the scan list is found in the non volatile storage Scan list is not cleared Approx 1 second Scan list is cleared Approx 9 seconds e When no scan list is found in the non volatile storage No scan list cleared Approx 9 seconds Scan list is cleared Approx 9 seconds 4 Others e The 7 segment LED goes out during initialization processing after a reset request is accepted e Startup time takes approx 9 seconds after switching ON the po
173. uest is issued from the T2 T2E T2N to the DN211 Value other than 0 and 1 Reserved The DN211 sets this register to 0 after reading a request in the request area 3 The Acknowledgement Flag Register O3FCH 1 word DN211 gt T2 T2E T2N This register is used for notifying the T2 T2E T2N of the DN211 s response after the T2 T2E T2N issues a request to the DN211 The ladder program of the T2 T2E T2N checks this register for 1 to be set after a request is issued to the DN211 When 1 is set to this register the ladder program reads response data of the DN211 from the acknowledgement area before writing 0 in this register 0 No response 1 Responded to the T2 T2E T2N from the DN211 Value other than 0 and 1 Reserved 4 The Request Area 0334H O3FBH 200 words T2 T2E T2N gt DN211 Request data is written when the T2 T2E T2N issues a request to the DN21 The data is written in the area beginning 0334 H as the top address The T2 T2E T2N has the following six types of requests to the DN211 e Reset request e Parameter setting request local node e Parameter setting request slave device e DN211 operation mode control request e RAS information read request e Time setting request Each of the six requests has a different composition of request data which is described in 4 6 Requests to the DN211 5 The Acknowledgement Area 02DOH 0333H 100 words DN211 gt T2 T2E T2N When the T2 T2E T2N issues a request to t
174. umption necessary for the network 3 5 3 The Network Power Unit 24Vdc e Registering your DN211 module Usage Recommendation 1 When your DN211 is going to be I O registered in the T2 T2E T2N leave blank for the slot where the DN211 is installed After automatic allocation is performed the DN211 installed slot is left blank 4 How to Handle Your DN211 software e Node address of your DN211 Usage Recommendation 1 Set the node address of your DN211 to a value smaller than the node addresses of slave devices because of the feature of CAN currently used in the DeviceNet 4 6 3 Parameter Setting Request local node e How to solve overrun errors Usage Recommendation 1 Reduce the network communication speed when an overrun error occurs 500 kbps gt 250 kbps gt 125 kbps 7 Troubleshooting Data Communication with Slave Devices 13 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 About This Manual Thank you for purchasing Toshiba s programmable controller PROSEC T2 series T2 T2E T2N This manual describes the specification handing manners and sample programs of the DeviceNet module called as the DN211 used for PROSEC T2 series Read this manual to handle and operate your DN211 correctly This manual consists of the following chapters Chapter 1 Overview of the DeviceNet Module Outlines functions of
175. unction built in Toshiba s T series CPU Registered Trademarks m DeviceNet is a registered trademark of ODVA Open DeviceNet Vendor Association m PowerTap T Port Tap DeviceBox Tap and FLEX I O are registered trademarks of RockWell Automation Co Ltd COMBICON is a registered trademark of Phoenix Contact Corporation Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net 15 6F3B0364 TOSHIBA 6F3B0364 Contents 1 Overview of The DeviceNet Module 20 s 2 eeccecceceeesneneeceeeeecesssnsneeeeceeeeeseess 19 1 1 Features and System Configuration Examples of the DeviceNet Module DN211 19 1 2 Network Configuration of DeviceNet eececeeeeeeeeeeeeeeeeeeneeseeeeeeeseeeenenseeeeeeees 21 1 2 1 The Network Configuration sesia a RR 21 1 2 2 Trunk Line Drop Line and Maximum Cable Length 22 1 2 3 Lhe Terminal RESSO aae A E E EE 24 1 3 Conformity Specification and TrademarkKs ccccccceeeseeeeneeeeeeeeeeseeeeeeeseeeeneees 25 1 4 The Basic FunctionS sssssssnsuusnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn nnmnnn nnne 26 1 4 1 The Polling Instruction Response Mode eceeceeeeeeeeneeeeeeeaeeeeeeeaaeeeeees 26 1 4 2 The Bit Strobe Instruction Response Mode ceceeeeeeeeeeeeneeeeeeaeeeeeees 27 1 4 3 Synchronization Asynchronous Mode and Data Update Cycle 28 1 5 The DN211 Specific
176. ure or malfunction of the DN211 More than one unit of DN211 can be mounted for one unit of the T2 T2E T2N as explained in 1 5 2 Number of Mounting Modules The DN211 can be mounted in the basic base unit and an extended base unit Since the DN211 falls in a low voltage I O unit place it at the left side of the unit whereas arrange high voltage I O units at the right side of the unit Separate low voltage units from high voltage units when wiring them 8 4 Network Installation explains network cables wiring Using the Basic Base Unit BU218 for 8 Boards I O Unit Figure 3 4 Example of Mounting on the Base Unit The current consumption of the T2 T2E T2N side power of the DN211 DCSV is 0 5 A To examination the power capacity refer to Examining the Power Capacity of the T2 User s Manual T2E User s Manual T2N User s Manual besides 1 5 2 Number of Mounting Modules ee ee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 4 Connection with the Network This section describes how to connect the DeviceNet cable to the DN211 Do not engage in attaching or detaching the DeviceNet cable with network side connector during network operation Failing to do so can cause reverse connection or short circuit of the network power resulting in no communication with other nodes When you connect the DeviceNet cable with the network side connector b
177. ution Node Information cccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeeeeeenees 139 T TYOUDIOSHOOUING waist escsssieesensinvinscccierisssansenscnuieunscdunsearsasiuns iatndencsaadaveasaudvecsauianues 141 7 1 When Starting up the Module cccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeeeeeeneeeees 141 7 2 Reset Request scan list Clear ccesceceeeeeeeeeeeeeeeeeeeeeeeeeeeee sess eeeeeeseeeeeeeeeees 142 7 3 When the Module Doesn t Become RUN Mode cecceeeeeeeeeeeeeeeeeeeeeeeeeeeeeees 143 7 4 Data Communication with Slave DeViCeS cccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeneeeees 146 17 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 8 Installation Wiring WOfK s sususunununununununununununununununenenenunnnnnnnnnnn ennnen ennum nnmnnn nnna 148 8 1 Installation Environment and Mounting in the Base Uniit ccseesseeeeeeeeees 148 8 2 Mounting Removing the Module ccccccessseeeeeeeeeeeeeeaeeeseseeeseeeeeaneeseeeeeeees 148 8 3 Power Unit Wiring Grounding ss ssssssuusnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nnmnnn na 149 Sal Power Unit WIRING eain arae bene sede AE E ESAE AS 149 B32 Grondin i aae EE EAE ned Het EEA EE AERA SS AEEA 149 8 4 Network Installation 0 ccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeeeeseeeeeeeseseeeeeeeseaeeeeee 150 8 4 1 Installation Gists Ou
178. utput Data Area e The input data semaphore register is used both for the polling mode and the bit strobe mode Therefore when some slave devices use the polling mode while other slave devices use the bit strobe mode set data input output processing in the alternative way like polling mode processing completion bit strobe mode processing completion gt polling mode processing completion bit strobe mode gt e Don t allow the WRITE instruction to execute in the input data area input data semaphore register Otherwise input data could be destroyed e When you write data in the polling output data area bit strobe output data area with the WRITE instruction be careful of the top address of the area and the data size to be written Otherwise data could destroy those in another area causing the DN211 and or slave devices to get malfunctioned 66 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 3 The RAS Information Area This area indicates the DN211 s module status and the communication status of the network and slave devices Don t write data into this area Otherwise the correct data may not be read The addresses in Figure 4 5 indicate the word addresses seen from the T2 T2E T2N 0107H Network power unit 1 word 0108H Operation mode on busoff 1 word 0109H Network communication rate 1 word 010AH Local station node address 1
179. vices In the bit strobe instruction based on the information obtained from the scan list the master device broadcasts 1 bit output data to individual slave devices These individual devices transmit data 0 8 bytes in response to the bit strobe instruction to the master device bit strobe response It depends on the specification of a slave device how the salve device interprets a bit strobe instruction and what data the slave device transmits to the bit strobe response For this communication function it is prerequisite that the slave device supports the bit strobe instruction response mode 1 The Bit Strobe Instruction Broadcasts data to bit strobe instruction response mode supporting slave devices on the network The bit strobe instruction contains 64 bit output data and each of the 64 bits is assigned to individual node addresses on the network Figure 1 9 The example in Figure 1 9 indicates the DN211 is inputting sensor information by the bit strobe mode and trying to send output control data to the actuator The way of writing output data in bit strobe from the T2 T2E T2N to the DN211 is explained in 5 Communication with Salve Devices T2 T2E T2N Master Bit strobe instruction data DN211 NA 1 Bit number o Oui sees Ile 20 214 227 23 ai sere 52 sexe Slave 1 Proximity sensor NA 19 Slave 2 Slave 3 _ Slave 4 Proximity sensor Photoelectric nae NA 21 NA 22 NA 23
180. vices can be set at one parameter setting request it takes about 40 seconds at maximum Remove the cause of the trouble based on the completion status Go to operation mode control request 146 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 3 Operation Mode Control Request Execute the request by referring to 4 6 5 Operation Mode Control Request Is the operation mode control request being executed Yes Is Oe E Check the semaphore area use by referring to q p i 4 5 The Semaphore Area Yes Does the completion status indicate j i a status other than an unregistered Serial numbers in the DN211 are destroyed serial number Replace the module Remove the cause of the trouble based on the completion status 147 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 7 4 Data Communication with Slave Devices 1 Data Communications with Slave Devices Don t Start When the 7 segment LED indicates an error try to remove the cause of the trouble by referring to 6 2 Indications of the 7 Segment LED Checking objects DN211 Check the T2 T2E T2N side power supplies Check the connection of the network cables mis wiring disconnection Refer to 3 4 Connection with the Network Check the node address setting for node address dupli
181. wer when no scan list is found in the non volatile storage Z CAUTION 85 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 1 Neither issue a request from the T2 T2E T2N to DN211 while the DN211 is being reset nor execute data input output Otherwise the instruction requested will be completed abnormal error of station mode abnormal or the module self check will fail turning into down mode 86 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 4 6 3 Parameter Setting Request local node 1 The Function This request is used for setting the local node parameters of the DN211 This request can be issued only when the DN211 is in standby mode After setting the local node parameters and slave device parameters set the DN211 to run mode transmission enabled by following 4 6 5 Operation Mode Control Request If the slave device parameters have already been set into the non volatile storage of the DN211 set the DN211 to run mode by following 4 6 5 Operation Mode Control Request after setting local node parameters 2 Data Part Format a Request Request area 0334H 0335H 0336H 0337H Setting value 0 to 63 0338H Setting value 0 1 0339H Setting value 2 to 10 000 ms 033AH Setting value 1 to 65535 033BH Setting value fixed at 1 033CH
182. where no slave device is found 010BH 018FH 0213H 0111H 0195H 0219H 0117H 019BH 021FH 011DH 01A1H 0225H 0123H 01A7H 022BH 0129H 01ADH 0231H 012FH 01B3H 0237H 0135H 01B9H 023DH 013BH 01BFH 0243H 0141H 01C5H 0249H 0147H 01CBH 024FH 014DH 01D1H 0255H 0153H 01D7H 025BH 0159H 01DDH 0261H 015FH 01E3H 0267H 0165H 01E9H 026DH 016BH 01EFH 0273H 0171H 01F5H 0279H 0177H 01FBH 027FH 017DH 0201H 0285H NA 63 0183H 0207H 0189H NA 21 020DH Figure 4 7 Input Output Data Setting Information Addresses ey eee Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Example Input output data setting information for node address 1 Input data offset indicates the offset address in bytes from the top 0000H of input data area Output data offset indicates the offset address in bytes from the top 0080H of output data area There are no items for the offset of bit strobe output data and for the number of bytes because of the bit strobe output data area Table 4 10 Input Output Data Setting Information for Node Address 1 14 The Local Station Node Address 010AH 1 word The hexadecimal node address of the local station specified with the rotary switch on the side face of the module is stored OOH 3FH 15 The Network Communication Rate 0109H 1 word The network communication rate set with the DIP switch on the front panel is stored
183. word 010BH i i Input Output data setting information 384 words l i 028BH Reserved 8 words 0293H Bit strobe no response device 4 words 0297H Polling no response device 4 words 029BH 029CH 029DH 029EH 029FH Configuration information 32 words 02BFH Node error counter 7 words 02C6H Completion of module initialization 1 word 02C7H Reserved 1 word 02C8H Polling Bit strobe scan cycle 5 words 02CDH Down information 1 word 02CEH Station status 1 word Figure 4 5 RAS Information Area Configuration 6 Phone 800 894 0412 Fax 888 723 4773 Web www ctiautomation net Email info ctiautomation net TOSHIBA 6F3B0364 Indicated below is detailed information that can be checked in the RAS information area 1 Station Status O2CEH 1 word This register indicates the DN211 s status with bit flags Each bit has meaning when 1 is set Format 15 14 13 12 1i 10 9 8 7 6 5 4 3 2 1 0 DOWN STBY Reserved POLL Reserved TXERR SYNC DRADR Reserved RUN BITS Reserved NCOIN START BUSOFF Reserved Figure 4 6 Configuration of Station Status Bits Table 4 2 Meaning of Individual Bits of Station Status Bit Name Meaning S m e ee 12 DN211 is set to run mode m een SCSC SCS S o pou Poing mode vansmission is operano SSSC S o o reen 7 ees e Noon no save deves is regiserea n me onen i o e ee Table 4 3 on the next page indicates the confi

Download Pdf Manuals

image

Related Search

Related Contents

47 A2 10UJ 09 - Support On Line  Owners Manual  カタログ  Safety Operation & Maintenance Manual Manual de  Merlin TR Installation Instructions  OptiMove CR07    DVM1400 - FuturaShop  Fresh 'n Rebel 0.5m, USB/USB Micro  DIAMOND - Crystal Impact  

Copyright © All rights reserved.
Failed to retrieve file