The text of a manual · part 25 of 39
C200HW-DRT21, CQM1-DRT21, DRT1 Series DeviceNet Slaves Operation Manual: W347-E1-06.pdf, pages 241 to 250
Pages 241 to 250 of 381, from C200HW-DRT21, CQM1-DRT21, DRT1 Series DeviceNet Slaves Operation Manual
The original document is the PDF (7.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Omron DRT1-ID16
Page 241
Section 5-5
B7AC Interface Units Tables of Compatible Connectors
Connector 1 (DeviceNet communications connector) ERR AERR BERR C MS
A NC
NS
C B
P
Connector 2 (Connector for power supply to internal circuitry)
Connector 3 (Port A) Connector 4 (Port B)
Connector 5 (Port C)
Connector 1 (DeviceNet Communications Connector) Connector type
Model
Cable with shielded connectors on both ends
DCA1-5CN@@W1 Plug (male)
Cable with shielded connector DCA1-5CN@@F1 (socket) on one end Cable with shielded connector DCA1-5CN@@H1 (plug) on one end Shielded T-branch connector
Appearance Socket (female)
Socket (female) Plug (male)
DCN2-1
Socket (female) Socket (female)
Plug (male)
Connector 2 (Connector for Power Supply to Internal Circuitry) Connector type
Model
Cable with connectors on both XS2W-D42@-@81-@ ends (socket and plug) Cable with connector on one end (female socket)
XS2F-D42@-@80-@
Connector socket assembly (female) (Crimp-connector or solder type) T-joint
XS2C-D4@@
Appearance Plug (male) Socket (female) Socket (female)
XS2R-D427-5
Socket (female) Socket (female)
226
Socket (female)
Plug (male)
Page 242
Section 5-5
B7AC Interface Units
Connectors 3, 4, and 5 (Connectors for Ports A, B, and C) (Connectors to Connect the B7AC) Connector type Cable with connector on one end (male plug)
Model XS2H-D42@-@80-@ Plug (male)
Cable with connectors on both XS2W-D42@-@81-@ ends (socket and plug) Connector socket assembly (male) (Crimp-connector or solder type)
Appearance
Plug (male)
Socket (female)
XS2G-D4@@ Plug (male)
227
Page 243
B7AC Interface Units
228
Section 5-5
Page 244
SECTION 6 Special I/O Slave Units Specifications This section provides specifications for the C200H I/O Link Unit and the RS-232C Unit. 6-1
6-2
C200H I/O Link Units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
230
6-1-1
Communications Cable Connections . . . . . . . . . . . . . . . . . . . . . . . .
230
6-1-2
Node Address Setting (Rear DIP Switch) . . . . . . . . . . . . . . . . . . . .
230
6-1-3
Baud Rate and Hold/Clear Write Area Settings (Front DIP Switch)
231
6-1-4
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
231
6-1-5
Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
232
6-1-6
Rotary Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
234
6-1-7
Special I/O Area Function and Read/Write Area Allocation . . . . . .
235
6-1-8
Explicit DeviceNet Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
243
6-1-9
Using Explicit DeviceNet Messages. . . . . . . . . . . . . . . . . . . . . . . . .
250
6-1-10 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
256
6-1-11 Installing in a Control Panel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
256
6-1-12 C200H I/O Link Unit Application Examples . . . . . . . . . . . . . . . . . .
256
RS-232C Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
260
6-2-1
Communications Cable Connections . . . . . . . . . . . . . . . . . . . . . . . .
260
6-2-2
Node Address and Baud Rate Settings . . . . . . . . . . . . . . . . . . . . . . .
260
6-2-3
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
262
6-2-4
Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
263
6-2-5
Word Allocations for Communications Status . . . . . . . . . . . . . . . . .
265
6-2-6
Using the RS-232C Unit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
266
6-2-7
Explicit DeviceNet Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
269
6-2-8
Using Explicit DeviceNet Messages. . . . . . . . . . . . . . . . . . . . . . . . .
280
6-2-9
Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
285
6-2-10 Mounting in Control Panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
285
6-2-11 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
286
6-2-12 RS-232C Unit Application Examples. . . . . . . . . . . . . . . . . . . . . . . .
288
6-2-13 Reading RS-232C Unit Parameters . . . . . . . . . . . . . . . . . . . . . . . . .
292
6-2-14 Reading Data Received by RS-232C Unit Ports . . . . . . . . . . . . . . .
294
229
Page 245
Section 6-1
C200H I/O Link Units
6-1
C200H I/O Link Units The C200H I/O Link Unit is a Special I/O Slave Unit that allows data from any area in the CPU Unit of the PLC to be read or written from the Master Unit. Using the C200H I/O Link Unit, a Slave PLC can be controlled by the Master through the DeviceNet Network. Memory areas being used by other Special I/O Units can also be specified, allowing Special I/O Units mounted to the Slave PLCs to also be controlled indirectly from the Master.
6-1-1
Communications Cable Connections Wire communications cables to the C200H I/O Link Unit using the standard Square Connectors, just like General-purpose Slaves. This section does not explain how to connect communications cables. For details on connecting the cables, refer to 4-2 Connecting Communications Cables to General-purpose Slaves.
6-1-2
Node Address Setting (Rear DIP Switch) The DIP switch on the rear panel of the Unit is used to set the node address for the C200H I/O Link Unit.
Node address setting
Reserved (Always OFF.)
The node address is set with pins 1 through 6 of the DIP switch, as shown in the following table. Any node address within the setting range can be used as long as it isn’t already set on another node. DIP switch setting
Node address
Pin 6 Pin 5 Pin 4 Pin 3 Pin 2 Pin 1 0 0 0 0 0 0 0 (default) 0 0
0 0
0 0
0 0
0 1
1 0
1 2
: :
: :
1 1
1 1
1 1
1 1
0 1
1 0
61 62
1
1
1
1
1
1
63
Any node address within the setting range can be used as long as it is not already set on another node in the network. Note
1. (Refer to Appendix A Node Address Settings Table for a complete table of DIP switch and baud rate settings.) 2. The default setting is 0. Because the node address setting for the C200H I/O Link Unit is made on the rear panel DIP switch, the Unit must be removed before the setting can be changed. For this reason, be sure the setting is correct before configuring the network. 3. Pins 7 and 8 are reserved for system use. They must always be set to OFF. 4. If the same node address is used for two different nodes, a node duplication error will occur.
230
Page 246
Section 6-1
C200H I/O Link Units
6-1-3
Baud Rate and Hold/Clear Write Area Settings (Front DIP Switch) The DIP switch on the front panel of the Unit is used to set the baud rate and Hold/Clear Write Area data for communications error. The functions and setting for the front panel DIP switch are as shown in the following diagram. Reserved (Always OFF.) Hold/Clear Write Area data for communications error Baud rate
Pin
Function
1 2
Baud rate
3
Hold/Clear Write Area data for com- OFF: munications error ON:
4
Baud Rate
Setting See the next table.
Reserved
Clear (default) Hold
Leave this pin set to OFF.
Pins 1 and 2 are used to set the baud rate as shown in the following table. Pin 1 Pin 2 OFF OFF 125 kbps (default)
Note
ON OFF
OFF ON
250 kbps 500 kbps
ON
ON
Not allowed.
Baud rate
1. Always turn OFF the Slave’s power supply (including the communications power supply) before changing the baud rate setting. 2. Set the same baud rate on all of the nodes (Master and Slaves) in the Network. Any Slaves with baud rates different from the Master’s rate will not be able to participate in communications, and may cause communications errors to occur between nodes with correct baud rate settings.
6-1-4
Specifications
General Specifications Item Model Connectable PLCs
Specification C200HW-DRT21 CS1H/G, C200HX/HG/HE(-Z)
Communications power 11 to 25 V DC supply voltage (Supplied from the communications connector.) Internal current consumption Mounting
Communications: 45 mA max. Internal circuits: 250 mA max. (5 V DC supplied via PLC’s Backplane.) Mounted on a CS1H/G or C200HX/HG/HE Backplane.
Weight
250 g max.
Note All other specifications except those listed correspond to those of the C200HX/HG/HE PLCs.
231
Page 247
Section 6-1
C200H I/O Link Units Communications Specifications
Item I/O points
Specification Input: 512 points max. (32 words) Output: 512 points max. (32 words)
Memory areas that can C200HX/HG/HE: be allocated CIO, DM, HR, AR, LR, TIM/CNT, and EM (bank 0 only) CS1H/CS1G: CIO, D, H, T (PVs), and EM (bank 0 only) Default allocation area Write area: One word, IR 350 Read area: One word, IR 50 Maximum message Read: 200 bytes length Write: 200 bytes
6-1-5
Settings
Rotary switch: Unit number (Machine No.) Rear panel DIP switch: Node address Front panel DIP switch: Baud rate, Hold/Clear Write Area data for communications error.
Indicators
MS, NS indicators (2-color): 7-segment display (2-digit:): Dot indicators:
Components Front panel
Rear panel
Indicators DIP switch (Rear panel) Pins 1 to 6: Node address Pins 7 and 8: Reserved (Always OFF.)
Rotary switch Sets the Unit No. as a single-digit hexadecimal DIP switch (Front panel) Pins 1 and 2: Baud rate Pin 3: Hold/Clear Write Area data for communications error Pin 4: Reserved (Always OFF.)
Communications connector
232
Unit status Node address, error codes Read/Write Area, default settings
Page 248
Section 6-1
C200H I/O Link Units Indicators
Indi- Color cator MS Green
NS
The indicators display the status of the C200H I/O Link Unit and the Network. When the Network is operating normally, the 7-segment display shows the C200H I/O Link Unit’s node address; when an error has occurred, it shows an error code and the faulty node’s node address. Status
Definition
Meaning
ON
Device Operational
Normal operating status.
Red
Flashing ON
Device in Standby Unrecoverable Fault
Reading switch settings. Unit hardware error: Watchdog timer error.
---
Flashing OFF
Minor Fault No Power
Green
ON Flashing
Link OK. On-line, Connected. On-line, Not Connected
Switch settings incorrect, etc. CPU Unit error, power isn’t being supplied, waiting for initial processing to start, or the Unit is being reset. Network is operating normally (communications established)
ON
Critical Link Failure
Flashing
Connection Time-out
A fatal communications error has occurred. Network communications are not possible. Check for a node address duplication or Bus Off error. Communications timeout.
OFF
Not Powered/ Not On-Line
Checking for node address duplication on the Master, switch settings are incorrect, or the power supply is OFF.
Red
---
Network is operating normally, but communications have not yet been established.
Seven-Segment Display In addition to the MS and NS indicators, a C200H I/O Link Unit has a 2-digit, 7-segment display that normally displays the C200H I/O Link Unit’s node address. When an error occurs, the display will alternate between the error code and the node address of the faulty Slave. The dots at the lower-right of each digit indicate the Read/Write Area setting status (default/user settings). Normal: C200H I/O Link Unit's node address Error: Error code and C200H I/O Link Unit's node address
Read/Write Area: Default/user settings
Error
Status Watchdog timer
Display Not lit
Memory or system error
Error code only
Lit
Other errors
Error code and error node address alternate (see diagram below)
233
Page 249
Section 6-1
C200H I/O Link Units Dot Indicators Status Read/Write Area default settings
Both dots lit.
Read/Write Area user settings
Both dots not lit.
Error code (1 s)
OFF (0.3 s)
OFF (0.3 s)
Error code (1 s)
Display
OFF (0.3 s)
OFF (0.3 s)
Faulty node address (1 s)
If several errors occur at the same time, the error codes will be displayed in order of node address.
6-1-6
Rotary Switch Settings The rotary switch is used to set the C200H I/O Link Unit’s unit number (Machine No.). MACHINE No.
PLC C200HX/HG-CPU5@/6@/8@ (-Z) C200HX/HG-CPU3@/4@(-Z) C200HE (-Z) all models
Setting method Set as a one-digit hexadecimal value.
Setting range 0 to F 0 to 9
Provided the unit number is not being used by another Special I/O Unit mounted to the same PLC, the settings can be made anywhere within the setting range. Use a small flat-blade screw driver, and take care not to scratch the rotary switch when making the setting. Note
1. Always turn OFF the PLC’s power supply before changing the rotary switch setting. 2. The unit number determines which words will be allocated to the Unit in the Special I/O Area. 3. If the C200H I/O Link Unit and another Special I/O Unit mounted to the same PLC have the same unit number, an error will occur on the PLC and the Unit will not be able to participate in the DeviceNet Network. 4. When a C200H I/O Link Unit and a DeviceNet Master Unit are mounted to the same PLC, set the C200H I/O Link Unit’s unit number higher than the Master Unit’s unit number. When the C200H I/O Link Unit has a higher unit number, it will recognize the Master Unit when the PLC is turned ON, so you can set Read/Write Areas that do not overlap. If the C200H I/O Link Unit is mistakenly given a lower unit number, the Master Unit will recognize the C200H I/O Link Unit when the PLC is turned ON and it will not be possible to use fixed allocation. In this case, you must use the Configurator to customize the Master Unit’s Input/Output Areas so that they do not overlap with the C200H I/O Link Unit’s areas.
234
Page 250
Section 6-1
C200H I/O Link Units
6-1-7
Special I/O Area Function and Read/Write Area Allocation The C200H I/O Link Unit allows data from any area in the CPU Unit of the PLC to be read or written from the Master Unit, depending on the Special I/O Area settings. In order for the C200H I/O Link Unit and the Master to operate together, the Read/Write Area on the C200H I/O Link Unit and the allocated words on the Master are linked, as illustrated in the following diagram. IN Area OUT Area
Master
Slave
Read Area Write Area C200H I/O Link Unit
Note When using the Read Area only, set the size of the Write Area to zero bytes. Similarly, if using the Write Area only, then set the size of the Read Area to zero bytes. Special I/O Area Words and Configuration
Words are allocated in the PLC’s Special I/O Area according to the Unit number, as illustrated in the following table. Unit number
Special I/O Area words C200HX/HG/HE (-Z) CS1H/G
0
IR 100 to IR 109
CIO 2000 to CIO 2009
1 2
IR 110 to IR 119 IR 120 to IR 129
CIO 2010 to CIO 2019 CIO 2020 to CIO 2029
3 4
IR 130 to IR 139 IR 140 to IR 149
CIO 2030 to CIO 2039 CIO 2040 to CIO 2049
5 6
IR 150 to IR 159 IR 160 to IR 169
CIO 2050 to CIO 2059 CIO 2060 to CIO 2069
7 8
IR 170 to IR 179 IR 180 to IR 189
CIO 2070 to CIO 2079 CIO 2080 to CIO 2089
9 A
IR 190 to IR 199 IR 400 to IR 409
CIO 2090 to CIO 2099 CIO 2100 to CIO 2109
B C
IR 410 to IR 419 IR 420 to IR 429
CIO 2110 to CIO 2119 CIO 2120 to CIO 2129
D E
IR 430 to IR 439 IR 440 to IR 449
CIO 2130 to CIO 2139 CIO 2140 to CIO 2149
F
IR 450 to IR 459
CIO 2150 to CIO 2159
In the C200H I/O Link Unit, the Special I/O Area is used as illustrated below. Bit 15 + 0 words + 1 to 4 words + 5 words + 6 to 9 words
Bit 0 Software switches Read/Write Setting Area Status Read/Write Reference Area
235