GSV/SSV Safety Objects
For safety tasks, the GSV and SSV instructions are more restricted.
TIP:
SSV instructions in safety and standard tasks cannot set bit 0 (major fault on error) in the mode attribute of a safety I/O module.
For safety objects, the following table shows which attributes you can get values for using the GSV instruction and which attributes you can set using the SSV instruction in safety and standard tasks.
WARNING:
CAUTION:
Use the GSV/SSV instructions carefully. Making changes to objects can cause unexpected controller operation or injury to personnel.Safety Object | Attribute Name | Attribute Description | Accessible from the Safety Task | Accessible from the Standard Task | ||
---|---|---|---|---|---|---|
GSV | SSV | GSV | SSV | |||
Safety Task | Instance | Provides instance number of this task object. Valid values are 0...31. | ||||
MaximumInterval | The max time interval between successive executions of this task. | |||||
MaximumScanTime | Max recorded execution time (ms) for this task. | |||||
MinimumInterval | The min time interval between successive executions of this task. | |||||
Priority | Relative priority of this task as compared to other tasks. Valid values are 0...15. | |||||
Rate | Period for the task (in ms), or timeout value for the task (in ms). | |||||
Watchdog | Time limit (in ms) for execution of all programs associated with this task. | |||||
DisableUpdateOutputs | Enables or disables the processing of outputs at the end of a task.
| |||||
EnableTimeOut | Enables or disables the timeout function of a task.
| |||||
InhibitTask | Prevents the task from executing. If a task is inhibited, the controller still prescans the task when the controller transitions from Program mode to Run or Test mode.
| |||||
LastScanTime | Time it took to execute this program the last time it was executed. Time is in microseconds. | |||||
Name | The name of the task | |||||
OverlapCount | The number of times that the task was triggered while it was still executing. Valid for an event or periodic task. To clear the count, set the attribute to 0. | |||||
StartTime | Value of WALLCLOCKTIME when the last execution of the task was started. DINT[0] contains the lower 32 bits of the value; DINT[1] contains the upper 32 bits of the value. | |||||
Status | Provides status information about the task. Once the controller sets one of these bits, you must manually clear it. To determine if:
| |||||
Safety Program | Instance | Provides the instance number of the program object. | ||||
MajorFaultRecord | Records major faults for this program. | |||||
MaximumScanTime | Max recorded execution time (ms) for this program. | |||||
Disable Flag | Controls this program’s execution. Each value has a specific meaning:
| |||||
MaximumScanTime | Maximum recorded execution time (ms) for this program. | |||||
Minor Fault Record | Records minor faults for this program. | |||||
LastScanTime | Time it took to execute this program the last time it was executed. Time is in microseconds. | |||||
Name | The name of the task. | |||||
Safety Routine | Instance | Provides the instance number for this routine object. Valid values are 0...65,535. | ||||
Safety Controllers | SafetyLockedState (SINT) | Indicates whether the controller is safety-locked or -unlocked. | ||||
SafetySILConfiguration (SINT) | Specifies the safety SIL configuration as:
| |||||
SafetyStatus (INT) (Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only). | Applications configured for SIL3/PLe, specify the safety status as:
Tip: For applications configured for SIL2/PLd, bits 15, 0, and 1 should be ignored if they can be different values based on the slot +1 of the Primary Controller. See the above status for meaning.Applications configured for SIL2/PLd, specify the safety task as:
| |||||
SafetyStatus (INT) (Applicable to Compact GuardLogix 5370 and GuardLogix 5570 controllers only). | Specifies the safety status as:
| |||||
SafetySignatureExists (SINT) | Indicates whether the safety signature is present. | |||||
SafetySignatureID (DINT) (Applicable to Compact GuardLogix 5370, and GuardLogix 5570 controllers only) | 32-bit identification number. | |||||
SafetySignature (String) (Applicable to Compact GuardLogix 5370, and GuardLogix 5570 controllers only) | ID number plus date and time stamp. | |||||
SafetyTaskFaultRecord (DINT) | Records safety task faults. | |||||
SafetySignatureIDLong SINT [33] (Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only) | The first byte is the size of the safety signature ID in bytes and the remaining 32 bytes contain the content of the 32-byte Safety signature ID. | |||||
SafetySignatureIDHex(String) (Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only) | 64 character Hexadecimal sting representation of signature ID | |||||
SafetySignatureDateTime(String) (Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only) | 27 character date time of a safety signature in the format of mm/dd/yyyy, hh:mm:ss.iii<AM or PM> |
Provide Feedback