Error Log Read - Omron CJ1W-ETN21 - 04-2009 Operation Manual

Ethernet units construction of networks
Table of Contents

Advertisement

Command/Response Reference
Command Block
Parameters
Test Data (Command)
Precautions
7-3-7

ERROR LOG READ

Command Block
Response Block
Parameters
Beginning Record Number
(Command)
Number of Records
(Command, Response)
Maximum Number of
Stored Records
(Response)
Number of Stored
Records (Response)
08 03
1,460 bytes max.
Command
Test data
code
This command specifies the data to be sent to the specified nodes. Up to
1,460 bytes can be specified.
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:
Destination unit address:
Response/no response flag:
Reads the error log.
21 02
Command
Beginning
Number
code
record
of
number
records
21 02
Response
Maximum
Command
code
code
number
of stored
records
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.
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.
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).
The number of records stored at the time the command is executed is
returned.
FF (broadcast data)
FE (Ethernet Unit)
1 (no response)
10 bytes
Number
Number
Error log data
of stored
of
records
records
Section 7-3
10 bytes
Error log data
167

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents