FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
27-9
27: F
LOW
C
ALCULATION
I
NSTRUCTIONS
FLWA (Analog Flow Totalizer)
This instruction samples the instantaneous flow (volume per unit of time) and stores the accumulated flow volume (the volume of
a material that has passed through for an arbitrary period) to a log.
Symbol
Operation
The flow rate is sampled at a fixed cycle and the accumulated flow volume is calculated. That result is stored in the device
specified by D2 (logged data).
The FLWA instruction has a totalizer function that samples and accumulates the flow rate and a log output function that
temporarily saves the accumulated volume at the desired time.
Note:
When using an analog output type flow meter, the FLWA instruction can be used to monitor the flow volume by converting the analog value
output from the flow meter to the flow rate with the SCALE instruction.
For details on the SCALE instruction, see "SCALE (Convert Analog Input)" on page 27-1.
When using a pulse output type flow meter, the FLWP instruction can be used to monitor the flow volume. For details on the FLWP instruction, see
"FLWP (Pulse Flow Totalizer)" on page 27-18.
Notes:
• The FLWA instruction cannot be used in an interrupt program. If used in an interrupt program, a user program execution error occurs, the
execution of the instruction is canceled, and the next instruction is executed.
For user program execution errors, see "User Program Execution Errors" on page 3-10.
• The FLWA instruction cannot be simultaneously used with the LABEL, LJMP, LCAL, LRET, JMP, JEND, MCS, and MCR instructions.
Totalizer Function Overview
When the input is on, if the enable totalizer input (S2) is turned on, the flow rate (S1+0, S1+1) starts being sampled.
When the enable totalizer input is on, totalization is performed (updating the accumulated flow volume work area and
accumulated time work area).
When the enable totalizer input is off, totalization is paused. (The accumulated flow volume work area and the accumulated time
work area values are retained.)
Note:
For details on the totalizer function such as the operation immediately after the input is turned on and the operation when the enable totalizer
input (S2) is once again turned on, see "Totalizer Function" on page 27-11.
D1
*****
S2
*****
FLWA S1
*****
S3
*****
D2
*****
Enable totalizer input (S2)
Input
ON
OFF
Flow rate
(S1+0, S1+1)
ON
OFF
Accumulated flow volume work area
(D1+4, D1+5)
Accumulated time work area
(D1+6, D1+7)
Sampling
period
Summary of Contents for MICROSmart FC6A Series
Page 1: ...B 1726 7 FC6A SERIES Ladder Programming Manual ...
Page 8: ...Preface 7 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 32: ...1 OPERATION BASICS 1 20 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 96: ...3 INSTRUCTIONS REFERENCE 3 18 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 130: ...4 BASIC INSTRUCTIONS 4 34 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 192: ...9 SHIFT ROTATE INSTRUCTIONS 9 12 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 272: ...12 DISPLAY INSTRUCTIONS 12 24 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 284: ...14 REFRESH INSTRUCTIONS 14 6 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 502: ...25 DATA LOG INSTRUCTIONS 25 22 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 546: ...26 SCRIPT 26 44 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...
Page 598: ...APPENDIX A 14 FC6A SERIES MICROSMART LADDER PROGRAMMING MANUAL FC9Y B1726 ...