Prseq - Program Sequencer - Siemens Moore 353 User Manual

Process automation controller
Table of Contents

Advertisement

UM353-1

3.2.80 PRSEQ - Program Sequencer

PRSEQ function blocks are available on a one per loop basis. They
can be used to generate a simple setpoint profile or a complex batch
sequence involving multiple discrete input and output logic
operations as well as setpoint profiles.
The number of steps is configurable using the STEPS parameter and
the number of discrete inputs/outputs using the GROUPS parameter.
Sixteen (16) discrete inputs/outputs are provided for each group. If
these parameters are increased after the function block is initially
configured, the values of all previously entered step parameters will
be retained. If however, a configuration is downloaded from the PC-
based Graphical Configuration Software, the parameter values are
determined by the download which includes the entire block
configuration. The PRSEQ can store from 1 to 9 recipes. Each recipe
will have the same number of steps and groups but all of the
parameters can be configured differently.
Two new inputs have been added in firmware 1.30: RN (Recipe
Number) and LR (Load Recipe). Input RN will accept a recipe
number and input LR on a positive transition will select the recipe
number which is the RN input. The RN input will round the number
to the nearest integer value. A recipe number that is out of range will
have no effect and the current recipe will remain. The recipe number
set by the RN and LR inputs will be retained during HOT and
WARM starts. During a COLD start, the recipe will revert to the
recipe set by the configuration parameter "Recipe."
Input SN will accept a step number and input GS, on a positive
transition, will select the step number, which is the SN input. The SN input will round the number to the nearest
integer value. A step number that is out of range will have no effect and the sequencer will remain at the current
step.
Output AO (analog output) will track input TV when input TC is high (1). If input TC goes low (0), AO will
remain at the tracked values unless either a timed step ramps AO to the AEP (analog end point) for the step or an
event completes the step at which time AO will go to the AEP value for the completed step.
The current sequencer step can be changed by any of the following six events:
1. the Reset input R going high (1) moving it to step 1
2. Goto Step input GS going high (1) forcing the sequencer to the step indicated by the whole value of input SN
3. the Step Forward input SF going high (1) moving it to the next higher step unless on the last step
4. the Step Backward input SB going high (1) moving back to the previous step unless on the first step
5. a step time expiring advancing to the next step
6. all the discrete inputs nn are True (1) that match the input mask (a mask value of '0' is a 'don't care' condition)
advancing to the next step
Input H will hold the remaining time of the current step and disable advancing of the sequencer by operations 5 and
6 but will allow operations 1, 2, 3, and 4 to move the sequencer to the starting position of a new step.
When the last sequencer step is completed, SC will be set high (1). The sequencer cannot be moved past the last
step unless the reset input R goes high (1) forcing it to position 1. The sequencer can be moved forward only when
March 2003
Function Blocks
PROGRAM SEQUENCER
PRSEQ
ESN = 000
Track Variable
TV
AO
Track Command
TC
SN
PROGRAM
Step Forward
SF
ST
SEQUENCER
Step Backward
SB
RT
GS
Goto Step
CR
Step Number
SN
SP
H
Hold
SC
R
Reset
RN
Recipe Number
Load Recipe
LR
.
. .
.
0
Optional
n
0
Input
0
n
n
Discrete Inputs/Ouputs
16 Groups of 16
F
n
F
Input
F
n
n
n = 0 to F
R E C I P E S
Number of RECIPES .................................... 1 to 9
S
T
E
P
S
Number of STEPS .................................... 0 to 250
G
R
O
U
P
S
Number of GROUPS .................................. 0 to 16
R E C I P E
Current RECIPE (r)
[also QUICKSET]
P
U
L
A
S
T
Power Up LAST ....................................... NO/YES
I N P U T
T
V
INPUT TV .............................
loop tag.block tag.output
N
P
U
T
I
T
C
INPUT TC .............................
loop tag.block tag.output
I
N
P U T
S
F
INPUT SF .............................
loop tag.block tag.output
I N P U T
S B
INPUT SB .............................
loop tag.block tag.output
I N P U T
G
S
INPUT GS .............................
loop tag.block tag.output
I
N
P
U
T
S N
INPUT SN .............................
loop tag.block tag.output
I
N
P
U
T
H
INPUT H ...............................
loop tag.block tag.output
I N P U T
R
INPUT R ...............................
loop tag.block tag.output
I N P U T
R N
INPUT RN .............................
loop tag.block tag.output
I N P U T
L R
INPUT LR .............................
loop tag.block tag.output
E
S N
Exec. Seq. No. ..................................... 000 to 250
I N P U T
n n
INPUT nn .............................
loop tag.block tag.output
r
S
x x x
G
n
I
Recipe r Step xxx Grp n In Mask .... 0000 to FFFF
r
S x x x
G
n
O
Recipe r Step xxx Grp n Out Mask . 0000 to FFFF
S x x x
M
r
T
I
Recipe r Step xxx TIMe Period minutes ....... Real
S x x x
A
E
P
r
Recipe r Step xxx Analog End Point ............ Real
Analog Output
Step Number
Step Time
Remaining Time
Current Recipe
Step Pulse
Steps Completed
Output
0
n
Output
F
n
(1)
(0)
(0)
............... 1 to 9
(1)
(YES)
(null)
(null)
(null)
(null)
(null)
(null)
(null)
(null)
(null)
(null)
(000)
(null)
(0000)
(0000)
(0.0)
(0.0)
3-87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents