Professional Documents
Culture Documents
My-Btech Technical Presentation-13
My-Btech Technical Presentation-13
Logix5000 Controller
Status Values with
GSV/SSV Instructions
1
Objectives
• Retrieve and set a controller status value using GSV (Get System Value)
and SSV (Set System Value) instructions
• Assign a fault routine
2
Monitoring Controller System Data
3
Monitoring Controller System Data
Objects are monitored and changed using specific ladder logic and
structured text instructions:
• GSV Instruction: Used to monitor specific controller system data.
• SSV Instruction: Used to set specific controller system data.
4
GSV/SSV Parameters
5
Class
Category
6
Class
8
Instance
If more than one project component relates to the class selected, an instance
must be selected:
Specific Specific
Component Instance Name
9
Attribute
Property to
Monitor
10
Source or Destination
11
Source or Destination
The first
element of
the tag (Year)
must be
selected.
12
Example: GSV Instruction
Tag
User-Defined
Data Type
13
Example: GSV Instruction
14
Example: SSV Instruction
15
Example: SSV Instruction
16
Status Flags
Controller status and arithmetic status flags can also be examined for specific
data:
• Controller configuration and status values accessed using GSV and SSV
instructions
• A set of status and arithmetic flags can be accessed directly in relay
instruction operands
17
Controller Status Flags
Limited controller status can be examined using the following controller status
flags:
This status flag . . . Is set after the . . .
First scan S:FS First normal scan of the routines in the current program
18
Arithmetic Status Flags
19
Fault Types
20
Non-Recoverable Major Fault
21
Non-Recoverable Major Fault
22
Non-Recoverable Major Fault
Solid
Red
23
Recoverable Major Fault
24
Recoverable Major Fault Processing: Level 1
25
Fault Routine
26
Fault Routine
27
Controller Fault Handler
28
Controller Fault Handler
Program
Main Routine
Subroutine
29
Recoverable Major Fault Processing: Level 2
30
Recoverable Major Fault Processing: Level 2
Flashing
Red
31
Multiple Recoverable Major Faults
Multitasking capabilities:
• Controller can handle 32 simultaneous recoverable major faults
32
Multiple Recoverable Major Faults
33
Multiple Recoverable Major Faults
• If over 32 major faults occur at same time, controller goes into Fault mode:
– First three major faults logged into controller fault log
• If watchdog fault occurs second time in same logic scan:
– Controller enters Fault mode (whether or not controller fault handler clears fault)
34
Common Major Faults
35
Minor Fault
36
Minor Fault
Normal Operating
State Solid
Green
37
Minor Fault
38
39
40