Connection Data Read: 05 02 - Omron CJ - REFERENCE MANUAL 07-2009 Reference Manual

Communications commands
Hide thumbs Also See for CJ - REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

FINS Commands

5-3-16 CONNECTION DATA READ: 05 02

Execution Conditions
Command Format
Response Format
Parameters
192
CPU Unit information (response)
The total number of racks (CPU Racks + Expansion I/O Racks) connected to
the CPU Unit is returned in a single byte (8 bits) of data in the configuration
shown below.
7
6
5
4
3
Bit
Not used.
Number of Racks connected to the CPU Unit
= CPU Rack + Expansion I/O Racks (1 to 8 Hex).
End code (response)
Refer to 5-1-3 End Codes for information on end codes.
Reads the model number of the specified Units.
Access right at
other device
OK
RUN mode
OK
05
02
Command
Number of
code
items
Unit address
05
02
Command
End code
code
Number of items
Unit address (command and response)
Specify the unit address of the first Unit whose connection data is to be read.
If the specified Unit does not exist, the connection data is read from the next
Unit. Specify the following for the unit address.
CPU Unit: 00 (hex)
CPU Bus Unit: 10 + unit number (10 to 1F hex)
Special I/O Unit: 20 + unit number (20 to 7F hex)
Inner Board: E1 (hex)
Number of items (command)
Specify the number of items to be read. The number of items will be returned
in order for the number specified, beginning with the unit address set in the
"unit address" parameter. Any number between 01 and 19 (hexadecimal) can
be specified. If the number of items is not specified, 19 hex (25) will be used.
2
1
0
UM read
DIP switch UM
protection
protection
OK
OK
MONITOR mode
OK
20 bytes
Model number
Unit address
Data
Section 5-3
Network write
protection
OK
PROGRAM mode
OK
20 bytes
Model number
Unit address

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents