5-10 broadcast test data send, 5-11 error log read, Broadcast test data send – Omron CQM1H-CLK21 User Manual

Page 233: Error log read

Advertising
background image

210

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

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

Response Block

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

Command

code

Test data

2,000 bytes
max.

08

03

Command

code

02

21

Beginning

record no.

No. of

records

02

21

Max. no. of

stored records

No. of

stored

records

No. of

records

Error log

data

Error log

data

Response

code

Command

code

10 bytes

10 bytes

Advertising
This manual is related to the following products: