Omron SYSMAC CJ1W-EIP21 Operation Manual page 270

Sysmac cs and cj series ethernet/ip units 100base-tx 100base-tx/10base-t
Hide thumbs Also See for SYSMAC CJ1W-EIP21:
Table of Contents

Advertisement

Sending Explicit Messages
Setting the Command Data for CMND(490)
Bit
15
08 07
00
S+0
28
10
FINS command code
S+1
00
00
Transport
S+2
05
DC
Message monitoring time
S+3
52
02
Service code = 52 hex, Request path size = 02 hex
S+4
06
8-bit class ID = 20 hex, Class ID = 06 hex (Connection Manager)
20
S+5
24
01
8-bit instance ID = 24 hex (request path), Instance ID = 01 hex
S+6
0A
0C
Priority/Time Tick = 0A hex, Time Out Ticks = 0C hex
S+7
06
00
Message request size
S+8
01
02
Service code = 01 hex (Get_Attribute_All service), Request path size = 02 hex
S+9
20
01
Link
path
S+10
24
01
S+11
08
00
Route path size = 8 words
S+12
12
0D
Ethernet port = 12 hex (Extended Link Address Size = 1 hex, Ethernet port number = 2 hex), Route path size = 13 bytes
S+13
31
39
1 9
S+14
32
2E
2 .
S+15
31
36
1 6
S+16
38
2E
8 .
S+17
32
35
2 5
S+18
30
2E
0 .
S+19
32
00
2
244
ID
8-bit class ID = 20 hex, Class ID = 01 hex (Identity Object)
8-bit instance ID = 24 hex, Instance ID = 01 hex
Route path
IP address
192.168.250.2
The response data is set in the same way, starting from the word specified for
CMND(490) operand D (first response word) and continuing with words with
higher addresses in I/O memory in the response block format.
Note Request path data or request data that is in word (2-byte) or double-word (4-
byte) units, such as word data and ERROR CLEAR codes, is specified from
low to high (U) bytes in command block format. For example, to specify word
data 1234 hex, specify 34 hex and then 12 hex. To specify the double word
data 12345678 hex, specify 78 hex, 56 hex, 34 hex, and then 12 hex. The
command blocks are shown in the following diagram.
Command Block
Example: 1234 hex
Service Data
The format from CMND(490) operand S onwards will be set as follows:
Example: 1234 hex
From higher byte
Bit
From lower byte
Bit
Similarly, when the additional status data and service response data in the
response block is in word (2-byte) or double-word (4-byte) units, such as word
Example: 12345678 hex
Service Data
Example: 12345678 hex
From higher byte
Bit
From lower byte
Bit
Section 9-1

Advertisement

Table of Contents
loading

Table of Contents