Difference between revisions of "Class Codes for ControlLogix"

From AdvancedHMI
Jump to: navigation, search
(Created page with "== Controlling Forces using CIP commands. == Class : 0x69<br> Instance :0x00<br> Service Code : 0x4d<br> To Disable Forces:<br> Service Code : 0x4e == SFC Forces == Class :...")
 
Line 23: Line 23:
 
Instance : 0x01<br>
 
Instance : 0x01<br>
 
Service Code : 0x07<br>
 
Service Code : 0x07<br>
 +
 +
== Processor Status ==
 +
Class : 0x01<br>
 +
Instance : 0x01<br>
 +
Attribute : 0x05<br>
 +
 +
Returns a 16 bit value:<br>
 +
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
 +
  1,"Run Mode"
 +
  2,"Idle 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"

Revision as of 21:14, 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

  1,"Run Mode"
  2,"Idle 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"