![background image](http://html1.mh-extra.com/html/omron/cs1w-etn01/cs1w-etn01_operation-manuals_742528208.webp)
11-3
Section
Command/Response Reference
198
The number of records to read is specified between 0001 and 0040 (1 to 64 deci-
mal) in the command. The response returns the actual number of records read.
The maximum number of records that can be stored in the error log. Care is re-
quired as the error log differs according to the type of PC or CPU Bus Unit. In an
Ethernet Unit, the maximum number of stored records is fixed at 40 (64 decimal).
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:
1st byte
10th byte
Error
code
Detailed
information
Minutes
Second
Day
Hour
Year
Month
Error Code, Detailed Information
Details of the error stored in the record. Refer to Section 10 Troubleshooting 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 number 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
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.
11-3-8 ERROR LOG CLEAR
Clears the number of records stored in the Ethernet Unit error log.
Command Block
03
21
Command
code
Response Block
03
21
Command
code
Response
code
Response Codes
Response code
Description
0000
Normal
1001
Command too large
Number of Records
(Command, Response)
Maximum Number of Stored
Records (Response)
Number of Stored Records
(Response)