Omron CPM2C-S100C Operation Manual page 146

Sysmac cpm2c-s series
Table of Contents

Advertisement

Explicit Message Communications
WRITE BYTE DATA
Destination node number
124
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.
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
Address L
Class ID
Service code
Instance ID
Address H
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).
Code
01 (Hex)
IR area
02 (Hex)
IR area
03 (Hex)
DM area
04 (Hex)
LR area
05 (Hex)
HR area
07 (Hex)
Timer/Counter area
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.
Leftmost
Leftmost byte
byte
Rightmost byte
Write data
(200 bytes max.)
9E
Service code
Source node number
Number of bytes received
Area name
IR 000 to IR 049
IR 200 to IR 227
DM 0000 to DM 2047
LR 00 to LR 15
HR 00 to HR 19
TC 000 to TC 255
Section 6-3
Rightmost byte
Address range

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpm2c-s110cCpm2c-s100c-drtCpm2c-s110c-drt

Table of Contents