Flwp (Pulse Flow Totalizer) - IDEC MICROSmart FC6A Series Ladder Programming Manual

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

27: F
C
LOW
ALCULATION

FLWP (Pulse Flow Totalizer)

This instruction monitors a counter that measures the number of pulses and calculates the flow rate at a fixed cycle. It also stores
the accumulated flow volume (the amount that flowed for an arbitrary period) to a log.
Symbol
FLWP(*)
S1
*****
Operation
The FLWP instruction calculates the flow rate and the accumulated flow volume by acquiring the pulse signal output from a pulse
output type flow meter using a counter and monitoring the value of that counter. That result is stored in the devices specified by
D1 (status) and D2 (logged data).
The FLWP instruction has a flow rate calculation function that calculates the flow rate from pulses, a totalizer function that
accumulates the flow volume, and a log output function to temporarily save 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. For details on the FLWA
instruction, see "FLWA (Analog Flow Totalizer)" on page 27-9.
Notes:
• The maximum frequency of pulses that the FLWP instruction supports is 10 kHz.
• Output the log in a cycle within 119 hours.
• The FLWP 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 FLWP instruction must be executed with each scan as set or it cannot correctly measure the time. Therefore, it cannot be simultaneously
used with the LABEL, LJMP, LCAL, LRET, JMP, JEND, MCS, and MCR instructions.
Flow Rate Calculation Function Overview
When the input is on, if the enable totalizer input (S2) is turned on, the amount that the flow counter (S1+0, S1+1)
increased is added to the flow volume work area with each scan. The flow rate (D1+0, D1+1) is updated every second with
the result that is calculated from the flow volume work area.
If the enable totalizer input is turned off, the flow rate is initialized to "0" and updating the flow rate is stopped.
Input
Enable totalizer input (S2)
Flow counter
(S1+0, S1+1)
Flow volume work area
(D1+8, D1+9)
Flow rate
(D1+0, D1+1)
Note: For details on the flow calculation function such as the operation immediately after the input is turned on and the operation when the enable
totalizer input is once again turned on, see "Flow Rate Function" on page 27-20.
27-18
I
NSTRUCTIONS
S2
S3
D1
D2
*****
*****
*****
*****
ON
OFF
ON
OFF
Flow rate
Flow rate
Flow rate
update cycle
update cycle
update cycle
1 s
FC6A S
MICROS
ERIES
MART
L
P
M
ADDER
ROGRAMMING
ANUAL
FC9Y-B1726

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents