How to Use FINS Commands
Section
6-1
175
4. When the FINS response frame is returned from the Loop Control Unit,
data conforming to the response format is stored to the response
address.
5. The response is then read when the Network Communications Enabled
Flag corresponding to the communications port number to be used turns
ON.
For details, refer to items describing the CMND (DELIVER COMMAND)
instruction in the Communications Commands Reference Manual (Cat.
No. SBCA304) or the CS1 CPU Unit Command Reference Manual (Cat.
No. SBCA-302).
Example
To read ITEM007 (PV) at block address 001 (e.g. in the case of Basic PID)
on the Loop Control Unit currently mounted on the self node (when the unit
number of the Loop Control Unit is 01)
CMND
D02000
D03000
D04000
S: First command w ord
D: First response w ord
C: First control w ord
Command data
S
D02000
0 2 4 0
Command code: 0240 (READ MULTIPLE ITEMS FROM FUNCTION BLOCK)
S+1
D02001
0 0 0 1
Block address: 0001
S+2
D02002
0 0 0 1
Number of ITEMs: 1
S+3
D02003
0 0 0 7
Read start address (example: PV of basic PID)
Control data
C
D04000
0 0 0 8
Number of command data bytes: Above eight bytes (0008 Hex)
C+1
D04001
0 0 0 B
Number of response data bytes: 11 bytes (000B Hex)
C+2
D04002
0 0 0 0
Fixed to 00 Hex. Send destination netw ork address
C+3
D04003
0 0 1 1
Send destination node address (00 Hex
∗
1), Send destination unit address (11 Hex
∗
2)
C+4
D04004
0 0 0 0
Response required/not required (0 Hex: required), Communications port number (0 Hex),
fixed to 0 Hex, re-send count (0 Hex)
C+5
D04005
0 0 0 0
Response monitor time (0000: 2 s default)
∗
1: Set to 00 Hex as destination is self node.
∗
2: Example w here unit number of Loop Control Unit is 01. Set 11 Hex obtained by adding 10 Hex to 01.
Response data
D
D03000
0 2 4 0
Command code: 0240 (READ MULTIPLE ITEMS FROM FUNCTION BLOCK)
D+1
D03001
Store
End code
D+2
D03002
0 0 0 1
Number of normal read ITEMs: 1
D+3
D03003
0 0 0 7
Read start address: 007
D+4
D03004
0 2
Data length: 2 bytes
D+5
D03005
Read data: