Error Log Read: 21 02 - Omron SYSMAC CS1W-SCB41-V1 Operation Manual

Sysmac cs series; sysmac cj series. serial communications boards and serial communications units
Table of Contents

Advertisement

Error Logs

11-4-8 ERROR LOG READ: 21 02

Command Format
Response Format
21
02
Command
End code
code
Parameters
352
• Model: "CS1W-SCU21-V1
• Version: "V1.00V1.00V1.00V1.00"
This command reads the Board or Unit's error log.
Max. no. of
No. of
No. of
stored records
stored
records
records
Beginning record number (command)
Specify the first record to be read as 2-byte (4-digit) hexadecimal. The first
record number is 0000 Hex and the setting range is 0000 to 003F Hex (0 to 63
decimal).
Number of records (command, response)
Specify the number of records to read. The setting range is 0001 to 0040 Hex
(1 to 64 decimal). The number of read records will be returned with the
response. If there is no error log, the response will be 0000.
Maximum number of stored records (response)
Indicates the maximum number of records that can be stored. The number is
always 0040 Hex (64 records) for Serial Communications Boards and Units.
Number of stored records (response)
Indicates the number of records recorded at the time the command is exe-
cuted. The number of stored records will be returned with the response within
the range of 0000 to 0040 Hex (0 to 64 decimal).
When the FA command for Host Link communications is used to read the
error log, set the number of stored records to between 0001 and 0035 Hex (1
to 53 decimal). Higher numbers cannot be set because they would cause the
response to exceed the maximum Host Link frame length. If a larger number
is set and the setting agrees with the actual number of stored records, 110B
Hex will be returned as the end code followed by all the records that can be
returned without exceeding the maximum frame length.
Error log data (response)
The specified number of error log records will be returned in sequence start-
"
Padded with ASCII spaces (20 hex) to make
20 bytes total, including the model number.
Model number
Trace function version
Macro function version
Board or Unit version
Communications control version
21
02
Command
Beginning
No. of
code
record no.
records
10 bytes
Error log
data
Section 11-4
10 bytes
Error log
data

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents