
124
Explicit Message Communications
Section 6-3
Precautions
The range of data specified by the data area (instance ID), starting address
(Address L and Address H), and number of bytes parameters must not
exceed the range of the CPM2C-S data area.
WRITE BYTE DATA
Writes data from the DeviceNet Master to the specified node’s data area in
byte-units. When word data is being written, the leftmost byte is written before
the rightmost byte. Up to 200 bytes can be written at one time.
Command Format
Response Format
Parameters
Destination node number (command)
Specify the node number of the CPM2C-S where the data will be written.
Specify the node number in 1 byte (2-digit hexadecimal).
Service code (command, response)
Specify 1E (Hex) in the command.
The leftmost bit of the service code is turned ON in the response, so 9E (Hex)
is returned.
Class ID (command)
Always 2F (Hex).
Instance ID (command)
Specify the data area where data will be written. Specify one of the codes
listed in the following table in 1 byte (2-digit hexadecimal).
Address L and Address H (command)
Specify the starting word address where data will be written. Specify the
address in hexadecimal as follows:
Address L: The rightmost two digits of the 4-digit starting address.
Address H: The leftmost two digits of the 4-digit starting address.
Destination node number
Service code
Class ID
Instance ID
Address L
Address H
Leftmost
byte
Rightmost byte
Write data
(200 bytes max.)
Leftmost byte
Rightmost byte
Code
Area name
Address range
01 (Hex)
IR area
IR 000 to IR 049
02 (Hex)
IR area
IR 200 to IR 227
03 (Hex)
DM area
DM 0000 to DM 2047
04 (Hex)
LR area
LR 00 to LR 15
05 (Hex)
HR area
HR 00 to HR 19
07 (Hex)
Timer/Counter area
TC 000 to TC 255
Number of bytes received
Source node number
Service code
9E
Содержание 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: ......