8-39
8 Message Communications
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
8-3 C
IP Ob
jects Sen
t to the Eth
erNet/IP U
n
it
8
8
-3
-5 Con
troller
Object (Class I
D: C4 He
x)
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.
Instance Attribute ID
None
Service Codes
Specify the service to execute with the service code.
Request Paths (IOIs) to Specify Objects
When you specify an object, specify the request path (IOI) for each service code as given below.
8-3-5
Controller Object (Class ID: C4 Hex)
Attribute ID
Parameter name
Description
Attribute
Read/write data
Data
type
Value
01 hex
Revision
Revision of the object
Read
UINT
Always 0002 hex.
02 hex
Max Instance
The maximum instance number
Read
UINT
Always 0001 hex
64 hex
PLC Mode
This can be used to read and
modify the Controller operating
mode.
Write
UINT
Specify this when you want to
write to an attribute.
0000 hex: PROGRAM mode
0004 hex: RUN mode
65 hex
PLC Error Status
Indicates when there is a Control-
ler error. Changes to TRUE when
a fatal or non-fatal error occurs.
Read
UINT
0000 hex: There is no Controller
error.
0001 hex: There is a Controller
error.
66 hex
PLC Model
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.
Read
STRING
Service
code
Parameter name
Description
Supported services
Classes
Instances
0E hex
Get_Attribute_Single
Reads the value of the specified attribute.
Supported.
No supported.
10 hex
Set_Attribute_Single
Writes a value to the specified attribute.
Supported.
No supported.
Service code
Class ID
Instance ID
Attribute ID
0E hex
Get_Attribute_Single
C4 hex
00 hex
Specifies the attribute of the class to
read or write: 01 hex, 02 hex, or 64 to
66 hex
10 hex
Set_Attribute_Single
Summary of Contents for SYSMAC CJ1W-EIP21
Page 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Page 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Page 437: ......