Batot - Batch Totalizer - Siemens Moore 353 User Manual

Process automation controller
Table of Contents

Advertisement

UM353-1

3.2.22 BATOT - Batch Totalizer

BATOT function blocks can be used on a one per loop
basis and integrate an analog input. Each provides an
output signal representing a total integrated value over the
time base selected. For example, if the time base is
minutes and input A is 5.0 for 60 minutes, output TL
would equal 300.0. The total can be displayed on the
operator faceplate as <loop tag>.T if the configuration
parameter DISP TOT is set to YES. A 6-character
maximum name (e.g. GAL) is entered in configuration
under TOT UNIT to identify the totalizer units.
Input S asserted high (1) will stop the integrator action.
Input R will cause the integrator function to reset to the
initial value (INIT VAL). These inputs do not affect the
PuLse output. The integrator output is summed with the
INITial VALue entered in configuration to provide the
count total. The INIT VAL is used as the total when the
BATOT is reset.
DIR ACT set to YES will cause the integrator to increase
its output while NO will cause the integrator output to
decrease. When INIT VAL is set to a predetermined batch
amount, decreasing action will provide a count down
counter. This is sometimes preferred since the count
output then represents the amount remaining in a batch.
ZDO is used for setting a small positive value, insuring that the integrator will stop when the flow is shut off, which
might not otherwise happen if a flowmeter zero is out of calibration.
The function block has two trip presets: PRESET 1 and PRESET 2. These can be set to cause a high output (1)
from A1 or A2 when the count total equals or exceeds the preset values. The preset values, entered in
configuration, can also be set using the QUICK button if the parameter QUICKSET has been set to YES. The QS
DPP parameter allows fixing the decimal point during quickset to speed up changes to these settings. A parameter
value with no decimal point position, the default, is for applications dealing with the totalizer count as whole units.
An external preset can be used by providing an input to T1 and/or T2 and when used, the internal preset will be
ignored. If an external preset is used, the value can be viewed but not changed in QUICKSET.
The action of the presets is also determined by the action setting of the integrator. When DIR ACT is set to YES
the presets will be direct acting and will cause outputs A1 or A2 to go high when the integrated total is equal to or
higher than the preset. If set to NO the total will cause A1 or A2 to go high when the total is equal to or lower than
the preset. The actual preset value is available on outputs T1 and T2.
The function block can also provide a pulse output to drive a remote counter. The pulse output function integrates
the input signal using the same time base and output pulses at a rate determined by the PUL SCAL configuration
parameter. This parameter determines the change to the integrator total that must occur to cause a new output pulse.
In the above example, if PUL SCAL equals 10, a total of 30 pulses will have occurred in the same time period. The
PUL SCAL value is also the multiplier that would be used to read the exact value of gallons to a remote counter.
The pulse output function operates on the absolute value of the analog input. When both negative and positive
values are to be totalized, a CoMParator block can be used to sense the polarity of the analog input and the CMP
output can then indicate a direction to the counter.
Be sure that the PUL SCAL setting does not require a pulse rate output greater than the scan cycle time of the
controller under the maximum input conditions. Using the same example, if the maximum A input is 60.0 and the
cycle time is 0.1 sec, the maximum required pulse rate is 0.1/sec. The condition is satisfied since the maximum
March 2003
BATCH TOTALIZER
BATOT
ESN = 000
Ext. Count In
EC
Analog Input
A
BATCH
S
TOTALIZER
Stop
Reset
R
T1
Trip 1
(external)
T2
Trip 2
(external)
T
B
Time Base
.........1-sec,2-min,3-hr,4-day,5-wk
(S)
T
O
T
U
N I T
TOTalizer UNITs
(S)
I
N
I
T
V
A
L
INITial VALue
......................................... Real
(S)
D
I
R
A C T
DIRect ACTing
(S)
Z
D
O
Zero Drop Out
(S)
P
U
L
A
S
T
Power Up LAST
(S)
S
E
P
R
E
T
1
.............................................. Real
PRESET 1
(S)
P
R
E
S
E
T
2
PRESET 2
.............................................. Real
(S)
P U L
S C
A
L
PULse SCALing
(S)
D
I
S
P
T O T
DISPlay TOTal
(H)
Q
U
I
C K S E T
QUICK SET presets
Q
S
D
P
P
Quick Set presets Dec. Pt. Pos.
I N P U T
E C
INPUT EC
....................
(H)
I N P U T
A
INPUT A
......................
(H)
I
N
P
U
T
S
INPUT S
.......................
(H)
I
P
U
T
N
R
......................
INPUT R
(H)
I
N
P
U
T
T
1
INPUT T1
......................
(H)
I
N
P
U
T
T
2
INPUT T2
.....................
(H)
E
S
N
Exec. Seq. No.
(H)
Function Blocks
TL
T
otaL
T1
Trip 1
T2
Trip 2
PL
PuLse
A1
Alarm 1
Alarm 2
A2
(2)
....................... 6 Char ASCII
(null)
(0.0)
................................. NO/YES
(YES)
........................................ Real
(0.0)
............................... NO/YES
(YES)
(0.0)
(0.0)
.................................... Real
(1.0)
................................. NO/YES
(YES)
..........................NO/YES
(S)
(YES)
.. 0.0.0.0.0.0.
(0.)
(H)
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)
............................. 001 to 250
3-31

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents