Omron CJ1W-DRM21 Marine RADAR User Manual


 
163
Sending Explicit Messages Section 6-4
The response format data in service data that is in word (2-byte) or double-
word (4-byte) units, such as word data and ERROR CLEAR codes, is also
specified from low to high bytes in response block format
Example: Sending Explicit Messages Using CMND(490)
Operation The vendor code is read from a Slave (OMRON vendor code: 002F Hex)
using the EXPLICIT MESSAGE SEND command, 28 01. The command data
is written starting at DM01000, and the response data is stored starting at
D02000. When execution of CMND(490) has been completed, the completion
code is stored in D00006 and the instruction is executed again.
Command Details The following command is used: [ CMND S D C ]
S = D01000: First command word at local node
Settings (Hex)
D01000 = 2801: Command Code
D01001 = 0B0E: Slave node address: 11
Service code: 0E
D01002 = 0001: Class ID: 0001
D01003 = 0001: Instance ID: 0001
D01004 = 0100: Attribute ID: 01
D = D02000: First response word at local node
C = D00000: First control word
Command Block
Eg. For $1234
Eg. For $15678234
Service Data
Service Data
The format from CMND(490) operand S onwards will be set as follows:
Example: $1234 Example: $12345678
From higher byte From higher byte
Bit
Bit
From lower byte
From lower byte
Bit
Bit
DeviceNet Unit No. 0
CMND(490)
instruction
PC's
CPU
Unit
Node address 05
Unit address FE Hex or 10 Hex
Explicit message
Slave node 11