125
Explicit Message Communications
Section 6-3
Write data (command)
Contains the data that will be written in the specified data area. Input word
data with the leftmost byte (bits 8 to 15) preceding the rightmost byte (bits 0 to
7). If the command contains an odd number of bytes of write data, the last
byte will be written to the leftmost byte of the last word.
Number of bytes received (response)
Indicates the number of bytes of data (in hexadecimal) from the “source node
number” on.
Source node number (response)
Indicates the node number (in hexadecimal) of the CPM2C-S that returned
the response.
Precautions
The range of data specified by the data area (instance ID), starting address
(Address L and Address H), and write data parameters must not exceed the
range of the CPM2C-S data area.
READ WORD DATA
Reads the specified node’s data in word-units (two-byte units) from the
DeviceNet Master. When word data is being read, the leftmost byte is read
before the rightmost byte. Up to 100 words can be read at one time.
Command Format
Response Format
Parameters
Destination node number (command)
Specify the node number of the CPM2C-S containing the desired data in 1
byte (2-digit hexadecimal).
Service code (command, response)
Specify 1D (Hex) in the command.
The leftmost bit of the service code is turned ON in the response, so 9D (Hex)
is returned.
Class ID (command)
Always 2F (Hex).
Destination node number
Service code
Class ID
Instance ID
Address L
Address H
Number of words
Number of bytes received
Source node number
Service code
Leftmost
byte
Rightmost byte
Read data
(200 bytes max.)
Leftmost byte
Rightmost byte
Summary of Contents for CPM2C-S100C
Page 2: ......
Page 3: ...CPM2C S Programmable Controller Operation Manual Revised September 2009 ...
Page 4: ...iv ...
Page 6: ...vi ...
Page 10: ......
Page 14: ...xiv ...
Page 180: ...158 One to one PC Link I O Response Time Section 7 4 ...
Page 222: ...200 Programming Example Section 8 3 ...
Page 250: ......
Page 256: ......
Page 258: ......
Page 260: ...238 Support Software Appendix C ...
Page 268: ......