Download 7 Class Cnet Module - Mid-Island Electrical Supply

Transcript
C-2
ControlNet Objects
Identity Object
Class Code
Hexadecimal
0x01
Decimal
1
Instances
The number of instances depends on the number of components in the
device connected to the adapter. This number of components can be read
in Instance 0, Attribute 2.
Instance
0
1
2-7
Description
Class
Entire device (DPI host)
DPI Peripherals on ports 1 - 6
Class Attributes
Attribute Access
ID
Rule
2
Get
Name
Data Type
Description
Max Instance
UINT
Total number of instances
Instance Attributes
Attribute
ID
1
2
3
Access
Rule
Get
Get
Get
Name
Data Type
Description
Vendor ID
Device Type
Product Code
UINT
UINT
UINT
1 = Allen-Bradley
120
Number identifying product
name and rating
4
Get
5
Get
Revision:
Major
Minor
Status
6
7
Get
Get
Serial Number
Product Name
STRUCT of:
USINT
Value varies
USINT
Value varies
WORD
Bit 0 = Owned
Bit 2 = Configured
Bit 10 = Recoverable fault
Bit 11 = Unrecoverable fault
UDINT
Unique 32-bit number
SHORT_
STRING
Product name and rating
Services
Service Code
0x05
0x0E
Implemented for:
Class
Instance
Yes
Yes
Yes
Yes
Service Name
Reset
Get_Attribute_Single