Controller Object (Class Id: C4 Hex) - Omron CJ1W-EIP21 Operation Manuals

For nj-series cpu unit. cj-series ethernet/ip units
Hide thumbs Also See for CJ1W-EIP21:
Table of Contents

Advertisement

8-3-5

Controller Object (Class ID: C4 Hex)

This object is used to get the status of the Controller or to change the operating mode of the Controller.
 Class ID
Specify C4 hex.
 Instance ID
Specify 00 hex.
Class Attribute ID
The class attribute ID specifies the attribute (value) of the entire object.
Attribute ID
Parameter name
01 hex
Revision
02 hex
Max Instance
64 hex
PLC Mode
65 hex
PLC Error Status
66 hex
PLC Model
Instance Attribute ID
None
 Service Codes
Specify the service to execute with the service code.
Service
Parameter name
code
0E hex
Get_Attribute_Single
10 hex
Set_Attribute_Single
 Request Paths (IOIs) to Specify Objects
When you specify an object, specify the request path (IOI) for each service code as given below.
Service code
0E hex
Get_Attribute_Single
10 hex
Set_Attribute_Single
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
Description
Revision of the object
The maximum instance number
This can be used to read and
modify the Controller operating
mode.
Indicates when there is a Control-
ler error. Changes to TRUE when
a fatal or non-fatal error occurs.
Indicates the model of the Con-
troller. The length is always 2
bytes for the size + 20 bytes for
the name. Unused area is padded
with spaces.
Description
Reads the value of the specified attribute.
Writes a value to the specified attribute.
Class ID
Instance ID
C4 hex
00 hex
8 Message Communications
Read/write data
Attribute
Data
type
Read
UINT
Always 0002 hex.
Read
UINT
Always 0001 hex
Write
UINT
Specify this when you want to
write to an attribute.
0000 hex: PROGRAM mode
0004 hex: RUN mode
Read
UINT
0000 hex: There is no Controller
error.
0001 hex: There is a Controller
error.
Read
STRING
Classes
Supported.
Supported.
Specifies the attribute of the class to
read or write: 01 hex, 02 hex, or 64 to
66 hex
Value
Supported services
Instances
No supported.
No supported.
Attribute ID
8-39
8

Advertisement

Table of Contents
loading

Table of Contents