Omron SYSMAC CS Series Operation Manual page 239

Loop control boards, process-control cpu units, loop controller, loop-control cpu units
Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Description of FINS Commands
Note
Data format
Command code
02 Hex
Data length
1
(bytes)
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).
1. Specify the read start address for the number of ITEMs.
Response format
Response code
40 Hex
MRES
SRES
1
1
1
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.
3. For details of the data length of each ITEM, refer to the rightmost column
"Data length (bytes)" in the ITEM Lists in Section 2 Description of Function
Blocks in the Function Block Reference Manual.
Response code
Response code
0000 Hex
1001 Hex
1002 Hex
1003 Hex
1101 Hex
1103 Hex
110B Hex
110C Hex
Number of
Read start
normal
address
read
ITEMs
2
2
Normal completion
Command length over
• The command length exceeds 2002 bytes.
Insufficient command length
• The command length is less than six bytes.
Number of elements/number of data mismatch
• The number of read start addresses does not match the
number of ITEMs.
No type
• An unusable block address was specified in the parameter
type.
• The block address specified in the parameter type is an
unregistered function block.
• Function blocks other than System Common blocks cannot
be accessed as the RAM has not yet been initialized
(cleared) after a battery failure causes content of RAM to be
lost.
Specified address out-of-range error
• There is not even one ITEM specified by the start address.
Response exceeds maximum response length
• The length of the read data section exceeds 968 bytes.
Other item parameter error
• Number of ITEMs is 0.
Section 6-3
Data
Read data
* repeated
length
(byte)
1
---
Meaning
---
207

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents