Omron CJ2H-CPU6@-EIP Network Card User Manual


 
245
Sending Explicit Messages Section 9-1
data and ERROR CLEAR codes, is also returned in the same order from low
to high bytes in the response block.
Example: Sending Explicit Messages Using CMND(490)
Operation The identity object information (class ID = 01 hex) is read from the other com-
pany’s EtherNet/IP node at IP address 192.168.250.2, using the CIP UCMM
MESSAGE SEND command, 28 10. The command data is stored in the DM
Area starting at DM01000, and the response data is stored in the DM Area
starting at D02000. If the command ends with an error, the end code is stored
in D00006 and command transmission is retried.
Command Details [CMND S D C ]
S = D01000: First command word
D01000 = 2810 hex Command Code
D01001 = 0000 hex Transport ID: 0000 hex
D01002 = 05DC hex Message monitoring time: 15.00 s
D01003 = 5202 hex Slave code: 52 hex (Unconnected Send)
Request path size: 2 words
D01004 = 2006 hex Request path: 20 06 24 01 hex
(Connection Manager)
Class ID: 06 hex
D01005 = 2401 hex Instance ID: 01 hex
Words S+6 to S+19 contain the request data.
D01006 = 0A0C hex Priority/Time_Tick: 0A hex
Time Out Ticks: 0C hex
D01007 = 0600 hex Message request size: 6 bytes
Words S+8 to S+10 contain the request message request.
D01008 = 0102 hex Service: 01 hex (Get_Attribute_All)
Request path size: 2 words
Words S+9 and S+10 contain the request path.
D01009 = 2001 hex 8-bit class ID: 20 hex
Class ID: 01 hex
D01010 = 2401 hex 8-bit instance ID: 24 hex
Instance ID: 01 hex (Identity object)
Words S+11to S+19 contain the root path.
D01011 = 0800 hex Route path size: 8 words
D01012 = 120D hex Extended link address size = 1 hex
Route path size: 13 bytes (characters) = 0D hex
D01013 = 3139 hex IP address: “19”
D01014 = 322E hex IP address: “2.”
D01015 = 3136 hex IP address: “16”
EtherNet/IP node of other manufacturer
EtherNet/IP Unit
with unit number 0
CMND(490)
instruction
PLC's
CPU
Unit
Network address: 01 hex
Node address: 05 hex
Unit address: 10 hex
Explicit
message