148
Rockwell Automation Publication 1756-UM022D-EN-P - May 2017
Chapter 9
Monitor Status and Handle Faults
Use GSV/SSV Instructions
Logix controllers store system data in objects rather than in status files. You can
use the Get System Value (GSV) and Set System Value (SSV) instructions to
retrieve and set controller data.
The GSV instruction retrieves the specified information and places it in the
specified destination. The SSV instruction changes the specified attribute with
data from the source of the instruction. When you enter a GSV or SSV
instruction, the programming software displays the object classes, object
names, and attribute names for each instruction.
For standard tasks, you can use the GSV instruction to get values for the
available attributes. When using the SSV instruction, the software displays only
the attributes that you can set.
For the safety task, the GSV and SSV instructions are more restricted. Note
that SSV instructions in safety and standard tasks cannot set bit 0 (major fault
on error) in the mode attribute of a safety I/O device.
For safety objects, the
shows the attributes that you can get values for
by using the GSV instruction, and the attributes that you can set by using the
SSV instruction, in the safety and standard tasks.
ATTENTION:
Use the GSV/SSV instructions carefully. Making changes to
objects can cause unexpected controller operation or injury to personnel.
Table 47 - GSV/SSV Accessibility
Safety
Object
Attribute Name
Data Type
Attribute Description
Accessible from
the Safety Task
Accessible from
Standard Tasks
GSV
SSV
GSV
(4)
SSV
Safety Task
Instance
DINT
Provides instance number of this task object. Valid values are
0…31.
X
X
MaximumInterval
DINT[2]
The max time interval between successive executions of this task.
X
X
MaximumScanTime
DINT
Max recorded execution time (ms) for this task.
X
X
MinimumInterval
DINT[2]
The min time interval between successive executions of this task.
X
X
Priority
INT
Relative priority of this task as compared to other tasks. Valid
values are 0…15.
X
X
Rate
DINT
Period for the task (in ms), or timeout value for the task (in ms).
X
X
Watchdog
DINT
Time limit (in ms) for execution of all programs associated with this
task.
X
X
Safety
Program
Instance
DINT
Provides the instance number of the program object.
X
X
MajorFaultRecord
(1)
DINT[11]
Records major faults for this program.
X
X
X
MaximumScanTime
DINT
Max recorded execution time (ms) for this program.
X
X
Safety
Routine
Instance
DINT
Provides the instance number for this routine object. Valid values
are 0…65,535.
X
Summary of Contents for GuardLogix 5570
Page 8: ...8 Rockwell Automation Publication 1756 UM022D EN P May 2017 Table of Contents...
Page 20: ...20 Rockwell Automation Publication 1756 UM022D EN P May 2017 Chapter 1 System Overview Notes...
Page 169: ...Rockwell Automation Publication 1756 UM022D EN P May 2017 169 Index Notes...
Page 170: ...170 Rockwell Automation Publication 1756 UM022D EN P May 2017 Index Notes...
Page 171: ......