251
C200H I/O Link Units
Section 6-1
HG/HE or C200HS Master Unit is mounted. In this case, refer to the
DeviceNet Master Unit Operation Manual
for details on using the IOWR
instruction.
For more detailed information on explicit messages, refer to the
DeviceNet
Master Unit Operation Manual
. For information on the CMND instruction, refer
to the PLC’s
Operation Manual
or
Programming Manual
.
Example Conditions
Master node address:
63
Slave network address: 1
Slave node address:
2
Example: Using the CMND Instruction
Command Words (S: First Command Word)
D: Response Words (D: First Response Word)
Results are stored as shown in the following table.
Control Words (C: First Control Word)
Word
Contents (Hex)
Meaning
S
28 01
EXPLICIT MESSAGE SEND command
code: 28 01 Hex
S+1
02 1C
Slave node address: 2
BYTE DATA READ command service code:
1C Hex
S+2
00 2F
Class ID: 002F Hex
S+3
00 01
Instance ID: For IR Area 1: 0001 Hex
S+4
0A 00
Read start address: 10 = 000A Hex
Address L: 0A Hex, Address H: 00 Hex
S+5
28 00
No. of bytes of read data: 40 bytes = 28 Hex
(The rightmost byte is not used.)
Word
Contents (Hex)
Meaning
D
28 01
EXPLICIT MESSAGE SEND command
code: 28 01 Hex
D+1
00 00
Response code (0000 Hex: Normal comple-
tion)
D+2
00 2A
No. of received bytes (data length after D+3):
42 bytes
D+3
02 9C
Slave node address: 2
BYTE DATA READ response service code:
9C Hex
D+4
HH LL
Data read from the Slave’s IR10 to IR29.
When the BYTE DATA READ command is
used from an OMRON Master, data is stored
in the Master in the same sequence as the
Slave; leftmost byte to rightmost byte.
to
to
D+23
HH LL
Word
Contents (Hex)
Meaning
C
00 08
No. of bytes of command data: 11 bytes of
command data, S
C+1
00 30
No. of bytes of response data: 48 bytes of
response data, D
C+2
00 01
Destination node network address: 1
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 ...