Omron NJ Series User Manual page 324

Machine automation controller, cpu unit built-in ethernet/ip port
Hide thumbs Also See for NJ Series:
Table of Contents

Advertisement

8 CIP Message Communications
• Total number of readout records (UINT)
• Previous error update count (UINT)
2
Specify the following parameters and execute Get current error (3A hex).
• Unit No: Unit number subject to error information read
• Start number of read record: 0
• Number of read record: Number of read records
3
The following parameters are read from the response data.
• Error update count
• Number of registered record
• Number of readout record
• Current error record
When the first response is obtained, the value of Error update count is retained as the previous
error update count.
When the second response onwards is obtained, the previous error update count and the Error
update count are compared. If the value is updated with any additional current errors of the
Unit, execute this operation from step1 again.
4
Add the Number of readout record value of the response data to the total number of readout
records.
5
If the total number of readout records does not reach the Number of registered record, it
means that some records have not been read yet. Specify the following parameters and exe-
cute Get current error again.
• Start number of read record: Start number of read record when the previous service was
executed + Number of readout record of response.
• Number of read record: Number of read records
Repeat steps (3) to (5) until the total number of readout records matches the Number of registered
record.
Get Event Log (Service Code: 3B hex)
Obtain the event log of the Controller or specified NX Unit.
When the Controller is specified, the event log saved in the Controller is obtained. Event logs of slaves
connected to the Controller such as EtherCAT slaves cannot be obtained.
 Request Data Format
Parameter name
Service
Request Path Size
Request Path
8-62
Data type
USINT
Get event log service: 3B hex
USINT
Size of Request Path: 02 hex
Padded EPATH
Request path: 2074 2401 hex
Class ID: 74 hex
Instance ID: 01 hex
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Description

Advertisement

Table of Contents
loading

Table of Contents