beautypg.com

Error log clear, 3-8 error log clear, Precautions – Omron CS1W-ETN21 User Manual

Page 191: Response codes, Command block response block response codes

background image

166

Command/Response Reference

Section 7-3

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 com-
prises 10 bytes, configured as follows:

Error Code, Detailed Information

Details of the error stored in the record. Refer to 8-3-1 Error Log Error Codes
for details.

Minute, Second, Day, Hour, Year, Month

Indicate the time at which the error stored in the record occurred.

Precautions

If the error log contains fewer records than the number specified in the num-
ber of records parameter, all records stored in the error log at the time the
command is executed will be returned and the command executed will end
normally.

Response Codes

7-3-8

ERROR LOG CLEAR

Clears the number of records stored in the Ethernet Unit error log.

Command Block

Response Block

Response Codes

Error code

Detailed

information

1st byte

10th byte

Minutes Second

Day Hour Year Month

Response code

Description

0000

Normal

1001

Command too large

1002

Command too small

1103

Beginning record number is out of range

110C

The number of read records is 0.

21 03

Command code

21 03

Response

code

Command

code

Response code

Description

0000

Normal

1001

Command too large