Program object
The Program object provides status information about a program. Specify the program name to
determine the Program object you want.
Attribute | Data Type | Instruction | Description |
|---|---|---|---|
name | STRING | GSV | The name of this program as known to the controller. |
instance | UDINT | GSV | The CIP object instance number assigned to this program. |
lastScanTime | UDINT | GSV, SSV | Duration of the most recent scan of this program, in microseconds. |
maxScanTime | UDINT | GSV, SSV | Maximum scan time recorded for this program, in microseconds. Can be reset to 0
via SSV. |
inhibit | USINT | GSV, SSV | When non-zero, execution of this program is inhibited (disabled). |
minorFaultRecord | DINT[11] | GSV, SSV | Array of 11 DINTs describing the most recent minor fault generated by this
program. |
majorFaultRecord | DINT[11] | GSV, SSV | Array of 11 DINTs describing the most recent major fault generated by this
program. |
Provide Feedback