![background image](http://html1.mh-extra.com/html/omron/cs1w-drm21/cs1w-drm21_operation-manual_742357270.webp)
253
C200H I/O Link Units
Section 6-1
Control Words (C: First Control Word)
Using the IOWR
Instruction to Read Data
(C200HX/HE PLCs)
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)
Source Words (S: First Source Word)
D+2
00 02
No. of received bytes (data length after D+3):
2 bytes
D+3
02 9E
Slave node address: 2
BYTE DATA WRITE response service code:
9E Hex
Word
Contents (Hex)
Meaning
C
00 32
No. of bytes of command data: 50 bytes of
command data, S
C+1
00 08
No. of bytes of response data: 8 bytes of
response data, D
C+2
00 01
Destination node network address: 1
C+3
3F FE
Master’s node address: 63
Master’s Unit address: FE Hex
C+4
00 00
Response returned, communications port
No.: 0, No. of retries: 0
C+5
00 64
Response monitoring time: 10 s
Word
Contents (Hex)
Meaning
Word
Contents (Hex)
Meaning
C
3F FE
Master’s node address: 63
Master’s Unit address: FE Hex
Word
Contents (Hex)
Meaning
S
82 07
Response storage words: DM2000
82 Hex: DM Area, 0700 Hex: 2000 words
(For more detail, refer to the PLC Operation
Manual.)
S+1
D0 00
S+2
00 64
Response monitoring time: 10 s
S+3
00 0B
No. of bytes of command data: 11 bytes (No.
of bytes from S+4 onwards.)
S+4
28 01
EXPLICIT MESSAGE SEND command
code: 28 01 Hex
S+5
02 1C
Slave node address: 2
BYTE DATA READ response service code:
1C Hex
S+6
00 2F
Class ID: 002F Hex
Buy: www.ValinOnline.com | Phone 844-385-3099 | Email: [email protected]
Summary of Contents for CS1W-DRM21
Page 3: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 7: ...vi Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 11: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 47: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 315: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 337: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 339: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 371: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 373: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 378: ...Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...
Page 379: ...W347 E1 6 Buy www ValinOnline com Phone 844 385 3099 Email CustomerService valin com ...