Omron CS1W-RPT01 Network Card User Manual


 
208
Commands and Responses for Controller Link Units Section 6-5
Status flag (response): The overall data link status is returned in one byte of
data, as shown in the following diagram.
Data link mode (response): The data link mode during operation is returned
in one byte of data, as follows:
01 (Hex): Automatic (Equality Layout)
81 (Hex): Automatic (1:N allocation)
03 (Hex): Manual
Refresh cycle time present value, refresh cycle time maximum value
(response): The present value and the maximum value of the cycle time for
refreshing the data link area are both returned in units of 1 ms, in hexadeci-
mal, within a range of 0000 to 00FF (decimal: 0 to 255).
Status (response): The data link status of each mode is returned as shown
in the following diagram. It is the same as the data link status in the PLC.
(Refer to page 156.)
Note 1. If the type is set to 0000 Hex (or is omitted), only the 32 bytes for nodes 1
to 32 will be returned.
2. The data link status is not refreshed while the data links are inactive.
3. Nodes which are not active in the network or participating in the data links
will generate communications errors.
Bit
Data link operational status
0: Not active
1: Active
1: Data link setting error
1: No data link table
Data link mode during operation
0: Manual setting
1: Automatic setting
7 6 5 4 3 2 10
0 0
Allocation for automatic setting
00: Equality layout
01: 1:N allocation, common type
10: 1:N allocation, 1 to 1 type
11: 1:N allocation, delivery type
7 6 5 4 3 2 1 0
76543210
Byte 1
Byte 2
Byte 3
Bit
Byte 62
Node #1
Node #2
Node #3
Node #62
Data link status for each node
PLC status
0: Inactive (user program not running)
1: Active (user program running)
Communications error (data link reception)
0: Normal
1: Error
PLC's CPU Unit error
0: Normal
1: Error
Data link participation
0: Not in data link or data link inactive
1: In data link
Offset error
0: Normal
1: Error
Error: Offset exceeds number of send words.
Insufficient (short) receive area
0: Sufficient
1: Insufficient
Insufficient: Receive area is smaller than send area.
Excess data is truncated; other data is received.
Remaining receive area
0: Not remaining
1: Remaining
Remaining: Receive area is larger than send area.
Data is received and remaining words are cleared.