Omron CJ1W-EIP21 Manual Do Utilizador

Página de 464
243
Sending Explicit Messages
Section 9-1
9-1-1
Sending Explicit Messages Using CMND(490)
With a CS/CJ-series EtherNet/IP Unit or built-in EtherNet/IP port, a
CMND(490) in the CPU Unit’s ladder program can send CIP UCMM explicit
messages. 
Send the CIP UCMM explicit message’s command data in a FINS command
following the 2810 hex FINS command code.
The CIP UCMM explicit message’s response is received following the
2810 hex FINS command code and the FINS completion code.
The following command is used: [ CMND
S
D
C ]
S: First command word
D: First response word
C: First control data word
Command data is set in order starting with the word specified for the
CMND(490) operand S (first command word) and continuing with words with
higher addresses in I/O memory in the command block format.
Command Format Example: Get_Attribute_All Service to Identity Object
Routing service data
Transport
ID
8-bit instance ID: 24 Hex
Priority/Time Tick
Time Out Ticks
Message
request size
8-bit class ID
Class ID  identity object
8-bit instance ID: 24 Hex
Instance ID
Ethernet port: 12 Hex
Route path size (13 bytes)
Padding data
Request path
Request path
Routing service data
Routing service data
Last hop data
Route path
size
(8 words)
Service code
Get_Attribute_All service
Request path size (2 words)
Route path
Route path
Request path size = 2 words: 02 Hex
Class ID Connection Manager: 06 Hex
8-bit class ID: 20 Hex
28
10
00
00
05
DC
52
02
20
06
24
01
0A
0C
06
00
01
02
20
01
24
01
08
00
12
0D
31
1
39
9
32
2
.
2E
31
1
36
6
38
8
2E
.
32
2
35
5
30
0
2E
.
32
2
00
Service code
Unconnected Send service: 52 Hex
Command 
code
Instance ID