12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

190 Input/Output <strong>Instructions</strong> (MSG, GSV, SSV, IOT)Access The PROGRAM ObjectThe PROGRAM object provides status information about a program.Specify the program name to determine which PROGRAM objectyou want.Attribute Data Type Instruction DescriptionDisableFlag SINT GSVControls this program’s execution.SSVValue: Meaning:0 execution enabled1 execution disabledInstance DINT GSV Provides the instance number of this PROGRAM object.LastScanTime DINT GSVTime it took to execute this program the last time it was executed.Time is in microseconds.SSVMajorFaultRecord DINT[11] GSVRecords major faults for this programSSVWe recommend that you create a user-defined structure tosimplify access to the MajorFaultRecord attribute:Name: Data Type: Style: Description:TimeLow DINT Decimal lower 32 bits of fault timestamp valueTimeHigh DINT Decimal upper 32 bits of fault timestamp valueType INT Decimal fault type (program, I/O, etc.)Code INT Decimal unique code for the fault (depends on fault type)Info DINT[8] Hexadecimal fault specific information (depends on fault type and code)MaxScanTime DINT GSVMaximum recorded execution time for this program. Time is inmicroseconds.SSVPublication 1756-RM003I-EN-P - January 2007

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!