Error log read, Precautions, Command block response block parameters – Omron SYSMAC CJ1W-EIP21 User Manual

Page 424: Beginning record number (command), Number of records (command, response), Maximum number of stored records (response), Number of stored records (response), Error log data (response)

Advertising
background image

398

FINS Commands Addressed to EtherNet/IP Units or Built-in EtherNet/IP Ports

Appendix E

Precautions

• No response is made to this command.

• When using this command, set the FINS header parameters (or the control data for the CMND(194)

instruction) as follows:

Destination node address:

FF (broadcast data)

Destination unit address:

FE (EtherNet/IP Unit or built-in EtherNet/IP port)

Response/no response flag: 1 (no response)

ERROR LOG READ

Reads the error log.

Command Block

Response Block

Parameters

Beginning Record Number (Command)

The first record to be read. The first record number can be specified in the range between 0000 and 003F (0 to
63 decimal) where 0000 is the oldest record.

Number of Records (Command, Response)

The number of records to read is specified between 0001 and 0040 (1 to 64 decimal) in the command. The
response returns the actual number of records read.

Maximum Number of Stored Records (Response)

Indicates the maximum number of records that can be stored in the error log. The maximum number of error
log records depends on the model of CPU Unit or CPU Bus Unit being used. In an EtherNet/IP Unit or built-in
EtherNet/IP port, the maximum number of stored records is fixed at 40 (64 decimal).

Number of Stored Records (Response)

The number of records stored at the time the command is executed is returned.

Error Log Data (Response)

The specified number of error log records from the beginning record number is returned sequentially. The total
number of bytes in the error log is calculated as the number of records x 10 bytes/record. Each error log record
thus comprises 10 bytes, configured as follows:

21 02

Beginning

record

number

Number

of

records

Command

code

21 02

Maximum

number

of stored

records

Number

of stored

records

Number

of

records

10 bytes

10 bytes

Error log data

Response

code

Command

code

Error log data

Advertising
This manual is related to the following products: