Download "user manual"

Transcript
Section 7-5
Command/Response Reference
Application Example
This example shows a program with the WORD BLOCK DATA READ
(unspecified node number) command.
Sample configuration
The FINS 2903 command executes at the point indicated by this mark and the
WORD BLOCK READ FRAME (transaction code: 65005) is sent.
OMRON PLC
OMRON PLC/other manufacturer’s PLC
FL-net
CPU Unit
Unit
(Ver. 2.00)
FL-net
Unit
CPU Unit
(Ver. 2.00)
By CMND
instruction
Node number 1
Node number 2
Word block read frame;
(Request transaction code: 65005),
(Response transaction code: 65205)
Operation
• Write the WORD BLOCK DATA READ (unspecified node number) command starting at D01000 and store the response data starting at D02000
in the CPU Unit.
• Read the 100-word data from EM0_00000 at node number 2 to a point
after D02002 at node number 1 (D02000 stores the command code and
D02001 stores the response code.).
Command
[CMND
S
S
D
D01000
C]
+0:
+1:
+2:
+3:
D
C
D02000
D00000
+0:
+1:
+2:
+3:
2903 Hex
0020 Hex
First address of the virtual
address space
(EM0_00000)
0000 Hex
* Refer to the manual for
other manufacturer’s FL-net
(Ver. 2.00) nodes.
0064 Hex
Size of the data that is read
(100)
:First word of the stored responses
0008 Hex
No. of command data bytes
00CC Hex
No. of response data bytes
(including command and
response codes)
0000 Hex
Remote (destination)
network address = 0
0200 Hex
Remote (destination)
node number = 2
+4:
0000 Hex
+5:
0000 Hex
Remote (destination)
unit address 00 Hex (ignore)
Response required,
communications port no.
= 0, number of retries = 0
Response monitoring time
(default: 2 s)
125