Sei sulla pagina 1di 3

Description Page 1 of 3

Description
About us

Function Description
This function block integrates the value of the IN input (typically a flow volume) over time, until an
adjustable limit is reached (typically a volume).
EN and ENO can be configured as additional parameters.

NOTE: When using the EN enable input the following must be taken into account:
If the block has not been called for a long time because the EN enable input is set to FALSE, the totalizer
block runtime is extended until the next call. If the watchdog timeout is exceeded this can lead to a PLC
stop.
To remedy this, the enable input should not be used or set permanently to TRUE, so that the block is
processed during every cycle.

NOTE: This function block performs an internal initialization in the first program cycle after a warm start or
cold start (e.g. application download or power cycle) of the PLC program.
Due to this, you have to make sure that the function block is invoked in the first program cycle. In case of
invoking the function block in a later program cycle, the internal initialization will not be performed and the
outputs may deliver wrong values.

WARNING
UNEXPECTED OUTPUT BEHAVIOUR
Make sure that the function block is always invoked in the first program cycle.
Failure to follow these instructions can result in death, serious injury, or equipment damage.

Properties
The function block has the following properties
— The integration can be temporarily paused and newly installed
— Equipment that can also consider very small input values
— Division whereby the low limit of the values of IN will no longer be considered
— Use in the mode "Reverse of the integral summation": the output OUT decreases from threshold
value to zero (inc_dec = 1)

Representation in FBD
Representation:

Representation in LD
Representation:

mk:@MSITStore:C:\Program%20Files%20(x86)\Schneider%20Electric\Unity%20Pro\... 13/9/2019
Description Page 2 of 3

Representation in IL
Representation:
CAL TOTALIZER_Instance (IN:=DigitalVariable,
MODE:=OperatingMode, PARA:=Parameters,
TR_I:=outc_InitializationInput,
TR_S:=InitializationOrder, OUT=>ResultOfIntegration,
INFO=>AdditionalInformation, STATUS=>StatusWord)

Representation in ST
Representation:
TOTALIZER_Instance (IN:=DigitalVariable,
MODE:=OperatingMode, PARA:=Parameters,
TR_I:=outc_InitializationInput,
TR_S:=InitializationOrder, OUT=>ResultOfIntegration,
INFO=>AdditionalInformation, STATUS=>StatusWord);

TOTALIZER Parameter Description


Description of input parameters:

Parameter Data type Description

IN REAL To integrated numerical sizes (only when > 0)

MODE Mode_TOTALIZER Operating mode

PARA Para_TOTALIZER Parameter

TR_I REAL Initialization input from outc

TR_S BOOL Initialization command

Description of output parameters:

Parameter Data type Description

OUT REAL Result of the integration of IN (limited to thld)

INFO Info_TOTALIZER additional information generated by function block

STATUS WORD Status word

Parameter Description Mode_TOTALIZER


Data structure description

Element Data type Description

mk:@MSITStore:C:\Program%20Files%20(x86)\Schneider%20Electric\Unity%20Pro\... 13/9/2019
Description Page 3 of 3

hold BOOL "1": Stopping the integration

rst BOOL "1": Resetting the function block

Parameter Description Para_TOTALIZER


Data structure description

Element Data type Description

thld REAL Integral threshold of IN

cutoff REAL Division (≥0)

inc_dec BOOL "1": Reverse of integration


"0": Normal mode

Parameter Description Info_TOTALIZER


Data structure description

Element Data type Description

outc REAL Total result of the integration of IN

cter UINT Counter for integral calculation

done BOOL "1": output OUT achieves integral threshold thld


© 2015 Schneider Electric. All rights reserved.

mk:@MSITStore:C:\Program%20Files%20(x86)\Schneider%20Electric\Unity%20Pro\... 13/9/2019

Potrebbero piacerti anche