Because of the variety of uses for the products described in this
publication, those responsible for the application and use of this
control equipment must satisfy themselves that all necessary steps
have been taken to assure that each application and use meets all
performance and safety requirements, including any applicable laws,
regulations, codes and standards.
The illustrations, charts, sample programs and layout examples
shown in this guide are intended solely for purposes of example.
Since there are many variables and requirements associated with any
particular installation, Allen-Bradley does not assume responsibility
or liability (to include intellectual property liability) for actual use
based upon the examples shown in this publication.
Allen-Bradley publication SGI-1.1, Safety Guidelines for the
Application, Installation, and Maintenance of Solid-State Control
(available from your local Allen-Bradley office), describes some
important differences between solid-state equipment and
electromechanical devices that should be taken into consideration
when applying products such as those described in this publication.
Reproduction of the contents of this copyrighted publication, in
whole or in part, without written permission of Allen-Bradley
Company, Inc., is prohibited.
Throughout this manual we use notes to make you aware of safety
considerations:
ATTENTION: Identifies information about practices
or circumstances that can lead to personal injury or
!
Attention statements help you to:
death, property damage or economic loss.
• identify a hazard
• avoid the hazard
• recognize the consequences
Important:Identifies information that is critical for successful
application and understanding of the product.
ControlNet is a trademark; PLC is a registered trademark of Allen-Bradley Company, Inc.
Table of Contents
Important User Information -1. . . . . . . . . . . . . . . . . . . . . . . .
Use this manual to install, program and troubleshoot your
Configurable Flowmeter module (1771-CFM/B).
Important:We assume that you know how to program and operate
an Allen-Bradley PLC
processor. If you do not, see
the appropriate programming and operations manual for
the PLC processor you are using, before you attempt to
use this manual.
ToRead chapter
Understand the CFM module
Install the CFM module
Edit your ladder logic to contain block transfer instructions
for the CFM module
Configure the CFM module
Read data from your module
Interpret status indicators and diagnostic codes
1
2
3
4
5
6
Specifications
Schematics
Using the CFM module as a replacement for the QRC module
Using the CFM module as a replacement for the QRD module
Using I/O Configuration software
See appendixFor reference on
A
B
C
D
E
Publication 17716.5.99 December 1995
Using This ManualP–2
New/Updated Information
Abbreviations
The1771-CFM/B is marked with the
logo, indicating that this
version complies with the European Union Directives. Technical
additions and corrections are marked with change bars.
To comply with the European Union Directives, this information in
the manual has been updated:
Updated information On page(s)
European Union Directives compliance
CFM module field wiring arm connections2-8
CFM module wiring examples2-9
General specificationsA-1
CFM (QRC) module wiring arm connectionsC-6
CFM (QRD) module wiring arm connectionsD-6, D-7
We refer to As
Configurable Flowmeter module (1771CFM/B)
Configurable Flowmeter module emulating a 1771QRC moduleCFM (QRC) module
Configurable Flowmeter module emulating a 1771QRD moduleCFM (QRD) module
PLC5/250 Programming Software Documentation Set
(6200N8.002)
PLC5/250 Programming Software Programming Manual
SCADA Custom Application Routines (CARs) for Gas and Liquid
Petroleum Flow Calculations Product Profile
PLC5 Volume Flow CARs for Orifice Metering User Manual62006.5.17
PLC5 Volumetric Flow CARs for Turbine and Displacement
Metering User Manual
62006.4.14
62006.4.17
62006.4.12
50006.4.8
62001.22
62006.5.18
See the Automation Group Publication Index (publication SD499)
for additional publications with information on PLC processors.
You can install the CFM module in any system that uses
PLC processors with block-transfer capability and the
1771 I/O structure. Contact your local Allen-Bradley representative
for more information about our PLC processors.
Publication
17716.5.99 December 1995
Using This ManualP–4
Get Started
Start
Overview of the
CFM Module
Using
CFM module
as replacement for
QRC module?
N
Using CFM module
as replacement for
QRD module?
Use this diagram to help you get started.
1
A
Y
Replace Y
our
Y
QRC Module
Replace Y
our
QRD Module
B
Complete
Complete
N
Install the
CFM Module
Edit Y
our
Ladder Logic
Program
Configure the
CFM Module
2
3
456
Interpret
Module
Status and
Input Data
T
roubleshoot
the CFM Module
Complete
Publication
17716.5.99 December 1995
Chapter
Overview of the CFM Module
1
What This Chapter
Contains
How You Use the
CFM Module
1
Make sure the module operation
jumper is set in the CFM position.
Read this chapter to familiarize yourself with the CFM module.
For information onSee page
How You Use the CFM Module . . . . . . . . . . . . . . . . . . . . . . . 1-1
The CFM module is designed to operate in one of three ways:
2
as a replacement for a QRC module
Set the module operation jumper in
the QRC position.
as a replacement for a QRD moduleas a CFM module
Set the module operation jumper in
the QRD position.
3
Wire input and outputs to swing arm
(1771WN).
Install the CFM module.
Edit your ladder logic to contain
BTW and BTR instructions for the
CFM module.
Edit CFM module's BTW configuration
block and send configuration BTW to
the CFM module.
Wire inputs to the new swing arm
(1771WN).
Replace the QRC module with the
CFM module.
Continue to program BTRs as before
(no changes to ladder logic).
Important: If you use the CFM module as a replacement for a QRC or QRD module,
the CFM module operates like a QRC or QRD module. You do not use
any of the CFM module's features; therefore, you cannot configure outputs
to any of the four input channels.
Wire inputs to the new swing arm
(1771WN).
Replace the QRD module with the
CFM module.
Continue to program BTWs and BTRs
as before (no changes to ladder logic).
Publication
17716.5.99 - December 1995
1–2Overview of the CFM Module
What's Next
The rest of this chapter contains information on
CFM module operation.
C
Using the
CFM module
as a replacement for
a QRC module?
N
Using the
CFM module
as replacement for
a QRD module?
N
Y
Y
1
D
What the CFM Module
Does
Data T
able
User Program
❻ Your ladder program can use or
move the data before it is
written over by the transfer of
new data in a subsequent
transfer.
The CFM module interfaces
with these PLC processors:
• PLC2 processor family
• PLC3 processor family
• PLC5
• PLC5/250
processor family
processors
PLC5/40
processor
The CFM module performs high-speed totalizing and/or rate
calculation operations for various industrial applications. The CFM
module is a single-slot I/O module that interfaces between an
Allen-Bradley PLC processor that has block-transfer capability and
external I/O devices.
1771CFM
❶
The PLC processor transfers your
configuration data and output channel
data to the CFM module using a block
transfer write (BTW) instruction.
❹ When instructed by your ladder program,
the PLC processor performs a block
transfer read (BTR) of the values
(count and/or frequency in binary format)
and stores them in a data table.
BTW
BTR
External devices generate
❷
input signals that are
transmitted to the
CFM module.
❸ The CFM module performs
❺ The PLC processor and CFM module
determine that the transfer was made
without error.
The CFM module interfaces with:
• magnetic pickup flowmeters
• 440V dc pulses (TTL compatible)
• proximity probes
calculations on
accumulated pulse
counts.
1
Publication
17716.5.99 - December 1995
1–3Overview of the CFM Module
Typical Applications
PLC5/30
processor
You can use the CFM module in the power management, automotive,
food and beverage, and oil and gas industries for various flow and/or
turbine metering applications. Some sample applications include:
The CFM module accepts input for up to four channels
(mode dependent). Each of the four input channels may accept these
input signals:
•magnetic pickup — 50mV to 200V ac peak (optional 500mV to
200V ac peak for improved noise immunity)
•4-40V dc pulses with open collector (TTL compatible)
•proximity probe inputs
–compatible with Bently Nevada 3300 (5mm and 8mm)
proximity transducer systems
–provides two isolated 24V dc power supplies (rated at 12mA)
to power external devices
You configure the CFM module’s four input channels for your
specific application(s). Each input channel has two input selections:
flowmeter input (F0F3) you connect
your input device to this input (ac, TTL)
gate input (G0G3) accepts 440V dc
input pulse from open collector or external
contact closure. Used in Totalizer and
Nonresettable Totalizer modes to:
•store the current count of an input channel
upon impulse on gate
•interface to a prover when a prover is
enabled used to store the count as the
spheroid is sensed in the prover tube
four input channels
flowmeter input (F0)
gate input (G0)
flowmeter input (F1)
gate input (G1)
flowmeter input (F2)
gate input (G2)
flowmeter input (F3)
gate input (G3)
➀
Channel 0
Channel 1
Channel 2
Channel 3
➀
See
pages
2-9
and
2-10 for wiring diagrams.
Publication
17716.5.99 - December 1995
Selecting the Mode(s) of Operation
You configure the CFM module for these modes of operation:
1–5Overview of the CFM Module
Use this modeTo
• accurately measure counts using a flowmeter
or positive displacement meter
• trigger outputs directly from the CFM module
trigger on total, frequency, acceleration
Totalizer
Nonresettable Totalizer
Highresolution Frequency
(channels 0&1 or channels 2&3)
Direction Sensor
(channels 0&1 or channels 2&3)
➀
This mode uses two channels for one input (your input device is connected to F0 or F2, while F1 or F3 is unused).
➀
➀
• monitor flow total, rate, and rate of change
independent of your PLC processor scan times
• store counts based on external input
• scale the frequency and count to
engineering units
• interface to a prover
operate in the Totalizer mode with the count
reset function disabled to prevent loss of
accumulated value
• monitor the frequency of an input with high
accuracy (e.g. shaft)
• monitor the rate of speed change
• operate outputs based on speed or
rate of change
• scale the frequency to engineering units
• monitor the direction of shaft rotation
• monitor rate of change and frequency
• trigger outputs based on direction, frequency,
rate of change
• scale the frequency and count to
engineering units
Indicators/
Alarms
overrange
overflow
overspeed
acceleration
overrange
overflow
overspeed
acceleration
overspeed
overrange
acceleration
overspeed
acceleration
overrange
Prover
√√√√
√√√
Total
reset
Scaler
values
√
√
Rollover
value
Publication
17716.5.99 - December 1995
1–6Overview of the CFM Module
Using a Prover
A prover is used for the calibration of liquid meters in custody
transfer applications. This calibration is done by comparing a
metered throughput to a known volume in the prover. The number
of pulses accumulated (Prover Total Count Value), while the
spheroid moves between two detectors, is then compared to the
predetermined volume of the prover section to ascertain the
meter factor.
If you are using the Totalizer or Nonresettable Totalizer mode for
capturing meter counts during a prover calibration, you have the
option of selecting either of these types of provers:
unidirectional the CFM module:
• begins counting when the spheroid passes the
first detector
• stops counting when the spheroid passes the second
detector (Prover Total Count Value is updated at
this time)
bidirectional the CFM module:
• begins counting when the spheroid passes the first detector
• stops counting when the spheroid passes the second
detector (Prover Total Count Value is updated at this time -
intermediate value returned)
• continues counting when the spheroid returns past the
second detector
• stops counting when the spheroid returns past the first
detector (Prover Total Count Value is updated at this time)
detectors
spheroid
19884
Storing Current Count Values
If you are using the Totalizer or Nonresettable Totalizer mode and
you are not using a prover, you can use the gate input to store the
current count value of any (or all) of the four input channels.
The current count value of each channel is placed in a separate word
in the BTR file (Store Count Value). The Store Count Value will
remain in the BTR file until a new trigger pulse is received at the
gate input. The Store Count Value is then updated to reflect the
new value.
Publication
17716.5.99 - December 1995
1–7Overview of the CFM Module
Output Capabilities
The CFM module has four assignable outputs. These outputs are
designed for applications that require fast response. The outputs:
• are electrically fused/current limited to 3A (output combinations
are limited to 7A)
• can be assigned to any input channel with user-selectable turn-on
and turn-off values
• are current sourcing at 5-40V dc (1A maximum per output)
• must be connected to an external power supply
• are in groups of two — this lets you use two separate external
power supplies if desired (one for outputs 0&1 and one for
outputs 2&3)
Outputs may be forced on or off independent of count or
frequency value. They may be forced on and off by setting bits in the
BTW configuration block.
Important:You can assign as many as four outputs to a given
channel; however, you can not use the same output with
two different channels.
In this mode
of operation
Totalizer
Nonresettable Totalizer
Highresolution
Frequency
Direction Sensor
You can assign outputs that are programmable to trigger
on total, rate, rate change (acceleration), total overflow or
prover status
on total, rate, rate change (acceleration), total overflow or
prover status
on frequency or frequency rate of change (acceleration)
on either CLOCKWISE or COUNTERCLOCKWISE direction,
acceleration or frequency (outputs are triggered ON only)
Publication
17716.5.99 - December 1995
1–8Overview of the CFM Module
Totalizer
(programmablerollover)
Thisbitwilltoggle
countrollover
tivat
overrange alarm
all
frequency > 100kHz
Implementing Application Features
You can use the CFM module to implement programmable
application features that are usually initiated by your PLC processor.
This frees the PLC processor to do other tasks and helps increase the
overall throughput of your PLC system.
This featureIs used in these modesToAlarm is ON when
overflow indication
overrange alarmall
overspeed alarmall
acceleration alarmall
Totalizer
Nonresettable Totalizer
set an overflow flag when the count is greater
than the highest allowable count
(programmable rollover). This bit will toggle
with each successive rollover (010101).
The count continues from zero. This bit can be
reset in the BTW configuration block.
tivt vrrn lrm wh
e overrange alarm when rate is greater
ac
than allowable Hertz (fixed at 100kHz).
activate overspeed alarm when frequency is
higher than userspecified frequency value.
activate acceleration alarm when acceleration is
greater than userspecified acceleration value.
.
n rt i rtr
count = rollover
(default 10,000,000)
frequency > 100kHz
frequency > userspecified value
|acceleration| >
userspecified value
What's Next
2
Install the
CFM Module
Publication
17716.5.99 - December 1995
Chapter
Install the CFM Module
2
What This Chapter
Contains
Follow the instructions in this chapter to install the CFM module.
To install the CFM moduleSee page
Understand Compliance to European Union Directive . . . . . .
Make Connections to the Field Wiring Arm . . . . . . . . . . . . . .
ATTENTION: Electrostatic discharge can damage
integrated circuits or semiconductors if you touch
!
backplane connector pins. Follow these guidelines
when you handle the CFM module.
2-2
2-8
• Touch a grounded object to discharge static potential.
• Wear an approved wrist-strap grounding device.
• Do not touch the backplane connector or
connector pins.
• Do not touch circuit components inside the module.
• If available, use a static-safe work station.
• When not in use, keep the CFM module in its
static-shield bag.
Publication
17716.5.99 - December 1995
2–2Install the CFM Module
Understand Compliance to
European Union Directive
If this product has the CE mark it is approved for installation within
the European Union and EEA regions. It has been designed and
tested to meet the following directives.
EMC Directive
This product is tested to meet Council Directive 89/336/EEC
Electromagnetic Compatibility (EMC) and the following standards,
in whole or in part, documented in a technical construction file:
• EN 50081-2
EMC – Generic Emission Standard, Part 2 – Industrial
Environment
• EN 50082-2
EMC – Generic Immunity Standard, Part 2 – Industrial
Environment
This product is intended for use in an industrial environment.
Low Voltage Directive
This product is tested to meet Council Directive 73/23/EEC
Low Voltage, by applying the safety requirements of EN 61131–2
Programmable Controllers, Part 2 – Equipment Requirements
and Tests.
For specific information that this EN requires, see the appropriate
sections in this publication, as well as the following
Allen-Bradley publications:
• Industrial Automation Wiring and Grounding Guidelines
(for noise immunity), publication 1770-4.1
• Guidelines for Handling Lithium Batteries, publication AG-5.4
• Automation Systems Catalog, publication B111
Publication
17716.5.99 - December 1995
2–3Install the CFM Module
Calculate Power
Requirements
Set the Configuration
Jumpers
Your CFM module receives its power through the 1771 I/O chassis
backplane from the chassis power supply. The maximum current
drawn by the CFM module is 1.0A.
Add this value to the requirements of all other modules in the I/O
chassis to prevent overloading the chassis backplane and/or
backplane power supply.
ATTENTION: When using a 1771-P7 or 1771-PS7
power supply to power an I/O chassis, you cannot
!
place more than four CFM modules in this chassis.
The interaction between the four CFM modules and the
1771-P7 or 1771-PS7 power supply (not 16A limit)
prevents the power supply from powering up.
You check or set these jumpers:
• module operation jumper
• input channel jumpers
Check the Module Operation Jumper
Important:Make sure the module operation jumper is in the
CFM position (default setting).
CFM
QRD
QRC
If The Jumper Is
Set In This Position
QRC
QRDa QRD module (1 word BTW / 9 word BTR)
The CFM Module
Will Operate As
a QRC module (no BTW / 3 word BTR)
19807
Publication
17716.5.99 - December 1995
2–4Install the CFM Module
Set the Input Channel Jumpers
The CFM module has user-selectable jumpers for each flowmeter
and gate input:
• flowmeter jumpers (F0-F3) — set jumper for low-pass filter
(70Hz) or high-speed operation
• gate jumpers (G0-G3) — set jumper for +5-12V or
+12-40V operation
The CFM module is configured for high-speed operation. If any
input channel will be accepting input from a mechanical switch, you
need to set the flowmeter jumper for that input channel to filter
operation. The filter provides debouncing for the mechanical switch.
ATTENTION: The frequency of counting must be
less than 70Hz when the filter mode is selected. If the
!
frequency exceeds 70Hz, the CFM module will not
read the incoming pulse.
Remove the four screws securing the side cover
11
to the module and remove the covers.
19805
Publication
17716.5.99 - December 1995
Reposition the flowmeter and gate jumpers associated
2
with each input channel according to your requirements.
The flowmeter and gate jumpers
➁
can be
set independent of each other (you can
select the filter action for each flowmeter
input and a voltage for each and gate
input independently).
➀
FILTER
HIGH SPEED
F1
F0
F3
2–5Install the CFM Module
5-12V
12-40V
G0
G1
gate jumpers
G2
Reposition the cover and secure with
13
the fours screws removed in step 1.
F2
flowmeter jumpers
➀
In
the filter position, the module will not read frequencies above 70Hz.
➁
Jumpers are shown in default settings.
G3
19806
19813
Publication
17716.5.99 - December 1995
2–6Install the CFM Module
ith
bit
ith
bit
icti
block transfer module
16bit or block transfer module
Determine CFM Module
Placement
Place your module in any slot of the I/O chassis except for the
extreme left slot. This slot is reserved for processors or adapter
modules.
Use of data table2slot addressing1slot addressing1/2slot addressing
Input Image Bits8
Output Image Bits8
Read Block Words41 max
Write Block Words
60 max
Place the CFM module in any
module group w
block transfer module.
Key the Backplane
Connector
The CFM module is slotted in two places on the rear edge of
the circuit board. These slots are intended to mate with the
plastic keying bands supplied with the I/O chassis.
any 8
.
or
Place the CFM module in any
module group w
16bit or block transfer module.
any 8
,
.
no restr
ons
ATTENTION: Observe the following precautions
when inserting or removing keys:
!
• insert or remove keys with your fingers
• make sure that key placement is correct
Incorrect keying or the use of a tool can result in
damage to the backplane connector and possible
system faults.
Position the keying bands in the backplane connectors to
correspond to the key slots on the CFM module.
I/O chassis
keying bands
CFM module
Publication
I/O chassis
backplane connector
17716.5.99 - December 1995
Place the keying bands:
between 2 and 4
between 6 and 8
You can change the position of these bands if subsequent system design
and rewiring makes insertion of a different type of module necessary.
19808
2–7Install the CFM Module
Install the CFM Module
Place the module in the card guides on the top and bottom of the slot
11
that guide the CFM module into position.
Important: Apply firm even pressure on the module to seat it into
its backplane connector.
1771A1B, A2B, A3B, A3B1, A4B I/O chassis1771A1B, A2B, A3B1, A4B Series B I/O chassis
locking
card guides
tab
ATTENTION:Remove power from the 1771 I/O
chassis backplane before you install the CFM module.
!
Failure to remove power from the backplane
could cause:
•injury
•equipment damage due to unexpected operation
•degradation of performance
locking bar pin
locking bar
card guides
Snap the chassis latch over
the top of the module to secure it.
Attach the wiring arm (1771WN) to the horizontal
12
bar at the bottom of the I/O chassis.
The wiring arm pivots upward and connects with
the module so you can install or remove the
module without disconnecting the wires.
CFM module
CFM module
Swing the chassis locking bar down into place to secure
the modules. Make sure the locking pins engage.
wiring arm
1771WN
remove
horizontal bar
install
At power-up, the active and fault indicators are on. An initial
module self-check occurs. If there is no fault, the fault indicator
turns off. See page6–1 for information on interpreting the status
indicators.
19809
17643
Publication
17716.5.99 - December 1995
2–8 Install the CFM Module
Make Connections to the
Field Wiring Arm
DC source #1 @ 12mA RET (- proximity pickup)
DC source #2 @ 12mA RET (- proximity pickup)
Customer V DC #1 RET (Outputs 0 & 1 RET)
Customer V DC #2 RET (Outputs 2 & 3 RET)
Connect your I/O devices to the 40-terminal field wiring arm
(cat. no. 1771-WN) shipped with the CFM module. Use the wiring
examples on pages 2–9 and 2–10 for additional assistance on
connecting your devices.
ATTENTION:Remove power to all I/O devices
before you connect them to the wiring arm. Failure to
!
remove power from your I/O devices could cause:
•injury
•damage to module circuitry
•equipment damage due to unexpected operation
Even Numbered T
erminals 240
not used
not used
G0 RET
G1 RET
F0 (500mV)
F0 Input
F1 (500mV)
F1 Input
F2 (500mV)
F2 Input
F3 (500mV)
F3 Input
G2 RET
G3 RET
Output 0
Output 2
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
Odd Numbered T
1
Chassis GND
3
+5V dc RET
5
G0
7
G1
9
F0 (TTL)
11
F0 RET
13
F1 (TTL)
15
F1 RET
17
+24V DC source #1 @ 12mA
19
+24V DC source #2 @ 12mA
21
F2 (TTL)
23
F2 RET
25
F3 (TTL)
27
F3 RET
29
G2
31
G3
33
Customer V DC #1 (5 to 40V)
35
Output 1
37
Customer V DC #2 (5 to 40V)
39
Output 3
erminals 139
Publication
17716.5.99 - December 1995
1771WN
(See applicable codes and laws.)
actual wiring runs in this direction
The sensor cable must be shielded. The shield:
•must extend the length of the cable, but be connected only at the
1771 I/O chassis
•must extend up to the point of termination
Important:The shield should extend to the termination point,
exposing just enough cable to adequately terminate the
inner conductors. Use heat shrink or another suitable
insulation where the wire exits the cable jacket.
10689I
2–9Install the CFM Module
Wiring Examples
These wiring diagrams represent wiring for a flowmeter input (F0),
a gate input (G0) and an output (O0). See the wiring arm diagram
on page2–8 for the terminals used in wiring F1-F3, G1-G3
and O1-O3.
Standard Magnetic Pickup
50mV threshold (F0)
2
4
6
8
not used F0 (500mV)
+
Input
Device
-
F0 Input
10
12
➀➀
Standard TTL or Open Collector
1.3V threshold (F0)
Important: To use a channel in TTL, jumper
the appropriate TTL pin to the appropriate RET
To use Channel 0 in TTL, jumper pin 9 to pin 11.
Input
Device
1771WN
1
3
5
7
9
11
.
not
used F0 (500mV)
+
-
F0 (TTL)
F0 RET
F0 Input
not used
2
4
6
8
10
12
➀
Standard Magnetic Pickup
500mV threshold (F0)
Important: T
500mV sensor
pin to the appropriate RET. For
Channel 0, jumper pin 10 to pin 1
Input
Device
o use a channel for
+
-
1771WN
1
3
5
7
9
F0 (TTL)
11
F0 RET
, jumper the 500mV
F0 (500mV)
F0 Input
1771WN
2
1.
4
6
8
10
12
1
3
5
7
9
F0 (TTL)
11
F0 RET
not used
Standard Proximity
using CFM Module Source (F0)
+24V
DC source #1 @ 12mA RET (- proximity pickup)
+
-
Input
Device
1771WN
2
4
6
8
not used F0 (500mV)
F0 Input
+
10
12
14
16
18
20
1
3
5
7
9
F0 (TTL)
11
F0 RET not used
13
15
+24V DC source #1 @ 12mA to power a proximity transducer
17
19
not used
-
➀
➀
➀
For new installations, terminate the shields at
the chassis. While not recommended,
existing installations can continue to terminate
the shields at the return (RET) terminal.
Publication
17716.5.99 - December 1995
2–10Install the CFM Module
Standard Prover/Store Count (G0)
5-12V dc
OR
12-40V dc
-
+
S
1
Standard Output (O0)
External
Power Supply #1
540V dc @ 2A
+
LOAD 0
-
external device
➀
G0 RET
2
4
6
8
10
12
1771WN
1
3
5
7
9
11
G0
+
-
➀
Output 0
➀
Customer V DC #1 RET
(Outputs 0 & 1 RET)
28
30
32
34
36
38
40
27
29
31
Customer V DC #1 (5 to 40V)
33
Output 1
35
37
39
What's Next
LOAD 1
LOAD 1
+
-
➀
➀
For new installations, terminate the shields at
the chassis. While not recommended,
existing installations can continue to terminate
the shields at the return (RET) terminal.
3
Edit Your
Ladder Logic
Program
1771WN
Publication
17716.5.99 - December 1995
Chapter
Edit Your Ladder Logic
Program
3
What This Chapter
Contains
Enter Block Transfer
Instructions
To initiate communication between the CFM module and your
PLC processor, you must enter block transfer instructions into your
ladder logic program. Use this chapter to enter the necessary block
transfer instructions into your ladder logic program.
The CFM module communicates with the PLC processor through
bidirectional block transfers. This is the sequential operation of both
read and write block transfer instructions.
Before you configure the CFM module, you need to enter block
transfer instructions into your ladder logic. The following example
programs illustrate the minimum programming required for
communication to take place between the CFM module and a PLC
processor. These programs can be modified to suit your application
requirements.
3-1
3-5
Publication
17716.5.99 - December 1995
3–2Edit Your Ladder Logic Program
PLC2 Family Processor
Important:The CFM module functions with reduced performance
Use the following rungs to establish communication between the
CFM module and a PLC-2 processor.
in PLC-2 systems. Because the CFM module does not
support BCD and the PLC-2 processor is limited to
values of 4095 (12 bit binary), many values returned in
the BTR file may not provide meaningful data to the
PLC-2 processor.
PLC2 Processor
Program Example
Rung M:1
The CFM module is located in rack 1, I/O group 1, slot 0. The data address 030 must be among the first available timer/
address used for block transfer
counter
length other than 0 is desired, the BTR and BTW must not both be enabled in the same scan.
CFM BTR
Done Bit
111
07
Rung M:2
The CFM module is located in rack 1, I/O group 1, slot 0. The data address 031 must be among the first available timer/
address used for block transfer
counter
other than 0 is desired, the BTR and BTW must not both be enabled in the same scan.
CFM BTW
Done Bit
111
06
Rung M:3
This rung is used to place a zero between the first available timer counters used for all block transfers and those used
throughout the rest of the program.
UNUSED
must be = 0
032
G
0
Rung M:4
This rung uses the BTR done bit to trigger a FFM that moves the CFM status to a buffered data file. The program should
access all CFM data from the file starting at 401.
CFM BTR
Done Bit
111
07
CFM BTW
Enable Bit
CFM BTR
Enable Bit
. The default block length of 0 will return 41 words starting at address 301. If a block
CFM BTR Data Address
BTR
011
06
. The default length of 0 will send 60 words
011
07
BLOCK TRANSFER READ
Data Addr:
Module Addr:
Block Length:
File:301-400
starting at address 201. If a block length
BTW
BLOCK TRANSFER WRITE
Data Addr:
Module Addr:
Block Length:
File:201-300
FFM
FILE TO FILE MOVE
Counter Addr:
Position:
File Length:
File A:
File R:
Rate per Scan:
030
110
031
110
033
41
41
301-351
401451
41
00
00
must be = 0
011
EN
07
111
DN
07
011
EN
06
111
DN
06
UNUSED
032
PUT
0
033
EN
17
033
DN
15
Publication
17716.5.99 - December 1995
3–3Edit Your Ladder Logic Program
PLC3 Family Processor
Block transfer instructions with the PLC-3 processor use a control
file and a data file. The block transfer control file contains the data
table section for module location, the address of the block transfer
data file and other related data. The block transfer data file stores
data that you want transferred to the module (when programming a
BTW) or from the module (when programming a BTR).
The programming terminal prompts you to create a control file when
a block transfer instruction is being programmed. The same block
transfer control file is used for both the read and write
instructions for your module. A different block transfer control
file is required for every module.
PLC3 Processor
Program Example
Rung M:0
The
CFM module is located in rack 3, I/O group 2, slot 1. The control file is a 10 word file starting at B17:0
by the BTR/BTW. The data obtained by the PLC3 processor is placed in memory starting at location N18:101, and with
the default length of 0, is 41 words long.
CFM BTR/BTW
Control Block
BTR
CFM BTR
Done Bit
B17:0
15
CFM BTR
Error Bit
B17:0
13
The CFM module is located in rack 3, I/O group 2, slot 1. The control file is a 10 word file starting at B17:0 that is shared
by the BTR/BTW. The data sent by the PLC3 processor to the CFM module is from PLC memory starting at N18:1, and
with the default length of 0, is 60 words long.
CFM BTW
Done Bit
B17:0
5
BLOCK TRANSFER READ
Rack
Group
Slot
Control
Data File
Length
CFM BTR
Error Bit
B17:0
U
13
CFM BTR/BTW
Control Block
BTW
BLOCK TRANSFER WRITE
Rack
Group
Slot
Control
Data
Length
N18:101
B17:0
B17:0
N18:1
that is shared
EN
3
2
DN
1
ER
0
EN
3
2
DN
1
ER
0
CFM BTW
Error Bit
B17:0
3
CFM BTW
Error Bit
B17:0
U
3
Publication
17716.5.99 - December 1995
3–4Edit Your Ladder Logic Program
PLC5 Family Processor
Block transfer instructions with the PLC-5 processor use a control
file and a data file. The block transfer control file contains the data
table section for module location, the address of the block transfer
data file and other related data. The block transfer data file stores
data that you want transferred to the module (when programming a
BTW) or from the module (when programming a BTR).
The programming terminal prompts you to create a control file when
a block transfer instruction is being programmed. A different block
transfer control file is used for the read and write instructions
for your module.
PLC5 Processor
Program Example
Rung 2:0
The CFM module is located in rack 0, I/O group 2, slot 1. The integer
compatible with all PLC5 family members. The data obtained by the PLC5 processor from the CFM module is placed in
memory starting at N22:101, and with the default length of 0, is 41 words long. The length can be any number between 0
and 41. In enhanced PLC5 processors
CFM BTR
Enable Bit
N22:200
CFM BTW
Enable Bit
N22:205
15
Rung 2:1
CFM module is located in rack 0, group 2, slot 1. The integer control file starts at N22:205, is a 5 words long and is compat
The
ible will all PLC5 family members. The data sent by the PLC5 processor to the CFM module starts at N22:1, and with the
default length of 0, is 60 words long. Valid BTW lengths: 0, 1, 2, 3, 4, 14, 24, 34, 44, 48, 52, 56 and 60.
In enhanced PLC5 processors
CFM BTR
Enable Bit
N22:200
CFM BTW
Enable Bit
N22:205
15
➀
, the block transfer data type may be used as a control file.
15
1
, the block transfer data type may be used as a control file.
15
control file starts at N22:200, is 5 words long and is
CFM BTR
BTR
BLOCK TRANSFER READ
Rack
Group
Slot
Control
Data File
Length
Continuous
BTW
BLOCK TRANSFER WRITE
Rack
Group
Slot
Control
Data File
Length
Continuous
Control File
CFM BTW
Control File
N22:200
N22:101
00
N22:205
N22:1
00
EN
2
DN
1
ER
0
N
EN
2
DN
1
ER
0
N
Publication
➀
Enhanced PLC5 processors include: PLC5/11, 5/20, 5/3x, 5/4x, and 5/6x.
17716.5.99 - December 1995
3–5Edit Your Ladder Logic Program
PLC5/250 Processor
Block transfer instructions with the PLC-5/250 processor use a
control file and a data file. The block transfer control file contains
the data table section for module location, the address of the block
transfer data file and other related data. The block transfer data file
stores data that you want transferred to the module (when
programming a BTW) or from the module (when programming
a BTR).
The programming terminal will automatically select the control file
based on rack, group and module, and whether it is a read or write.
A different block transfer control file is used for the read and
write instructions for your module. A different block transfer
control file is required for every module.
PLC5/250 Processor
Program Example
Rung 1STEPO:1
The
CFM module is located in rack 14, I/O group 1, slot 0. The data
CFM module is placed in the data table starting at 2BTD5:101, and with the default length of 0, is 41 words long.
The length can be any number between 0 and 41.
CFM BTR
Enable Bit
BR141:0
EN
Rung 1STEPO:1
CFM module is located in rack 14, I/O group 1, slot 0. The data sent to the CFM module from the PLC5/250 processor
The
is from the data table starting at 2BTD5:1, and with a default length of 0, is 60 words long.
Valid BTW lengths: 0, 1, 2, 3, 4, 14, 24, 34, 44, 48, 52, 56 and 60.
CFM BTR
Enable Bit
BR141:0
EN
CFM BTW
Enable Bit
BW141:0
EN
CFM BTW
Enable Bit
BW141:0
EN
obtained by the PLC5/250 processor from the
CFM BTR
BTR
BLOCK TRANSFER READ
Rack
Group
Slot
Control Block
Data File
BT Length
Continuous
BT Timeout4
BTW
BLOCK TRANSFER WRITE
Rack
Group
Slot
Control Block
Data File
BT Length
Continuous
BT Timeout4
Setting Bits in the BTW Configuration Block . . . . . . . . . . .
Important:You must edit your ladder logic as shown in chapter 3
before you can use this chapter to configure the BTW
configuration block.
Data is conditioned through a group of data table words that are
transferred from the PLC processor to the CFM module using a
BTW instruction. Now that you have entered BTW and BTR
instructions into your ladder logic, you are ready to enter data into
the BTW instruction. This data should conform to the input device
and specific application that you have chosen.
4-16
During normal operation, the processor transfers from 1 to 60 words
to the CFM module when you program a BTW instruction to the
CFM module’s address.
Important:You must program at least one BTW, with a word
length of 4, to get useful data back from the
CFM module.
ForSee page(s)
a general overview of the CFM module's BTW configuration block
detailed descriptions of each word in the BTW configuration block4-3 through 4-7
Output ON value Most Significant Digit (0999 x 10,000)
Output ON value Least Significant Digit (09,999)
Output OFF value Most Significant Digit (0999 x 10,000)
Output OFF value Least Significant Digit (09,999)
.
➁
Bit
ID & Resets
Run Initialize
rigger & Select
ie Output 1 to Channel
rigger & Select
ie Output 3 to Channel
Channel 2
Debounce
Filtering
ÉÉ
Minimum Frequency Sampling T
erminate Sampling
Highest Allowable Frequency
alue (what rate to trigger on)
➂
T
otal Scaler Multiplier
T
otal Scaler Divisor
➂
➂
Configuration
Overflow Reset
Output 0 T
Output 2 T
riggerT
riggerT
Channel 1
Acceleration Calculation Time
ime
Frequency Scaler Divisor
T
otal Reset
ie Output 0 to Channel
ie Output 2 to Channel
Channel 0
➂
word #
Publication
BTW Word Description Key
Bits
15141312111009080706050403020100
Description of what these bits are used for.
Mode(s) that use these bits.
17716.5.99 - December 1995
Mode
abbreviations:
Totalizer = T
Nonresettable T
otalizer = NR
T
Highresolution Frequency = HR
Direction Sensor = DS
word 1
4–3Configure the CFM Module
BTW Word Descriptions
15141312111009080706050403020100
0010
Header must be 0010.
Identifies the module as a
CFM module.
15141312111009080706050403020100
word 2
Output 1 Trigger selects what
channel characteristic output 1
is triggered ON or OFF by placing
the shown hex values in these bits:
0 = Force OFF
1 = Frequency
2 = % of Fullscale Frequency
3 = Acceleration
4 = Total Value
5 = Direction
DS
all
T,
all
T,
NR
T
NRT, HR
6 = Overflow
7 = Prover Running
T
, NR
T
8 = Prover Range
F = Force ON
all
Prover Run Initialize initializes the
channel for prover inputs on the Gate.
Also resets Store Count Value
(BTR words 13 & 14). Only occurs on a
change in bit state from a 0 to a 1.
This bit should remain ON (= 1) until the
prover is done or until the prover run is
aborted.
b08 = Counter 0 b10 = Counter 2
b09 = Counter 1 b11 = Counter 3
If this bit is OFF (= 0), a low to high transition
of the Gate will store the current count in
Store Count Value (BTR words 13 & 14).
T, NRT
Tie Output 1 to Channel ties
output 1 to operate according to
the state of a specific channel.
b08 = Counter 0 b10 = Counter 2
b09 = Counter 1 b11 = Counter 3
Output 0 Trigger selects what
channel characteristic output 0
is triggered ON or OFF by placing
the shown hex values in these bits:
0 = Force OFF
1 = Frequency
2 = % of Fullscale Frequency
3 = Acceleration
4 = Total Value
5 = Direction
6 = Overflow
7 = Prover Running
8 = Prover Range
F = Force ON
Overflow Reset resets the
overflow status of the module for
the appropriate counter on a 0 to 1
transition. Only occurs on a
change in bit state from a 0 to a 1.
b04 = Counter 0 b06 = Counter 2
b05 = Counter 1 b07 = Counter 3
T, NRT
all
T
T
, NR
, NRT, HR
T
DS
all
T
, NR
T
all
Total Reset resets the
total count for the
appropriate counter on a 0
to 1 transition.
Only occurs on a change
in bit state from a 0 to a 1.
b00 = Counter 0
b01 = Counter 1
b02 = Counter 2
b03 = Counter 3
T
Tie Output 0 to Channel
ties output 0 to operate
according to the state
of a specific channel.
b00 = Counter 0
b01 = Counter 1
b02 = Counter 2
b03 = Counter 3
15141312111009080706050403020100
word 3
Output 3 Trigger selects what
channel characteristic output 3
is triggered ON or OFF by placing
the shown hex values in these bits:
0 = Force OFF
1 = Frequency
2 = % of Fullscale Frequency
3 = Acceleration
4 = Total Value
5 = Direction
DS
all
T
all
, NR
T
, NRT, HR
T
6 = Overflow
7 = Prover Running
T
, NR
T
8 = Prover Range
F = Force ON
all
Tie Output 3 to Channel ties
output 3 to operate according to
the state of a specific channel.
b08 = Counter 0 b10 = Counter 2
b09 = Counter 1 b11 = Counter 3
Output 2 Trigger selects what
channel characteristic output 2
is triggered ON or OFF by placing
the shown hex values in these bits:
0 = Force OFF
1 = Frequency
2 = % of Fullscale Frequency
3 = Acceleration
4 = Total Value
5 = Direction
DS
T
all
all
, NR
T
, NRT, HR
T
6 = Overflow
7 = Prover Running
T
, NR
T
8 = Prover Range
F = Force ON
all
Publication
Tie Output 2 to Channel
ties output 2 to operate
according to the state of
a specific channel.
b00 = Counter 0
b01 = Counter 1
b02 = Counter 2
b03 = Counter 3
17716.5.99 - December 1995
4–4Configure the CFM Module
15141312111009080706050403020100
word 4
Operating Mode for Channel 3
Select a mode of operation on a per
channel basis by placing the shown
hex values in the proper bits:
word 5 (channel 0)
word 5 (channel 0)
word 15 (channel 1)
word 15 (channel 1)
word 25(channel 2)
word 25 (channel 2)
word 35(channel 3)
word 35 (channel 3)
Frequency in 10ths allows you
to select the precision of the
frequency returned in the BTR.
If set, the frequency is returned
with the LSD being in tenths,
while if 0, the LSD is in ones.
0
= frequency returned as 100, 123
1 = frequency returned as 100, 123.2
HR
15141312111009080706050403020100
Operating Mode for Channel 2
0 = unused channel
1 = Totalizer3 = Highresolution Frequency (channels 0 & 1 or 2 & 3)
2 = Nonresettable Totalizer4 = Direction Sensor (channels 0 & 1 or 2 & 3)
➀
These modes are selected only via channel 0 or channel 2.
➁
If using both channels (0 & 1 and 2 & 3) for this mode, you cannot set sampling time for both = 4ms.
Sampling Termination
if set, enables the input
sampling to be terminated
on either a time base only
(BTW 6) or a set number
of input pulses (BTW 7)
depending on which
condition arises first.
HR
Bandwidth Limit if set, limits the minimum
frequency the CFM module is capable of reading
to 1/Minimum Frequency Sampling Time.
When 1: the worst case response time of the
module is decreased to approximately
2 x Minimum Frequency Sampling Time.
When 0: frequency range = 1Hz 100kHz
(worst case response time can be 2s at
extremely low frequencies)
0 = full frequency range (1Hz 100kHz)
1 = minimum frequency (1/Minimum Frequency Sampling Time)
all
Operating Mode for Channel 1
Debounce Filtering
debounces the Gate
input for a period of 1s.
The first low to high transition
of the gate will cause the
CFM module to take
appropriate action (no other
transitions will be seen for 1s).
0 = OFF / 1 = ON
T, NRT
Prover Type selects the type
of prover being used
(unidirectional or bidirectional):
0 = unidirectional (1 run, 2 switches)
1 = bidirectional (4 switch run)
T, NRT
4 x High Hertz if set, the Highest Allowable
Frequency entry is multiplied by 4 to enable
entries > 32,767.
For example, to get a 100,000 peak allowable
frequency, you set this bit and enter 25,000 in the
word containing the Highest Allowable Frequency
(BTW 8, 18, 28 or 38).
all
Operating Mode for Channel 0
➀
➀➁
Acceleration Calculation Time
calculates acceleration every Nth
frequency sample.
0 = acceleration rolling average over 5
samples
1750 = number of frequency samples
(BTW 9 Acceleration Alarm Value must
0 0).
For example, if you place a value of 7
here, the CFM module:
a. stores the 1st frequency calculation
b. subtracts this calculation from the
8th frequency sample
c. divides this remainder by the time
between samples and places the
result in BTR 11, 20, 29 or 38
d. stores the 8th frequency sample
and waits for the 15th sample
all
word 6 (channel 0)
word 16 (channel 1)
15141312111009080706050403020100
word 26 (channel 2)
word 36 (channel 3)
Minimum Frequency Sampling Time specifies the minimum time the
CFM module spends to determine frequency (unless Number of Pulses to Terminate Sampling is enabled in Highresolution Frequency mode, which may
allow the the input channel to end sampling earlier than the specified minimum).
Important: In Direction Sensor, this time is used to determine the maximum
sample time and the minimum frequency returned and does not
actually determine the time period for frequency sampling.
< 2s if the Bandwidth Limit is not enabled and
a signal < 1 Hz is applied (sample time [Minimum Frequency Sampling Time + 1/frequency input)
< 2 x the Minimum Frequency Sampling Time
if
Bandwidth Limit is enabled and a very low input signal
frequency is applied (sample time [Minimum Frequency Sampling Time + 1/frequency input)
4–5Configure the CFM Module
word 7 (channel 0)
word 17 (channel 1)
word 27 (channel 2)
word 37 (channel 3)
word 8 (channel 0)
word 18 (channel 1)
word 28 (channel 2)
word 38 (channel 3)
word 9 (channel 0)
word 19 (channel 1)
word 29 (channel 2)
word 39 (channel 3)
15141312111009080706050403020100
Number of Pulses to Terminate Sampling applied when Sampling Termination (bit 13 of word 5, 15, 25 or 35)
is set. Causes the sampling to cease when the specified number of input pulses are received or the
Minimum Frequency Sampling Time is exceeded, which ever occurs first. RANGE: 032,767
Highresolution Frequency
15141312111009080706050403020100
Highest Allowable Frequency the highest frequency allowed on the channel. When the specified frequency is
exceeded, the channel's overspeed alarm will activate. Also used to calculate Percent of Full Scale (BTR word 6,15,24,33).
RANGE: 0 32,767 DEFAULT: 0 (=120,000)
Used with the 4 x High Hertz (bit 12 of word 5, 15, 25, or 35) to have an effective range of 0120,000.
all
15141312111009080706050403020100
word 10 (channel 0)
word 20 (channel 1)
word 30 (channel 2)
word 40 (channel 3)
Acceleration Alarm Value determines at what acceleration values (Hz/s) the BTR alarm bits are activated.
The alarm bits occur when the absolute value of the acceleration exceeds the Acceleration Alarm Value.
This word also determines whether acceleration is calculated. A value of 0 deactivates all acceleration calculations.
RANGE: 0 32,767 (0 disables)
all
15141312111009080706050403020100
Frequency Scaler➀ Multiplier the frequency value
returned in the BTR is multiplied by the specified value.
RANGE: 0255DEFAULT: 1
all
Frequency Scaler Divisor the frequency value
returned in the BTR is divided by the specified value.
RANGE: 0255DEFAULT: 1
all
Important: The Frequency Multiplier must be ≤ the Frequency Divisor.
Example:
If
Frequency Divisor = 50, Frequency Multiplier = 6 and frequency at the input = 75 Hz,
the scaled value returned will be 6/50(75) = 9
➀
When
scaling is used, all outputs are still controlled by the actual value (in example, 75Hz) not the scaled value (in example, 9).
Publication
17716.5.99 - December 1995
4–6Configure the CFM Module
word 11 (channel 0)
word 21 (channel 1)
word 31 (channel 2)
word 41 (channel 3)
word 12 (channel 0)
word 22 (channel 1)
word 32 (channel 2)
word 42 (channel 3)
word 13 (channel 0)
word 23 (channel 1)
word 33 (channel 2)
word 43 (channel 3)
15141312111009080706050403020100
Total Scaler➀ Multiplier the total
value returned in the BTR is multiplied by
the specified value.
RANGE: 032,767DEFAULT: 1
Important: The Total Scaler Multiplier must be ≤Total Scaler Divisor
See Total Scaler Divisor.
T, NRT
➀
When scaling is used, all outputs are still controlled by the actual value not the scaled value.
15141312111009080706050403020100
Total Scaler➀ Divisor the total value
returned in the BTR is divided by the
specified value.
RANGE: 0 32,767 DEFAULT: 1
Important: The Total Scaler Multiplier must be ≤Total Scaler Divisor.
See Total Scaler Multiplier.
T, NRT
➀
When scaling is used, all outputs are still controlled by the actual value not the scaled value.
15141312111009080706050403020100
MSD - ranges from
0999 x 10,000
.
word 14 (channel 0)
word 24 (channel 1)
word 34 (channel 2)
word 44 (channel 3)
Rollover Value the count value that
the totalizer will reset or rollover to 0 at.
T, NRT
RANGE: 0 9,999,999
DEFAULT: 0 (which is rollover of 10,000,000)
Important: The Rollover Value must be ≥ (actual frequency x 10ms).
If you are using the prover function, the expected ProverTotal Count Value (BTR words 13/14, 22/23, 31/32, or
40/41) must be < Rollover Value.
15141312111009080706050403020100
LSD ranges from 09,999
Publication
17716.5.99 - December 1995
4–7Configure the CFM Module
word 45 (channel 0)
word 49 (channel 1)
15141312111009080706050403020100
word 53 (channel 2)
word 57 (channel 3)
Output ON Value the value at which the output turns ON.
word 46 (channel 0)
word 50 (channel 1)
word 54 (channel 2)
word 58 (channel 3)
15141312111009080706050403020100
ON
and OFF output values can be triggered by:
Frequency
Percent of Fullscale
Acceleration
Total
Direction
Overflow
Prover Range of Operation
(use LSD word 46, 50, 54, 58
Prover Running
unidirectional prover: ON from 25
bidirectional prover: ON from 23 and 45
= 0 Output is ON when the prover is actually counting.
Overflow
= 05 ON and OFF values must be different
only)
only)
bit, BTR words 4 & 5)
Important: When any type of scaling is used (frequency or total),
outputs are always triggered by the actual value not the
scaled value. Outputs triggered by Total turn ON in < 100µs
and turn OFF in < 100µs. All other ON and OFF times
are < 1ms.
only)
only)
MSD ranges from
0999 x 10,000
all
LSD ranges from 09,999
Prover
Range of Operation (value of bits in hex)
prover not selected
0 =
1 =
prover is not running, but
prover running past the 1st switch in forward leg
2 =
3 =
prover is done with forward leg, returning at this time
midrun value (bidirectional only)
4 =
prover is returning on 2nd leg (bidirectional only)
5 =
prover is done with run (BTR word 13/14 contains prover count value)
On Value
output on while >=
12,00015,000
output on when >=
and < Off
or <
Off
active
On
On
:
Of
f V
alue
12,00015,000
word 47 (channel 0)
word 51 (channel 1)
word 55 (channel 2)
word 59 (channel 3)
word 48 (channel 0)
word 52 (channel 1)
word 56 (channel 2)
word 60 (channel 3)
15141312111009080706050403020100
MSD ranges from
0999 x 10,000
Output OFF Value the value at which the output turns OFF. all
LSD ranges from 09,999
15141312111009080706050403020100
Publication
17716.5.99 - December 1995
4–8Configure the CFM Module
Total Multipli
Select the Mode(s)
of Operation
Use Totalizer mode if you:
• need counting (totalization) capabilities
• can measure frequency over a fixed
sampling period (4ms1s)
• need a frequency value
• need prover capabilities
• need count storage capabilities
• also want to calculate acceleration
Use Nonresettable Totalizer mode
if you want to use the features of the
Totalizer mode with NO BTW reset
capabilities.
Typical applications:
• measuring ingredients in a
batch process
• oil pipeline terminals (prover)
You select the mode(s) of operation and configure each input channel
to accept input signals from your input device(s).
Totalizer and Nonresettable Totalizer Modes
These modes measure incoming pulses over a user-specified time
interval (4-1000ms). In either of these modes, the CFM module
calculates:
• rate of input (0-100,000Hz)
• total count (0-9,999,999)
• acceleration value
• optional prover value
• optional store count value (current count value)
PLC processor
BTW
BTR
configuration
status and input data
1771CFM
F0
G0
prover/store
input
device
Counting
In these modes, the CFM module counts pulses based on values you
enter in the BTW configuration block. You can specify these values:
ValueBTW word #Use to
specify the value at which the CFM module will rollover to zero and begin
counting again. DEFAULT: 0 = 10,000,000 RANGE: 09,999,999
Rollover
Overflow Reset1 (bits 0407)
Total Reset
(Totalizer mode only)
Total Scaler Multiplier11, 21, 31, 41
Total Scaler Divisor12, 22, 32, 42
13/14, 23/24, 33/34, 43/44
1 (bits 0003)
Important: Every time a rollover occurs, the CFM module changes the
resets the overflow status of the CFM module for the appropriate input
channel. When this bit is set, the CFM module will reset the OverflowStatus (BTR words 4 & 5, bits 02 & 10). Overflow Status toggles between
0101 every time a rollover occurs. Overflow Status is not affected by
Total Reset.
reset the total count to zero. This occurs on a change in bit state from a
0 to a 1. This value does not effect the Overflow Status
(BTR word 4 & 5, bits 2 & 10).
scale the returned total count to actual engineering units.
For each value RANGE: 032,767 DEFAULT: 1
The scaled value can not be used to trigger any outputs (outputs triggered
by count are triggered by actual count).
state of the Overflow Status bit. (toggles between 0 1 every
time an overflow occurs). The Overflow Status can also be
manually reset in the BTW (word 1, bits 0003).
er must be < Total Divisor.
Publication
17716.5.99 - December 1995
4–9Configure the CFM Module
Bandwidth Limit
(word 5, bit 14)
set (ON)?
N
and
no pulses are
received after the
sampling time expires,
the frequency is
calculated up to 2s after
the initial pulse and will
measure frequencies as
low as 1Hz.
within one more sample
time, the frequency will
then be calculated. The
minimum frequency is then
1/Minimum Frequency
Sampling Time
maximum time period is
2 x Minimum FrequencySampling Time.
and the
Frequency
Sampling
In the Totalizer and Nonresettable Totalizer modes, the CFM module
begins a frequency sample arbitrarily and ends the sampling within
1ms after the sampling time has expired and one pulse has been
detected. You can use Bandwidth Limit to exert control over the
CFM module’s frequency sampling.
In these modes, the CFM module calculates frequency based on
these values:
specify the minimum time the CFM module will spend collecting
pulses to determine a frequency. The time period begins arbitrarily,
not on a leading edge of a pulse.
Frequency is calculated after a pulse occurs and the time has
expired. The total time is measured and used with the sampled
counts to determine a frequency. This frequency value is in BTR
word 7/8, 16/17, 25/26 or 34/35.
As the actual frequency decreases, the actual sample time will
increase (for frequencies < 1Hz, it can take as long as 2s to
calculate the frequency). See Bandwidth Limit.
control the maximum time the CFM module spends calculating a
frequency and the minimum frequency that can be read by the
CFM module.
5, 15, 25, 35 (bit 14)
If ON: limits the maximum time period to 2 x Minimum Frequency
Sampling Time and minimum frequency to 1/Minimum Frequency
Sampling Time.
If OFF: maximum time period is 2s, minimum frequency is 1Hz.
specify the number of frequency samples the CFM module will
spend to calculate the acceleration value. The default value (0) will
calculate a rolling average of the previous five samples.
Since the frequency sample time may vary, so does the actual
acceleration calculation time.
determine the acceleration value that, if exceeded, will activate the
BTR Acceleration Alarm (word 4 & 5, bits 00 & 08).
RANGE: 032,767
The CFM module will not calculate an acceleration if
this acceleration value is zero.
scale the returned frequency and acceleration to actual engineering
units. Frequency Multiplier must be < Frequency Divisor.
For each value RANGE: 0255 DEFAULT: 0 (= 1
no scaling)
The scaled frequency/acceleration values can not be used to
trigger any outputs (outputs triggered by frequency/ acceleration
are triggered by actual frequency/acceleration).
specify the highest frequency value allowed on the input channel.
When this value is exceeded, the input channel's overspeed alarm
will activate.
This value is also used in calculating Percent of Full Scale
(BTR, word 6, 15, 24 or 33).
Publication
17716.5.99 - December 1995
4–10Configure the CFM Module
ValueBTW word #Use to
Prover Run Initialize
Debounce Filtering5, 15, 25, 35 (bit 10)
1 (bits 0811)
Storing Count Value
In the Totalizer and Nonresettable Totalizer modes, the CFM module
stores the current count based on these values:
initialize an input channel for prover inputs on the gate or to store current
count value (if prover not used).
If OFF (=0) CFM module stores the current count every time there is a
low to high transition at the appropriate gate input terminal. As each value
is stored, the Prover Status (BTR words 4 & 5, bits 46) will be updated to
indicate a new value. Prover Status toggles between 6 and 7 (hex) as
each new gate transition occurs:
6 = prover not active & new store count A
7 = prover not active & new store count B
If ON (= 1) the CFM module resets to 0 any previously stored count
contained in Store Count Value
(BTR words 13 & 14, 22 & 23, 31 & 32, or 40 & 41) and then waits for the
proper number of gate transitions to occur
(2 for unidirectional and 4 for bidirectional).
,
As the gate transitions occur
updated accordingly, dependent upon the current state of the prover:
0 = prover not selected
1 = prover running, but not active
2 = prover running past the 1st switch in forward leg
3 = prover is done with forward leg, returning at this time
midrun value (bidirectional only)
4 = prover is returning on 2nd leg (bidirectional only)
5 = prover is done with run (BTR word 13/14 contains prover count value)
The prover run is aborted and the Prover Status is set to 0 any time
Prover Run Initialize is set to 0. The time between gate transitions must be
long enough to allow the PLC processor to perform a BTR and get the
updated stored value.
debounce gate input for a period of 1s.
If ON: CFM module takes appropriate action at the first low to high
transition (at the gate input) and ignores all other gate transitions for 1s.
If OFF: CFM module takes appropriate action at every low to high
transition (at the gate input).
Prover Status (BTR words 4 & 5, bits 46) is
Publication
17716.5.99 - December 1995
Highresolution Frequency Mode
4–11Configure the CFM Module
Use this mode if you:
• need accurate frequency value
(see page A-1 for frequency accuracy)
• need fastest possible sample
update time across large
frequency range
• want to calculate acceleration
• need to measure frequency in 10ths of Hz
(0.1Hz)
Typical application:
turbine generators
This mode measures incoming pulses over a user-specified time
interval (4-1000ms) or over a user-specified number of input
signal pulses. In this mode, the CFM module calculates:
• rate of input (0-100,000Hz)
• acceleration value
PLC processor
BTW
configuration
BTR
status and input data
Frequency
Sampling
In the High-resolution Frequency mode, frequency sampling begins
on the leading edge of the first pulse to occur and ends on the next
pulse to occur after the sampling time has expired or after the
user-specified number of pulses has occurred. In this mode, the CFM
module calculates frequency based on values you enter in the BTW
configuration block.
Number of Pulses to Terminate Sampling 7, 17, 27, 37
Highest Allowable Frequency8, 18, 28, 38
Frequency Scaler Multiplier/Divisor10, 20, 30, 40
➀
If you are setting this value for both channels (0 & 1 and 2 & 3), the Minimum Frequency Sampling Time for both cannot = 4ms
(one can = 4ms and the other can = 5ms, but both cannot = 4ms).
You can specify these values:
specify the minimum time the CFM module will spend collecting
6, 16, 26, 36
pulses to determine a frequency. The sample begins on the
leading edge of a pulse.
terminate the sampling on either a time base or a set number of
pulses, depending on which occurs first.
control the maximum time the CFM module spends calculating
a frequency and the minimum frequency that can be read by
the CFM module.
specify the number of frequency samples the CFM module will
spend to calculate the acceleration value. The default value (0)
will calculate a rolling average of the previous five samples.
Since the actual frequency sample time can vary, so does the
Acceleration Calculation Time.
determine the acceleration value that, if exceeded, will activate
the BTR Acceleration Alarm (word 4 & 5, bits 00 & 08).
RANGE: 032,767
The CFM module will not calculate an acceleration if this
acceleration value is zero.
terminate the sampling when the specified number of input
pulses are received.
specify the highest frequency value expected on the input
channel. When this value is exceeded, the input channel's
overspeed alarm will activate.
This value is also used in calculating Percent of Full Scale
(BTR word 6, 15, 24 or 33).
scale the returned frequency and acceleration to actual
engineering units.
Frequency Multiplier must be < Frequency Divisor.
For each value RANGE: 1255 DEFAULT: 1
The scaled frequency/acceleration value can not be used to
trigger any outputs (outputs triggered by frequency/acceleration
are triggered by actual frequency/acceleration).
Publication
17716.5.99 - December 1995
Sampling Termination
(for input channel 0)
Sampling Termination
(word 5, bit 13)
N
CFM module calculates
frequency based on Minimum
Frequency Sampling Time
(word 6)
➀
The
module calculates a new frequency on the next pulse to occur after the
expiration of the specified time; therefore, the actual period will be longer than
specified in word 6. Upon calculation of the frequency
Use these diagrams to understand how you use Sampling
Termination and Bandwidth Limit to exert even more control over
the CFM module’s frequency sampling.
Y
The CFM module calculates
frequency on the next pulse
to occur after time expires.
Y
CFM module calculates
frequency immediately after
the specified number of
pulses occur.
set (ON)?
➀
, the outputs are updated.
Y
Minimum Frequency
Sampling Time
(word 6)
expired?
N
Number of Pulses
to Terminate Sampling
(word 7)
received?
N
4–13Configure the CFM Module
1
Bandwidth
Limit
(for input channel 0)
Sampling
termination
OFF (= 0)OFF (= 0)1Hz
OFF (= 0)ON (= 1)1/Minimum Frequency Calculation Time
ON (= 1)OFF (= 0)1Hz
ON (= 1)ON (= 1)1/Minimum Frequency Calculation Time
➀
The terminate conditions assume a start pulse has been received.
➁
The next sample begins at the first pulse that occurs after a valid sample is taken.
Bandwidth
limit
The minimum frequency the CFM module can detect
Y
Bandwidth Limit
(word 5, bit 14)
set (ON)?
is 1/Minimum Frequency Calculation Time.
When set, the CFM module will spend no more than
(2 x Minimum Frequency Sampling Time) to
determine a new frequency value.
N
The CFM module can distinguish frequencies as low as 1Hz.
At low frequencies (< Minimum Frequency Sampling Time),
the CFM module may take as long as 2s to calculate a new
frequency value.
Terminate Conditions
Minimum frequency distinguishable
➀
Frequency sample taken➁ and outputs updated when
Minimum Frequency Sampling Time elapsed
at least one pulse received
and
OR
2s elapsed and
Minimum Frequency Sampling Time elapsed
and at least one pulse received
OR
(2 x Minimum Frequency Sampling Time) elapsed
no pulse received
and
Number of Pulses to Terminate Sampling received
OR
Minimum Frequency Sampling Time elapsed
at least one pulse received
and
OR
2s elapsed and
Number of Pulses to Terminate Sampling received
OR
Minimum Frequency Sampling Time elapsed
at least one pulse received
and
OR
(2 x Minimum Frequency Sampling Time) elapsed
no pulse received
and
no pulse received
no pulse received
Publication
17716.5.99 - December 1995
4–14Configure the CFM Module
Direction Sensor Mode
Use this mode if you want to determine
shaft direction.
Typical Applications:
• turbine generators
• pumps
Use this mode to measure shaft direction. In this mode, the
CFM module calculates:
• rate of input (0-100,000Hz)
• acceleration value
• direction of shaft
PLC processor
BTW
configuration
BTR
status and input data
F0 & F1 used in TTL
Frequency
Sampling
In this mode, frequency samples are taken every revolution by
measuring A and B:
1771CFM
F0
G0
F1
G1
uses channels 0&1 or 2&3
not used
not used
clockwise
counterclockwise
A
= the time between F0 input channel pulses (determines shaft frequency)
B
= the time between F0 and F1 input channel pulses (determines shaft direction)
IfDirection is
B < 1/2 A
B > 1/2 A
F0
B
shaft
A
F0
shaft
A
B
F1
notch
shaft
F1
clockwise
counterclockwise
low true signal
proximity sensors at
F0 and F1 should be
60 to 120° apart
low true signal
sensor F1
F0
Both sensors cannot be low at
the same time.
F1
B
A
Publication
17716.5.99 - December 1995
ValueBTW word #Use to
determine
Minimum Frequency Sampling Time
6, 16, 26, 36
sample times are based on the time between F0 or F2 pulses.
If Bandwidth Limit is OFF (= 0), Minimum Frequency SamplingTime is not used.
control the maximum time the CFM module spends calculating
a frequency and the minimum frequency that can be read by
the CFM module.
If ON: limits the maximum time period to
2 x Minimum Frequency Sampling Time and minimum
Bandwidth Limit5, 15, 25, 35 (bit 14)
frequency to 1/Minimum Frequency Sampling Time.
Frequencies < 1/Minimum Frequency Sampling Time
are reported as stopped.
If OFF: maximum time period is 3s, minimum frequency is 1Hz
and direction can be sensed to 1/3Hz.
Minimum Frequency Sampling Time is not used.
specify the number of frequency samples the CFM module will
spend to calculate the acceleration value. The default value (0)
will calculate a rolling average of the previous
five samples. Since the actual frequency sample time may
vary, so does the Acceleration Calculation Time.
determine the acceleration value that, if exceeded, will activate
the BTR Acceleration Alarm (word 4 & 5, bits 00 & 08).
Acceleration Alarm9, 19, 29, 39
RANGE: 032,767
The CFM module will not calculate an acceleration if
this acceleration value is zero.
4–15Configure the CFM Module
the minimum frequency and maximum sample time. All
Frequency Multiplier/Divisor10, 20, 30, 40
Highest Allowable Frequency8, 18, 28, 38
scale the returned frequency and acceleration to actual
engineering units.
Frequency Multiplier must be < Frequency Divisor.
For each value RANGE: 1255 DEFAULT: 1
The scaled frequency/acceleration value can not be used to
trigger any outputs (outputs triggered by frequency/acceleration
are triggered by actual frequency/acceleration).
specify the highest frequency value allowed on the input
channel. When this value is exceeded, the input channel's
overspeed alarm will activate.
Publication
17716.5.99 - December 1995
4–16 Configure the CFM Module
Configure the Module
To configure the CFM module, you set the appropriate bits in the
BTW instruction. You do this:
•through I/O Configuration software if you are using a PLC-5
family processor (see PLC-5 Programming Software I/O
Configuration Manual, publication 6200-6.4.12, for supported
processors)
or
•by editing bits at the address of the BTW instruction
Using I/O Configuration Software
To configure the CFM module using I/O Configuration software, you
enter the appropriate information on the CFM module edit screens.
Use these documents to help you use I/O Configuration software:
Using
I/O
Configuration
Software
E
PLC5
Programming
Software
I/O
Configuration
Software
What's Next
publication 62006.4.12
Setting Bits in the BTW Configuration Block
If you are not using the I/O configuration utility, edit the data file
addresses in the BTW instruction to match your particular
application. Use the word descriptions on pages 4–3 through 4–7
to help you edit the bits that apply to your application(s).
5
Interpret
Module Status
and Input Data
Publication
17716.5.99 - December 1995
Chapter
Interpret Module Status and
Input Data
5
What This Chapter
Contains
Understand the CFM
Module's BTR Structure
Use this chapter to interpret module status and input data from the
CFM module.
Example PLC5 processor Status and Input Data . . . . .
Your PLC processor gets data from the CFM module using BTR
instructions in your ladder logic program. The CFM module
transfers up to 41 words to the PLC processor’s data table file.
The words contain module status and input data from each channel.
You should program a block transfer read length of zero (0). When a
BTR of 0 is programmed, the CFM module will determine the
correct number of words (41) to return.
ForSee page(s)
a general overview of the BTW configuration block5-2
detailed descriptions of each word in the BTW configuration block5-3 through 5-5
an example of a data table print out5-6
T
Highresolution Frequency = HR
Direction Sensor = DS
word 1
Header must be 0010.
word 2
BTR Word Descriptions
15141312111009080706050403020100
0010
VALUES: 1= no or invalid BTW
15141312111009080706050403020100
5–3Interpret Module Status and Input Data
Powerup Bit indicates if
a valid BTW has occurred
since powerup or since
last switched from
Program to Run mode.
0 = yes
word 3
Mode Indication for Channel 3
Indicates mode of operation that
channel is currently running in.
word 4
Output Status reflects current
operating state of outputs.
b12 = Output 0b13 = Output 1
VALUES:
0 = OFF
1 = ON
Error Words & Diagnostics displays
invalid BTW word # (060 BCD).
99 = invalid BTW length.
b14 = Output 2b15 = Output 3
15141312111009080706050403020100
Mode Indication for Channel 0
Mode Indication for Channel 2
Mode Indication for Channel 1
0 = unused channel
1 = Totalizer3 = Highresolution Frequency (channels 0 & 1 or 2 & 3)
2 = Nonresettable Totalizer4 = Direction Sensor (channels 0 & 1 or 2 & 3)
Channel 0Channel 1
15141312111009080706050403020100
Prover
Status
Overflow
Overrange
Alarm
Status
Acceleration
Overspeed
Alarm
Alarm
Prover
Status
Overrange
Alarm
Overflow
Status
Acceleration
Overspeed
Alarm
Alarm
word 5
15141312111009080706050403020100
Channel 2Channel 3
Overrange Alarm
on if the frequency is > than
100kHz (frequencies > 100kHz
may not be accurately returned).
all
Overflow Status
toggles between 0101 every time a
rollover occurs. This bit is reset by
BTW word 1 (bits 0407).
T
, NR
T
Prover Status indicates the current state of prover (value of bits in hex).
Overspeed Alarm
on if frequency is >
Highest Allowable Frequency
(BTW word 8, 18, 28, 38).
T,
NR
T
Acceleration Alarm
on if |acceleration value| is >
Acceleration Alarm Value
(BTW word 9, 19, 29, 39).
allall
0 = prover not selected4 = prover is returning on reverse leg (bidirectional only)
1 = prover not running, but active 5 = prover is done with run (BTR word 13/14 contains prover count value)
2 = prover running past the 1st switch in forward leg6 = prover not active & new store count A
3 = prover is done with forward leg and returning at this time 7 = prover not active & new store count B
intermediate value returned (bidirectional only)
if prover not active,
these bits toggle 6767 every
high transition of the gate
Publication
17716.5.99 - December 1995
5–4Interpret Module Status and Input Data
word 5 (Channel 0)
word 6 (Channel 0)
word 15 (Channel 1)
word 15 (Channel 1)
word 25(Channel 2)
word 24 (Channel 2)
word 35(Channel 3)
word 33 (Channel 3)
word 7 (channel 0)
word 16 (channel 1)
word 25 (channel 2)
word 34 (channel 3)
15141312111009080706050403020100
Percent of Full Scale (Rate % of High RPM value)
the calculated frequency scaled by the Highest Allowable Frequency (BTW 8, 18, 28, 38) and then
0 = 0%
32, 767 ≥ 100%
% = BTR word 6,15,24,33 / 32,767
expressed as a number from 0 to 32,767.
T, NRT, HR
For example, if:
BTW word 5 bit 12, 4 x Highest Hertz = 1 (ON)
bit 15, Frequency in 10ths = 0 (OFF)
Percent Full Scale (BTR 6) = 32,767
BTW word 8 Highest Allowable Frequency = 21,750Hz
BTR word 7 = 1
BTR word 8 = 1410
15141312111009080706050403020100
Frequency = 11,410Hz
Percent Full Scale (BTR 6) = 4,297
Frequency indicates the calculated frequency.
RANGE: 0120,000
If
Frequency in 10ths (word 5,15,25,35 bit 15) is:
not set MSD range = 012 x 10,000 / LSD range = 09,999
Example: If word 7 = 6 and word 8 = 532, Frequency = 6(10,000) + 532 = 60,532
set MSD range = 0120 x 1,000 / LSD range = 09,999 x 0.10
Example: If word 7 = 6 and word 8 = 532, Frequency = 6(1,000) + 532(0.10) = 6,053.2
(21,750 x 4) / 11,410
MSD
range depends on
status of
Frequency in 10ths
(BTW word 5,15,25,35 bit 15)
and mode of operation
all
HR
word 8 (channel 0)
word 17 (channel 1)
word 26 (channel 2)
word 35 (channel 3)
LSD range depends
on status of BTW
Frequency in 10ths bit
15141312111009080706050403020100
Publication
17716.5.99 - December 1995
5–5Interpret Module Status and Input Data
word 9 (channel 0)
word 18 (channel 1)
word 27 (channel 2)
word 36 (channel 3)
word 10(channel 0)
word 10 (channel 0)
word 19 (channel 1)
word 19 (channel 1)
word 28(channel 2)
word 28 (channel 2)
word 37(channel 3)
word 37 (channel 3)
word 11 (channel 0)
word 20 (channel 1)
word 29 (channel 2)
word 38 (channel 3)
15141312111009080706050403020100
Total the total counts registered by the input channel.
Example: If word 9 = 93 and word 10 = 1234, Total = 93(10,000) + 1,234 = 931,234
RANGE: 0 9,999,999
T, NRT
15141312111009080706050403020100
15141312111009080706050403020100
Acceleration (rate of change of frequency) the calculated acceleration value (Hz/s).
RANGE: -32,767 to 32,767
all
MSD
ranges from
0999 x 10,000
LSD ranges from 09,999
word 12 (channel 0)
word 21 (channel 1)
15141312111009080706050403020100
word 30 (channel 2)
word 39 (channel 3)
If Bandwidth Limit is:
ON orientation and frequency can be sensed to
1/Minimum Frequency Sampling Time. Frequencies <
1/Minimum Frequency Sampling Time are reported as stopped.
OFF direction can be sensed to 0.33Hz and frequencies < 1Hz
are reported as 0.
word 13 (channel 0)
word 22 (channel 1)
15141312111009080706050403020100
word 31 (channel 2)
word 40 (channel 3)
Prover Total Count Value or Store Count Value when Prover Run Initialize (BTW 1, bits 811) is:
enabled the value returned is the prover count (intermediate and final run values).
not enabled the value returned is the last count stored when the Gate input went low to high. These words
are reset to 0 when Prover Run Initialize (BTW 1, bits 811) changes in bit state from a 0 to a 1.
T, NRT
word 14 (channel 0)
word 23 (channel 1)
word 32 (channel 2)
word 41 (channel 3)
15141312111009080706050403020100
Direction indicates the current detected direction0 = stopped
of the input pulses in Direction Sensor modes. 1 = clockwise
DS
2 = counterclockwise
MSD
ranges from
0999 x 10,000
LSD ranges from 09,999
Publication
17716.5.99 - December 1995
5–6Interpret Module Status and Input Data
Example
reading data from the CFM module
In this example, the CFM module:
•
has a constant input frequency of 729Hz fed to all channels
•
has input channels configured as follows:
CH 0CH 1CH 2 & 3
Operating Mode
Minimum Frequency Sampling Time50ms250ms10ms
Highest Allowable Frequency250001000050000
Acceleration Alarm Value3500
Acceleration Calculation Time10 (every 10 frequency samples)
Rollover Value360000
Frequency ScalerMultiplier
Divisor
Frequency in 10ths0.1Hz
Bandwidth Limit1/sample time
Sampling Terminationtime or 200 counts
The
following data table is a printout from the PLC5 processor program example (page
(160) and BTR words (101141), in binary
1771CFM
Data T
Address0123456789
N22:0081920080110500250003500
N22:1015720036002500100000
N22:2000000-409610200125000
N22:300000000000
N22:400000000000
N22:500000000000
N22:600000000000
N22:700000000000
N22:800000000000
N22:900000000000
N22:10008192080140969012326
N22:1102789000023920730622853
N22:120000047707289000
N22:1300000000000
N22:1400000000000
Sample PLC5 Program
able Report
TotalizerNonresettable TotalizerHighresolution Frequency
6
36
3-4
). This printout shows the BTW words
, used to communicate with the CFM module.
24 May 1993 Page 1
PLC5/20File CFMSAMPL
Data T
able File N22:0
What's Next
Publication
17716.5.99 - December 1995
6
T
roubleshoot
the CFM Module
Chapter
STATUS
Troubleshoot the CFM Module
6
What This Chapter
Use this chapter to troubleshoot the CFM module by interpreting the:
Contains
• status indicators
• diagnostic word in the BTR file
Status Indicators
IndicatorsIf indicatorIs ONIs OFF
ACTIVE
INPUTS
(F0F3 & G0G3)
OUTPUTS
(O0O3)
ACTIVE
INPUTS/OUTPUTS
F0 F1 F2 F3
G0 G1 G2 G3
O0 O1 O2 O3
STATUS
S0 S1 S2 S3
S4 S5 S6 S7
FAULT
STATUS
FAULT
The CFM module provides these LED indicators:
a. Check FAULT LED if on, follow the steps
the CFM module is successfully receiving
power and operational
a signal is present at the designated
input terminal
the module has commanded an output onthe output is off
S1
Powerup Bit (BTR word 1, bit 00) is ON
(=1) BTW hasn't occurred since
powerup, or invalid BTW, or
PLC processor in Program mode
S2
BTW is occurring
S3
BTR is occurring
1. Turn off power to the I/O chassis
backplane and wiring arm.
2. Reseat the CFM module in the I/O
chassis.
3. Restore power to the I/O chassis
backplane and wiring arm.
Important: If the fault LED remains on,
there may be an internal
problem. Contact your local
AllenBradley representative
for additional assistance.
listed under if FAULT is ON.
b. Check the power supply.
a signal is not present at the designated
input terminal
Powerup Bit (BTR word 1, bit 00) is OFF (=0)
valid BTW has occurred since powerup or since
last switched from Program to Run mode
BTW is not occurring
BTR is not occurring
normal operation
Publication
17716.5.99 - December 1995
6–2Troubleshoot the CFM Module
Diagnostics
word 1
Header (CFM module ID)
must be 0010.
word 2
The CFM module returns diagnostics to the PLC processor in words
one and two of the BTR file. These diagnostics give you the number
of the word in the BTW configuration block that has caused an error
to occur.
Important:In the event that there are multiple incorrect
BTW words, the CFM module only returns the first
incorrect word.
Diagnostic Words in the BTR File
15141312111009080706050403020100
0010
VALUES: 1= no or invalid BTW
0 = yes
15141312111009080706050403020100
Powerup Bit indicates if a
valid BTW has occurred since
powerup or since last
switched from Program to
Run mode.
What's Next
Output Status reflects current
operating state of outputs.
b12 = Output 0b13 = Output 1
b14 = Output 2b15 = Output 3
To find out more about the CFM module:
See appendixFor
VALUES:
0 = OFF
1 = ON
Specifications
Schematics
Error Words & Diagnostics displays
invalid BTW word number (060 BCD).
99 = invalid BTW length
A
specifications on the CFM module
B
input and output circuit drawings
Publication
17716.5.99 - December 1995
CFM module
Frequency
Frequency range
What This Appendix
Contains
Frequency Accuracy
QRC / QRD module emulation
CFM moduleFrequency Frequency range
configured for
QRC operationconstant @ 12ms
QRD operationconstant @ 1s
CFM module
Totalizer &
Nonresettable Totalizer
Mode500ms
Highresolution
Frequency
(time only)
Mode
Direction Sensor Modenot applicable
➀
Specified 1Hz is worst case typical performance is expected to be better than
➁
In T
otalizer and Nonresettable T
twice the actual frequency) because the incoming pulses and sample time are not synchronized.
Specifications
This appendix contains the frequency accuracy and general
specifications of the CFM module.
The following table lists typical application configurations and their
associated frequency accuracy for the CFM module when used:
• to emulate a 1771-QRC or 1771-QRD module
• as a CFM module
Important:The accuracy in all configurations will vary with
EnvironmentalOperating Temperature
ConditionsStorage Temperature
Relative Humidity
Field Wiring Arm
Wiring Arm Screw Torque
Keying (lower backplane connector)
Agency Certification
(when product or packaging is marked)
Wire Size
Category
Length
Wire Size
Category
Belden 8761
Category 2
1
304.8m (1000ft)
Belden 8761
Category 1
➀
0 to 60oC (32 to 140oF)
-40 to 85oC (-40 to 185oF)
5 to 95% (without condensation)
40-terminal (cat. no. 1771-WN)
79 inchpounds
between 2 and 4
between 6 and 8
Class 1 Div 2 Hazardous
➁
Publication
17716.5.99 - December 1995
marked for all applicable directives
➀
Use
this conductorcategory information for planning conductor routing as described in the systemlevel installation manual.
➁
CSA certification Class I, Division 2, Group A, B, C, D or nonhazardous locations.
What This Appendix
Contains
Input Circuits
"
Appendix
B
Schematics
Use this appendix to understand the internal logic of the
CFM module.
Follow the wiring practices described in your system-level
installation manual when wiring your I/O devices. This includes:
• routing conductors
• grounding practices
• use of shielded cables
The CFM module input logic consists of:
• flowmeter input circuits
• gate input circuits
-12V (F0 &F1)
-12V (F2 & F3)
Flowmeter Inputs
The flowmeter input circuit combines operational amplifier
principles with solid state devices to provide constant logic pulses
internal to the CFM module. The circuit is designed to interface
with both active or passive sensor inputs by accepting any pulse
output device (such as turbine flowmeter, magnetic pickup or
digital pickup).
26
F3
22
F2
14
F1
10
F0
25
F3
25
F3
21
F2
21
F2
13
F1
13
F1
9
F0
9
F0
F3
28
F2
24
F1
16
F0
12
11
F0
15
F1
23
F2
27
F3
18
20
+12V+12V
R119
500mV
level
R98
level
TTL
(1.3V)
Input
RET
RV1
1
2
- proximity pickup
U26
R123
26.1kΩ
U22
R112R109R116
8.25kΩ215kΩ1kΩ
R7
C72
4.7kΩ
C64
1
121
2
1
= COM (F0 & F1)
2
= COM (F2 & F3)
physical and electrical isolation
D7
500V ac rms
1
2
+5V
U17
C62 R120
flowmeter jumpers:
70Hz
filter
C81
F0
F1
F2
F3
E6
JPR20
E6
JPR21
E6
C9
V
50mV
REF
C73
1
D11
U23
D9
2
2
∞
Σ
R108
R115
1
2
JPR20 = ON for highspeed operation
JPR21 = ON for filter operation
Publication
17716.5.99 - December 1995
SchematicsB–2
50mVthreshold
Turbi
Thesignal:
mustbeac
usbe00ad00
Turbi
()
Compatible with open collector
TTL
pg
signal format with pulses riding on a fixed
B
Th
18V
Signal characteristics
50mV threshold
ne flowmeter or magnetic pickup
(50mV142V ac rms)
The signal:
• should be approximately sinusoidal
• must be ac
• must be > 100mV and < 400V
peaktopeak
500mV threshold
Trin
flwmtr r mnti i
ne flowmeter or magnetic pickup
k
(500mV142V ac rms)
The signal:
• should be approximately sinusoidal
• must be ac
• must be > 1V and < 400V
peaktopeak
1.3V threshold (TTL)
Compatible with open collector.
.
The signal should be dc pulses with
width > 4us.
The TTL mode is compatible with TTL,
4000 series CMOS, and most 024V
systems. The
mode in not
compatible with any signal format with
dc pulses riding on a fixed dc level > 1.3V.
12" V threshold (+24V RET)
This specialized mode is compatible with
signal format with pulses riding on a fixed
dc level > +1.3V.
Example
ently Nevada Proximity Pickup Series
3300 (5mm and 8mm) where the active"
sensor signals are with a 5V offset.
e signal resides between 5
,
therefore, it passes through the threshold
"
of 12"V as referenced to the
+24V dc RET.
Input
F0F1F2F3
12
11
F0 RET
162428+ turbine flowmeter or magnetic pickup
152327- turbine flowmeter or magnetic pickup
F1 RETF2 RETF3 RET
Input Return
Input
F0F1F2F3
10
12
14
16
22
24
26
500mV connect to each corresponding RET
+ turbine flowmeter or magnetic pickup
28
11152327- turbine flowmeter or magnetic pickup
F0 RETF1 RETF2 RETF3 RET
Input Return
Input
F0
9
12162428
11
F1F2F3
132125
1.3V (TTL) connect to each corresponding RET
+ logic circuit
152327- logic GND
F0 RETF1 RETF2 RETF3 RET
Input Return
Input
F0F1F2F3
1212162428
18
18
2020
+ proximity pickup (active sensor)
- proximity pickup (active sensor)
S0 RETS1 RETS2 RETS3 RET
Input Return
wiring
Publication
arm terminal number
17716.5.99 - December 1995
#
Signal threshold (500mV or 1.3V) is selected by jumpering the appropriate level to the appropriate RET.
GO
G1
G2
G3
GO
G1
G2
G3
Input
5
7
29
31
RET
6
8
30
32
R4R2
470Ω470Ω
Voltage
Jumpers
R1
330Ω
C51
JPR 6 JPR 7
E11 E11 E11
gate jumpers:
JPR6 = ON for 1240V dc
JPR7 = ON for 512V dc
SchematicsB–3
Gate Inputs
Gate inputs are used for running prover and store count values.
Each gate is an electrically isolated circuit with a physical and
electrical isolation of 1500V ac. There is one gate associated with
each flowmeter input circuit (G0 corresponds to F0).
physical and electrical isolation
1500V ac rms
D1
D3
D2
external device
Q1
R79
C55
R77
U12
+5V
C52
R87
G0
G1
G2
G3
To turn on a gate circuit, you must source current through the input
resistors sufficient to turn on the opto-isolator in the circuit. If no
connection is made to the pair of gate terminals, no current will flow
through the photodiode of the opto-isolator and that gate will be OFF
(the corresponding input status indicator is OFF).
The input current magnitude can be determined by the state of the
gate jumper:
CASE A gate jumper set for 512V dc operation (JPR 7 is ON)
gate input current = (gate input voltage - 2V➀)
330Ω
Examples
If gate input voltage = 5V dc
gate input current = (5V - 2V)
330Ω
gate input current = 9mA
➁
➁
If gate input voltage = 12V dc
gate input current = (12V - 2V)
330Ω
gate input current = 30mA
➀
There is approximately a 2V drop across (Q1 + the photodiode).
➁
The operating range of the input is 510mA and Q1 functions as an overcurrent
protection circuit. If an open collector device with pullup is used, the value of
the pullup must be added to the Ω value shown in the denominator
CASE B gate jumper is set for 1240V dc operation (JPR 6 is ON)
gate input current = (gate input voltage - 2V➀)
1270Ω
Examples
If gate input voltage = 5V dc
gate input current = (12V - 2V)
➁
gate input current = 8mA
1270
Ω
➁
.
➁
If gate input voltage = 40V dc
gate input current = (40V - 2V)
gate input current = 30mA
1270
➁
Ω
Publication 17716.5.99 - December 1995
SchematicsB–4
Output Circuits
The CFM module output logic consists of:
• discrete outputs
• dc to dc converters (24V dc power supplies)
Discrete Outputs
The CFM module’s outputs are comprised of isolated power
MOSFETs. These devices operate in current sourcing mode, and are
capable of delivering up to 1A (@ 5-40V dc).
physical and electrical isolation
1500V ac rms
+5V
OUTPUT 0
(OUTPUT 2)
OUTPUT 1
(OUTPUT 3)
U40
U40
D25
C11
0
D29
C113
T1
+5V
T2
drive circuit
The CFM module contains two isolated pairs of output circuits.
Customer supplied power
(through terminal Vcc) to the power output transistors. When an output is turned on,
current flows into the source, out of the drain, through the load connected to the ground
of the customer supply (customer return). Diodes D32 and D33 protect the power
output transistors from damage due to inductive loads.
Outputs Q6 and Q7 are thermally protected FET's and will turn off
@ 3A (approximately). After an output goes into thermal shutdown, you must fix the
cause of the shutdown and toggle the outputs ON and OFF to reenergize the output.
, ranging from +5V to +40V dc, is connected internally
D26
R170
R171
D30
R172
R173
33
34
36
35
Customer V DC
Output 2
Customer V DC
#2 RET
Output 3
C109
C112
S
D27
D31
Q6
s
Output FET
Q7
s
Output FET
F1
7A
Customer V DC
D32
D33
#1
D28
43V
Output 0
Customer V DC
#1 RET
Output 1
If local electrical codes permit, outputs can be connected to sink
current. This is done by connecting the load between the power supply
+ terminal and the customer Vcc terminal on the field wiring arm. The
output terminal is then connected directly to ground (customer RET).
Important: This wiring method does not provide inductive load
protection for the power output transistors.
#2
37
38
40
39
Publication
+5V
C22
L2
C24C25C111
17716.5.99 - December 1995
DC to DC Converters (24V dc power supplies)
The CFM module provides two isolated 24V (±5%) power sources
(each rated @ 12mA). Each power source can power one Bently
Nevada 3300 (5mm or 8mm) Proximity Transducer.
physical and electrical isolation
500V ac rms
1
2
U39
C21
C26
C10
1
C10
8
+12V
-12V
C12
C11
C10
5
19
1
7
@ 12mA
24V
1
20
8
What This Appendix
Contains
Appendix
C
Replace Your QRC Module
Use this appendix to install the CFM module as a replacement for the
QRC module.
Important:We assume that you are using a QRC module in your
existing system and that you are familiar with I/O
module installation/removal procedures.
The CFM (QRC) module, interfaces PLC processors with magnetic
pickups, single-channel shaft encoders or turbine flowmeters.
When configured for QRC operation, the CFM (QRC) module
calculates the frequency, beginning on the leading edge of a pulse,
for 12-18ms.
The CFM (QRC) module is generally compatible with, but does not
require the use of, turbine flowmeter signal preconditioning modules.
It provides rate data in 2’s complement binary format to the
PLC processor’s data table through block data transfers. Rates as
high as 15.8kHz are supported.
ATTENTION: The maximum current drawn by the
CFM (QRC) module is 1.0A. This current (1.0A) is
!
0.25A greater than the maximum current drawn by
your QRC module (0.75A).
Consider the power usage of all modules in the I/O
chassis to prevent overloading either the chassis
backplane or power supply.
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–2
Remove Your QRC Module
Detach and remove wiring arm (1771WG) from
1
1
the horizontal bar at the bottom of the I/O chassis.
Remove the QRC module from the I/O chassis.
2
ATTENTION:Remove power from the 1771 I/O
chassis backplane and wiring arm before you remove
!
your QRC module. Failure to remove power from the
backplane could cause:
•injury
•equipment damage due to unexpected operation
•degradation of performance
wiring arm
1771WG
remove
horizontal bar
17643
1771A1B, A2B, A3B, A3B1, A4B I/O chassis1771A1B, A2B, A3B1, A4B Series B I/O chassis
locking
card guides
tab
locking bar pin
QRC module
Pull on the QRC module to slide it out of the I/O chassis.
locking bar
card guides
QRC module
At power-up, the active and fault indicators are on. An initial
module self-check occurs. If there is no fault, the fault indicator
turns off. See page 6–1 for information on interpreting the
status indicators.
19809
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–3
Set the Configuration
Jumpers
You check and/or set these jumpers:
• module operation jumper
• input channel jumpers
Set the Module Operation Jumper
To use the CFM module as a replacement for a QRC module,
set the operation jumper in the QRC position
(default setting = CFM position).
CFM module
CFM QRD
QRC
19807
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–4
Check the Input Channel Jumpers
The CFM (QRC) module has user-selectable jumpers for each input
channel. These jumpers consist of one each:
• flowmeter jumpers (F0–F3) - set for low-pass filter or
high-speed operation
• gate jumpers (G0–G3) — set for +5-12V or +12-40V operation
Remove the four screws securing the side cover
11
to the module and remove the covers.
"
The CFM (QRC) module is configured for high-speed operation.
Before installing your CFM (QRC) module, make sure the input
channel jumpers are in their default positions.
Make sure the input channel jumpers➀ are in the default
12
positions shown below:
➁
FILTER
HIGH
SPEED
F1
F0
F3
F2
flowmeter jumpers
5-12V
12-40V
gate jumpers
G0
G1
G2
G3
Publication
17716.5.99 - December 1995
19805
➀
Jumpers
are shown in default settings.
➁
In the filter position, the module will not see frequencies
above 70Hz.
Reposition the cover and secure with
13
the fours screws removed in step 1.
19806
19813
r
Install the CFM Module
Place the CFM (QRC) module in the card guides on the top and
1
bottom of the slot that guide the module into position.
Important: Apply firm even pressure on the module to seat it into
its backplane connector.
1771A1B, A2B, A3B, A3B1, A4B I/O chassis1771A1B, A2B, A3B1, A4B Series B I/O chassis
locking
card guides
tab
Replace Your QRC ModuleC–5
locking
bar pin
locking bar
card guides
CFM (QRC) module
CFM (QRC) modu
Snap the chassis latch over
the top of the module to secure it.
Swing the chassis locking bar down into place to secu
the modules. Make sure the locking pins engage.
1
Attach the wiring arm (1771WN) to the horizontal
2
bar at the bottom of the I/O chassis.
The wiring arm pivots upward and connects with
the module so you can install or remove the
module without disconnecting the wires.
remove
horizontal bar
install
wiring arm
1771WN
17643
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–6
Make Connections to the
New Wiring Arm
1
2
3
4
5
6
7
(+) Magnetic pickup and shield Channel A
8
(-) Magnetic pickup
9
10
11
12
13
(+) Magnetic pickup and shield Channel B
14
(-) Magnetic pickup
15
Overspeed solid state relay Channel A
16
17
18
Overspeed solid state relay Channel B
19
20
21
Solid state relay common
Connect your I/O devices to the 40-terminal field wiring arm
(cat. no. 1771-WN) shipped with the CFM module. Use the wiring
example on page C–7 for additional assistance on connecting
your devices.
NEW wiring arm (1771WN)OLD wiring arm (1771WG)
Even Numbered T
Customer
V DC #1 RET (Outputs 0 &1 RET)
erminals 240
F0 Input
F2 Input
Output 0
Odd Numbered T
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
1
3
5
7
9
11
F0 RET
13
15
17
19
21
23
F2 RET
25
27
29
31
33
Customer V DC #1 (5 to 40V)
35
Output 1
37
39
erminals 139
18322
Overspeed
1ms of frequency calculation.
outputs turned on within
actual wiring runs in this direction
The sensor cable must be shielded. The shield:
• must extend the length of the cable, but be connected only
at the 1771 I/O chassis
• must extend up to the point of termination
Important: The shield should extend to the termination point,
exposing just enough cable to adequately terminate the
inner conductors. Use heat shrink or another suitable
insulation where the wire exits the cable jacket.
10689I
Publication
17716.5.99 - December 1995
Wiring Example
ATTENTION: Pins15 & 18 (on the QRC module)
are switching negative (–) while pins 34 & 35
!
(on the CFM module) are switching positive (+).
Please take this into consideration when rewiring
your system.
Replace Your QRC ModuleC–7
QRC moduleCFM module
shield
(+)
turbine
flowmeter
or
magnetic pickup
shield
turbine flowmeter
or
magnetic pickup
channel A
channel A
+
+
(+)
external dc
power supply
(-)
12
11
24
23
34
35
13
14
15
18
21
7
8
(-)
(+)
(-)
overrange alarm
overrange alarm
36
33
➀
For new installations, terminate the shields at the chassis.
While not recommended, existing installations can continue
to terminate the shields at the return (RET) terminal.
➀
➀
+
+
(+)
turbine flowmeter
(-)
(+)
(-)
overrange alarm
overrange alarm
or
magnetic pickup
turbine flowmeter
or
magnetic pickup
channel A
channel A
-
-
(-)
external dc
power supply
(+)
➀
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–8
Resume Normal Operation
PLC5 Program Example
The
module to the PLC processor. This data is stored at N23:1. The BTR control file, starting at n23:60, is 5 words long.
Block transfer instructions use one binary file in a
data table section for module location and other
related data. The block transfer data file stores
data that you want transferred from the CFM
(QRC) module (when programming a BTR).
The address of the block transfer data files are
stored in the block transfer control file.
The programming terminal prompts you to create
a control file when a block transfer instruction is
being programmed. A different block transfer
control file is required for every module.
CFM (QRC)
CFM (QRC)
BTR EN Bit
N23:60
The CFM module, configured for QRC module emulation, operates
as a QRC module. Use the following section for reference on how
the CFM (QRC) module operates.
Important:The CFM module has 50mV sensitivity. This is
different than the QRC module, which had 20 to
300mV sensitivity, depending on the hardware level.
Edit Your Ladder Logic Program
To initiate communication between the CFM module and your
PLC processor, you must enter block transfer instructions into your
ladder logic program. Enter the following rung to establish
communication between the CFM module and your PLC processor.
module is located in rack 0, I/O group 1, slot 0. There are 3 words of data sent from the CFM (QRC)
CFM (QRC) BTR
CONTROL FILE
BTR
15
BLOCK TRANSFER READ
Rack
Group
Slot
Control Block
Data File
Length
N23:60
N23:1
00
EN
1
DN
0
ER
0
NContinuous
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–9
BTR
Read Data From the CFM Module
When configured for QRC module emulation, BTR programming
moves three words from the CFM module to the PLC processor’s
data table. The following BTR assignments apply when the CFM
module is configured for QRC module emulation.
BTR
Word
1
2
3
word 1
word 2 (ratemeter A)
Bit
15
141312111009080706050403020100
Block
ID
Header
Input Channel Rate
Rate of Ratemeter A
Rate of Ratemeter B
*ALL numeric values are in binary*
BTR Word Descriptions
15141312111009080706050403020100
00000000 00010111
Header
will
be 7001 Hex or 28,673 binary. Identifies the
module as a CFM (QRC) module.
15141312111009080706050403020100
Rate indicates the calculated rate.
RANGE: 015,800Hz binary
Rates: 0169Hz are reported as zero
17015,800Hz are reported as calculated
> 15,800Hz are reported as 15,800
The rates in words 2 & 3 are updated every 13.5ms20ms
maximum. The greater the frequency, the faster the
update time. The accuracy of the returned rate is ±1Hz.
word 3 (ratemeter B)
15141312111009080706050403020100
Publication
17716.5.99 - December 1995
Replace Your QRC ModuleC–10
O0 O1 O2 O3
STATUS
Interpret Status Indicators
Indicators
If indicator
ACTIVE
INPUTS
(F0 & F2)
ACTIVE
INPUTS/OUTPUTS
F0 F1 F2 F3
G2
STATUS
S1 S2 S3
FAULT
G3
G0 G1
O0 O1 O2 O3
S0
S4 S5 S6 S7
OUTPUTS➁ (O0 & O1)
STATUSS3BTR is occurringBTR is not occurring
FAULT
➀
All other LED'
➁
Outputs
s are OFF in normal operation.
are not active if PLC processor is faulted or in Program mode.
➀
Is ONIs OFF
a. Check FAULT LED if on, follow the
the CFM module is receiving power and
operational
F0 - flashes with pulses at Channel A
F2 - flashes with pulses at Channel B
steps listed under if FAULT is ON.
b. Check power supply LEDs.
a signal is not present at the designated
input terminal (low)
O0 - indicates Channel A frequency
is ≥ 15,800Hz
O1 - indicates Channel B frequency
the output is off
is ≥ 15,800Hz
1. Turn off power to the I/O chassis
backplane and wiring arm.
2. Reseat the CFM (QRC) module in
the I/O chassis.
3. Restore power to the I/O chassis
backplane and wiring arm.
normal operation
Important: If the fault LED remains on,
there may be an internal problem.
Contact your local AllenBradley
representative for additional assistance.
Additional Feature
When you replace your existing QRC module with the CFM module,
you can set input channel jumpers for:
• TTL inputs (5-40v dc)
• 500mV ac sensitivity for improved noise immunity
For additional information on setting the input channel jumpers, see:
2
Install the
CFM Module
Publication
17716.5.99 - December 1995
What This Appendix
Contains
Appendix
D
Replace Your QRD Module
Use this appendix to install the CFM module as a replacement for the
QRD module.
Important:We assume that you are using a QRD module in your
existing system and that you are familiar with the I/O
module installation/removal procedures.
The CFM (QRD) module interfaces PLC processors with magnetic
pickups, single channel shaft encoders, turbine flowmeters, or any
source of TTL pulses.
When configured for QRD operation, the CFM (QRD) module
calculates the frequency once per second, independent of the
pulse edges.
The CFM (QRD) module is generally compatible with, but does not
require the use of, turbine flowmeter signal preconditioning modules.
It provides rate and count data in 2’s complement binary format to
the PLC processor’s data table through block data transfers.
Rates as high as 10.0kHz and counts as large as 32,767 are
supported. At overflow, the count continues from zero and an
overflow flag is set. The overflow flag can be reset by the ladder
logic. In addition, the PLC processor can reset any or all
counts directly.
Important:Input frequencies > 30.0kHz may return unpredictable
results in the BTR file.
Publication
17716.5.99 - December 1995
Replace Your QRD ModuleD–2
Check Power
Requirements
Remove Your QRD Module
Detach and remove wiring arm (1771WG) from
1
1
the horizontal bar at the bottom of the I/O chassis.
ATTENTION: The maximum current drawn by the
CFM(QRD) module is 1.0A. This current (1.0A) is
!
!
0.5A greater than the maximum current drawn by your
QRD module (0.5A).
Consider the power usage of all modules in the I/O
chassis to prevent overloading either the chassis
backplane or power supply.
ATTENTION: Remove power from the 1771 I/O
chassis backplane and wiring arm before you remove
your QRD module. Failure to remove power from the
backplane could cause:
• injury
• equipment damage due to unexpected operation
• degradation of performance
wiring arm
horizontal bar
Remove the QRC module from the I/O chassis.
2
1771A1B, A2B, A3B, A3B1, A4B I/O chassis1771A1B, A2B, A3B1, A4B Series B I/O chassis
locking
tab
card guides
QRC module
Pull on the QRC module to slide it out of the I/O chassis.
remove
locking bar pin
locking bar
card guides
1771WG
QRC module
19809
Publication
17716.5.99 - December 1995
Replace Your QRD ModuleD–3
Set the Configuration
Jumpers
You check and/or set these jumpers:
• module operation jumper
• input channel jumpers
Set the Module Operation Jumper
To use the CFM module as a replacement for a QRD module,
set the operation jumper in the QRD position
(default setting = CFM position).
CFM module
CFM
QRC
QRD
19807
Publication
17716.5.99 - December 1995
Replace Your QRD ModuleD–4
Check the Input Channel Jumpers
The CFM (QRD) module has user-selectable jumpers for each input
channel. These jumpers consist of one each:
• flowmeter jumpers (F0–F3) - set for low-pass filter or
high-speed operation
• gate jumpers (G0–G3) — set for +5-12V or +12-40V operation
The CFM (QRD) module is configured for high-speed operation.
Before installing your CFM (QRD) module, make sure the input
channel jumpers are in their default positions.
Remove the four screws securing the side cover
11
to the module and remove the covers.
19805
Make sure the input channel jumpers
12
positions shown below:
➁
FILTER
HIGH
SPEED
F1
F0
F3
F2
flowmeter jumpers
➀
Jumpers
are shown in default settings.
➁
In
the filter position, the module will not see
frequencies above 70Hz.
➀
are in the default
gate jumpers
5-12V
12-40V
G0
G1
G2
G3
19806
Publication
17716.5.99 - December 1995
Reposition the cover and secure with
13
the fours screws removed in step 1.
19813
Install the CFM Module
Place the CFM (QRD) module in the card guides on the top and
11
bottom of the slot that guide the module into position.
Important: Apply firm even pressure on the module to seat it into
its backplane connector.
1771A1B, A2B, A3B, A3B1, A4B I/O chassis1771A1B, A2B, A3B1, A4B Series B I/O chassis
Replace Your QRD ModuleD–5
locking
tab
card guides
Snap the chassis latch over
the top of the module to secure it.
Attach the wiring arm (1771WN) to the horizontal
12
bar at the bottom of the I/O chassis.
The wiring arm pivots upward and connects with
the module so you can install or remove the
module without disconnecting the wires.
locking bar
locking bar pin
card guides
CFM (QRD) module
CFM (QRD) module
Swing the chassis locking bar down into place to secure
the modules. Make sure the locking pins engage.
19809
wiring arm
1771WN
horizontal bar
install
Publication
17643
17716.5.99 - December 1995
Replace Your QRD ModuleD–6
Make Connections to the
New Wiring Arm
not
used
1
not used
2
Channel 1 +
3
Channel 1 -
4
shield
5
Channel 2 +
6
Channel 2 -
7
shield
8
Channel 3+
9
Channel 3 -
10
shield
11
Channel 4 +
12
Channel 4 -
13
shield
14
not used
15
not used
16
TTL
17
not used
18
Channel 3, 4 level
19
Channel 1, 2 level
20
not used
21
Connect your I/O devices to the 40-terminal field wiring arm
(cat. no. 1771-WN) shipped with the CFM module. Use the wiring
examples on page D–7 for additional assistance on connecting
your devices.
NEW wiring arm (1771WN)OLD wiring arm (1771WG)
Even Numbered T
erminals 240
F0 Input
F1 Input
F2 Input
F3 Input
Odd Numbered T
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
1
3
5
7
9
F0 (TTL)
F0 RET
F1 (TTL)
F1 RET
F2 (TTL)
F2 RET
F3 (TTL)
F3 RET
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
erminals 139
➀
18322
actual wiring runs in this direction
The sensor cable must be shielded. The shield:
• must extend the length of the cable, but be connected
only at the 1771 I/O chassis
• must extend up to the point of termination
Important: The shield should extend to the termination point,
exposing just enough cable to adequately terminate the
inner conductors. Use heat shrink or another suitable
insulation where the wire exits the cable jacket.
➀
To use a channel in TTL, jumper the appropriate TTL pin to the appropriate
RET. To use Channel 1 in TTL, jumper pin 9 to pin 11.
Publication
17716.5.99 - December 1995
Wiring Examples
Replace Your QRD ModuleD–7
wiring for magnetic pickups or flowmeters
3
4
5
6
7
8
9
10
11
12
13
14
wiring for active TTLdrivers
3
4
6
7
QRD moduleCFM module
(+)
shield
shield
shield
shield
shield
shield
(-)
(+)
(-)
(+)
(-)
(+)
(-)
turbine
flowmeter
1
turbine
flowmeter
2
turbine
flowmeter
3
turbine
flowmeter
4
TTL
channel 1
TTL
channel 2
11
12
15
16
23
24
27
28
9
11
12
13
logic
➁
(-)
turbine
flowmeter
(+)
1
(-)
turbine
flowmeter
(+)
2
(-)
turbine
flowmeter
(+)
(-)
turbine
flowmeter
(+)
4
ground channel 0
TTL
F0
3
➀
9
10
11
12
13
17
19
20
8
shield
logic ground
TTL
channel 3
15
16
21
23
TTL
channel 4
shield
TTL
channel 3 & 4 level
24
25
27
28
logic
ground channel 1
➁
logic ground channel 2
➁
logic ground channel 3
➁
TTL
F1
TTL
F2
TTL
F3
channel 1 & 2 level
➀
To use a channel in TTL, jumper the appropriate
TTL pin to the appropriate RET.
To use Channel 1 in TTL, jumper pin 9 to pin 11.
Signal types can be mixed in any combination on
the CFM module.
➁
For new installations, terminate the shields at the
chassis. While not recommended, existing
installations can continue to terminate the shields
at the return (RET) terminal.
Publication
17716.5.99 - December 1995
Replace Your QRD ModuleD–8
Resume Normal Operation
Program Example
The
module to the PLC processor
Block transfer instructions use one binary file
in a data table section for module location and
other related data. The block transfer data file
stores data that you want transferred to the
module (when programming a BTW) or from
the module (when programming a BTR).
The address of the block transfer data files are
stored in the block transfer control file.
The programming terminal prompts you to
create a control file when a block transfer
instruction is being programmed.
A different block transfer control file is
required for every module.
CFM (QRD)
The CFM module, configured for QRD module emulation, operates
as a QRD module. Use the following section for reference on how
the CFM (QRD) module operates.
Edit Your Ladder Logic Program
To initiate communication between the CFM (QRD) module and
your PLC processor, you must enter block transfer instructions into
your ladder logic program. The following program example
illustrates the minimum programming required for this
communication to take place.
module is located in rack 0, I/O group 1, slot 0. There are 9 words of data sent from the CFM (QRD)
CFM (QRD)
BTR EN BIT
N23:50
15
. This data is stored at N23:21. The BTR control file, starting at n23:50, is 5 words
CFM (QRD) BTR
CONTROL FILE
CFM (QRD)
EN BIT
BTW
N23:55
15
BTR
BLOCK TRNSFR READ
RACK
GROUP
SLOT
CONTROL BLOCK0N23:50
DATA FILE
LENGTH
00
N23:21
NCONTINUOUS
long.
EN
1
DN
0
ER
The
to the CFM (QRD) module. This data is stored at N23:1. The BTR control file, starting at n23:55, is 5 words long.
Note that the BTW is switch selectable, and its
length is one word. The block transfer should only
be sent once unless the ladder intelligently sets
and clears the reset bits within the block transfer
data. As an example, the ladder might set the
reset bit at the time of overflow. If the block
transfer is sent continuously and the reset bits
contained within the block transfer data are simply
left set to 1", the transfers will constantly be
resetting the totalizer(s) and/or overflow flags of
the specified channels.
CFM (QRD) module is located in rack 0, module group 1, slot 0. There is 1 word of data
CFM
CONTROL FILE
CFM (QRD)
BTR EN BIT
N23:50
15
CFM (QRD)
BTW
EN BIT
N23:55
15
BTR
BLOCK TRNSFR WRITE
RACK
GROUP
SLOT
CONTROL BLOCK0N23:55
DATA FILE
LENGTH
sent from the PLC processor
(QRD)
BTW
N23:1
00
EN
1
DN
0
ER
NCONTINUOUS
Publication
17716.5.99 - December 1995
Replace Your QRD ModuleD–9
BTR
Read Data From the CFM Module
When configured for QRD module emulation, BTR programming
moves nine words from the CFM module to the PLC processor’s
data table. The following BTR assignments apply when the CFM
module is configured for QRD module emulation.
BTR
Word
1
2
3
4
5
6
7
8
9
15
word #
Bit
141312111009080706050403020100
Block
ID & Channel Status
Header
Overflow
Status
Input
Overrange Alarm
Channel Data
Error Code
Frequency on Channel 1 (010,000)
Total on Channel 1 (032,767)
Frequency on Channel 2 (010,000)
Total on Channel 2 (032,767)
Frequency on Channel 3 (010,000)
Total on Channel 3 (032,767)
Frequency on Channel 4 (010,000)
Total on Channel 4 (032,767)
*ALL numeric values are in binary*
BTR Word Description Key
Bits
15141312111009080706050403020100
Description of what these bits are used for.
Publication
17716.5.99 - December 1995
word 1
Replace Your QRD ModuleD–10
BTR Word Descriptions
15141312111009080706050403020100
0001.
Header must be 0001
Identifies the module as
a CFM (QRD) module.
word 5 (channel 0)
word 2 (channel 1)
word 15 (channel 1)
word 4 (channel 2)
word 25(channel 2)
word 6 (channel 3)
word 35(channel 3)
word 8 (channel 4)
word 5 (channel 0)
word 3 (channel 1)
word 15 (channel 1)
word 5 (channel 2)
word 25(channel 2)
word 7 (channel 3)
word 35(channel 3)
word 9 (channel 4)
Overflow Status
on if rollover has occurred
(counter has exceeded maximum
value of 32,767 and rolled over to 0).
This can only be reset by BTW
on if the frequency is > 10.0kHz.
Frequency will be reported as 0.0Hz
and count will be reset to 0.
b04 = Channel 1b06 = Channel 3
b05 = Channel 2b07 = Channel 4
VALUES: 0 = frequency < overrange value
1 = frequency ≥ overrange value
VALUES: 0 = rollover has not occurred
1 = rollover has occurred
15141312111009080706050403020100
Frequency indicates the calculated
frequency for the input channels.
15141312111009080706050403020100
Total the total counts registered
by the input channel.
RANGE: 010,000Hz
Frequency = 0 if Overrange Alarm = 1 (is ON).
RANGE: 032,767
Total = 0 if Overrange Alarm = 1 (is ON).
Error Code displays error
code hex value:
0 = Valid Data
2 = Block Transfer Syntax Error:
BTW word 1, bits 08-15
any bit is ON (= 1)
15141312111009080706050403020100
word 1
0000. 0000.
All of these bits must be OFF (= 0).
If any bit is ON, BTR word 1, bits 0003
will display an error code of 2 (hex value).
Reset Total and Overflow Flags
Any or all of the totalizers and overflow flags can be reset using a
BTW command sent to the CFM module from the PLC processor.
The BTW data word can be changed through the ladder logic, or by
editing the data table.
BTW Word Description
Total Reset
Overflow Reset
reset the overflow flag (these bits are
level sensitive upon receipt of BTW).
b04 = Channel 1b06 = Channel 3
b05 = Channel 2b07 = Channel 4
reset the total count
(these bits are level sensitive).
b00 = Channel 1b02 = Channel 3
b01 = Channel 2b03 = Channel 4
VALUES: 0 = not reset 1 = reset
VALUES: 0 = not reset 1 = reset
➀
Resetting the total count will automatically reset its respective overflow flag(s).
Continuously doing BTW's with T
otal Reset
= 1 (reset) will affect the accuracy of the frequency.
➀
Publication
17716.5.99 - December 1995
Interpret Status Indicators
Replace Your QRD ModuleD–11
Indicators
➀
All other LED'
ACTIVE
INPUTS/OUTPUTS
F0 F1 F2 F3
G0 G1 G2 G3
O0 O1 O2 O3
STATUS
S0
S1 S2 S3
S4 S5 S6 S7
FAULT
s are OFF in normal operation.
If indicator
ACTIVE
INPUTS
(F0 F3)
STATUS S1
S2
S3
S4
FAULT
➀
Is ONIs OFF
the CFM module is successfully receiving
power and operational
F0 - flashes with pulses at Channel 1
F1 - flashes with pulses at Channel 2
F2 - flashes with pulses at Channel 3
F3 - flashes with pulses at Channel 4
BTW invalid (BTW word 1, bits 0815) 0 0
BTW is occurring
BTR is occurring
frequency > 10.0kHz (overrange) on
any channel
1. Turn off power to the I/O chassis
backplane and wiring arm.
2. Reseat the CFM module in the
I/O chassis.
3. Restore power to the I/O chassis
backplane and wiring arm.
Important: If the fault LED remains on,
there may be an internal problem.
Contact your local
AllenBradley representative for
additional assistance.
a. Check FAULT LED if on, follow the
steps listed under if FAULT is ON.
b. Check power supply.
a signal is not present at the designated
input terminal
BTW is valid
BTW is not occurring
BTR is not occurring
all frequencies within operating range
normal operation
Additional Feature
When you replace your existing QRD module with the CFM module,
you can set input channel jumpers for:
• 500mV ac sensitivity for improved noise immunity
• frequencies > 70Hz (flowmeter filter jumpers)
For additional information on setting the input channel jumpers, see:
2
Install the
CFM Module
Publication
17716.5.99 - December 1995
What This Appendix
Contains
Configure the CFM Module
Appendix
E
Using I/O Configuration
Software
Use this appendix along with the PLC-5 Programming Software,
I/O Configuration Software manual (publication 6200-6.4.12) to
configure the CFM module using I/O Configuration software.
To configure the CFM module, you use these screens:
• Block Transfer Data screen
• Channel Setup screen
• Output Setup screen
• Monitor screen
Choose one:
ab
I/O Module
System Overview
Edit
F2
BT
Data T
ables
F2
You cannot edit the information on this screen.
I/O Module
or
System Overview
Edit
Channel Edit
F3
BT Data Tables
or
System Overview
F2
BT Data Tables
F2
c
I/O Module
Monitor
F3
F6
Block Transfer Data Screen
Use the Block Transfer Data screen to display an image of the
PLC processor data tables for the CFM module.
1771–CFM Series A Block Transfer Data Rack–Group–Module: 0–0–0
Rem RUN mod 1 of 1 Addr#42:CFM4B
Change I/O Channel Output Monitor Change Display
Mode Ovrview Setup Setup Radix Symbols
F1 F2 F3 F4 F5 F6 F7
Publication
17716.5.99 - December 1995
Using I/O Configuration SoftwareE–2
Shows current values for each channel
(these values reflect the data received
the last time a BTR was completed).
The PLC processor must be in Run
mode if you want to receive current data
from the CFM module.
Shows current programming
for each channel and lets you
change the channel programming.
Fields inapplicable in the
programmed channel mode are
shown as dashes
and cannot be edited.
Choose one:
ab
I/O Module
System Overview
EditChannel Setup
Output Setup
or
or Monitor
or BT Data
F3F2
Ladder Editor
or
Main Menu
Cursor to
BT instruction
Edit
I/O Edit
Use PageUp or PageDown to move
through the channel setup screens.
Channel Setup Screen
1771–CFM Series A Channel Setup Rack–Group–Module: 0–0–0
channel 0 channel 1 channel 2 channel 3
current values:
channel mode high–res freq (not used) totalizer noreset totzr
frequency 43.0 15,487 258
total counts ––– 3,881,128 1,111,111
acceleration 0 359 0
–––––––––––––––––––– channel 0 channel 1 channel 2 channel 3
new channel mode high–res freq (not used) totalizer noreset totzr
minimum sample time 10 ms 1000 ms 0 = 100 ms
for frequency
acceleration 2,000 5,000 disabled
alarm value
accel sample time 100 rolling avg –––
(freq intervals)
highest allowed 60,000 0 0
frequency
Press F9(Toggle) to change channel mode.
Rem RUN mod 1 of 1 Addr#42:CFM4B
Change I/O Output Monitor BT Data Default Toggle Accept
Mode Ovrview Setup Tables Config
F1 F2 F4 F5 F6 F8 F9 F10
end sample on time only ––– –––
counts to end ––– ––– –––
sampling
frequency resolution 0.1 Hz ––– –––
frequency scalers 1/1 1/1 1/60
(multiply/divide)
Press F9(Toggle) to change bandwidth limit.
Rem RUN mod 1 of 1 Addr#42:CFM4B
Change I/O Output Monitor BT Data Default Toggle Accept
Mode Ovrview Setup Tables Config
F1 F2 F4 F5 F6 F8 F9 F10
–––––––––––––––––––– channel 0 channel 1 channel 2 channel 3
scalers for total ––– 1/2 1/1
(multiply/divide)
rollover value ––– 0 5,000,000
tied to outputs 0,2,3 1 none
reset total ––– disabled –––
reset overflow ––– disabled disabled
start prover ––– enabled enabled
prover type, uni ––– bi uni
or bidirectional
Enter rollover value (0 to 9,999,999).
>
Rem RUN mod 1 of 1 Addr#42:CFM4B
Change I/O Output Monitor BT Data Default Accept
Mode Ovrview Setup Tables Config
F1 F2 F4 F5 F6 F8 F10
Publication
Press (F3) Channel Setupto configure individual channels or(F10) - Accept to accept
your edits. We suggest that you complete your edits on all screens before accepting the edits.
17716.5.99 - December 1995
Using I/O Configuration SoftwareE–3
Current valuesDisplaysIn mode(s)
channel modethe current channel mode as returned in the BTR data file by the module
frequencythe current scaled frequency
total countsthe scaled total counts
all
all
T,
NR
T
if acceleration alarm value
acceleration
0 0, value = the acceleration (change in scaled frequency per second)
all
= 0, value = 0
Current programmingYouIn mode(s)
press (F9) Toggle to select a mode of operation for the input channel:
❯ not used
❯ totalizer
❯ noreset totzr (nonresettable totalizer)
new channel mode
❯ high-res freq (highresolution frequency)
❯ direction (direction sensor)
all
Important: The Highresolution frequency and Direction Sensor modes each
occupy two channels and are selected via channel 0 (channel 1
unused) or channel 2 (channel 3 unused).
enter the minimum time value the CFM module will spend to determine frequency
minimum sample time
for frequency
RANGE: 4-1000ms (03 = DEFAULT)
DEFAULT (if you enter 0): 100ms (T, NRT) 4ms (HR, DS)
In Direction Sensor, this time is used to determine the maximum sample time and
T,
NRT, HR
minimum frequency and does not actually determine the time period.
acceleration alarm
value
enter an alarm value of 0 to 32,767
DEFAULT (if you enter 0): all acceleration features of the module are disabled
all
only when the acceleration alarm value 0 0
accel sample time
(freq intervals)
enter a number to determine how many frequency intervals (1 to 750) should be
spanned in computing acceleration
DEFAULT (if you enter 0): acceleration calculated as rolling average over 5
T,
NRT, HR
samples
enter a value up to 120,000Hz for the overspeed threshold
DEFAULT (if you enter 0): 120,000Hz
highest allowed
frequency
The highest allowed frequency is in Hz, not in scaled frequency units.
For example, if you select 120,000Hz as the highest allowed frequency and select
T,
NRT, HR
frequency scalers of 1/60, the module sets the overspeed bit in the BTR for any
scaled frequency above 2000 (120,000Hz).
lowest measurable
frequency
press (F9) Toggle to select 1 Hz (full frequency range, 1 Hz to 100kHz)
or 1/sample time this field = Bandwidth Limit in BTW configuration block
HR
press (F9) Toggle to select time only or time/counts (time only means when the
end sample on
minimum sampling time has elapsed and at least one count has been received)
HR
this field = Terminate Enable in BTW configuration block
counts to end
sampling
enter the number of counts (032,767) to end sampling on
HR
select the precision of the frequency (1Hz or 0.1Hz) returned in the BTR
frequency resolution
(if you have scaling programmed for frequency, the resolution will be in whole
HR
numbers of tenths of scaled frequency units)
frequency scalers
(multiply/divide)
enter a multiplier and divisor separated by a (/) to have the module report
frequency in units meaningful to your application
(the multiplier must be ≤ the divisor)
RANGE: 1255DEFAULT: 1/1 (no scaling)
For example, if one count represents 7 gallons, you could scale frequency to
all
gallons per minute by entering scalers of 7/60.
Scaling affects only the frequency and acceleration value that the module returns
in the BTR. All programming in the BTW - e.g. highest allowed frequency, output
ON and OFF values still in Hz.
Mode abbreviations:
Totalizer = T
Nonresettable T
otalizer = NRTHighresolution Frequency = HRDirection Sensor = DS
Publication
17716.5.99 - December 1995
Using I/O Configuration SoftwareE–4
enter a multiplier and divisor here, separated by a (/) to have the module report
total counts in units meaningful to your application
(the multiplier must be ≤ the divisor)
scalers for total
(multiply/divide)
RANGE: 032,767DEFAULT: 1/1 (no scaling)
For example, if 15 counts represent 2 gallons, you could scale counts to gallons by
entering scalers of 2/15.
Scaling affects only the total counts value that the module returns in the BTR.
All programming in the BTW - e.g. rollover value, output ON and OFF values is
still in Hz .
enter a count value that the totalizer will reset or rollover to 0 at (when the unscaled
rollover value
count reaches that value, the module sets the overflow status bit in the BTR and
starts counting again from 0)
RANGE: 0-9,999,999DEFAULT (if you enter 0): 10,000,000
tied to outputs
reset totalsee if the Total Reset (BTW word 1, bits 0030) is ON (this field is display only).
reset overflowsee if the Overflow Reset (BTW word 1, bits 0407) is ON (this field is display only).
see the output(s) that are currently tied to this input channel (this field is display
only to tie outputs to a different input channel, use the Output Setup screen.
see the current settings in the BTW data file (you must make any changes to this
start prover
field through a running program on the PLC processor, or by directly setting bits in
the BTW; you can not edit these fields with the I/O Configuration software)
prover type, uni
or bidirectional
Mode abbreviations:
Totalizer = T
Nonresettable T
press (F9) Toggle to select the type of prover you are using in your application
0 = unidirectional 1 = bidirectional.
otalizer = NRTHighresolution Frequency = HRDirection Sensor = DS
In mode(s)Current programmingYou
T,
NR
T
T,
NR
T
all
T
T,
NR
T
T,
NR
T
T,
NR
T
Publication
17716.5.99 - December 1995
Choose one:
abc
or
Ladder Editor
Main Menu
General Utility
F7
I/O Ovrview
F9
Edit
F2
Ladder Editor
Main Menu
Cursor to
BT instruction
Edit
F10
I/O Edit
F2
or
Counter Setup
or Monitor
or BT Data
Output Setup
F4
Using I/O Configuration SoftwareE–5
Output Setup Screen
1771–CFM Series A Output Setup Rack–Group–Module:
0–0–0
output current tied to forced or
number status channel triggered by ON when >= OFF when >=
0 off 0rate/frequency1,000 25,000
1 off 2total1,000 3,500,000
2 on 0rate/frequency1,000 12,000
3 off 0acceleration 100 0
Enter numeric trigger value, or press F9 to change direction trigger.
>
Rem RUN mod 1 of 1 Addr#42:CFM4B
Change I/O Channel Monitor BT Data Default Accept
Mode Ovrview Setup Tables Config
F1 F2 F3 F5 F6 F8 F10
Output Setup
F4
This fieldIs used to
output number
current status
tied to channel
forced or
triggered by
display the output numbers (03)
display each output's current status (ON or OFF) these values reflect the data received the last time a BTR
was
completed (
select
the input channels
ber
select what channel characteristic the output is triggered ON or OFF by (the default is disabled)
press (F9) Toggle to select one of these characteristics:
Disabled: always forces the output to an OFF state.
If you select Disabled, you cannot tie the output to a
channel, and you cannot enter ON/OFF values.
Rate/Frequency: specify ON and OFF values in Hz,
not in scaled frequency units.
% of Full Scale: specify ON and OFF values as
percentages of the channel's highest allowable
frequency from the Channel Setup screen.
T,
NRT, HR
Acceleration: channel's alarm must be nonzero.
Specify ON and OFF values of -32,768 to 32,767
Hz/s, representing a change per second in
unscaled frequency.
Total: Specify ON and OFF values in unscaled
counts from 0 to 9,999,999. If the channel has a
nonzero rollover value programmed, the ON and
OFF values must be less than the rollover.
T
, NR
T
Direction: For ON and OFF values, press (F9)
Toggle to select stop, CW (clockwise), or CCW
(counterclockwise).
ON when >=
OFF when >=
Enter a value between 0 and 9,999,999.
The output state transitions from an OFF state to an ON state when the monitored value exceeds the ON count.
The output state transitions from an ON state to an OFF state when the monitored value exceeds OFF.
Press (F4) Output Setup for other configuration choices or (F10) - Accept to accept
your edits. We suggest that you complete your edits on all screens before accepting the edits.
the PLC processor must be in Run mode if you want to receive current data from the CFM module
(03)
that the output channel is tied to (default is None) Press (F9) - T
oggle to select num
Overflow: If you specify this mode, you must tie the
output to a channel, and that channel's mode must be
totalizer or nonresettable totalizer. You cannot enter
ON and OFF values. The output will be ON when the
overflow bit is set in the BTR, and OFF when the overflow
bit is clear.
Forced On: If you specify this mode, you cannot tie the
output to a channel or enter ON and OFF values.
Prover running: You cannot enter ON and OFF values.
The output will be ON during a prover run and OFF at
T
, NR
other times.
all
Prover range: For ON and OFF values,
press (F9) Toggle to select from these prover values
T
prover not selected in fwd (forward) leg
prover selected but not runningfwd leg done
in rev (reverse) legdone
If the channel's prover type of the Channel Setup screen
is unidirectional, fwd leg done" and in rev leg" are not
valid settings for ON and OFF values.
T,
NR
DS
T
)
Publication
17716.5.99 - December 1995
Using I/O Configuration SoftwareE–6
Monitor Screen
ab
Ladder Editor
Main Menu
Cursor to
BT instruction
Data Monitor
F8
I/O Monitor
F1
Output Setup
F4
Choose one:
I/O Module
or
System Overview
Monitor
F3
Edit
F2
or
Output Setup
F4
Counter Setup
or
or Output Setup
or BT Data
Monitor
F5
Use the monitor screen to check and verify the configuration data.
c
The values on this screen reflect the data received the last time a
BTR was completed. The processor must be in Run mode if youwant to receive current data from the module.
1771–CFM Series A Monitor Rack–Group–Module: 0–0–0
ch mode direction prover | output current tied to
status | number status channel
0 high–resolution frequency | 0 off 0
1 (not used) | 1 off 2
2 totalizer done | 2 on 0
3 nonresettable totalizer done | 3 off 0
Has module received valid BTW since powerup? yes BTW error code: none
Press a function key.
Rem RUN mod 1 of 1 Addr#42:CFM4B
Change I/O Channel Output BT Data
Mode Ovrview Setup Setup Tables
F1 F2 F3 F4 F6
This fieldDisplays
ch
frequency
total
acceleration
prover total/
stored count
alarms
mode
direction
prover status
output number
the input channel (0 to 3).
the frequency in Hz and % full scale
scaled total counts, using scaling from the Channel Setup screen
the acceleration as a change per second in scaled frequency
the stored count or Prover run result
the alarm activated (SP=overspeed, AC=acceleration, OF=overflow, OR=overrange)
input channel's current mode of operation
the direction of rotation CW (clockwise) or CCW (counterclockwise)
prover status
the output channel (0 to 3)
the state of the current output (ON or OFF) these values reflect the data received the last time a
current status
BTR was completed (the PLC processor must be in Run mode if you want to receive current
data from the CFM module)
tied to channel
module power-up
BTW error code
which input channel the output is tied to
whether a BTW has successfully occurred since powerup (YES or NO)
an error code is (If an error occurred in the last BTW) error codes 1 to 60 are word numbers where
invalid configuration was programmed in the BTW data file
T,
NR
T
all
T,
NR
T
DS
T,
NR
T
Publication
17716.5.99 - December 1995
AllenBradley
Publication Problem Report
If you find a problem with our documentation, please complete and return this form.
PLC2 family processor, 3-2
PLC3 family processor, 3-3
PLC5 family processor, 3-4
PLC5/250 processor, 3-5
BTR, 1-2
diagnostics, 6-2
structure, 5-1
word assignments, 5-1, 5-2
word descriptions, 5-3, 5-4, 5-5
BTW, 1-2
configuration block, 4-2
word descriptions, 4-3, 4-4, 4-5,
4-6, 4-7
C
CFM module
as replacement for QRC module, C-1
additional features, C-10
block transfer instructions, C-8
BTR word assignments, C-9
input channel jumpers, C-4
installing, C-5
LED indicators, C-10
new wiring connections, C-6
operation jumper, C-3, D-3
power requirements, C-1
as replacement for QRD module, D-1
additional feature, D-11
block transfer instructions, D-8
BTR word assignments, D-9
input channel jumpers, D-4
installing, D-5
LED indicators, D-11
new wiring connections, D-6, D-7
power requirements, D-2
BTW configuration block, 4-2
configure, 4-16
configuring with I/O Configuration
software, E-1
dc to dc converters, circuit diagram, B-4
discrete outputs, circuit diagram, B-4
European Union Directive, 2-2
flowmeter input
circuit diagram, B-1
signal characteristics, B-2
frequency accuracy, A-1
gate input, 1-6
circuit diagram, B-3
how it works, 1-2
input capabilities, 1-4, 1-5, 1-6
input channel jumpers, 2-4, 2-5
install, 2-7
keying the I/O chassis, 2-6
LED indicators, 6-1
location in I/O chassis, 2-6
modes of operation, 1-5, 4-8, 4-14
module operation jumper, 2-3
new/updated information, P-2
output capabilities, 1-7
power requirements, 2-3
power supply jumper, 2-3
read data from, 5-6
schematics, B-1
setting bits in the BTW configuration
block, 4-16
specifications, A-2
troubleshoot, 6-1
typical applications, 1-3
use of data table, 2-6
using, 1-1
using I/O Configuration software, 4-16
wiring arm connections, 2-8
AllenBradley, a Rockwell Automation Business, has been helping its customers improve
productivity and quality for more than 90 years. We design, manufacture and support a broad
range of automation products worldwide. They include logic processors, power and motion
control devices, operator interfaces, sensors and a variety of software. Rockwell is one of the
world's leading technology companies.
Argentina •
Denmark • Ecuador
Ireland
Philippines •
Sweden
Australia • Austria • Bahrain
• Israel • Italy • Jamaica •
• Switzerland • T
• Egypt • El Salvador • Finland • France •
Poland • Portugal • Puerto Rico • Qatar • Romania • Russia-CIS • Saudi Arabia • Singapore
aiwan
• Belgium • Brazil •
Japan • Jordan • Korea • Kuwait • Lebanon
• Thailand • T
urkey • United Arab Emirates • United Kingdom • United States • Uruguay
Bulgaria • Canada
Germany • Greece • Guatemala • Honduras • Hong Kong • Hungary
• Chile •
China, PRC • Colombia
• Malaysia • Mexico •
• Costa Rica •
Netherlands
• New Zealand •
• Slovakia • Slovenia •
Croatia • Cyprus
Norway
South Africa, Republic
• V
enezuela
• Iceland •
• Pakistan •
• Yugoslavia
AllenBradley Headquarters, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 3822000 Fax: (1) 414 3824444
Publication
17716.5.99 - December 1995
Copyright
1995 AllenBradley Company
Publication 17716.5.99 - December 1995
• Czech Republic •
India • Indonesia
Peru
•
• Spain •
PN 95512298
, Inc. Printed in USA
•
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.