Difference between revisions of "Class Codes for ControlLogix"
m (→Processor Status) |
m (→Processor Status) |
||
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 10 | ||
+ | Major Recoverable Fault | ||
+ | |||
+ | Bit 11 | ||
+ | Major Unrecoverable Fault | ||
Bits 12-13 (Mode switch on Processor) | Bits 12-13 (Mode switch on Processor) |
Revision as of 21:26, 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 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"