Omron CPM2C-S100C Operation Manual page 148

Sysmac cpm2c-s series
Table of Contents

Advertisement

Explicit Message Communications
WRITE WORD DATA
Destination node number
126
Instance ID (command)
Specify the data area containing the desired data in 1 byte (2-digit hexadeci-
mal). Use one of the codes listed in the following table.
Code
01 (Hex)
IR area
02 (Hex)
IR area
03 (Hex)
DM area
04 (Hex)
LR area
05 (Hex)
HR area
06 (Hex)
AR area
07 (Hex)
Timer/Counter area
Address L and Address H (command)
Specify the starting word address of the read data 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.
Number of words (command)
Specify the number of words of data to read in 1 byte (2-digit hexadecimal).
The allowed range is 01 to 64 (Hex), which is equivalent to 1 to 100 decimal.
Number of bytes received (response)
Indicates the number of bytes of data (in hexadecimal) from the "source node
number."
Source node number (response)
Indicates the node number (in hexadecimal) of the CPM2C-S that returned
the response.
Read data (response)
Contains the desired data read from the specified data area. Word data is
returned with the leftmost byte (bits 8 to 15) preceding the rightmost byte (bits
0 to 7).
Precautions
The range of data specified by the data area (instance ID), starting address
(Address L and Address H), and number of words 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
word-units (two-byte units). When word data is being written, the leftmost byte
is written before the rightmost byte. Up to 100 words can be written at one
time.
Command Format
Address L
Class ID
Instance ID
Address H
Service code
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
AR 00 to AR 23 (read area only)
TC 000 to TC 255
Leftmost
Leftmost byte
byte
Rightmost byte
Write data
(200 bytes max.)
Section 6-3
Address range
Rightmost byte

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpm2c-s110cCpm2c-s100c-drtCpm2c-s110c-drt

Table of Contents