Omron C200HW-CLK21, CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1, CQM1H-CLK21, CS1W-CLK21-V1 208

Models: CS1W-RPT01 CJ1W-CLK21-V1 CVM1-CLK21 CQM1H-CLK21 CS1W-CLK21-V1 C200HW-CLK21

1 401
Download 401 pages 33.98 Kb
Page 231
Image 231

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.

Bit 7

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

Data link operational status

 

 

 

 

0: Manual setting

0: Not active

 

 

 

 

 

 

1: Automatic setting

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

Bit

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 1

 

 

 

Node #1

 

 

 

 

 

7

6

5

4

3

2 1 0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 2

 

 

 

Node #2

 

 

 

 

PLC status

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Byte 3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Node #3

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0: Inactive (user program not running)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1: Active (user program running)

 

 

 

 

 

 

 

 

 

 

 

Byte 62

 

 

 

Node #62

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PLC's CPU Unit error

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0:Normal

1:Error

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

Error: Offset exceeds number of send words.

0:Normal

1:Error

Insufficient (short) receive area Insufficient: Receive area is smaller than send area.

0: Sufficient

Excess data is truncated; other data is received.

1: Insufficient

 

Remaining receive area

Remaining: Receive area is larger than send area.

0: Not remaining

Data is received and remaining words are cleared.

1: Remaining

 

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.

208

Page 231
Image 231
Omron C200HW-CLK21, CVM1-CLK21, CS1W-RPT01, CJ1W-CLK21-V1, CQM1H-CLK21, CS1W-CLK21-V1 operation manual 208