Function Blocks
3/99
Function Block Reference Guide
199
2.65 STSW Function Block
Description
The
STSW
label stands for the
Setpoint Scheduler State Switch.
This block is part of the
Setpoint
Scheduler
category. It looks like this graphically on the Control Builder.
Function
Connects to Master block (SPS) via dedicated connection and accepts digital inputs to cause scheduler
mode changes. The State Switch block accepts state request digital inputs and produces an encoded output
for input to the master (SPS) block.
Inputs
^JOG
= OFF to ON requests JOG state
GHOLD
= ON = guaranteed Hold State; ON to OFF and previous state was RUN, then return to RUN
mode.
^RESET
= OFF to ON requests RESET state
^RUN
= OFF to ON requests RUN state
^ADV
= OFF to ON requests ADVANCE state
Outputs
STRQ
= for connection to the STQR input of the SPS function block. This block encodes discrete inputs to
a form that will convey change mode requests to the SPS block:
0.0
No Change
1.0
Jog State
2.0
Guaranteed Hold State
4.0
Reset State
8.0
Hold State
16.0
Run State
32.0
Advance state
Block Properties
Double click on the function block to access the function block properties dialog box.
Block Order (Read Only)
You can change the assigned execution order number by selecting “Execution Order” in the “Configure”
menu and arrange the order to suit your control strategy.
Example
Figure 2-68
shows a Function Block Diagram (Setpoint Scheduler Suite) using a STSW function block.