Omron CS1W-CLK21-V1 Broadcasts test data to all nodes in a specified network, Decimal 1 to

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

1 401
Download 401 pages 33.98 Kb
Page 233
Image 233

Commands and Responses for Controller Link Units

Section 6-5

6-5-10 BROADCAST TEST DATA SEND

Broadcasts test data to all nodes in a specified network.

Command Block

08 03

Command code

2,000 bytes max.

Test data

There is no response to this command.

The control data must be set as follows when this command is issued:

Destination node address:

FF (Hex) (for broadcasting the data)

Destination unit address:

FE (Hex) (for the Controller Link Unit)

Response required/not required: 1 (response not required)

The transmission and reception status is checked by comparing the number of times this command is issued with the number of receptions parameter of the BROADCAST TEST RESULTS READ command. (For details, refer to 6-5-

9 BROADCAST TEST RESULTS READ.

6-5-11 ERROR LOG READ

Reads the PLC’s error log.

Command Block

21

02

 

 

Command

Beginning

No. of

code

record no.

records

Response Block

21

 

02

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

Response

 

Max. no. of

No. of

No. of

code

 

code

stored records

stored

records

 

 

 

 

 

 

 

 

 

records

 

 

 

10 bytes

Error log data

10 bytes

Error log data

Parameters

Beginning record no. (command): Specifies the first record to be read, in

 

two bytes (four digits) in hexadecimal. (The first record number is 0000 in

 

hexadecimal. Designate the record number within a range of 0000 to 0026 in

 

hexadecimal (decimal: 0 to 38)).

 

No. of records (command and response): Specifies the number of records

 

to be read, within a range of 0001 to 0027 in hexadecimal (decimal: 1 to 39).

 

The response gives the number of records actually read.

 

Max. no. of stored records (response): Specifies the maximum number of

 

records that can be recorded, within a range of 0001 to 0027 in hexadecimal

 

(decimal: 1 to 39).

 

No. of stored records (response): The number of records that have been

 

recorded by the time the command is executed. The response will be given

 

within a range of 0001 to 0027 hexadecimal (decimal: 1 to 39).

 

Error log data (response): The specified error log records are returned in

 

sequence starting from the beginning record number. The total number of

 

bytes required is calculated as follows:

 

No. of records x 10 bytes

210

Page 233
Image 233
Omron CS1W-CLK21-V1 Broadcasts test data to all nodes in a specified network, Reads the PLC’s error log, Decimal 1 to