Function Blocks
UM353-1B
April
2012
3-76
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.
T
rack
V
ariable
PROGRAM SEQUENCER
V
I
AO
A
nalog
O
utput
SEQUENCER
PRSEQ
ESN = 000
T
TV
TC
SF
PROGRAM
T
rack
C
ommand
S
tep
F
orward
R
emaining
T
ime
S
E
xec.
S
eq.
N
o. ..................................... 000 to 250
(000)
F
S
G
T
C
N
I
S B
U
N
n
RT
SP
S
tep
P
ulse
P
I
S
SB
GS
G
oto
S
tep
S
tep
B
ackward
SN
S
tep
N
umber
H
R
R
eset
H
old
n
0
n
F
Input
n
F
Input
n
0
.
.
Output
n
0
n
0
n
F
.
.
Output
n
F
Optional
Discrete Inputs/Ouputs
16 Groups of 16
n = 0 to F
I N P U T
INPUT TV
.............................
loop tag.block tag.output (null)
T
INPUT TC
.............................
loop tag.block tag.output (null)
P U T
INPUT SF
.............................
loop tag.block tag.output (null)
I N P U T
INPUT SB
.............................
loop tag.block tag.output (null)
I N P U T
INPUT GS
.............................
loop tag.block tag.output (null)
I
I
N
N
P
P
U
U
T
T
R
H
INPUT H
...............................
loop tag.block tag.output (null)
INPUT R
...............................
loop tag.block tag.output (null)
x x x
S x x x
O
S x x x
A
P
E
T
S x x x
M
I
Recipe
r S
tep
xxx
G
rp
n
I
n Mask .... 0000 to FFFF
(0000)
G
n
G
Recipe
r S
tep
xxx
G
rp
n
O
ut Mask . 0000 to FFFF
(0000)
Recipe
r S
tep
xxx
TIM
e Period minutes ....... Real
(0.0)
Recipe
r S
tep
xxx
A
nalog
E
nd
P
oint ............ Real
(0.0)
S
tep
N
umber
SN
ST
S
tep
T
ime
INPUT nn
.............................
loop tag.block tag.output (null)
I N P U T
n n
S
P
E
T
S
S
P
U
O
R
G
Number of
GROUPS
.................................. 0 to 16
(0)
Number of
STEPS
.................................... 0 to 250
(0)
I N P U T
S N
INPUT SN
.............................
loop tag.block tag.output (null)
S N
E
P
ower
U
p
LAST
....................................... NO/YES
(YES)
T
S
A
L
U
P
R E C I P E S
R E C I P E
Number of
RECIPES
.................................... 1 to 9
(1)
Current
RECIPE
(r)
[also QUICKSET]
............... 1 to 9
(1)
r
r
r
r
C
urrent
R
ecipe
CR
SC
S
teps
C
ompleted
RN
R
ecipe
N
umber
LR
L
oad
R
ecipe
INPUT RN
.............................
loop tag.block tag.output (null)
INPUT LR
.............................
loop tag.block tag.output (null)
I N P U T
R N
I N P U T
L R
Содержание 353
Страница 12: ...Contents UM353 1B x April 2012 ...
Страница 22: ...Introduction UM353 1B April 2012 1 10 ...
Страница 30: ...Configuration Overview UM353 1B April 2012 2 8 ...
Страница 122: ...Function Blocks UM353 1B April 2012 3 92 ...
Страница 168: ...Data Mapping UM353 1B April 2012 6 28 ...
Страница 204: ...Controller and System Test UM353 1B April 2012 9 8 ...
Страница 222: ...Calibration UM353 1B April 2012 11 4 ...
Страница 226: ...Circuit Description UM353 1B April 2012 12 4 ...
Страница 238: ...Model Designation and Specifications UM353 1B April 2012 13 12 EC Declaration of Conformity ...
Страница 239: ...UM353 1B Model Designation and Specifications April 2012 13 13 Annex A to the EC Declaration of Conformity ...
Страница 240: ...Model Designation and Specifications UM353 1B April 2012 13 14 ...
Страница 244: ...Abbreviations And Acronyms UM353 1B 14 4 April 2012 ...