Function Blocks
3/99 Function Block Reference Guide 191
2.61 SPS Function Block,
continued
SPS Block
Function
The Master (SPS) block supports up to 8 ramp or soak outputs operating on a common time base. It accepts
one PV for each setpoint. Setpoint guarantee
is provided for the master (SPS) block setpoints with a single
symmetrical value for each setpoint output. You can assign a failsafe value for each setpoint.
Inputs
NPGM
= Program Number (when SET is ON)
NSEG
= Starting Segment Number (when SET is ON)
^SET
= Pulse Input to load PGM and SEG numbers
PV1
= 1
st
Process Variable
PV2
= 2
nd
Process Variable
PV3
= 3
rd
Process Variable
PV4
= 4
th
Process Variable
PV5
= 5
th
Process Variable
PV6
= 6
th
Process Variable
PV7
= 7
th
Process Variable
PV8
= 8
th
Process Variable
STRQ
= for connection to the STQR output of the STSW function block. (See
Figure 2-68
) The STSW
block encodes discrete inputs to a form that will convey change mode requests from the STSW 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
Outputs
PGM
= Current Program Number
SEG
= Current Segment number
STA
= Program State (Reset, Run, Hold, Ghold, Stop).
SP1 =
Setpoint #1 Output (EU)
SP2 =
Setpoint #2 Output (EU)
SP3 =
Setpoint #3 Output (EU)
SP4 =
Setpoint #4 Output (EU)
SP5 =
Setpoint #5 Output (EU)
SP6 =
Setpoint #6 Output (EU)
SP7 =
Setpoint #7 Output (EU)
SP8 =
Setpoint #8 Output (EU)