Omron CS1W-EIP21 Network Card User Manual


 
244
Sending Explicit Messages Section 9-1
Setting the Command Data for CMND(490)
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.
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
FINS command code
Transport ID
Message monitoring time
Service code = 52 hex, Request path size = 02 hex
8-bit class ID = 20 hex, Class ID = 06 hex (Connection Manager)
8-bit instance ID = 24 hex (request path), Instance ID = 01 hex
Priority/Time Tick = 0A hex, Time Out Ticks = 0C hex
Message request size
Service code = 01 hex (Get_Attribute_All service), Request path size = 02 hex
8-bit class ID = 20 hex, Class ID = 01 hex (Identity Object)
8-bit instance ID = 24 hex, Instance ID = 01 hex
Route path size = 8 words
Ethernet port = 12 hex (Extended Link Address Size = 1 hex, Ethernet port number = 2 hex), Route path size = 13 bytes
1 9
2 .
1 6
8 .
2 5
0 .
2
Route path IP address
192.168.250.2
Link
path
Bit
28
00
05
52
20
24
0A
06
01
20
24
08
12
31
32
31
38
32
30
32
S+0
S+1
S+2
S+3
S+4
S+5
S+6
S+7
S+8
S+9
S+10
S+11
S+12
S+13
S+14
S+15
S+16
S+17
S+18
S+19
10
00
DC
02
06
01
0C
00
02
01
01
00
0D
39
2E
36
2E
35
2E
00
15 08 07 00
Command Block
Example: 1234 hex Example: 12345678 hex
Service Data
Service Data
The format from CMND(490) operand S onwards will be set as follows:
From higher byte From higher byte
Bit
Bit
From lower byte
From lower byte
Bit
Bit
Example: 1234 hex Example: 12345678 hex