Omron C200HW-CLK21 Operation Manual page 231

Controller link units
Hide thumbs Also See for C200HW-CLK21:
Table of Contents

Advertisement

Commands and Responses for Controller Link Units
Bit
7
6
5
4
3
2
1
Byte 1
Node #1
Byte 2
Node #2
Byte 3
Node #3
Byte 62
Node #62
Note
208
Status flag (response): The overall data link status is returned in one byte of
data, as shown in the following diagram.
Bit
7
Data link operational status
0: Not active
1: Active
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.)
Data link status for each node
0
7
6
5
4
3
2
1
Communications error (data link reception)
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
Insufficient (short) receive area
0: Sufficient
1: Insufficient
Remaining receive area
0: Not remaining
1: Remaining
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.
6
5
4
3
2
1
0
0 0
1: Data link setting error
1: No data link table
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
Data link mode during operation
0: Manual setting
1: Automatic setting
0
PLC status
0: Inactive (user program not running)
1: Active (user program running)
PLC's CPU Unit error
0: Normal
1: Error
Error: Offset exceeds number of send words.
Insufficient: Receive area is smaller than send area.
Excess data is truncated; other data is received.
Remaining: Receive area is larger than send area.
Data is received and remaining words are cleared.
Section 6-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents