Prseq - Program Sequencer - Siemens 353 User Manual

Process automation controller
Hide thumbs Also See for 353:
Table of Contents

Advertisement

Function Blocks

3.2.70 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 Utility, 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.
Recipes can also be managed from the i|ware HMI. See application
document AD353-133 for additional information. Refer to Section
1.3 Customer/Product Support for the Siemens Web site URL to
download the publication.
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.
3-76
PROGRAM SEQUENCER
PRSEQ
ESN = 000
Track Variable
TV
Track Command
TC
PROGRAM
Step Forward
SF
SEQUENCER
Step Backward
SB
GS
Goto Step
SN
Step Number
H
Hold
R
Reset
RN
Recipe Number
LR
Load Recipe
. .
Optional
0
Input
0
n
n
Discrete Inputs/Ouputs
16 Groups of 16
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 .............................
I
N
P
U
T
T
C
INPUT TC .............................
I
N
P U T
S
F
INPUT SF .............................
I N P U T
S B
INPUT SB .............................
I N P U T
G
S
INPUT GS .............................
I
N
P
U
T
S N
INPUT SN .............................
I
N
P
U
T
H
INPUT H ...............................
I N P U T
R
INPUT R ...............................
I N P U T
R N
INPUT RN .............................
I N P U T
L R
INPUT LR .............................
S N
E
Exec. Seq. No. ..................................... 000 to 250
n n
I N P U T
INPUT nn .............................
x x x
n
r
S
G
I
Recipe r Step xxx Grp n In Mask .... 0000 to FFFF
S x x x
G
n
O
r
Recipe r Step xxx Grp n Out Mask . 0000 to FFFF
r
S x x x
T
I
M
Recipe r Step xxx TIMe Period minutes ....... Real
r
S x x x
A
E
P
Recipe r Step xxx Analog End Point ............ Real
UM353-1B
AO
Analog Output
SN
Step Number
ST
Step Time
Remaining Time
RT
Current Recipe
CR
Step Pulse
SP
Steps Completed
SC
.
Output
0
n
0
n
.
F
n
Output
F
n
(1)
(0)
(0)
............... 1 to 9
(1)
(YES)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
loop tag.block tag.output
(null)
(000)
loop tag.block tag.output
(null)
(0000)
(0000)
(0.0)
(0.0)
April 2012

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents