User manual
IEC61131 User and Reference Manual 
April 22, 2008     
268 
Inputs 
Type 
Description 
input 
Integer 
Pulse Input 
type 
Integer 
Input type 
0 = 32 bit running counter 
1 = 32 bit difference 
units 
Integer 
Rate period 
0 = seconds 
1 = minutes 
2 = hours 
3 = days 
period 
Integer 
Specified record to be displayed (1 to 35). 
ID 
Integer 
Identifies the internal flow accumulator (1 to 32). 
Outputs 
Type 
Description 
status 
Integer 
Status 
0 = no error 
1 = invalid K input 
2 = invalid Period input 
3 = invalid Type input 
4 = invalid Units input 
5 = pulse rate is too low for accurate flow rate calculation 
6 = invalid ID, or use the obsolete Flow Block without ID 
7 = no memory available 
rate 
Real 
Flow rate 
vol1 
Real 
Volume for period 1 
end1 
Integer 
Time at end of period 1 
Unix time. Seconds from January 1, 1970 
time1 
Integer 
Flow time for period 1 
Time in seconds 
volP 
Real 
Volume for period P 
endP 
Integer 
Time at end of period specified 
Unix time. Seconds from January 1, 1970 
timeP 
Integer 
Flow time for period P 
Time in seconds 
Notes 
The flow function block stored data is retained when the program is stopped, power is cycled 
or the controller is reset. The stored data is cleared when the controller is initialized or when 
the enable input is OFF. 
SCADAPack firmware 1.55 or newer or SCADAPack 32 firmware 1.16 or newer is needed to 
use the flow function block. 
The maximum pulse rate is 10 kHz. Measuring the accumulated pulses and dividing by the K 
factor calculates the accumulated flow. The K factor cannot be changed while an 
accumulation is in progress. Only change the K factor while accumulation is stopped.. 










