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
Loading...
+ 69 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.