205
How to Use FINS Commands Section 6-1
Example To read ITEM007 (PV) at block address 001 (e.g. in the case of Basic PID) on
the Loop Controller currently mounted on the local node
2) By the Host Link or the networked host computer
The FINS command frame is sent to the Loop Controller delimited by the Host
Link header or terminator from the host computer.
When this method is used, the user needs to consider the frame format of the
FINS command.
CMND
D02000
D03000
D04000
S: First command word
D: First response word
C: First control word
Command data
S D02000 0240
Command code: 0240 (READ MULTIPLE ITEMS FROM FUNCTION BLOCK)
S+1 D02001 0001 Block address: 0001
S+2 D02002 0001 Number of ITEMs: 1
S+3 D02003 0007 Read start address (example: PV of basic PID)
Control data
C D04000 0008 Number of command data bytes: Above eight bytes (0008 Hex)
C+1 D04001 000B Number of response data bytes: 11 bytes (000B Hex)
C+2 D04002 0000 Fixed to 00 Hex. Send destination network address
C+3 D04003 00E1 Send destination node address (00 Hex
∗
1), Send destination unit address (E1 Hex
∗
2)
C+4 D04004 0000 Response required/not required (0 Hex: required), Communications port number (0 Hex),
fixed to 0 Hex, re-send count (0 Hex)
C+5 D04005 0000 Response monitor time (0000: 2 s default)
∗
1: Set to 00 Hex as destination is self node.
∗
2: Unit number of Loop Control Board is set to E1 Hex.
Response data
D D03000 0240
Command code: 0240 (READ MULTIPLE ITEMS FROM FUNCTION BLOCK)
D+1 D03001 Store End code
D+2 D03002 0001 Number of normal read ITEMs: 1
D+3 D03003 0007 Read start address: 007
D+4 D03004 02 @ @ Data length: 2 bytes
D+5 D03005 Read data: @ @
Execution
condition
A20200
Network
Communications
Enabled Flag
for port 0
@ @
FINS command
Response
CPU Unit Loop Controller