Omron SYSMAC CS1W-LCB01 Operation Manual page 239

Loop control board
Hide thumbs Also See for SYSMAC CS1W-LCB01:
Table of Contents

Advertisement

How to Use FINS Commands
Example
Execution
condition
Command data
S
D02000
S+1
D02001
S+2
D02002
S+3
D02003
Response data
D
D03000
D+1
D03001
D+2
D03002
D+3
D03003
D+4
D03004
D+5
D03005
Control data
C
D04000
C+1
D04001
C+2
D04002
C+3
D04003
C+4
D04004
C+5
D04005
∗ 1: Set to 00 Hex as destination is self node.
∗ 2: Unit number of Loop Control Board is set to E1 Hex.
2) By the Host Link or the networked host computer
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
A20200
CMND
Network
D02000
Communications
Enabled Flag
D03000
for port 0
D04000
Command code: 0240 (READ MULTIPLE ITEMS FROM FUNCTION BLOCK)
0240
0001
Block address: 0001
0001
Number of ITEMs: 1
0007
Read start address (example: PV of basic PID)
Command code: 0240 (READ MULTIPLE ITEMS FROM FUNCTION BLOCK)
0240
Store
End code
0001
Number of normal read ITEMs: 1
0007
Read start address: 007
02 @ @
Data length: 2 bytes
@ @
Read data: @ @
0008
Number of command data bytes: Above eight bytes (0008 Hex)
000B
Number of response data bytes: 11 bytes (000B Hex)
0000
Fixed to 00 Hex. Send destination network address
Send destination node address (00 Hex ∗ 1), Send destination unit address (E1 Hex ∗ 2)
00E1
0000
Response required/not required (0 Hex: required), Communications port number (0 Hex),
fixed to 0 Hex, re-send count (0 Hex)
0000
Response monitor time (0000: 2 s default)
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.
S: First command word
D: First response word
C: First control word
CPU Unit
FINS command
Response
Section 6-1
Loop Controller
205

Advertisement

Table of Contents
loading

Table of Contents