
129
Explicit Message Communications
Section 6-3
CMND(194) Operand Details
• Command Words
• Response Words
(The results are stored as follows.)
• Control Words
CS/CJ, CVM1, and CV-series PCs: Writing Data with CMND(194)
This example shows the instruction operands and results when 20 words of
data are written through a Master mounted in a CS/CJ, CVM1, or CV-series
PC to words IR 010 to IR 029 in a Slave.
For details on explicit messages, refer to the
CS/CJ Series DeviceNet Units
Operation Manual
(W380) for CS/CJ-series PCs, and refer to the
DeviceNet
Operation Manual
(W267) for CVM1 and CV-series PCs. For details on
CMND(194), refer to the
CS Series Programmable Controllers Operation
Manual
(W339) for CS-series PCs, and refer to the
CVM1/CV Series CV500/
CV1000/CV2000/CVM1 Programmable Controllers Operation Manual: Ladder
Diagrams
(W202) for CVM1 and CV-series PCs.
[CMND
S
D
C]
Word
Contents
(Hex)
Function
S
28 01
EXPLICIT MESSAGE SEND command code = 2801 (Hex)
S+1
02 1C
Slave node number = 02 (Hex)
READ BYTE DATA command service code = 1C (Hex)
S+2
00 2F
Class ID = 002F (Hex)
S+3
00 01
Instance ID = 0001 (Hex) specifies data area
S+4
0A 00
Starting read address = 000A (Hex) specifies IR 010
Address L = 0A (Hex); Address H = 00 (Hex)
S+5
28 00
Number of bytes = 28 (Hex) specifies 40 bytes
(The rightmost byte of S+5 is not used.)
Word
Contents
(Hex)
Function
D
28 01
EXPLICIT MESSAGE SEND command code = 2801 (Hex)
D+1
00 00
Normal completion code = 0000 (Hex)
D+2
00 2A
Number of bytes received = 2A (Hex) indicates 42 bytes
(This is the number of bytes from D+3 to the end.)
D+3
02 9C
Slave’s node number = 02 (Hex)
READ BYTE DATA response service code = 9C (Hex)
D+4
to
D+23
HH LL
:
HH LL
These words contain the data read from slave words IR 010 to
IR 029. When the READ BYTE DATA command is executed
from an OMRON Master, the bytes are stored in the same order
(HH LL) in which they were stored in the Slave.
Word
Contents
(Hex)
Function
C
00 0B
Number of bytes of command data beginning with word S =
0B (Hex) specifies 11 bytes
C+1
00 30
Number of bytes of response data beginning with word D =
30 (Hex) specifies 48 bytes
C+2
00 01
Destination network address = 01 (Hex)
C+3
3F FE
Master’s node number = 3F (Hex) specifies 63
Master’s unit address = FE (Hex) specifies the local Unit
C+4
00 00
Response required
Transmission port number = 00 (Hex) specifies 0
Number of retries = 00 (Hex) specifies 0
C+5
00 64
Response monitoring time = 64 (Hex) specifies 10.0 seconds
Содержание CPM2C-S100C
Страница 2: ......
Страница 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Страница 4: ...iv ...
Страница 6: ...vi ...
Страница 10: ......
Страница 14: ...xiv ...
Страница 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Страница 222: ...200 Programming Example Section 8 3 ...
Страница 250: ......
Страница 256: ......
Страница 258: ......
Страница 260: ...238 Support Software Appendix C ...
Страница 268: ......