Difference between revisions of "Class Codes for ControlLogix"
m (→Processor Status) |
(→Port Status) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 39: | Line 39: | ||
6,"Programmable logic executing (Run)" | 6,"Programmable logic executing (Run)" | ||
7,"Programmable logic is not executing (Idle/Program Mode)" | 7,"Programmable logic is not executing (Idle/Program Mode)" | ||
+ | |||
+ | Bit 8 | ||
+ | Minor Recoverable Fault | ||
+ | |||
+ | Bit 9 | ||
+ | Minor Unrecoverable Fault | ||
Bit 10 | Bit 10 | ||
Line 58: | Line 64: | ||
0,"Test Mode Disabled - outputs applied" | 0,"Test Mode Disabled - outputs applied" | ||
1,"Test Mode Enabled - outputs not applied" | 1,"Test Mode Enabled - outputs not applied" | ||
+ | |||
+ | == Device Name == | ||
+ | Class : 0x01<br> | ||
+ | Instance : 0x01<br> | ||
+ | Attribute : 0x07<br> | ||
+ | |||
+ | == Device Serial Number == | ||
+ | Class : 0x01<br> | ||
+ | Instance : 0x01<br> | ||
+ | Attribute : 0x06<br> | ||
+ | |||
+ | == Port Status (e.g. Ethernet) == | ||
+ | Class : 0xf6<br> | ||
+ | Instance : 0x01 (set to port number)<br> | ||
+ | Attribute : 0x02 |
Latest revision as of 23:12, 30 November 2016
Contents
Controlling Forces using CIP commands.
Class : 0x69
Instance :0x00
Service Code : 0x4d
To Disable Forces:
Service Code : 0x4e
SFC Forces
Class : 0x68
Instance :0x00
Service Code : 0x4d
To Disable Forces:
Service Code : 0x4e
Changing to Program Mode
Class : 0x8e
Instance : 0x01
Service Code : 0x07
Processor Status
Class : 0x01
Instance : 0x01
Attribute : 0x05
Returns a 16 bit value:
Bits 4-7
0,"Self-Testing or Unknown" 1,"Firmware Update in Progress" 2,"Reserved" 3,"Reserved" 4,"Non-Volatile Configuration Bad" 5,"Major Fault - either bit 10 or bit 11 is true (1)" 6,"Programmable logic executing (Run)" 7,"Programmable logic is not executing (Idle/Program Mode)"
Bit 8
Minor Recoverable Fault
Bit 9
Minor Unrecoverable Fault
Bit 10
Major Recoverable Fault
Bit 11
Major Unrecoverable Fault
Bits 12-13 (Mode switch on Processor)
1,"Run Mode" 2,"Idle/Program Mode" 3,"Remote mode"
Bit 14
0,"Mode Stable" 1,"Mode Transitioning"
Bit 15
0,"Test Mode Disabled - outputs applied" 1,"Test Mode Enabled - outputs not applied"
Device Name
Class : 0x01
Instance : 0x01
Attribute : 0x07
Device Serial Number
Class : 0x01
Instance : 0x01
Attribute : 0x06
Port Status (e.g. Ethernet)
Class : 0xf6
Instance : 0x01 (set to port number)
Attribute : 0x02