Difference between revisions of "Class Codes for ControlLogix"

From AdvancedHMI
Jump to: navigation, search
m (Processor Status)
Line 40: Line 40:
 
   7,"Programmable logic is not executing (Idle/Program Mode)"
 
   7,"Programmable logic is not executing (Idle/Program Mode)"
  
Bits 12-13
+
Bits 12-13 (Mode switch on Processor)
 
   1,"Run Mode"
 
   1,"Run Mode"
   2,"Idle Mode"
+
   2,"Idle/Program Mode"
 
   3,"Remote mode"
 
   3,"Remote mode"
  

Revision as of 21:23, 30 November 2016

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)"

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"