Omron CS1W-LC001 Operation Manual page 199

Loop control unit
Table of Contents

Advertisement

Description of FINS Commands
182
READ ITEM FROM MULTIPLE FUNCTION BLOCKS
Function
Reads the specified ITEM from multiple function blocks.
Command format
Data format
Data length
(bytes)
1) Number of ITEMs
Specify the number of ITEMs to read.
2) Parameter type
Specify function block addresses 0 to 999 within the range 0 to 03E7 Hex.
3) Read start address
Specify ITEM numbers 0 to 999 in the function block specified by
parameter type within the range 0 to 03E7 Hex.
Specifiable ITEMs are all ITEMs in all function blocks excluding the
sequence commands (ITEM011 onwards) in the Step Ladder Program
block (Block Model 301).
Note 1
Specify the parameter type and read start address for the number of ITEMs.
Response format
Command
code
Data
format
02
Hex
Data
length
1
(bytes)
Note 2
When one or more ITEMs has been read correctly, this shall be regarded as
a normal completion. By a normal completion, the number of ITEMs that were
read correctly and the data of the number of ITEMs that were read correctly
(1 to number of ITEMs) are returned as the FINS response.
The length of the read data is expressed in bytes.
Command code
Number
of ITEMs
02 Hex
42 Hex
1
1
Response
Number
code
of
normal
42
read
MRES SRES
Hex
ITEMs
1
1
1
2
Parameter
Read start
type (block
address
address)
2
2
2
Á
Read
Data
Parameter
start
length
type
address
(byte)
2
2
1
Á
Section
6-3
command code
02 42
Á repeated
Â
Read
Á repeated
data
Â
Â

Advertisement

Table of Contents
loading

Table of Contents