51
E3NW-CRT
User’s Manual
Sect
ion 3
CompoN
et
Communic
a
tions
Spec
if
ic
at
ions
Section 3
Explicit Message Communications
Read and Write Commands
Read and write commands read and write data to and from the Sensor Communications
Unit or connected Sensor Amplifier Units.
The command and response formats when using an OMRON Master Unit are given below.
●
Command Format
*1: I/O Mode 1 (Input Unit): 10 hex
I/O Mode 2 (Mixed Unit): 30 hex
*2: Unit number of the Sensor Communications Unit
*3: When sending a command to a Multisensor Amplifier Unit, set the instance ID to 00FF
hex and append the following bytes between the attribute ID and the write data.
This does not apply to read commands.
*4: The write data must be in little endian format.
*4: Output 1 specification: Bit 0 ON (01 hex)
Output 2 specification: Bit 1 ON (02 hex)
Both outputs specified, to Communications Unit: All OFF (00 hex)
*5: Multi Sensor No. consists of two bytes of data, where bit 0 corresponds to Unit 1 and
the bit 15 corresponds to Unit 16, and must be input in little endian format as shown in
the example below.
Set all bits to 0 to specify all Units.
Example: To specify Unit 1, specify 0001 hex with 01 00.
To specify Unit 1 and Unit 3, specify 0005 hex with 05 00.
To specify Unit 16, specify 8000 hex with 00 80.
Destination
network address
Service code
Class ID
Instance ID
Attribute
ID
Write data (for write commands
only)
000E (Read)
0010 (Write)
*1
*2
*3
*3
*4
*4
*4
*4
2 bytes
2 bytes
2 bytes
2 bytes
1 byte
4 bytes
Output 1/
Output 2
Multisensor No.
*4
*5
*5
1 byte
2 bytes