Allen Bradley 1771-IFE AI Card PDF
Allen Bradley 1771-IFE AI Card PDF
Allen Bradley 1771-IFE AI Card PDF
User Manual
Important User Information 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.
Summary of Changes
Summary of Changes This release of the publication contains updated information from the last
release.
Updated Information
To help you find new and updated information in this release of the
publication, we have included change bars as shown to the right of this
paragraph.
SI
Table of Contents
Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A1
Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E1
Analog Block Transfer Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . E2
Analog Block Transfer Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . E3
Preface
Purpose of Manual This manual shows you how to use your Analog Input module with an
Allen-Bradley programmable controller. It helps you install, program,
calibrate, and troubleshoot your module.
We assume that you know how to do this in this manual. If you do not,
refer to the appropriate programming and operations manual before you
attempt to program this module.
Manual Organization This manual is divided into seven chapters. The following chart shows
each chapter with its corresponding title and a brief overview of the topics
covered in that chapter.
P-1
Preface
Using This Manual
A Specifications
B Programming Examples
Related Products You can install your input module in any system that uses Allen-Bradley
programmable controllers with block transfer capability and the 1771 I/O
structure.
Contact your nearest Allen-Bradley office for more information about your
programmable controllers.
Product Compatibility The 1771-IFE module can be used with any 1771 I/O chassis.
Communication between the discrete analog module and the processor is
bidirectional; the processor block-transfers output data through the output
image table to the module and block-transfers input data from the module
through the input image table. The module also requires an area in the data
table to store the read block transfer data and write block transfer data. I/O
image table use is an important factor in module placement and addressing
selection. Compatibility and data table use is listed in Table P.A.
Table P.A
Compatibility and Use of Data Table
1771IFE 8 8 20 37 Y Y Y A, B
A = Compatible with 1771A1, A2, A4
B = Compatible with 1771A1B, A2B, A3B, A3B1, A4B
Y = Compatible without restriction.
You can place your input module in any I/O module slot of the I/O chassis.
You can put two input modules in the same module group. You can put an
input and an output module in the same module group.
P-2
Preface
Using This Manual
Do not put the module in the same module group as a discrete high density
module. Avoid placing analog input modules close to ac modules or high
voltage dc modules.
P-3
1
Chapter
Module Description The Analog input module is an intelligent block transfer module that
interfaces analog input signals with any Allen-Bradley programmable
controllers that have block transfer capability. Block transfer programming
moves input data words from the module’s memory to a designated area in
the processor data table in a single scan. It also moves configuration words
from the processor data table to module memory.
1-1
Chapter 1
Overview of the Analog Input Module
Table 1.A
Program Selectable Input Ranges
Voltage Current
1 to 5V dc 4 to 20mA
0 to 5V dc 0 to 20mA
5 to +5V dc 20 to +20mA
10 to +10V dc
0 to 10V dc
How Analog Modules The processor transfers data to the module (block transfer write) and from
Communicate with the module (block transfer read) using BTW and BTR instructions in your
ladder diagram program. These instructions let the processor obtain input
Programmable Controllers
values and status from the module, and let you establish the module’s
mode of operation (Figure 1.1).
Figure 1.1
Communication Between Processor and Module
3
5 6
I/O Chassis
Backplane
2 + 4
1-2
Chapter 1
Overview of the Analog Input Module
3. The module converts analog signals into binary or BCD format, and
stores theses values until the processor requests their transfer.
5. The processor and module determine that the transfer was made
without error, and that input values are within specified range.
6. Your ladder program can use and/or move the data (if valid) before it
is written over by the transfer of new data in a subsequent transfer.
7. Your ladder program should allow write block transfers to the module
only when enabled by operator intervention or at power-up.
Chapter Summary In this chapter you read about the functional aspects of the input module
and how the module communicates with the programmable controller.
1-3
2
Chapter
Before You Install Your Input Before installing your input module in the I/O chassis:
Module
You need to: As described under:
Electrostatic Damage Electrostatic discharge can damage semiconductor devices inside this
module if you touch backplane connector pins. Guard against electrostatic
damage by observing the following precautions:
Handle the module from the front, away from the backplane connector.
Do not touch backplane connector pins.
2-1
Chapter 2
Installing the Input Module
Power Requirements Your module receives its power through the 1771 I/O power supply. The
module requires 750mA from the backplane.
Add this current to the requirements of all other modules in the I/O chassis
to prevent overloading the chassis backplane and/or backplane power
supply.
Module Location in the I/O Place your module in any I/O module slot of the I/O chassis except for the
Chassis extreme left slot. This slot is reserved for PC processors or adapter
modules.
Group analog input and low voltage dc modules away from ac modules
or high voltage dc modules to minimize electrical noise interference.
Do not place this module in the same I/O group with a discrete
high-density I/O module when using 2-slot addressing. This module
uses a byte in both the input and output image tables for block transfer.
After determining the module’s location in the I/O chassis, connect the
wiring arm to the pivot bar at the module’s location.
Module Keying Use the plastic keying bands, shipped with each I/O chassis, for keying I/O
slots to accept only one type of module.
The module is slotted in two places on the edge of the rear circuit board.
The position of the keying bands on the backplane connector must
correspond to these slots to allow insertion of the module. You can key
any connector in an I/O chassis to receive this module except for the
leftmost connector reserved for adapter or processor modules. Place
keying bands between the following numbers labeled on the backplane
connector (Figure 2.1):
between 10 and 12
between 24 and 26
2-2
Chapter 2
Installing the Input Module
Figure 2.1
Keying Positions
2
4
6
8
10
12
Keying 14
Bands 16
18
20
22
24
26
28
30
32
34
36
1771IFE
12676
Wiring Your Input Module Connect your I/O devices to the cat. no. 1771-WG wiring arm shipped
with the module. Attach the wiring arm to the pivot bar at the bottom of
the I/O chassis. It pivots upward and connects with the module so you can
install or remove the module without disconnecting the wires.
Input connections for the 1771-IFE with single-ended inputs are shown in
Figure 2.2 and Figure 2.3. Input connections for the 1771-IFE with
differential inputs are shown in Figure 2.4 and Figure 2.5.
2-3
Chapter 2
Installing the Input Module
Figure 2.2
Connection Diagram for 16 Singleended Inputs and TwoWire
Transmitters
Channel 1
1
Channel 2
2
2Channel 3
3
Channel 4
2Wire + 4
1Module Common
Transmitter
– 5
Channel 5
6
Channel 6
+ 7
Channel 7
– 8
Channel 8
9
1Module Common
10
Channel 9
11
Channel 10
12
Channel 11
Source Ground 13
Channel 12
1Module
14
Common
15
Channel 13
16
Channel 14
17
1 All commons are electrically tied Channel 15
18
together inside the module. Channel 16
2 19
Jumper all unused channels to 1Module Common
module common to reduce noise. 1Module 20
Common
Attention: Analog input signals must be within +14.25V 21
referenced to module common. This input signal includes any
common mode voltage present between either input terminal
and module common. If an input terminal exceeds this range,
channeltochannel crosstalk can cause invalid input
readings and invalid underrange or overrange bits.
1771WG
The 1771IFE module does not supply loop power for the input
Field Wiring Arm
device. The user must supply loop power for looppowered 10948I
input devices.
2-4
Chapter 2
Installing the Input Module
Figure 2.3
Connection Diagram for 16 Singleended Inputs and FourWire
Transmitters
Channel 1
1
Channel 2
2
2Channel 3
3
– + Channel 4
4Wire + 4
1Module Common
Transmitter
– 5
Channel 5
6
Channel 6
+ 7
Channel 7
– 8
Channel 8
9
1Module Common
10
Channel 9
11
Channel 10
12
Channel 11
Source Ground 13
Channel 12
1Module
14
Common
15
Channel 13
16
Channel 14
17
1 All commons are electrically tied Channel 15
18
together inside the module. Channel 16
2 19
Jumper all unused channels to 1Module Common
module common to reduce noise. 1Module 20
Common
Attention: Analog input signals must be within +14.25V 21
referenced to module common. This input signal includes any
common mode voltage present between either input terminal
and module common. If an input terminal exceeds this range,
channeltochannel crosstalk can cause invalid input
readings and invalid underrange or overrange bits.
1771WG
The 1771IFE module does not supply loop power for the input Field Wiring Arm
device. The user must supply loop power for looppowered 10948I
input devices.
2-5
Chapter 2
Installing the Input Module
Figure 2.4
Connection Diagram for 8 Differential Inputs and TwoWire Transmitters
Channel 1+
1
Channel 1
2
Channel 2+
3
2Wire + Channel 2
4
Transmitter Not used
–
5
Channel 3+
6
Channel 3
+ 7
Channel 4+
– 8
Channel 4
9
Not used
10
Channel 5+
11
Channel 5
12
Source Ground Channel 6+
13
Channel 6
14
Not used
15
Channel 7+
16
NOTE: Channel 7
17
1. Unused channels must have their + and inputs jumpered Channel 8+
together and tied to module common to reduce noise. 18
Channel 8
19
Attention: Analog input signals must be within +14.25V Module Common
20
referenced to module common. If an input channel exceeds this Module Common
range, channeltochannel crosstalk can cause invalid input 21
readings and invalid underrange or overrange bits.
The 1771IFE module does not supply loop power for the input
device. The user must supply loop power for looppowered
input devices.
Configuring the module for differential inputs does not provide isolation. 1771WG
Field Wiring Arm
10949I
2-6
Chapter 2
Installing the Input Module
Figure 2.5
Connection Diagram for 8 Differential Inputs and FourWire Transmitters
Channel 1+
Channel 1 1
2
Channel 2+
+ 3
–
4Wire + Channel 2
Transmitter 4
– Not used
5
Channel 3+
6
Channel 3
+ 7
Channel 4+
– 8
Channel 4
9
Not used
10
Channel 5+
11
Channel 5
12
Source Ground Channel 6+
13
Channel 6
14
Not used
15
NOTE: Channel 7+
16
1. Unused channels must have their + and inputs jumpered Channel 7
together and tied to module common to reduce noise. 17
Channel 8+
18
Attention: Analog input signals must be within +14.25V Channel 8
19
referenced to module common. If an input channel exceeds this Module Common
range, channeltochannel crosstalk can cause invalid input 20
readings and invalid underrange or overrange bits. Module Common
21
The 1771IFE module does not supply loop power for the input
device. The user must supply loop power for looppowered
input devices.
Configuring the module for differential inputs does not provide isolation.
1771WG
Field Wiring Arm
10949-I
2-7
Chapter 2
Installing the Input Module
Grounding When using shielded cable wire, ground the foil shield and drain wire only
at one end of the cable. We recommend that you wrap the foil shield and
drain wire together and connect them to a chassis mounting bolt
(Figure 2.6). At the opposite end of the cable, tape exposed shield and
drain wire with electrical tape to insulate it from electrical contact.
Figure 2.6
Cable Grounding
Remove a length of cable Pull the foil shield and bare Twist the foil shield and drain Attach a ground lug.
jacket from the Belden 8761 drain wire from the insulated wire together to form a single
cable. wires. strand.
Bare drain
wire
Insulated
wires
20104
Foil
shield
Ground Lug
Nut
Grounding Stud Nut and Captive
Washer
I/O Chassis Side Plate Shield and Drain Shield and Drain
twisted together twisted together
19923
1Use the cup washer if crimpon lugs are not used. 19480 #10 Threadforming screw
Externaltooth Washers
Refer to Wiring and Grounding Guidelines, publication 17704.1 for additional information.
2-8
Chapter 2
Installing the Input Module
Changing the Module's The analog input module (1771-IFE) has configuration plugs for
Configuration determining the input type (voltage or current) desired for each input. The
module comes from the factory with the plugs positioned for
voltage inputs.
To set the configuration plugs for your desired inputs, proceed as follows:
Figure 2.7
Configuration Plug Locations
Selection Plugs
(refer to Figures 2.8, 2.9 and 2.10)
10950I
3. Position the plugs as shown in the Figures for your particular module
(Figures 2.8, 2.9 and 2.10).
2-9
Chapter 2
Installing the Input Module
Figure 2.8
Selection Plug Settings for Differential or Singleended Voltage or
Differential or Singleended Current Inputs
Voltage Current
Differential or Singleended Differential Current Singleended Current
9 9 9 channel 3
channel 2
channel 4
13 13 13
channel 5
17 17 channel 3 17 channel 6
21 21 21
channel 7
channel 4
channel 8
25 25 25
channel 9
29 29 channel 5 29
channel 10
33 33 33
channel 11
channel 6
channel 12
37 37 37
channel 13
41 41 channel 7 41
channel 14
45 45 45
channel 15
channel 8
channel 16
49 49 49
12677 12678
Note: Plugs are not needed for operation in the voltage mode.
10951I
2-10
Chapter 2
Installing the Input Module
Figure 2.9
Configuration Plug Settings for Singleended Voltage and Current Inputs
on Adjacent Channels
[1] 1
channel 1 (single-ended voltage)
5 channel 2 (single-ended current)
Figure 2.10
Configuration Plug Settings for Differential Voltage and Current Inputs
on Adjacent Channels
[1] 1
9
channel 2 (differential voltage)
13
Note: Either differential and singleended configurations must be selected for the entire module.
2-11
Chapter 2
Installing the Input Module
2. Place the module in the plastic tracks on the top and bottom of the
slot that guides the module into position.
3. Do not force the module into its backplane connector. Apply firm
even pressure on the module to seat it properly.
4. Snap the chassis latch over the top of the module to secure it.
5. Connect the wiring arm to the module.
Indicator Lights The front panel of the input module contains a green RUN and a red FLT
(fault) indicator (Figure 2.11). At power-up an initial module self-check
occurs. If there is no fault, the red indicator turns off. The green indicator
will be on when the module is powered. If a fault is found initially or
occurs later, the red FLT indicator lights. Possible module fault causes and
corrective action is discussed in Chapter 7, Troubleshooting.
Figure 2.11
Diagnostic Indicators
ANALOG
IN
(12 BIT)
10528I
Chapter Summary In this chapter you learned how to install your input module in an existing
programmable controller system and how to wire to the field wiring arm.
2-12
3
Chapter
Module Programming
Block Transfer Your module communicates with your processor through bidirectional
Programming block transfers. This is the sequential operation of both read and write
block transfer instructions.
The block transfer write (BTW) instruction is initiated when the analog
module is first powered up, and subsequently only when the programmer
wants to write a new configuration to the module. At all other times the
module is basically in a repetitive block transfer read (BTR) mode.
The application programs for the three processor families were written to
accomplish this handshaking in the described manner. They are minimum
programs; all the rungs and conditioning must be included in your
application program. If you wish to disable BTRs for any reason, or add
interlocks to the BTW rung to prevent writes from happening at certain
times, you are allowed to do it. You may not eliminate any storage bits or
interlocks that are included in our examples. If interlocks are removed, the
program may not work properly.
3-1
Chapter 3
Module Programming
PLC2 Programming The PLC-2 program example regulates when each block transfer will be
initiated to eliminate problems caused by limited regulation of
bidirectional block transfers. Both storage bits are needed, as shown in the
example, to accomplish this task in all PLC-2 systems, local or remote,
with long or short program scans. Therefore, the program as shown is the
minimum required. Note that PLC-2 processors that do not have the block
transfer instruction must use the GET-GET block transfer format which is
outlined in Appendix E.
Figure 3.1
PLC2 Family Sample Program Structure
3-2
Chapter 3
Module Programming
PLC3 Programming Block transfer instructions with the PLC-3 processor use one binary file in
a data table section for module location and other related data. This is the
block transfer control file. The block transfer data file stores data that you
want transferred to your module (when programming a block transfer
write) or from your module (when programming a block transfer read).
The address of the block transfer data files are stored in the block transfer
control file.
The industrial 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.
Figure 3.2
PLC3 Family Sample Program Structure
Block Transfer
Read
Program Action Done Bit BTR ENABLE
At powerup, the user program examines, the 1 EN
BLOCK XFER READ 12
BTR done bit in the block transfer read file, RACK: XXX
initiates a block transfer write to configure the DONE
GROUP: X
module, and then does consecutive block DN
MODULE: X=XXXX
transfer reads continuously. The powerup bit 15
DATA: XXXXX=XXXX ERROR
can be examined and used anywhere in the LENGTH = X ER
program. CNTL: XXXXX:XXXX 13
Block Transfer
Rungs 1 and 2 Write
Rungs 1 and 2 are the block transfer read and Pushbutton Done Bit BTW ENABLE
write instructions. The BTR done bit in rung 1, 2 BLOCK XFER WRITE EN
being false, initiates the first read block transfer. RACK : XXX 02
After the first read block transfer, the module Power-up
Bit GROUP : X DONE
performs a block transfer write and then does MODULE: X = XXXX DN
continuous block transfer reads until the DATA: XXXXX = XXXX 05
pushbutton is used to request another block LENGTH = X ERROR
transfer write. After this single block transfer ER
CNTL: XXXXX:XXXX 03
write is performed, the module returns to
continuous block transfer reads automatically.
3-3
Chapter 3
Module Programming
PLC5 Programming The PLC-5 program is very similar to the PLC-3 program with the
following exceptions:
1. You must use enable bits instead of done bits as the conditions on
each rung.
2. A separate control file must be selected for each of the block transfer
instructions. Refer to Appendix B.
Figure 3.3
PLC5 Family Sample Program Structure
10956I
3-4
Chapter 3
Module Programming
Module Scan Time Scan time is defined as the amount of time it takes for the input module to
read the input channels and place new data into the data buffer. Scan time
for your module is shown in Appendix A.
Any time after the second scan begins “6,” a BTR request “7” can be
acknowledged. This interrupts the scan and the BTR empties the buffer.
Figure 3.4
Block Transfer Time
Block
Transfer Configure Calibration
Write time time 1st 2nd 3rd
time Scan Scan Scan
See note
1 2 3 4 5 6 7 8 9 10
Chapter Summary In this chapter, you learned how to program your programmable controller.
You were given sample programs for your PLC-2, PLC-3 and PLC-5
family processors.
3-5
4
Chapter
Chapter Objectives In this chapter you will read how to configure your module’s features,
condition your inputs and enter your data.
Configuring Your Input Because of the many analog devices available and the wide variety of
Module possible configurations, you must configure your module to conform to the
analog device and specific application that you have chosen. Data is
conditioned through a group of data table words that are transferred to the
module using a block transfer write instruction. Before continuing, make
sure you read “Setting Module Selection Plugs” in chapter 2.
4-1
Chapter 4
Module Configuration
Input Range Selection You can configure the module to operate with any of five voltage or three
current ranges. You can select individual channel ranges using the
designated words of the write block transfer instruction (Table 4.A). Use
BTW word 1 for range selection of channels 1 through 8, and BTW word 2
for channels 9 through 16. Two bits are allocated for each channel. For
example, for channel 1, set word 1 bits 00-01 as shown in Table 4.A.
Table 4.A
Input Range Selection Bits
Bit 01 Bit 00 Voltage or current input
0 0 1 to 5 V DC, 4 to 20 mA1
0 1 0 to 5 V DC, 0 to 20 mA1
1 0 5 to +5 V DC, 20 to +20 mA1,2
1 1 10 to +10 V DC2, 0 to 10 V DC
1 Current input mode selected by configuration plug.
2 Configurable using bipolar scaling.
Table 4.B shows the incremented voltage or current assigned to each bit for
the seven different input ranges. For example, if the channel 1 input range
is 0 to +5V and the actual incoming signal is at mid-range (+2.5V) the
value in the module’s data word would be 0000 1000 0000 0000 (binary)
or 2048 (decimal). The input is 2048/4096, or 1/2 of full scale.
Table 4.B
Input Voltage and Current Ranges for the Analog Input Module
Note: Voltage and current input ranges are selectable on a per channel basis.
4-2
Chapter 4
Module Configuration
Input Type You can select single-ended or differential inputs using the designated bit
in the configuration file. Inputs to a particular module must be all
single-ended or all differential. Set BTW word 3, bit 08 (bit 10 octal) as
shown in Table 4.C.
Table 4.C
Selecting Singleended or Differential Inputs
Data Format You must also indicate what format will be used to read data from your
module. Typically, you select BCD with PLC-2 processors, and 2’s
complement binary with PLC-3 and PLC-5 processors. See Appendix C
for details on data format. You use BTW word 3 bits 09-10 (11-12 octal) to
set the data format (Table 4.D).
Table 4.D
Selecting the Data Format
0 0 BCD
0 1 not used
4-3
Chapter 4
Module Configuration
Digital Filtering The module has hardware-based high frequency filters on all channels to
reduce the effect of electrical noise on the input signal. Software digital
filtering is meant to reduce the effect of process noise on the input signal.
Digital filtering is selected using BTW word 3, bits 00-07.
The digital filter equation is a classic first order lag equation (Figure 4.1).
Using a step input change to illustrate the filter response (Figure 4.2), you
can see that when the digital filter constant time elapses, 63.2% of the total
response is reached. Each additional time constant achieves 63.2% of the
remaining response.
Figure 4.1
Digital Filter Equation
t
Yn = Yn-1 + (Xn - Yn-1)
t + TA
Figure 4.2
Digital Filter Lag Equation Illustration
100%
63%
Amplitude
0
Unfiltered Input
TA = 0.01 sec
TA = 0.5 sec
TA = 0.99 sec
Digital filter time constant values of 0.00 BCD to 0.99 BCD (0.00 BCD =
no filter; 0.99 BCD = maximum filter) are set in bits 00 through 07 of
word 3 of the block transfer write instruction. If an invalid digital filter
value is entered (i.e., 0.1F), bit 02, word 1 of the block transfer read
instruction will be set. If an invalid digital filter value is entered, the
module will not perform digital filtering. If you use the digital filtering
feature, the filter time constant value chosen will apply to all input signals.
4-4
Chapter 4
Module Configuration
Real Time Sampling The real time sampling (RTS) mode of operation provides data gathered at
precisely timed intervals for use by the processor. BTW word 3 bits 11–15
(13–17 octal) are used to set the real time sampling interval.
RTS is invaluable for time based functions (such as PID and totalization) in
the PLC. It allows accurate time based calculations in local or remote I/O
racks. In the RTS mode the module scans and updates its inputs at a user
defined time interval (T) instead of the default interval. The module
ignores block transfer read (BTR) requests for data until the sample time
period elapses. The BTR of a particular data set occurs only once at the
end of the sample period and subsequent requests for transferred data are
ignored by the module until a new data set is available. If a BTR does not
occur before the the end of the next RTS period, a time-out bit is set in the
BTR status area. When set, this bit indicates that at least one data set was
not transferred to the processor. (The actual number of data sets missed is
unknown.) The time-out bit is reset at the completion of the BTR.
Set appropriate bits in the BTW data file to enable the RTS mode. You can
select RTS periods ranging from 100 milliseconds (ms) to 3.1 seconds.
Refer to Table 4.E below for actual bit settings. Note that the default mode
of operation is implemented by placing all zeroes in bits 11–15
(13–17 octal).
Table 4.E
Bit Settings for the Real Time Sample Mode
Decimal Bits 15 14 13 12 11 15 14 13 12 11
Sample Time Period Sample Time Period
Octal Bits 17 16 15 14 13 17 16 15 14 13
4-5
Chapter 4
Module Configuration
The format of this data is 4-digit BCD or 12-bit binary. The resolution at
the module of scaled values is the same as for unscaled data: one part in
4095 for 0 to 5V DC/0 to 20mA and 1 to 5V DC/4 to 20mA ranges; and
one part in 8190 for the +5V/+20mA and +10V ranges. Resolution at the
processor, however, is determined by the scaled ranges (i.e., if 0 =
minimum and 500 = maximum, resolution is now 1 part in 500). Each
input channel can be scaled independently of the other channels.
Note: To achieve the 0 to +10V range you must use bipolar scaling. Select
the +10V range and scale for + the actual intended range. If you need 0 to
100 gpm, set scaling values at -100 and +100. You will effectively be
creating a 0 to 10V range that is scaled from 0 to 100.
Scaling Ranges
The maximum range of the scaling values is +9999 BCD. These values
must be entered in BCD.
4-6
Chapter 4
Module Configuration
Table 4.F
Block Transfer Read and Write File Lengths
1 5 7
2 6 9
3 7 11
4 8 13
5 9 15
6 10 17
7 11 19
8 12 21
9 13 23
10 14 25
11 15 27
12 16 29
13 17 31
14 18 33
15 19 35
16 20 37
4-7
Chapter 4
Module Configuration
Default Configuration If a write block of five words, with all zeroes, is sent to the Analog Input
Module (cat. no. 1771-IFE), default selections will be:
1 to 5V DC or 4 to 20mA (dependent on configuration jumper setting)
BCD data format
no real time sampling (RTS)
no filtering
no scaling
single-ended inputs
Figure 4.3
Analog Input Module (1771IFE) Block Transfer Write Configuration
Block
Decimal Bits 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Description
Octal Bits 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00
⇓ ⇓ ⇓ ⇓
37 Channel 16 maximum scaling
4-8
Chapter 4
Module Configuration
Note that decimal bits are shown, with octal bits in parentheses.
Bits 0015 Input range selections allow the user to configure the inputs for any of 7 input
Word 1 and 2
(0017) voltage or current ranges. Two bits are required for each channel. See Table 4.A.
Bits 0007
Word 3 Digital filter reduces effect of noise on input. See "Digital Filtering" on page 44.
(0007)
Bit 08 Input type, set bit for differential mode on all channels.
(10) Reset (0) = singleended. Refer to Table 4.C
Bits 0910
Data format matches format of processor. See Table 4.D.
(0710)
Real time sampling will default to 12.5ms for differential mode and 25ms for
Bits 1115
singleended, greater with filtering selected. See appendix A for timing details.
(1317)
See Table 4.E for other real time intervals.
Minimum sign bits, when set, designate negative minimum scaling values for the
Bits 0015
Word 4 corresponding input channels. Bit 00 corresponds to channel 1, bit 01
(0017)
corresponds to channel 2, etc.
Maximum sign bits, when set, designate maximum scaling values that are
Bits 0015 negative. Maximum scaling value must be greater than minimum on any
Word 5
(0017) particular channel. Bit 00 corresponds to channel 1, bit 01 corresponds to
channel 2, etc.
Bits 0015
Words 637 Minimum and maximum scaling values for each channel. Enter in BCD format.
(0017)
Chapter Summary In this chapter you learned how to configure your module’s features,
condition your inputs and enter your data.
4-9
5
Chapter
Reading Data From Your Block transfer read programming moves status and data from the input
Module module to the processor’s data table in one I/O scan (Figure 5.1). The
processor’s user program initiates the request to transfer data from the
input module to the processor.
Figure 5.1
Word Assignments for Analog Input Module (1771IFE)
Block Transfer Read
Decimal Bits 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Description
Octal Bits 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00
⇓ ⇓ ⇓ ⇓
20 Channel 16 Input Channel 16 Input
1 These bits are set (1) at approximately the input range limits selected (Table 5.B).
5-1
Chapter 5
Module Status and Input Data
Block Transfer Read Format The bit/word description for the block transfer read of the Analog Input
Module is described below in Table 5.A.
Table 5.A
BTR Word Format for the Analog Input Module
Power up bit is used by the module to tell the processor that it is alive
Bit 00
but not yet configured. It is a key element in the application program.
Out of range bit is sent to tell the processor that one or more
Bit 01
channels are either over or under range.1
Word 1 Invalid scaling bit reports that the scaling is somehow invalid.
Bit 02 Usually, both values are equal or minimum is greater than maximum
when this bit comes on. Can also be an invalid filter value.
Real time sample fault bit. This bit is set if the module is configured for
Bit 03 RTS and a block transfer read has not occurred within the
user-programmed period.
Individual underrange bits for each channel. Bit 00 for channel 1, bit
Bits 00-15
Word 2 01 for channel 2, etc.1 These bits are set (1) at approximately the input
(00-17)
range limits selected from Table 5.B.
Individual overrange bits for each channel. Bit 00 for channel 1, bit
Bits 00-15
Word 3 01 for channel 2, etc.1 These bits are set (1) at approximately the
(00-17)
input range limits selected from Table 5.B.
Bits 00-15 Polarity bits are set when input is less than zero. Bit 00 for channel
Word 4
(00-17) 1, bit 01 for channel 2, etc.
Word 5 thru 20 Input values. Word 5 for channel 1, word 6 for channel 2, etc.
1 Attention: If an input terminal's voltage exceeds +14.25V as referenced to module common, channeltochannel crosstalk can cause
invalid input readings and invalid underrange/overrange bits.
Table 5.B
Input Range Selection
Voltage input Current input1
1 to 5V dc 4 to 20mA
0 to 5V dc 0 to 20mA1
-5 to +5V dc -20 to +20mA2
-10 to +10V dc2
0 to 10V dc
1 Current input mode selected by configuration plug.
2 Configurable using bi-polar scaling.
Chapter Summary In this chapter you learned the meaning of the status information that the
input module sends to the processor.
5-2
6
Chapter
Chapter Objectives In this chapter we tell you what tools you need and how to calibrate your
module.
Tools and Equipment In order to calibrate your input module you will need the following tools
and equipment:
Equipment Description
Calibration Procedure The analog input module is shipped from the factory already calibrated.
If necessary to recalibrate the module, you must calibrate the module in an
I/O chassis. The module must communicate with the processor and
industrial terminal. Calibration consists of adjusting the 10V reference and
nulling the input offset.
6-1
Chapter 6
Calibrating Your Module
4. Plug the module into the extender card, and insert the extender card
into the I/O chassis.
Figure 6.1
Test Points and Potentiometers for Analog Input Module (1771IFE)
1 3
E1
1 3
E1
10956I
R63 R64 TP2 TP1
6-2
Chapter 6
Calibrating Your Module
After completing the 10V reference adjustment, turn off power to your
processor and I/O chassis and complete the following steps.
6. After completing the adjustment, remove power from the I/O chassis
and return jumper E1 to the default position.
Chapter Summary In this chapter you learned how to calibrate your module. This included the
necessary tools, adjusting the 10V reference, and nulling the offset.
6-3
7
Chapter
Chapter Objective In this chapter, we describe how to troubleshoot your module by observing
the indicators and by monitoring status bits reported to the processor.
Diagnostics Reported by the At power-up, the module momentarily turns on the red indicator as a lamp
Module test, then checks for:
correct RAM operation
firmware errors
Thereafter, the module lights the green RUN indicator when operating
without fault, or lights the red FAULT indicator when it detects fault
conditions. The module also reports status and specific faults (if they
occur) in every transfer of data (BTR) to the PC processor. Monitor the
green and red indicators and status bits in word 1 of the BTR file when
troubleshooting your module.
Figure 7.1
Diagnostic Indicators
ANALOG
IN
(12 BIT)
RUN
FLT
10528I
Diagnostic bits in the read block transfer status words provide diagnostic
capabilities.
Word 1
Diagnostics word 1 is the first data word in the read block transfer file for
transfer to the central processor. It contains a power-up bit (bit 00) that is
set (1) when the module is first powered up. It is reset (0) after a write
block transfer. It also contains an under-range or over-range bit (bit 01)
that is set when any input is under or over-range.
An invalid scaling data bit (bit 02) will be set if invalid scaling data is
entered into any of the minimum/maximum scaling value words. Note that
minimum equal to maximum is an invalid value. If invalid values are
entered into the minimum or maximum scaling words the corresponding
read block transfer input channel word will be set to 0000.
Bit 02 will also be set if an invalid digital filter value is entered (e.g., 1F).
If an invalid digital filter value is entered, the module will not perform
digital filtering.
The real time sample (RTS) fault bit (bit 03) is set if the module is
configured for RTS and a block transfer read has not occurred within the
user-programmed period.
Word 2
Word 2 provides for under-range conditions. When a particular channel
input is under-range, the associated bit will be set. As long as inputs are
under range the associated bit will remain set. Bit 00 corresponds to
channel 1, bit 01 to channel 2, etc.
Word 3
Word 3 provides for over-range conditions. When a particular channel
input is over-range, the associated bit will be set. As long as inputs are in
range the associated bit will remain reset. Bit 00 corresponds to channel 1,
bit 01 to channel 2, etc.
Word 4
Word 4 provides an indication of a particular channel’s input polarity (set,
or 1 = negative; reset, or 0 = positive). Bit 00 corresponds to channel 1, bit
01 to channel 2, etc.
Table 7.A lists the probable cause and recommended actions for a number
of common trouble indications.
7-2
Chapter 7
Troubleshooting Your Input Module
Table 7.A
Troubleshooting Chart for Analog Input Module (1771IFE)
RUN (green)
Off Normal operation None
FLT (red)
On If outofrange bit is set (BTR word 1, bit Return module for repair
RUN (green) 02) and all 8 underrange bits are set
FLT (red) (BTR word 2, bits 00 through 07).
or
Input module is conditioned for BCD Condition module for desired format
instead of binary or the reverse, incorrect (BCD or binary), enter correct data and
scaling, sign bits missing, wrong range. initiate another write block transfer.
RUN Neither LED No power Turn off power. Remove and reinsert
FLT comes on PICO fuse is bad. module into chassis. Return power.
If problem still exists, and chassis power
supply is functioning properly, return the
module for repair.
Chapter Summary In this chapter you learned how to interpret the indicator lights, and
troubleshoot your input module.
7-3
A
Appendix
Specifications
Inputs per module 16 single-ended; 8 differential low level
Module Location 1771 I/O rack - 1 slot
+1 to +5V dc
0 to 5V dc
Input voltage ranges (nominal) -5 to +5V dc
-10 to +10V dc
0 to +10V dc
+4 to +20mA
Input current ranges (nominal) 0 to +20mA
-20 to +20mA
Resolution 12-bit binary
12 bits plus sign on bipolar ranges
Accuracy 0.1% of full scale range @ 25oC
Linearity +1 LSB
Repeatability +1 LSB
Isolation Voltage +1500V, (transient)
200V (voltage mode)1
Input overvoltage protection
8V (current mode)2
Input overcurrent protection (current ranges) 30mA
Common mode voltage +14.25 Volts
Input impedance 100 Megohms for voltage ranges; 250 ohms for current ranges
Common mode rejection 80 db, DC-120 Hz
Current Requirements 0.75A @ +5V from I/O chassis backplane
Power Dissipation 3.75 Watts (maximum)
Thermal Dissipation 12.8 BTU/hr (maximum)
0000 to +409510 for polar ranges (0 to 5V, +1 to +5V, 0 to +20mA,
Unscaled BCD and binary output to
and +4 to +20mA)
processor
-409510 to 409510 for bipolar ranges ( +5V, +10V, +20mA)
Engineering units sent to processor +999910 with selectable scaling
12.5 ms for 8 differential inputs (no digital filtering) -add 2.12ms for filtering
Internal scan rate
25 ms for 16 single-ended input (no digital filtering) -add 4.24 for filtering
Environmental conditions
operational temperature: 0 to 600C (32 to 1400F)
storage temperature: -40 to 850C (-40 to 1850F)
relative humidity: 5 to 95% (without condensation)
Conductors Wiring 14 gauge stranded (max.)
3/64 inch insulation (max.)
Category Category 23
between 10 and 12
Keying
between 24 and 26
Wiring Arm Catalog Number 1771-WG
Field Wiring Arm Screw Torque 79 inchpounds
1 The inputs are protected to 200V. However, if an input terminal's voltage exceeds +14.25V as referenced to module common, channeltochannel crosstalk
can cause invalid input readings and invalid underrange/overrange bits.
2 Only 8 volts can be placed directly across the input when configured in the current mode.
3 Refer to publication 1770-4.1, "Programmable Controller Wiring and Grounding Guidelines."
A-1
B
Appendix
Programming Examples
Sample Programs for the The following are sample programs for entering data in the configuration
Analog Input Module words of the write block transfer instruction when using the PLC-2, PLC-3
or PLC-5 family processors.
PLC2 Family Processors To enter data in the configuration words, follow these steps:
Example:
Enter the following rung for a write block transfer:
011
BLOCK XFER WRITE EN
DATA ADDR: 030
06
MODULE ADDR: 110
BLOCK LENGTH: 19 111
FILE: 400 - 437 DN
06
400 is the address of the write block transfer data file. You want to
examine configuration word 1.
Use the above procedure to enter the required words of the write block
transfer instruction. Be aware that the block length will depend on the
number of channels selected and whether scaling is or is not performed; for
example, the block may contain only 3 words if no scaling is performed
but may contain 37 words if using 16 inputs with scaling. The PLC-2
family write block transfer data file should look like Figure B.1.
B-1
Appendix B
Programming Examples
Figure B.1
Write Block Transfer Data Transfer for a PLC2 Family Processor
PLC3 Family Processor Following is a sample procedure for entering data in the configuration
words of the write block transfer instruction when using a PLC-3
processor.
Example:
Enter the following rung for a write block transfer:
F0003:0000 is the address of the write block transfer data file. You want to
enter/examine word 1.
B-2
Appendix B
Programming Examples
The industrial terminal screen should look like Figure B.2. Notice the
highlighted block of zeroes. This highlighted block is the cursor. It should
be in the same place as it appears in Figure B.2. If it is not, you can move it
to the desired position with the cursor control keys. Once you have the
highlighted cursor in the right place as shown above, you can go on
to step 3.
Figure B.2
Write Block Transfer for a PLC3 Processor
WORD
000000 00000000 00000000 00000000 00000000
000004 00000000 00000000 00000000 00000000
000010 00000000 00000000 00000000 00000000
000014 00000000 00000000 00000000 00000000
000020 00000000 00000000 00000000 00000000
PROG : I/O OFF : NO FORCES : NO EDITS : RUNG # [RM000000 : MEM PORT OFF
4. When you have entered your data, press [ENTER]. If you make a
mistake, make sure the cursor is over the word you desire to change.
Enter the correct data and press [ENTER].
B-3
Appendix B
Programming Examples
PLC5 Family Processors The following is a sample procedure for entering data in the configuration
words of the block transfer write instruction when using a PLC-5 processor
and 6200 programming software.
BTW ENABLE
BLOCK XFER WRITE
EN
RACK : X
GROUP : X
MODULE: X DN
CONTROL: XX:XX
DATA FILE: N7:60
37 ER
LENGTH:
CONTINUOUS: N
Figure B.3
Sample PLC5 Data File (Hexadecimal Data)
ADDRESS 0 1 2 3 4 5 6 7 8 9
N7:60 5003 00FF 00FF 0040 0085 0040 0085 0040 0085 0040
N7:70 0085 0040 0085 0040 0085 0040 0085 0040 0085 0000
N7:80 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
N7:90 0000 0000 0000 0000 0000 0000 0000
3. Enter the data corresponding to your bit selections and add scaling
values, if scaling is desired.
B-4
C
Appendix
4Digit Binary Coded The 4-digit BCD format uses an arrangement of 16 binary digits to
Decimal (BCD) represent a 4-digit decimal number from 0000 to 9999 (Figure C.1). The
BCD format is used when the input values are to be displayed for operator
viewing. Each group of four binary digits is used to represent a number
from 0 to 9. The place values for each group of digits are 20, 21, 22 and 23
(Table C.A). The decimal equivalent for a group of four binary digits is
determined by multiplying the binary digit by its corresponding place
value and adding these numbers.
Figure C.1
4Digit Binary Coded Decimal
0 X 23 = 0
0 X 22 = 0
1
0 X 21 = 0
1 X 20 = 1
0 X 23 = 0
0 X 22 = 0
2
1 X 21 = 2
0 X 20 = 0
0 X 23 = 0
0 X 22 = 0
3
1 X 21 = 2
1 X 20 = 1
1 X 23 = 8
0 X 22 = 0
910
0 X 21 = 0
1 X 20 = 1
0 0 0 1 0 0 1 0 0 0 1 1 1 0 0 1
12955-I
1 2 3 9
C-1
Appendix C
Data Formats
Table C.A
BCD Representation
0 0 0 0 0
0 0 0 1 1
0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
101102 = 2210
0 10110 = +22
1 10110 = –22
C-2
Appendix C
Data Formats
Two's Complement Binary Two’s complement binary is used with PLC-3 processors when performing
mathematical calculations internal to the processor. To complement a
number means to change it to a negative number. For example, the
following binary number is equal to decimal 22.
101102 = 2210
First, the two’s complement method places an extra bit (sign bit) in the
left-most position, and lets this bit determine whether the number is
positive or negative. The number is positive if the sign bit is 0 and negative
if the sign bit is 1. Using the complement method:
0 10110 = 22
To get the negative using the two’s complement method, you must invert
each bit from right to left after the first “1” is detected.
0 10110 = +22
1 01010 = –22
Note that in the above representation for +22, starting from the right, the
first digit is a 0 so it is not inverted; the second digit is a 1 so it is not
inverted. All digits after this one are inverted.
1 10010 = –14
0 01110 = +14
All bits from right to left are inverted after the first “1” is detected.
C-3
D
Appendix
Multiple GET Instructions Programming multiple GET instructions is similar to block format
MiniPLC2 and PLC2/20 instructions programmed for other PLC-2 family processors. The data table
maps are identical, and the way information is addressed and stored in
Processors
processor memory is the same. The only difference is in how you set up
block transfer read instructions in your program.
For multiple GET instructions, individual rungs of ladder logic are used
instead of a single rung with a block transfer instruction. A sample rung
using multiple GET instructions is shown in Figure D.1 and described in
the following paragraphs.
Rung 1: This rung is used to set four conditions.
Examine On Instruction (113/02) - This is an optional instruction.
When used, block transfers will only be initiated when a certain action
takes place. If you do not use this instruction, block transfers will be
initiated every I/O scan.
First GET Instruction (030/120) - identifies the module’s physical
address (120) by rack, group and slot; and where in the accumulated
area of the data table this data is to be stored (030).
Second GET Instruction (130/060) - indicates the address of the first
word of the file (060) that designates where the data will be transferred.
The file address is stored in word 130, 1008 above the data address.
Output Energize Instruction (012/07) - enables the block transfer read
operation. If all conditions of the rung are true, the block transfer read
enable bit (07) is set in the output image data table control byte. The
output image table control byte contains the read enable bit and the
number of words to be transferred. The output energize instruction is
defined as follows:
“0” indicates that it is an output instruction
“1” indicates the I/O rack address
“2” indicates the module group location within the rack
“07” indicates this is a block transfer read operation (if this were a block
transfer write operation, “07” would be replaced by “06”.)
D-1
Appendix D
Block Transfer (Mini-PLC-2 and
PLC-2/20 Processors)
Rung Summary: Once the block transfer read operation is complete, the
processor automatically sets bit 07 in the input image table status byte and
stores the block length of the data transferred.
Figure D.1
Multiple GET Instructions (MiniPLC2 and PLC2/20 Processors Only)
010
Data Table 07
Output Image Table Control
Output Control Byte Contains Read
1 Byte 012
Image Table Enable Bit and Block
R Length in Binary Code
017
065
07 110
Input
Status Input Image Table
Image 1 112
Byte Status Byte
Table
R Contains Done Bit
117
Storage Location
0 6 0 130 Contains File
Timer/Counter Address in BCD
Preset
Values Area
R = Read 07 = Bit
D-2
Appendix D
Block Transfer (Mini-PLC-2 and
PLC-2/20 Processors)
Setting the Block Length The input module transfers a specific number of words in one block length.
(Multiple GET Instructions The number of words transferred is determined by the block length entered
in the output image table control byte corresponding to the module’s
only)
address.
The bits in the output image table control byte (bits 00 - 05) must be
programmed to specify a binary value equal to the number of words to be
transferred.
For example, Figure D.2 shows if your input module is set up to transfer 6
words, you would set bits 01 and 02 of the lower image table control byte.
The binary equivalent of 6 words is 000110. You would also set bit 07
when programming the module for block transfer read operations. Bit 06 is
used when block transfer write operations are required.
Figure D.2
Setting Block Length (Multiple GET Instructions only)
For Block 1 0 0 0 0 1 1 0
Transfer Active
Operations Only
010
Data Table Output Image Table Control
Byte Contains Read
Output Image Table 1 Control 012 Enable Bit and Block
Byte
Length in Binary Code
R
017
D-3
E
Appendix
Forms
E-1
Analog Block Transfer Read
Decimal 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Position File Word
Octal 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00
2 Data Underrange
3 Data Overrange
"1" = (-)
10
11
12
13
14
15
16
17
18
19
20
E-2
Analog Block Transfer Write
Decimal 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Position File Word
Octal 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00
8 7 6 5 4 3 2 1 Channel Number
16 15 14 13 12 11 10 9 Channel Number
Decimal 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Position File Word
Octal 17 16 15 14 13 12 11 10 07 06 05 04 03 02 01 00
3 Module Configuration
Position File Word Channel Min./Max Value Position File Word Channel Min./Max Value
Number Number
6 22
7 23
8 24
9 25
10 26
11 27
12 28
13 29
14 30
15 31
16 32
17 33
18 34
19 35
20 36
21 37
E-3
Index
B D
BCD, 41 data format, 43
BCD format, 13, 47 bit selection settings, 43
digital filtering and scaling, 41 data formats
block transfer, 11, 13, 22, 71 2's complement binary, C3
communication using, 12 4-digit binary coded decimal, C1
read and write file lengths, 47 signed-magnitude binary, C2
write, 12 data table usage, P2
block transfer read, 31, 32, 51, 72 default configuration, block transfer write,
bit/word format, 52 31, 48
word assignments, 51 diagnostic bits, 71
block transfer write, 32 diagnostics, word 1, 72
configuration block, 48
filter settings, 44
input range selection, 42 F
programming, 31
factory setting, inputs, 23
fault indicator, 71
C features, 11
calibration field wiring arm, 21, 212
adjusting the 10V reference, 62
filtering, description, 44
nulling the offset, 63
tools and equipment, 61 format, data, 43
calibration procedure, 61
compatibility, P2 I
configuration block indicator lights, 212
bit/word descriptions, 49
block transfer write, 48 indicators, 71
diagnostic, 212, 71
configuration plugs, setting fault, 71
differential or single-ended voltage and RUN, 71
current inputs, 210
differential voltage and current inputs, input range selection, 52
adjacent channels, 211 input ranges, program selectable, 12
singleended voltage and current inputs, input voltage/current ranges, 42
adjacent channels, 211
configuration/calibration time, 35
connection diagram K
16 single-ended inputs keying, 22
2-wire transmitters, 24 band positions, 23
4-wire transmitters, 25
8 differential inputs
2-wire transmitters, 26 M
4-wire transmitters, 27
module configuraion, 21
considerations, pre-installation, 21
I–2 Index
S V
sample program, 35 voltage-mode input devices, recommended
PLC-2, 32 cable length, 23
PLC-3, 33
AllenBradley has been helping its customers improve productivity and quality for 90 years.
AB designs, manufactures and supports a broad range of control and automation products
worldwide. They include logic processors, power and motion control devices, manmachine
interfaces and sensors. AllenBradley is a subsidiary of Rockwell International, one of the
world's leading technology companies.
World Headquarters, AllenBradley, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 3822000 Fax: (1) 414 3824444