Académique Documents
Professionnel Documents
Culture Documents
DeviceNet Objects
Appendix C presents information about the DeviceNet objects that can
be accessed using Explicit Messages. For information on the format of
Explicit Messages and example ladder logic programs, refer to
Chapter 6, Using Explicit Messaging.
Object
Identity Object
Connection Object
Register Object
Parameter Object
Parameter Group Object
PCCC Object
Class Code
Hex.
Dec.
0x01
1
0x05
5
0x07
7
0x0F
15
0x10
16
0x67
103
Page
C-2
C-4
C-6
C-8
C-11
C-13
C-2
DeviceNet Objects
Identity Object
Class Code
Hexadecimal
0x01
Decimal
1
Description
Class
Host drive
22-COMM-D
22-SCM-232 or 22-HIM-* (when present)
Description
Class
22-COMM-D
Class Attributes
Attribute
ID
1
2
Access Name
Rule
Get
Revision
Get
Max Instance
Data Type
Description
UINT
UINT
1
Maximum Instance Number
DeviceNet Objects
Access
Rule
Get
Get
Get
Name
Data Type
Description
Vendor ID
Device Type
Product Code
UINT
UINT
UINT
1 = Allen-Bradley
Get
Revision
Get
Status
Struct of
USINT
USINT
WORD
6
7
Get
Get
Serial Number
Product Name
UDINT
SHORT_
STRING
Services
Service Code
0x01
0x05
0x0E
0x10
Implemented for:
Class
Instance
Yes
Yes
Yes
No
Yes
Yes
No
No
Service Name
Get_Attributes_All
Reset
Get_Attribute_Single
Set_Attribute_Single
C-3
C-4
DeviceNet Objects
Connection Object
Class Code
Hexadecimal Decimal
0x05
5
Instances
Instance
1
2
4
6 10
Description
Master-Slave Explicit Message Connection
Polled I/O Connection
Change of State/Cyclic Connection
Explicit Message Connection
Instance Attributes
Refer to the DeviceNet Specification for more information.
Attribute Access Name
ID
Rule
1
Get
State
Data Type
Description
USINT
Get
USINT
Get
USINT
0 = Nonexistent
1 = Configuring
2 = Waiting for connection ID
3 = Established
4 = Timed out
0 = Explicit Message
1 = I/O Message
The Transport Class Trigger for
this instance
CAN Identifier to transmit on
USINT
USINT
Instance Type
Transport Class
Trigger
Get
Produced Cnxn
ID
Get
Consumed Cnxn
ID
Get
Initial Comm
Char
Get
Produced Cnxn
Size
Get
Consumed Cnxn
Size
Get/Set EPR
12
4
5
6
7
8
USINT
UINT
UINT
UINT
DeviceNet Objects
C-5
Get
16
Get
Data Type
Description
UINT
ARRAY of
UINT
Services
Service Code
0x0E
(1)
Implemented for:
Class
Instance
No(1)
Yes
Service Name
Get_Attribute_Single
C-6
DeviceNet Objects
Register Object
Class Code
Hexadecimal Decimal
0x07
7
Instances
The number of instances is fixed at thirteen and is as shown below:
Instance
0
1
2
3
4
5
6
7
8
9
10
11
12
13
(1)
Description
Class
Command and reference for all drives (read/write)
Status and feedback for all drives (read-only)
Command and reference for Drive 0 (read/write)
Status and feedback for Drive 0 (read-only)
Command and reference for Drive 1 (read/write)
Status and feedback for Drive 1 (read-only)
Command and reference for Drive 2 (read/write)
Status and feedback for Drive 2 (read-only)
Command and reference for Drive 3 (read/write)
Status and feedback for Drive 3 (read-only)
Command and reference for Drive 4 (read/write)
Status and feedback for Drive 4 (read-only)
Masked Command write for all drives (read/write)(1)
The Data instance attribute for the masked command is the same size as
the data attribute for instance 1. However, the structure is a Command word
followed by a mask word for each drive. The Logic Command for each drive
is set to the value of the first word of the data where there are ones in the
second word of the data.
Logic Command = ((Command word and not mask word) or
(command word and mask word))
If a drive is not present, the Data instance attributes for that individual
drive will contain values of zero and the Bad Flag instance attribute will
be set.
The size of the Data instance attribute for instances 1, 2, and 13 will
change depending upon the number of drives for which the adapter is
configured.
DeviceNet Objects
C-7
Instance Attributes
Attribute Access Rule Name
ID
1
Get
Bad Flag
Data Type
Description
BOOL
Get
BOOL
3
4
Get
Size
Conditional(1) Data
(1)
Direction
UINT
ARRAY of
BITS
Services
Service Code
0x0E
0x10
Implemented for:
Class
Instance
No
Yes
No
Yes
Service Name
Get_Attribute_Single
Set_Attribute_Single
C-8
DeviceNet Objects
Parameter Object
Class Code
Hexadecimal Decimal
0x0F
15
Description
Class
Drive Parameter 1
"
Drive Parameter n
Adapter Parameter 1
"
Adapter Parameter 21
Description
Class
Adapter Parameter 1
"
Adapter Parameter 21
Class Attributes
Attribute
ID
1
2
8
Access
Rule
Get
Get
Get
Get
10
Get
Name
Revision
Max Instance
Parameter Class
Descriptor
Configuration
Assembly
Instance
Native Language
UINT
UINT
WORD
1
Number of parameters
Bits that describe parameters.
UINT
USINT
0 = English
1 = French
2 = Spanish
3 = Italian
4 = German
5 = Japanese
6 = Portuguese
7 = Mandarin Chinese
8 = Russian
9 = Dutch
DeviceNet Objects
C-9
(2)
(3)
(4)
C-10
DeviceNet Objects
Implemented for:
Class
No
Yes
Yes
No
No
Service Name
Instance
Yes
No
Yes
Yes
Yes
Get_Attribute_All
Reset
Get_Attribute_Single
Set_Attribute_Single
Get_Enum_String
DeviceNet Objects
C-11
Description
Class
Drive Group 1 Attributes
"
Drive Group n Attributes
Adapter Group Attributes
Description
Class
Adapter Group Attributes
Class Attributes
Attribute Access Name
ID
Rule
1
Get
Parameter group
version
2
Get
Max Instance
8
Get
Native
Language
Data
Type
UINT
Description
UINT
USINT
C-12
DeviceNet Objects
Get
Get
Get
"
n
Get
(1)
Data
Description
Type
SHORT_ Group name
STRING
Number of Members UINT
Number of parameters in group.
in Group
(1)
1st Parameter
UINT
Number in Group
(1)
2nd Parameter
UINT
Number in Group
"
(1)
n Parameter
UINT
Number in Group
Services
Service Code
0x0E
Implemented for:
Class
Yes
Service Name
Instance
Yes
Get_Attribute_Single