C200H I/O Link Units
Using the IOWR
Instruction to Read Data
(C200HX/HE PLCs)
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: CustomerService@valin.com
Word
Contents (Hex)
D+2
00 02
D+3
02 9E
Control Words (C: First Control Word)
Word
Contents (Hex)
C
00 32
C+1
00 08
C+2
00 01
C+3
3F FE
C+4
00 00
C+5
00 64
n the example, the IOWR instruction is used to read words IR 010 to IR 029
(20 words) on the Slave Unit, and store them in the Master (C200HX/HG/HE
PLCs) from DM 2000 onwards. For more detailed information on explicit mes-
sages, refer to the DeviceNet Master Unit Operation Manual . For information
on the IOWR instruction, refer to the SYSMAC C200HX/HG/HE PLCs Opera-
tion Manual .
Example Conditions
Master node address:
63
Master's Unit address: 0
Slave node address:
2
Example: Using the IOWR Instruction
C: Control Words (C: First Control Word)
Word
Contents (Hex)
C
3F FE
Source Words (S: First Source Word)
Word
Contents (Hex)
S
82 07
S+1
D0 00
S+2
00 64
S+3
00 0B
S+4
28 01
S+5
02 1C
S+6
00 2F
Meaning
No. of received bytes (data length after D+3):
2 bytes
Slave node address: 2
BYTE DATA WRITE response service code:
9E Hex
Meaning
No. of bytes of command data: 50 bytes of
command data, S
No. of bytes of response data: 8 bytes of
response data, D
Destination node network address: 1
Master's node address: 63
Master's Unit address: FE Hex
Response returned, communications port
No.: 0, No. of retries: 0
Response monitoring time: 10 s
Meaning
Master's node address: 63
Master's Unit address: FE Hex
Meaning
Response storage words: DM2000
82 Hex: DM Area, 0700 Hex: 2000 words
(For more detail, refer to the PLC Operation
Manual.)
Response monitoring time: 10 s
No. of bytes of command data: 11 bytes (No.
of bytes from S+4 onwards.)
EXPLICIT MESSAGE SEND command
code: 28 01 Hex
Slave node address: 2
BYTE DATA READ response service code:
1C Hex
Class ID: 002F Hex
Section 6-1
253
Need help?
Do you have a question about the DeviceNet CV Series and is the answer not in the manual?