Omron DeviceNet CV Series Operation Manual page 274

Devicenet slaves
Table of Contents

Advertisement

C200H I/O Link Units
C200HW-DRM21-V1 Master Unit
(node address 00, unit number 0)
Reading Data from a Slave
25315
00001
25315
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: CustomerService@valin.com
24-V DC power supply
T-branch Tap
Terminating Resistor
T-branch Tap
With the following program, 10 words (20 bytes) of data is read from DM 1000
of the Slave (PLC to which C200H I/O Link Unit is mounted) when IR 00000
turns ON in the CPU Unit of the Master Unit. The data that is read is stored in
the response storage words DM 0104 to DM 0113.
Ladder Program
BSET (71)
DM0100
DM0113
MOV (21)
DM0000
MOV (21)
DM0001
MOV (21)
DM0002
MOV (21)
DM0003
MOV (21)
DM0004
MOV (21)
DM0005
C200HW-DRT21 I/O Link Unit
(node address 07)
C200HX PLC
Terminating Resistor
T-branch Tap
Clears the response storage words (DM 0100 to
DM 0113) when the program starts or data reading
#0000
starts.
#8200
Response storage word: DM 0100
(82 Hex: DM; 0064 Hex: word 100; 00 Hex: Word data)
#6400
Response monitoring time: 10 s
#0064
Number of command data bytes: 12 bytes
#000B
EXPLICIT MESSAGE SEND command code (FINS):
2801 Hex
#2801
Slave node address: 07
BYTE DATA READ command service code: 1C Hex
#071C
Section 6-1
257

Advertisement

Table of Contents
loading

Table of Contents