![background image](http://html1.mh-extra.com/html/omron/sysmac-cj1w-eip21/sysmac-cj1w-eip21_operation-manuals_742257245.webp)
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
Содержание SYSMAC CJ1W-EIP21
Страница 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 10: ...Sections in this Manual 8 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 20: ...Read and Understand this Manual 18 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 80: ...2 Installing Ethernet Networks 2 12 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 130: ...6 Testing Communications 6 4 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 206: ...7 Tag Data Link Functions 7 76 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 246: ...8 Message Communications 8 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 374: ...13 Troubleshooting 13 56 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Страница 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Страница 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Страница 437: ......