![]() |
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.
|
CAL TOTALIZER_Instance (IN:=DigitalVariable, MODE:=OperatingMode, PARA:=Parameters, TR_I:=outc_InitializationInput, TR_S:=InitializationOrder, OUT=>ResultOfIntegration, INFO=>AdditionalInformation, STATUS=>StatusWord)
TOTALIZER_Instance (IN:=DigitalVariable, MODE:=OperatingMode, PARA:=Parameters, TR_I:=outc_InitializationInput, TR_S:=InitializationOrder, OUT=>ResultOfIntegration, INFO=>AdditionalInformation, STATUS=>StatusWord);
Parameter
|
Data type
|
Description
|
---|---|---|
IN
|
To integrated numerical sizes (only when > 0)
|
|
MODE
|
Operating mode
|
|
PARA
|
Parameter
|
|
TR_I
|
REAL
|
Initialization input from outc
|
TR_S
|
Initialization command
|
Parameter
|
Data type
|
Description
|
---|---|---|
OUT
|
REAL
|
Result of the integration of IN (limited to thld)
|
INFO
|
additional information generated by function block
|
|
STATUS
|
Status word
|
Element
|
Data type
|
Description
|
---|---|---|
hold
|
"1": Stopping the integration
|
|
rst
|
BOOL
|
"1": Resetting the function block
|
Element
|
Data type
|
Description
|
---|---|---|
thld
|
Integral threshold of IN
|
|
cutoff
|
REAL
|
Division (≥0)
|
inc_dec
|
"1": Reverse of integration
"0": Normal mode
|
Base
|
Lower limit
|
Upper limit
|
---|---|---|
Hexadecimal
|
16#0
|
16#FFFF
|
Octal
|
8#0
|
8#177777
|
Binary
|
2#0
|
2#1111111111111111
|
Data
|
Representation in one of the bases
|
---|---|
0000000011010011
|
16#D3
|
1010101010101010
|
8#125252
|
0000000011010011
|
2#11010011
|