Access the Safety object

This information applies to the
CompactLogix
5370,
ControlLogix
5570,
Compact GuardLogix
5370,
GuardLogix
5570,
Compact GuardLogix
5380,
CompactLogix
5380,
CompactLogix
5480,
ControlLogix
5580, and
GuardLogix
5580 controllers. Controller differences are noted where applicable.
The Safety Controller object provides safety status and safety signature information. The SafetyTask and SafetyFaultRecord attributes can capture information about non-recoverable faults.
Attribute
Data Type
Instruction within Standard Task
Instruction within Safety Task
Description
SafetyLockedState
SINT
GSV
None
Indicates whether the controller is safety locked or unlocked.
SafetySILConfiguration
SINT
GSV
None
Specifies the safety SIL configuration.
  • 2 -- SIL2/PLd
  • 3 -- SIL3/PLe
SafetyStatus
INT
GSV
None
Specifies the safety status. Each value has a specific meaning: :
  • 1000000000000000 -- Safety task OK.
  • 1000000000000001 -- Safety task inoperable.
  • 00000000000000000 -- Partner missing.
  • 00000000000000001 -- Partner unavailable.
  • 00000000000000010 -- Hardware incompatible.
  • 00000000000000011 -- Firmware incompatible.
SafetySignature
Exists
SINT
GSV
GSV
Indicates whether the safety task signature is present.
SafetySignature
ID
(Applicable to Compact GuardLogix 5370, and GuardLogix 5570 controllers only)
SINT
GSV
None
32-bit identification number.
SafetySignature
(Applicable to Compact GuardLogix 5370, and GuardLogix 5570 controllers only)
String
GSV
None
32-bit identification number includes ID number plus date and time stamp.
SafetyTaskFault
Record
DINT[11]
GSV
None
Records safety task faults.
SafetySignatureIDLong
(Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only)
SINT[33]
GSV
None
32 byte Safety signature ID in byte array. The 1st byte is the size of of the safety signature ID in bytes and remaining 31 bytes is the signature ID.
SafetySignatureIDHex
(Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only)
String
GSV
None
64 character Hexadecimal string representation of signature ID
SafetySignatureDateTime
(Applicable to Compact GuardLogix 5380 and GuardLogix 5580 controllers only).
String
GSV
None
27 character date time of a safety signature in the format of mm/dd/yyyy, hh:mm:ss.iii<AM or PM>
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.