Omron CJ1W-ETN11 Network Card User Manual


 
222
Command/Response Reference Section 11-3
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)
The maximum number of records that can be stored in the error log. Care is
required 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).
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 com-
prises 10 bytes, configured as follows:
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 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.
0221
Command
code
Beginning
record
number
Number
of
records
0221
10 bytes
Command
code
Response
code
Maximum
number
of stored
records
Number
of stored
records
Number
of
records
Error log
data
10 bytes
Error log
data
1st byte 10th byte
Error
code
Detailed
information
Minutes
Second
Day
Hour
Year
Month