Omron CJ1W-DRM21 Marine RADAR User Manual


 
169
Receiving Explicit Messages Section 6-5
Read data (response): The specified information is returned in order.
CPU Unit operating mode (attribute ID = 64 Hex).
The CPU Unit operating mode is returned in 1-word (2-byte) hexadecimal for-
mat, as follows:
0001 Hex: PROGRAM mode; 0002 Hex: MONITOR mode;
0004 Hex: RUN mode
Note The codes for the above modes are 1-word (2-byte) data and are returned in
low byte first. For example, for PROGRAM mode, the code is returned as 01
Hex followed by 00 Hex.
CPU Unit Errors (when Attribute ID = 65 Hex)
The CPU Unit fatal/non-fatal error data is returned in 1-word (2-byte) hexa-
decimal format, as follows:
01 Hex: Error; 00 Hex: No error.
CPU Unit Model (when Attribute ID = 65 Hex)
The CPU Unit model is returned in ASCII.
Size: 2 bytes (Always 1400 Hex) + Model: 20 bytes (fixed). Unused area is
filled with 20 Hex (spaces) and returned.
CPU Unit Write (Service Code: 10 Hex)
This PLC Object service writes CPU Unit information, including the operating
mode and clearing errors.
Command Block
PROGRAM mode
MONITOR mode
RUN mode
1: Error
20 bytes
Byte Byte Byte Byte Byte
Unit name
Destination node address
Service Code
Class ID
Instance ID
Attribute ID
Attribute Value