Because of the variety of uses for the products described in this
publication, those responsible for the application and use of these
products 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. In no event will Rockwell Automation be responsible or
liable for indirect or consequential damage resulting from the use or
application of these products.
Any illustrations, charts, sample programs, and layout examples shown
in this publication are intended solely for purposes of example. Since
there are many variables and requirements associated with any particular
installation, Rockwell Automation 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 Application,
Installation, and Maintenance of Solid–State Control (available from
your local Rockwell Automation 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
part, without written permission of Rockwell Automation, is prohibited.
Throughout this publication, notes may be used to make you aware of
safety considerations. The following annotations and their accompanying
statements help you to identify a potential hazard. avoid a potential
hazard, and recognize the consequences of a potential hazard.
WARNING
Identifies information about practices or
circumstances that can cause an explosion in a
hazardous environment, which may lead to personal
injury or death, property damage, or economic loss.
!
ATTENTIO
Identifies information about practices or
circumstances that may lead to personal injury or
death, property damage, or economic loss.
!
Identifies information that is critical for
IMPORTAN
successful application and understanding of the
product.
ATTENTION
!
Environment and Enclosure
This equipment is intended for use in a Pollution
Degree 2 industrial environment, in overvoltage
Category II applications (as defined in IEC publication
60664–1), at altitudes up to 2000 meters without
derating.
This equipment is considered Group 1, Class A
industrial equipment according to IEC/CISPR
Publication 11. Without appropriate precautions, there
may be potential difficulties ensuring electromagnetic
compatibility in other environments due to conducted
as well as radiated disturbance.
This equipment is supplied as “open type” equipment.
It must be mounted within an enclosure that is suitably
designed for those specific environmental conditions
that will be present, and appropriately designed to
prevent personal injury resulting from accessibility to
live parts. The interior of the enclosure must be
accessible only by the use of a tool. Subsequent
sections of this publication may contain additional
information regarding specific enclosure type ratings
that are required to comply with certain product safety
certifications.
ATTENTION
!
See NEMA Standards publication 250 and IEC
publication 60529, as applicable, for explanations of
the degrees of protection provided by different types of
enclosures. Also, see the appropriate sections in this
publication, as well as the Allen–Bradley publication
1770–4.1, (“Industrial Automation Wiring and
Grounding Guidelines”), for additional installation
requirements pertaining to this equipment.
Preventing Electrostatic Discharge
This equipment is sensitive to electrostatic discharge,
which can cause internal damage and affect normal
operation. Follow these guidelines when you handle
this equipment:
• Touch a grounded object to discharge potential
static.
• Wear an approved grounding wriststrap.
• Do not touch connectors or pins on component
boards.
• Do not touch circuit components inside the
equipment.
• If available, use a static–safe workstation.
• When not in use, keep modules in appropriate
static–safe packaging.
Using this Manual
Preface
Purpose of Manual
Audience
Vocabulary
Manual Organization
This manual shows you how to use your high resolution isolated
analog series input/output modules with an Allen-Bradley
programmable controller. It helps you install, program, calibrate, and
troubleshoot your modules.
You must be able to program and operate an Allen-Bradley
programmable controller (PLC) to make efficient use of your analog
module. In particular, you must know how to program block transfer
instructions.
We assume that you know how to do this in this manual. If you do
not, refer to the appropriate PLC programming and operations
manual before you attempt to program this module.
In this manual, we refer to:
• the individual module as the “module.”
• the programmable controller, as the “controller” or the
“processor.”
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.
ChapterTitleTopics Covered
1
2Installing the Module
3Communicating with your Analog Module
4Configuring the Module
5Module Status and Input Data
6Module CalibrationHow to calibrate your modules
7TroubleshootingDiagnostics reported by the module
Overview of the High Resolution Isolated
Analog Series Modules
Block Transfer Read and Write
Configurations for 0 out/8 in
Block Transfer Read and Write
Configurations for 8 out/0 in
Descriptions of the modules, including general and
hardware features
Module power requirements, keying, chassis location
Wiring of module and remote termination panel
How to program your programmable controller for this module
Sample programs
Hardware and software configuration
Module write block format
Reading data from your module
Module read block format
Description of BTR/BTW words.
Description of BTR/BTW words.
Publication 1771ĆUM127B-EN-P - December 2002
Using this ManualP–2
Image
Image
Block
Block
Chassis
Topics CoveredTitleChapter
Appendix D
Appendix E
Appendix F
Appendix G
Appendix H
Appendix I
Appendix J
Appendix K
Appendix LUL/CSA Hazardous Location
Related Products
Block Transfer Read and Write
Configurations for 2 out/2 in
Block Transfer Read and Write
Configurations for 2 out/6 in
Block Transfer Read and Write
Configurations for 1 out/7 in
Block Transfer Read and Write
Configurations for 3 out/5 in
Block Transfer Read and Write
Configurations for 4 out/4 in
Block Transfer Read and Write
Configurations for 6 out/2 in
Block Transfer Read and Write
Configurations for 5 out/3 in
Block Transfer Read and Write
Configurations for 7 out/1 in
You can install your module in any system that uses Allen-Bradley
processors that support block transfer and the 1771 I/O structure.
Description of BTR/BTW words.
Description of BTR/BTW words.
Description of BTR/BTW words.
Description of BTR/BTW words.
Description of BTR/BTW words.
Description of BTR/BTW words.
Description of BTR/BTW words.
Description of BTR/BTW words.
Product Compatibility
Contact your nearest Allen-Bradley office for more information
about your programmable controllers.
These modules can only be used with 1771-A1B, A2B, A3B, A3B1,
A4B or later 1771 I/O chassis and 1771-AM1, -AM2 chassis.
Communication between the 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 and write block data.
I/O image table use is an important factor in module placement and
addressing selection. Refer to the table below.
Compatibility and Use of Data Table
Use of Data TableCompatibility
Catalog
Number
1771ĆN Series882859YesYesYesB
A = Compatible with 1771ĆA1, A2, A4 chassis.
B = Compatible with 1771ĆA1B, A2B, A3B, A3B1,A4B, 1771ĆAM1, ĆAM2 chassis.
Yes = Compatible without restriction
No = Restricted to complementary module placement
Input
Bits
Output
Bits
Read
Words
Write
Words
Addressing
1/2Ćslot1Ćslot2Ćslot
Publication 1771ĆUM127B-EN-P - December 2002
Using this ManualP–3
You can place your analog module in any I/O module slot of the
I/O chassis.
Do not put the analog module in the same module group as a digital
high density module unless you are using 1 or 1/2-slot addressing.
Avoid placing the analog module close to ac modules or high voltage
dc modules.
Related Publications
For a list of publications with information on Allen-Bradley
programmable controller products, consult our publication index
SD499.
Publication 1771ĆUM127B-EN-P - December 2002
Using this ManualP–4
Publication 1771ĆUM127B-EN-P - December 2002
Table of Contents
Overview of the High Resolution
Isolated Analog Modules
• how the modules communicate with programmable controllers
The high resolution isolated analog modules are intelligent block
transfer modules that interface analog signals with Allen-Bradley
PLC-3 and PLC-5 family 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 and output data from the processor data table to module
memory.
The N-series family includes modules with both analog inputs and
outputs on the same module. The modules use 16-bit
analog-to-digital converters and 14-bit digital-to-analog converters
for high resolution and accuracy. All of these modules require only a
single slot in the I/O chassis, and do not require an external power
supply.
Since the N-series modules are combination modules, with input and
output capabilities on the same module, block transfer reads from the
module are structured differently from dedicated input or output
modules. Normally, block transfer read information is contiguous,
and is stored in contiguous locations in the data block. N-series
modules transmit channel data on an individual basis with status
information in between. This results in non-contiguous blocks of
data in non-contiguous data locations. Care must be taken when
transferring this information. Additional programming may be
required.
Use with PLC-2 family programmable
IMPORTAN
Input data is converted to a specified data type in a digital format to
be transferred to the processor’s data table on request. Output data is
converted to analog signals and sent to the appropriate output
channels. If real time sampling is selected, block transfer reads will
only occur at the time selected. Consequently, the minimum interval
between block transfer reads is the same as the total input update
time for each analog input module (25ms).
controllers is not recommended. Refer to
chapter 3, page 3-2.
Publication 1771ĆUM127B-EN-P - December 2002
1–2Overview of the High Resolution Isolated Analog Modules
The modules have either four or eight channels, each electrically
isolated from each other and from the backplane. Input and output
terminations are made through prefabricated cables which connect to
remote termination panels (RTP). The modules are compatible with
all 1771-A1B, A2B, A3B, A3B1, A4B, and later 1771 universal
I/O chassis. In addition, they can be used in 1771-AM1, and -AM2
chassis.
Features of the High
Resolution Isolated
Analog Series Modules
The analog modules are comprised of modular analog signal
conditioning blocks that are plugged into a common circuit board.
These signal conditioning blocks provide the following:
• 4–20mA output range
• 0–50mA output range
• +10V output (scalable +5V, 0-5V, 0-10V, etc.)
• thermocouple input (+100mV)
• +5V input (+20mA with resistor RTP)
• +10V input (+20mA with resistor RTP)
• 4–20mA input with sourcing/sinking input
• 1–650 ohm RTD input
Your particular module may have a combination of the above
conditioning blocks.
The N-Series analog modules feature:
• scaling of data to engineering units
• self-calibration (external reference required)
• software configuration
• user-selectable high and low alarms with deadband (hysteresis)
• self diagnostics
• input open circuit detection
• programmable ramped outputs
Publication 1771ĆUM127B-EN-P - December 2002
Specific analog modules have these additional features:
• Thermocouple input channels
– input channels configurable for thermocouple input ranges —
Types B, E, J, K, R, S and T thermocouples (1771-NT2 also
includes types C and N)
– cold junction compensation
– scaling to selected temperature range in
o
C or oF
– temperature resolution —
o
up to 0.03
up to 0.1
up to 0.07
C/0.06°F (E, J, K, T, N)
o
C/0.2°F (B, R, S)
o
C/0.1°F (C)
– millivolt resolution up to 1 microvolt
1–3Overview of the High Resolution Isolated Analog Modules
• RTD input channels
– reports
10Ω copper sensors
o
C, oF, or ohms for 100Ω platinum, 120Ω nickel, or
– reports ohms for other types of sensors
o
– 0.1
C/0.1oF resolution on 100Ω platinum sensor
– resistance resolution to 10mΩ
• +5V and +10V input channels — can be used with remote
termination panel
resistor to achieve a nonsourcing current input
• 4-20mA input with internal loop power supply
• ±10V output channels
• 0-25mA output channels
• 0-50mA output channels
Catalog/Channel Numbers
The following are standard catalog numbers and their respective
channel configurations:
Note: Appendices I thru L cover other variations of the 1771ĆN series module.
Refer to
Appendix
Publication 1771ĆUM127B-EN-P - December 2002
1–4Overview of the High Resolution Isolated Analog Modules
How the High Resolution
Isolated Analog Modules
Communicate with
Processors
5
The processor transfers data to and from the module using BTW
(block transfer write) and BTR (block transfer read) instructions in
your ladder diagram program. These instructions let the processor
obtain input values and status from the module, and let you establish
the module’s mode of operation (Figure NO TAG).
1. The processor transfers your configuration data, output data and
calibration values to the module using a block transfer write
instruction.
2. External input devices generate analog signals that are transmitted
to the module. Internal output circuitry generates analog signals
that drive field devices.
3. The module converts the analog signals into binary or BCD
format and stores theses values until the processor requests their
transfer.
Table 1.A
Communication Between the Processor and the Module
3
1
Accuracy
Memory
User Program
PLC Processor
(PLCĆ5/40 Shown)
BTW
BTR
4
High Resolution
Isolated Analog
Module
From input devices
To output devices
2
12933ĆI
4. When instructed by your ladder program, the processor performs
a read block transfer of the values and stores them in a data table.
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.
See chapter 4, “Configuring the Module,” for more information.
The accuracy of each of the high resolution isolated analog modules
is described in Appendix A.
Chapter Summary
Publication 1771ĆUM127B-EN-P - December 2002
In this chapter you read about the functional aspects of the analog
modules and how they communicate with programmable controllers.
Installing the Module
Chapter 2
Chapter Objectives
Before You Install Your
Analog Module
This chapter gives you information on:
For information onSee page
Before You Install Your Module . ......................
Determining Power Requirements . ................... 2-1
Determining Module Location in the Chassis . ............ 2-2
Installing the Module . ............................. 2-2
Sourcing input Analog Modules . ..................... 2-10
Making Your Own Cables . .......................... 2-11
Grounding Field Devices . .......................... 2-12
Module Indicators . .................
Before installing your module in the I/O chassis you must:
Action required:Refer to:
Calculate power requirements for the I/O chassis.page 2-1
Determine module location in the I/O Chassispage 2-2
Connect the cable and make wiring connections to the
remote termination panel
page 2-3
2-1
2-13
Electrostatic Damage
Calculate Power
Requirements for the
I/O Chassis
ATTENTION
!
Preventing Electrostatic Discharge
This equipment is sensitive to electrostatic
discharge, which can cause internal damage and
affect normal operation. Follow these guidelines
when you handle this equipment:
• Touch a grounded object to discharge potential
static.
• Wear an approved grounding wriststrap.
• Do not touch connectors or pins on component
boards.
• Do not touch circuit components inside the
equipment.
• If available, use a static–safe workstation.
• When not in use, keep modules in appropriate
static–safe packaging.
Your module receives its power through the 1771 I/O chassis
backplane from the chassis power supply. The maximum current
drawn by the module from this supply ranges from 1.5 to 3.3A,
dependent upon the particular type of module. Refer to the
specifications in appendix A for standard modules.
Publication 1771ĆUM127B-EN-P - December 2002
2–2Installing the Module
N
N
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.
Determine Module
Location in the I/O Chassis
Install the Analog Module
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.
Group your modules to minimize adverse affects from radiated
electrical noise and heat. We recommend the following.
• Group analog 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.
To install your module in an I/O chassis:
1. First, turn off power to the I/O chassis:
ATTENTIO
!
Remove power from the 1771 I/O chassis
backplane and disconnect the cable from the
module before removing or installing an I/O
module.
• Failure to remove power from the backplane
could cause injury or equipment damage due to
possible unexpected operation.
• Failure to remove power from the backplane
could cause module damage, degradation of
performance, or injury.
Publication 1771ĆUM127B-EN-P - December 2002
ATTENTIO
!
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.
Key the Backplane Connector
N
Place your module in any slot in the chassis
except the leftmost slot which is reserved for
processors or adapters.
Position the keying bands in the backplane connectors
to correspond to the key slots on the module.
Place the keying bands:
between 26 and 28
between 32 and 34
You can change the position of these bands if
subsequent system design and rewiring makes
insertion of a different type of module necessary.
2–3Installing the Module
I/O chassis
Keying Bands
Install the Module in the
Chassis and Connect the
Cable
ATTENTIO
Upper Connector
Remove power from the 1771 I/O chassis
backplane and field wiring arm before removing
or installing an I/O module.
11022ĆI
• Failure to remove power from the backplane or
!
wiring arm could cause module damage, degradation of performance, or injury.
• Failure to remove power from the backplane
could cause injury or equipment damage due to
possible unexpected operation.
1. Place the module in the plastic tracks on the top and bottom of the
slot that guides the module into position.
2. Do not force the module into its backplane connector. Apply firm
even pressure on the module until it is firmly seated in the
chassis. Note: The chassis locking bar will not close if all
modules are not seated properly.
Publication 1771ĆUM127B-EN-P - December 2002
2–4Installing the Module
1771ĆA1B, ĆA2B, ĆA3B, ĆA3B1, ĆA4B I/O chassis
locking tab
card guides
module
Snap the chassis latch over
the top of the module to secure it.
3. Connect the 1771-NC cable to the module as shown in Figure 2.1.
A. Slide the locking bar up.
B. Insert the cable connector into the mating connector on the
1771ĆA1B, ĆA2B, ĆA3B1, ĆA4B Series B I/O chassis
locking bar pin
Swing the chassis locking bar down into place to secure
the modules. Make sure the locking pins engage.
front of the module.
locking bar
card guides
module
19809
Module Connector
1. Position locking bar in up position.
Cable Connector
Locking bar
C. Slide the locking bar down over the mating pins on the
module to lock the connector onto the module.
Figure 2.1
Connecting the Cable to the Front of the Module
2. Insert connector into mating connector.
3. Slide locking bar down to lock.
11023ĆI
Publication 1771ĆUM127B-EN-P - December 2002
2–5Installing the Module
Connecting Wiring
The N-series modules are cable-connected to a remote termination
panel using cat. no. 1771-NC6 (6 ft) or -NC15 (15 ft) cables.
Variations of remote termination panels are used, depending on the
type of module used. These are:
Catalog
Number
1771ĆRTP1has cold junction compensation for thermocouples
1771ĆRTP3incorporates resistors and fuses; used primarily for 4Ć20mA inputs
when using +
such as Bussmann GMA-1/4, 250V/250mA.)
1771ĆRTP4a generalĆuse block with straightĆthru wiring that can be used for all
applications except thermocouples
1771ĆRT41a 4Ćchannel block with cold junction compensation for thermocouples
1771ĆRT44a generalĆuse 4Ćchannel block with straightĆthru wiring that can be
used for all applications except thermocouples
1
RTP4 and RT44 can be used withthermocouples if a method of cold junction compensation is provided at
the interface of thermocouple and copper wires within the system.
5V inputs (Uses 5mm x 20mm fast acting 1/4A fuses
Description
1
1
The remote termination panels are designed for mounting on
standard DIN 1 or DIN 3 mounting rails.
Publication 1771ĆUM127B-EN-P - December 2002
2–6Installing the Module
1
3.0
(75.0)
Figure 2.2
Mounting Dimensions for the Remote Termination Panels
RTP1, RTP3, RTP4
AB
Inches
(Millimeters)
2.3
(58.4)
2.3
(58.4)
3.0
(75.0
)
J8
J7
J6
J5
J1
J2
J3
J4
5.30
(134.6)
RT41, RT44
J1
J2
J3
J4
2.3
(58.4)
Dimensions to
3.5
(88.9)
back of DIN rail
19366
Table 2.A
Remote Termination Panel Connection Points for Field Devices (Channel 1 shown)
Input Type ConnectToInput Type ConnectToInput TypeConnectToInput TypeConnectTo
Voltage
Output
Type
Voltage
+I1
Ć
ShieldS1
ConnectTo
R1
Current
(with
external
resistor)
Output
Type
+O1+O1
R1
Current
Ć
+I1+I1+I1
ĆR1
ShieldS1ShieldS1
ConnectToInput TypeConnectTo
Thermocouple
ĆR1
Current
(Source/
Sink)
ShieldS1
Power
Excitation (A)O1
ĆR1
RTD
Lead Compensation (B)I1
ShieldS1ShieldS1Common (C)R1
1
When using 4Ćwire RTD, leave the 4th wire open.
2
Not used when NĆSeries module is supplying loop power. Refer to Figure 2.6 in this document.
Note: Terminals W1, W2 and W3 are
spares.
Do not use terminals CR and CL.
RTP1
DIN Rail
Note: Terminals W1, W2 and W3 are
spares.
Do not use terminals CR and CL.
Module End of
1771ĆNC cable
RT41
RTP End of
1771ĆNC cable
DIN Rail
11024ĆI
Publication 1771ĆUM127B-EN-P - December 2002
2–8Installing the Module
Field wiring to the remote termination panel is the same for all
remote termination panel variations. Refer to Figure 2.4.
Each channel has 4 connections: R, I, O, and S.
• R = return
• I = input
• O = output
• S = shield
Channel 1 would use R1, I1, O1, and S1; channel 2 would use R2,
I2, O2, and S2; and so on for the remaining channels.
To connect field wiring to the remote termination panel:
1. Strip 3/8 inch (9.25 mm) of insulation from the 22-12 AWG wire.
2. Insert the wire into the open connector slot.
3. Tighten the screw to 4.4–5.2 lb–in. (0.5–0.6Nm) to clamp the
wire.
Figure 2.4
Connecting Wire to the Remote Termination Panel
Each channel has four connections: R, I, O, and S.
Field wiring to the RTP is the same for all RTP variations.
Channel 1 uses R1, I1, O1, and S1; channel 2 uses R2, I2,
O2, and S2; and so on for the remaining channels.
Remote
Termination
Panel (RTP)
I = input
R = return
Field Wiring
O = output
S = shield
Publication 1771ĆUM127B-EN-P - December 2002
channel 2
channel 1
19621
2–9Installing the Module
Connecting 4ĆWire
Sensors
Figure 2.5 shows how to connect 4-wire sensors to the remote
termination panel. A 4-wire sensor has two pairs of leads; one pair
for each resistor junction. One wire of the four is not used (it does
not matter which one). This leaves three wires – one pair and one
single wire. You must connect the single wire to the terminal marked
“O_”. You connect the remaining pair of wires to terminals “I_” and
“R_”. It doesn’t matter which wire of the pair connects to terminal
“I_” and which wire connects to terminal “R_” so long as all three
wires are the same AWG gauge.
Figure 2.5
Connecting a 4ĆWire Sensor to the Remote Termination
Panel
Single lead connects
to terminal O
Note: In this illustration:
Terminal O is the 1mA excitation (A) sourcing current
Terminal I is the lead compensation (B) sense input
Terminal R is common (C)
Chassis
Ground
RTD
Leave 1 lead open
12935-I
Publication 1771ĆUM127B-EN-P - December 2002
2–10Installing the Module
Sourcing Input Analog
Modules
The 1771-NIS, 1771-NBSC and 1771-NB4S modules are
sourcing/sinking input modules. These modules can supply the
necessary loop power for 2-wire transmitters connected to the input.
All loop power functionality is contained within the analog module.
Examples of typical configurations are shown in Figure 2.6.
Noexternal resistors are required.
Figure 2.6
Examples of Sourcing/Sinking Input Modules
2ĆWire Transmitter
4ĆWire Transmitter
RTP4
i
Output
Input
Return
Output
24V dc
24V dc
Input
Module supplies loop power
(sourcing)
24V dc
2ĆWire Transmitter
i
24V dc
i
Input
Return
Output
Input
Return
24V dc
Input
Input
User supplies loop power
with 4Ćwire transmitter
(sinking)
User supplies loop power
(sinking)
Inputs can be configured as sourcing or sinking inputs. For sourcing
inputs, the N-series module supplies the loop power. For sinking
inputs, you supply the loop power.
When the loop power is supplied externally, the 16-bit resolution
provides 65535 counts over the 0–20mA current range. This
provides about twice the resolution of voltage inputs with external
resistors.
Publication 1771ĆUM127B-EN-P - December 2002
2–11Installing the Module
Thermistor
Making Your Own Cables
Module Top ConnectorModule Bottom Connector
Channel NumberSignal37ĆPin ConnectorWire ColorChannel NumberSignal37ĆPin ConnectorWire Color
I120BlkI520Blk
1
2
3
O1
R121Wht/BlkR521Wht/Blk
I224OrnI624Orn
O2
R225WhtR625Wht
I329GrnI729Grn
O3
R330Grn/WhtR730Grn/Wht
If you are not using thermocouples, you can terminate the analog
module to a terminal block by cutting the 25-pin RTP end connector
off the standard cable and wiring to your terminal block. Refer to
Table 2.B for wire termination designations.
Table 2.B
Wire Termination Designations
22Blk/Wht
26Orn/Blk
31Grn/Blk
5
6
7
O522Blk/Wht
O626Orn/Blk
O731Grn/Blk
I433BluI833Blu
4
O4
R434Blu/WhtR834Blu/Wht
35Blu/Blk
8
Cold Junction
O835Blu/Blk
36Red
37Red/Wht
Publication 1771ĆUM127B-EN-P - December 2002
2–12Installing the Module
Grounding the Field
Devices
When using shielded cable or shielded thermocouple extension 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 the “S” connection on the RTP for the particular
channel. All shield connections are internally connected together in
the RTP so that only one wire is required to ground the entire remote
termination panel. Connect a wire from the “SH” connection on the
RTP to a ground stud on the metal cabinet in which the remote
termination panel is mounted.
If you do not want to ground a particular shield at the RTP, you can
remove the jumper for that particular channel. This will allow the
shield to float at the RTP end. To remove a jumper, you must cut it
out. Once the jumper is removed it cannot be replaced. Clip as
close to the circuit board as possible at both ends to completely
remove it. The jumpers (Figure 2.7) are labeled J1 through J8,
corresponding to channels 1 through 8 respectively.
Figure 2.7
Jumper Positions
Jumpers for channels
5 through 8
J8
J7
J6
J5
J1
J2
J3
J4
Jumpers for channels
1 through 4
Refer to publication 1770-4.1, Programmable Controller Wiring and
Grounding Guidelines, for additional information.
Publication 1771ĆUM127B-EN-P - December 2002
2–13Installing the Module
Interpreting the
Indicator Lights
The front panel of the analog module contains two bi-color
indicators: a red/green RUN/FLT (fault) indicator and a red/green
CAL/COM indicator (Figure 2.8).
Figure 2.8
Diagnostic Indicators
Run/Fault indicator. This indicator will flash green
until the first valid block transfer write has been
RUN/FLT
CAL/COM
received. If a fault is found initially or occurs later, the
RUN/FLT indicator turns red.
Calibrate/communication indicator. This indicator will
flash green when doing block transfers. It will flash red
during calibration.
10528ĆI
At power-up, an initial module self-check occurs. The RUN/FLT
indicator will be green when the check is completed satisfactorily. It
will flash green until the first valid block transfer write has been
received. If a fault is found initially or occurs later, the RUN/FLT
indicator turns red.
Chapter Summary
The bottom indicator is the calibrate/communication indicator. This
indicator will flash green when doing block transfers. It will flash red
during calibration.
Possible module fault causes and corrective action are discussed in
Chapter 7, “Troubleshooting.”
In this chapter you learned how to install your module in an existing
programmable controller system and how to wire to the remote
termination panel.
Publication 1771ĆUM127B-EN-P - December 2002
2–14Installing the Module
Publication 1771ĆUM127B-EN-P - December 2002
Chapter 3
Communicating With Your
Analog Module
Chapter Objectives
Block Transfer
Programming
configure the module
send data to the output channels
of those modules having outputs
In this chapter, we describe
• block transfer programming
• quick-startup sample programs for the PLC-3 and PLC-5
processors
• module scan time issues
Your module communicates with the processor through bidirectional
block transfers. This is the sequential operation of both read and
write block transfer instructions.
For the 1771-N series modules, block transfer writes (BTWs) can
perform two different functions.
If you want to:DescriptionThis type of BTW is called:
This involves setting the bits which enable the
programmable features of the module, such as
scaling, alarming, real time sampling, etc.
This type of BTW is generally shorter in length
than the configuring BTW because it does not
configure the module each time it is initiated.
the configuration BTW”
the output update BTW"
A configuration BTW is initiated when the analog module is first
powered up, and subsequently only when the programmer wants to
enable or disable features of the module.
An output update BTW is initiated when the programmer wants the
output channels on the module to change value. This shortened
version of the BTW allows faster response time from the output
channels.
The following example programs are minimum programs; all rungs
and conditioning must be included in your application program. You
can disable BTRs, or add interlocks to prevent writes if desired. Do
not eliminate any storage bits or interlocks included in the sample
programs. If interlocks are removed, the program may not work
properly.
Publication 1771ĆUM127B-EN-P - December 2002
3–2Communicating With Your Analog Module
Your analog module works with a default configuration upon
powerup as long as a block transfer write (BTW) has not been
initiated. See the configuration default section in chapter 4 to
understand what this configuration looks like. Refer to the sample
programs in this chapter to get started.
Your program should monitor status bits (such as overrange,
underrange, alarms, etc.) and block transfer read activity.
The following example programs illustrate the minimum
programming required for the 1771-N series module to powerup and
operate.
PLCĆ2 Programming
PLCĆ3 Program Example
Due to the number of digits required for high resolution readings, the
1771-N series modules normally read input values in 2’s complement
binary. Binary coded decimal (BCD) can be used, but with lower
resolution. As a result, the 1771-N series modules are not
recommended for use with PLC-2 family programmable controllers.
Block transfer instructions with the PLC-3 processor use three data
table files. A binary file is used for module location and other related
data. This is the block transfer control file. Two separate block
transfer data files store data that you want transferred to the module
(when programming a block transfer write) or from the 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.
An example program segment with block transfer instructions is
shown in Figure 3.1, and described below.
Publication 1771ĆUM127B-EN-P - December 2002
Figure 3.1
PLCĆ3 Family Sample Program Structure
3–3Communicating With Your Analog Module
Program Action
At powerup, the user program enables a
block transfer read. Then it initiates a
block transfer write to configure module.
Thereafter, the program continuouslyperĆ
forms read and write block transfers.
Scan time is defined as the amount of time it takes for the module to
read the input channels and place new data into the data buffer
and/or read the data buffer and write new data to the output channels.
Scan time for your module is shown in Figure 3.3.
Figure 3.3
Block Transfer Time
End of Block
Transfer Write
Block
Transfer
Write
Time
123 456
Internal scan time = 25ms
Configure
Time
Module available
to perform block transfer
1st Scan2nd Scan3rd Scan
The following description references the sequence numbers in
Figure 3.3.
Following a block transfer write (1) the module inhibits
communication until after it has configured the data and loaded
calibration constants (2), scanned the inputs and/or outputs (3), and
filled the data buffer (4). Configuration block transfers, therefore,
should only be performed when the module is being configured or
calibrated.
10529ĆI
Programming Samples
Any time after the buffer is filled (4), a block transfer read (BTR)
request can be acknowledged.
When operated in the default mode, new data will be available for a
BTR every 25 milliseconds. When operated in real time sample
mode
(RTS = T), BTRs will be ignored by the module for “T”
milliseconds, at which time a single BTR will be allowed.
The following are sample programs for using your modules more
efficiently when operating with the PLC-3 or PLC-5 family
processors.
These programs show you how to configure the module and read
data from the module, and efficiently update the output channels on
those modules with outputs.
Refer to the proper PLC-3 or PLC-5 documentation for additional
information on processor programming and data entry.
Publication 1771ĆUM127B-EN-P - December 2002
3–5Communicating With Your Analog Module
The differences between the types of 1771-N series modules is
related to the number of output channels each module has. A module
with only inputs (no outputs) requires one BTW after powerup.
Thereafter, it sends back input data and module status by way of
BTRs.
A module with outputs requires BTWs to configure it and update its
output data. BTRs are required to send back input data and module
status.
Sample Ladder Diagram Ć PLCĆ3 Family Processors
The following PLC-3 program can be used for all 1771-N series
modules. The program can be altered to effectively address modules
with or without output channels.
Figure 3.4
PLCĆ3 Family Example Program Structure
Rung 1
Rung 2
Rung 3
Rung 4
BTR
07
BLOCK XFER READ
RACK:
GROUP:
MODULE:
CONTROL:
DATA FILE
LENGTH:
MOV
SOURCE:
DESTINATION:
MOV
SOURCE:
DESTINATION:
BTW
BLOCK XFER WRITE
RACK:
GROUP:
MODULE:
CONTROL:
DATA FILE
LENGTH:
0
0
0
#B1:10
#N1:0
0
0000000000111011
0000000000001001
0000000000001001
0000000000001001
0
0
0
#B1:10
#N1:100
9
Block Transfer
Read Error Bit
B1:10
13
Pushbutton
I0:2
00
Power-up Bit
N1:1
17
Pushbutton
I0:2
00
Block Transfer
Write Error Bit
B1:10
03
Block Transfer
Read Done Bit
B1:10
15
BlockTransfer
Write Done Bit
Power-up Bit
N1:1
17
Block Transfer
Write Done Bit
B1:10
05
B1:10
07
Block Transfer
Write Done Bit
B1:10
This program changes the length of the block transfer write from 59 words at powerup
or when reconfigured, to 9 words at all other times.
Enable
EN
12
Done
DN
15
ER
13
B1:0
B1:15
B1:1
B1:15
Enable
EN
Done
DN
Error
ER
03
Error
02
05
Publication 1771ĆUM127B-EN-P - December 2002
3–6Communicating With Your Analog Module
o
Modules without output channels do not require rungs 2 and 3.
Instead, move the input condition instructions from rung 2 to the
front of rung 4, and specify the BTW length equal to 59.
Sample Ladder Diagram Ć PLCĆ5 Family Processors
The following PLC-5 program is very similar to the preceding
PLC-3 program with the following exceptions:
• You use enable bits instead of done bits as the conditions on each
rung.
• A separate control file must be selected for each of the block
transfer instructions.
Figure 3.5
PLCĆ5 Family Example Program Structure
For the following example, assume the analog module is physically located at rack address 01, module group 00, module sl
and the input module connected to the pushbutton is located at rack address 00, module group 7, slot 6. The block transfer
data files correspond to the example on the following pages.
BTR Enable
1
2
3
4
N10:0N10:5
15
Pushbutton
I:007N10:5
0015
Powerup Bit
N10:11
15
Pushbutton
I:007N10:5
0015
BTR
Enable
N10:0N10:5
1515
BTW Enable
Powerup Bit
N10:11
15
* Length = (number of outputs + 1) words.
For 2 output/6 input modules, this would be equal to 3.
Modules without output channels do not require rungs 2 and 3. Instead, move
the input
condition instructions (pushbutton and powerup) from rung 2 to the front of rung
4, and specify the BTW length equal to 59.
BTR
BLOCK XFER READ
RACK:
15
BTW
Enable
BTW
Enable
BTW
Enable
GROUP:
MODULE:
CONTROL:
DATA FILE:
LENGTH:
CONTINUOUS:
If you use a 1771-NBTC module with the parameters listed below,
the PLC-5 data table file screen on an industrial terminal screen
would look similar to Figure 3.6.
Overall Module Functions Chosen
Number of outputs:2
Verify mode:Disabled
Temperature Scale:Fahrenheit
BCD Select Bit:2's complement binary data format
Cold Junction Temperature Alarm:Enabled
Real Time Sampling Rate:200 milliseconds
Clamp Value
Low/High
(counts)
Alarm Value
Low/High
(counts)
Max Output
Ramp Rate
(mA/sec)
Input Rate
Alarm
o
F/sec)
(
Reset
State
Alarm
Enable
Alarm
Enable
Alarm
Deadband
o
F)
(
Reset
Value
(mA)
Filter
Time
(sec)
10 Ohm
Offset
RTD
TypeTCType
Channel 40/010000/105001.7Yes10.01.0N/AN/AE
Channel 50/020000/205001.7Yes10.01.5N/AN/AJ
Channel 60/010000/105001.7Yes10.02.0N/AN/AK
Channel 70/020000/21000N/AYe s20.02.5N/AN/AR
Channel 80/030000/31000N/AYe s20.03.0N/AN/AS
The above configuration for the 2 output/6 input module (cat. no.
1771-NBTC) would be set up using the following PLC-5 data table
file (Figure 3.6).
Publication 1771ĆUM127B-EN-P - December 2002
3–8Communicating With Your Analog Module
Figure 3.6
Sample PLCĆ5 Data File (Hexadecimal Data) for a
2 Output/6 Input Module
The block transfer read data file is located at N10:10 thru N10:37.
The block transfer write data file is located at N10:80 thru N10:138.
In this chapter, you learned how to program your programmable
controller. You were given sample programs for your PLC-3 and
PLC-5 family processors, and shown what the data file for a module
looks like.
You also read about module scan time.
Next
File
F7
Prev
File
F8
Publication 1771ĆUM127B-EN-P - December 2002
Chapter 4
Configuring the Module
Chapter Objectives
Configuring the High
Resolution Isolated
Analog Modules
In this chapter you will read how to:
• configure your module’s features
• condition your inputs and outputs and
• enter your data.
Because of the many analog devices available and the wide variety
of 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.
Configure your module for its intended operation by means of your
programming terminal and write block transfers.
Note: Programmable controllers that use 6200 software (release 4.2
or higher) programming tools can take advantage of the IOCONFIG
Addendum utility to configure this module. IOCONFIG Addendum
uses menu-based screens for configuration without having to set
individual bits in particular locations. You must have block
transfer read and block transfer write rungs in your program
before using IOCONFIG software. Refer to your 6200 software
literature for details.
Important:It is strongly recommended that you use IOCONFIG to
configure this module. The IOCONFIG utility greatly
simplifies configuration. If the IOCONFIG is not
available, you must enter data directly into the data
table. Use this chapter as a reference when performing
this task.
Note: Programmable controllers that use process configuration and
operation software (cat. no. 6190-PCO) can take advantage of those
development and runtime tools used for the application of
programmable controllers in process control. The PCO worksheets
and the menu-driven configuration screens and faceplates let you
configure, test/debug and operate the I/O module. Refer to your
6190-PCO software literature for details.
During normal operation, the processor transfers from 1 to 59 words
to the module when you program a BTW instruction to the module’s
address. The BTW file contains configuration words, high and low
channel alarm settings, and calibration values that you enter for each
channel.
Publication 1771ĆUM127B-EN-P - December 2002
4–2Configuring the Module
When making entries in the configuration block, use binary or
hexadecimal only.
Default Configurations
The modules can be operated in a default mode by using zeroes in all
but the first word of the BTW data file. The first word must identify
the number of outputs on the module. For example, the first word
for the 8 output module (cat. no. 1771-NOC) would be 8880
hexadecimal; the first word for the 2 out/6 input module (cat. no.
1771-NBVC, -NBTC, -NBRC) would be 8820 hexadecimal; and the
first word for the 8 input module (cat. no. 1771-NIV, -NT1, -NR)
would be 8800 hexadecimal.
First Word in BTW file
8880 hexadecimal8
8870 hexadecimal7
8860 hexadecimal6
8850 hexadecimal5
8840 hexadecimal4
8830 hexadecimal3
8820 hexadecimal2
8810 hexadecimal1
8800 hexadecimal0
Number of
Outputs
The default scaling values that apply to the inputs and outputs are
listed in the specifications in appendix A. In default mode, all
programmable features (alarming, filtering, real time sampling, etc.)
are disabled.
Publication 1771ĆUM127B-EN-P - December 2002
4–3Configuring the Module
Module Level
Programming Features
Module level programming features include:
• module “configuration” verification
• temperature scale
• data format
• real time sample
Module Configuration" Verification
The verify bit 00 in the block transfer write word 3 allows you to
compare the configuration information the module is using to the
configuration information contained in a block transfer write (BTW).
You set the verify bit in the BTW you wish to check, and download
the BTW to the module. After the BTW is completed, request a BTR
from the module. The program verify field in the BTR (bits 09-10
decimal, bits bits 11-12 octal, word 1) will contain either of two
values: 10 (binary) indicates the verify failed; 11 (binary) indicates
the verify succeeded.
If the verify bit is set, configuration information in the BTW data file
will not be used by the module regardless of the success or failure of
the verify.
Temperature Scale
You select the temperature scale that the module will use when
returning temperature to the processor using bit 01, word 3 of the
block transfer write data file. If the bit is set to 0, the temperature is
in degrees C; if the bit is set to 1, the temperature is in degrees F.
Data Format
Use bit 02, word 3 of the block transfer write data file to select a data
format. If this bit is 0, all data fields will be in two’s complement
binary format. If the bit is 1, all fields will be in BCD format. In
BCD, the most significant bit is the sign bit for all signed fields. This
sign bit applies to both BTW and BTR words.
NOTE: Available resolution is poor when using BCD format.
The 4-digit BCD format uses an arrangement of 16 binary digits to
represent a 4-digit decimal number from 0000 to 9999 (Figure 4.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
0
digits are 2
group of four binary digits is determined by multiplying the binary
digit by its corresponding place value and adding these numbers.
, 21, 22 and 23 (Table 4.A). The decimal equivalent for a
Publication 1771ĆUM127B-EN-P - December 2002
4–4Configuring the Module
The 1771-N series modules use 15-bit signed magnitude BCD. The
maximum range value available then becomes +
Figure 4.1
4ĆDigit Binary Coded Decimal
Sign Bit Ć
0=+
1X22=4
1
=2
1X2
0
1X2
=1
0111100110011001
Sign
Bit
7
99
1=Ć
7
1X2
0X2
0X2
1X2
3
=8
2
=0
=0
=1
1X2
0X2
0X2
1X2
9
3
=8
2
=0
1
=0
0
=1
1
0
7999.
9
3
1X2
=8
2
0X2
=0
9
1
=0
0X2
0
1X2
=1
9
10
12955ĆI
Table 4.A
BCD Representation
3
(8)22(4)21(2)20(1)
2
Place Value
00000
00011
00102
00113
01004
01015
01106
01117
10008
10019
Decimal
Equivalent
Publication 1771ĆUM127B-EN-P - December 2002
4–5Configuring the Module
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.
10110
= 22
2
10
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.
In the above example:
0 10110 = +22
Its two’s complement would be:
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.
If a negative number is given in two’s complement, its complement
(a positive number) is found in the same way:
1 10010 = -14
0 01110 = +14
All bits from right to left are inverted after the first “1” is detected.
The two’s complement of 0 is not found, since no first “1” is ever
encountered in the number. The two’s complement of 0 then is still 0.
Real Time Sampling
Real time sampling is set using word 4 of the block transfer write
data file. The real time sampling (RTS) mode of operation provides
data from the module at a fixed time period for use by the processor.
RTS is invaluable for time based functions (such as PID and
totalization) in the processor. It allows accurate time based
calculations in local or remote I/O racks.
Publication 1771ĆUM127B-EN-P - December 2002
4–6Configuring the Module
In the RTS mode, the module scans and updates its inputs at a user
defined time interval (
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 end of the
next RTS period, a time-out bit is set in the BTR status area (word
1). 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.
Legal RTS values are in intervals of 1ms from 0.100 to 10.000
seconds in binary format, or 0.100 to 9.999 seconds in BCD format.
An RTS value of 0 disables the real time sampling feature.
∆T) instead of the default interval. The
Output Channel
Programming Features
Output channel programming features include:
• low and high scaling
• low and high clamping
• ramping
• alarm enable
• reset state
• reset value
Scaling
Scaling is the conversion of unscaled data to engineering units. You
use scaling so that the data for each channel is represented in actual
engineering units.
Each channel has two scaling points, low and high. The signal value
at these points is fixed. For example, the high scaling point of a
10V output channel always corresponds to an output signal equal to
+
+10.000V.
Publication 1771ĆUM127B-EN-P - December 2002
Channel TypeSensorLow Scaling PointHigh Scaling Point
5/+55mV Input
100mV Input
650 Ohm Input
10V OutputĆ10.0V+10.0V
25mA Output4mA20mA
50mA Output1mA50mA
5V Input1.0V5.0V
10V InputĆ10.0V+10.0V
4Ć20mA Input4mA20mA
Ć
Ć
MillivoltĆ5mV+55mV
TemperatureĆ300C/Ć508F1800C/3272F
MillivoltĆ100mV+100mV
TemperatureĆ300C/Ć508F1800C/3272F
Resistance1.0 Ohm650 Ohm
TemperatureĆ200C/Ć328F900C/1652F
To implement the scaling feature, you insert the minimum and
maximum scaled values in the appropriate configuration words.
4–7Configuring the Module
Scaling values can be entered in either BCD or binary format. The
range of binary format scaling values is +
7999. Remember to check the data format bit for proper control.
+
32767; BCD format is
For example, assume that at 0mA, the device connected to this input
channel is producing 0 psi, and at 20mA it produces 150 psi.
Extrapolation indicates that at 4mA, the device is producing 30 psi.
By setting the low scale value of the input to 30 and the high scale
value to 150, this input channel will report data in psi.
For better resolution, you can multiply both of the scaling values by
the same multipler as long as both scale values are in the range of
32767 binary or +7999 BCD. By setting the low scale to 3000 and
+
the high scale value to 15000, you would report data in units of 0.01
psi per count.
Maximum resolution can be obtained by setting the low scale value
to -32767 (-7999 in BCD) and the high scale value to +32767 (+7999
in BCD).
Publication 1771ĆUM127B-EN-P - December 2002
4–8Configuring the Module
10V Output
25mA Output
50mA Output
5V Input
10V Input
4Ć20mA Input
5/+55mV Input
100mV Input
650 Ohm Input
If both the low scale and high scale values are set to 0, the module
reports data in the default resolution as shown below.
Output channels can be configured to limit or clamp the output
signal at a specified value regardless of the output data value written
to the module. Low and high clamping values are written to the
module in scaled units, and must be within the absolute signal limits
shown below.
Output TypeLow Absolute LimitHigh Absolute Limit
+ 10VĆ10.4V10.4V
25mA0mA26mA
50mA0mA50mA
If either value is outside of these limits, or if the low clamp is higher
than the high clamp, the bad programming status bit (bit 07 in BTR
word 1) will be set.
When the clamp feature is activated (output from the programmable
controller is greater than the high clamp or lower than the low
clamp) a corresponding high or low clamp status bit is set in the
channel status word returned in the BTR.
High Clamp Limit
Low Clamp Limit
Figure 4.2Clamped Outputs
Time
output value sent by PLC processor
clamped output value
If the PLC processor commands
the output past the clamp limit,
the module will not output a value
outside the predetermined range.
Clamp the output
so that it cannot exceed
a predetermined range
(high and low clamp limit).
clamp inactive
clamp active
Publication 1771ĆUM127B-EN-P - December 2002
4–10Configuring the Module
Ramping
Output ramping is used to limit the rate of change of an output
channel. You enter the rate as a percentage (between 0 and 200%) of
full scale per second, where 0 disables the ramping feature, and full
scale is the difference between the low and high scaling points. 4.3
shows the effect of ramping on the output signal.
Figure 4.3Ramping on the Output Signal
Ramped OutputOutput Ramp Disabled
Voltage
Voltage
Time
Actual voltage change
Ramped voltage change
Time
Alarm Enable
Clamping and ramping are only active when the alarm enable bit
(decimal bit 17, octal bit 15) has been set to 1.
Reset State
This field determines the action taken by the channel if the I/O reset
backplane pin is asserted.
I/O Reset StateBinary Value
Decimal
Last State00
Minimum01
Maximum10
User Selectable11
Octal
Bit 14
(Bit 16)
Bit 13
(Bit 15)
Publication 1771ĆUM127B-EN-P - December 2002
The minimum and maximum values are defined as the low and high
absolute limits respectively.
4–11Configuring the Module
Reset Value
If the channel is programmed to go to a user-selectable reset value
upon I/O reset, the value is entered (in scaled units) into that
channel’s proper configuration word. The value entered must be
between the high and low absolute limits. If user-selectable resetting
is not chosen, this field should be set to 0.
Input Channel
Programming Features
Input channel programming includes:
• low and high scaling
• low and high alarming
• alarm deadband
• rate alarming
• alarm enable
• digital filtering
• thermocouple type
• RTD type
• 10 Ohm offset
Scaling
Scaling input channels is identical to scaling output channels. Refer
to “Output Channel Programming Features” on page 4–6.
Alarms
Each input channel has five alarm functions that provide status
indication through five associated status bits in the block transfer
read data returned by the module.
Input alarms let the user specify a range of “good” input values. If
the input value goes outside of this range, and the alarm enable bit is
set, the module will set the low or high alarm bit for that channel.
The alarm values are written to the module in the same units as the
scaling values, and must be within the absolute signal limits
specified in appendix A.
• Underrange - This bit is set if the input falls below the
minimum range for that specific input type. This alarm is
predefined and cannot be changed by the user. In current loop
inputs, this bit also indicates an open loop.
Publication 1771ĆUM127B-EN-P - December 2002
4–12Configuring the Module
• Overrange - This bit is set if the input rises above the
maximum range for that specific input type. This alarm is
predefined and cannot be changed by the user. For all voltage,
RTD and thermocouple inputs, this bit indicates an open
channel.
Alarm Deadband
Alarm deadband allows the user to program a hysteresis effect on the
alarming for a given channel. The deadband cannot be larger than
255 binary or 99 BCD, or 1/2 of the difference between the low
alarm and high alarm values.
• Low Alarm With Deadband - The low alarm bit is set when
the input falls below the user-defined low alarm value. If a
deadband is programmed, the low alarm bit will reset when
the input rises above the level equal to the low alarm value
plus the deadband.
• High Alarm With Deadband - The high alarm bit is set when
the input rises above the user-defined high alarm value. If a
deadband is programmed, the high alarm bit will reset when
the input falls below the level equal to the high alarm value
and deadband.
Overrange Limit
High Alarm Limit
Input Channel
Low Alarm Limit
Underrange Limit
Figure 4.4
Deadband Example
without deadbandwith deadband
Time
Time
The process passes through
the deadband before the alarm
is disabled to provide stability
to alarm indicators
deadband
deadband
alarm inactive
alarm active
Publication 1771ĆUM127B-EN-P - December 2002
High Alarm Limit
Input Channel
4–13Configuring the Module
Rate Alarm
This bit is set when the input changes at a rate faster than the
user-defined value. Rate of change values can range from 0.05% to
50% of the input’s full scale range per second. Full scale range is
defined as the difference between the high scale value and the low
scale value. The rate is specified in scaled units per second.
Figure 4.5
Rate of Change Alarm
Select the change in input
that should activate the alarm
to alert the user of potential
problems.
Low Alarm Limit
alarm inactive
alarm active
Time
Digital Filtering
This value specifies the time constant for a digital first order lag
filter on the input. It is specified in units of 0.1 seconds. Values range
from 0.1-9.9 seconds in BCD and 0.1-10.0 seconds in binary. A
value of 0 disables the filter.
The digital filter equation is a classic first order lag equation
(Figure 4.6). Using a step input change to illustrate the filter
response (Figure 4.7), 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.6
Digital Filter Equation
t
(X
Yn = Y
n-1
+
t + TA
– Y
n
n-1
)
Where:
Y
n = present output, filtered peak voltage (PV)
Y
n -1 = previous output, filtered PV
t = module channel update time (seconds)
TA = digital filter time constant (seconds)
X
n = present input, unfiltered PV
Publication 1771ĆUM127B-EN-P - December 2002
4–14Configuring the Module
6
Amplitude
Figure 4.7
Digital Filter Lag Equation Illustration
100%
63%
0
Unfiltered Input
TA = 0.01 sec
TA = 0.5 sec
TA = 0.99 sec
00.010.50.99Time in Seconds
Thermocouple Type
This field lets you select the type of sensor connected to a
thermocouple input channel. This field must be 0 for all other
channel types.
Sensor TypeBinary Value
Decimal15141312
Octal17161514
Millivolt0000
B0001
E0010
J0011
K0100
R0101
S0110
T0111
1
C
1
N
1
For 1771ĆNT2 only.
1000
1001
1
Publication 1771ĆUM127B-EN-P - December 2002
4–15Configuring the Module
0
RTD Type
This field lets you select the type of sensor connected to a 650 ohm
input channel. This field must be 0 for all other channel types.
Sensor TypeBinary Value
Decimal100908
Octal121110
Resistance000
100 Ohm Pt. European Std.001
100 Ohm Pt. U.S. Std.010
10 Ohm Copper011
120 Ohm Nickel100
10 Ohm Offset
This field lets you compensate for a small offset error in a 10 ohm
copper RTD. Values can range from -0.99 to +0.99 ohms in units of
0.01 ohms.
Configuration Block for a
Block Transfer Write
Word/Dec. Bit
Word/Octal Bit
15141312111009080706050403020100
17161514131211100706050403020100
For example, if the resistance of a copper RTD used with this
o
channel was 9.74 ohms at 25
C, you would enter -0.26 in this field.
The configuration block for a block transfer write consists of:
• module configuration header
• output channel data (if applicable)
• output channel programming (if applicable)
• input channel programming (if applicable)
Block Transfer Write Configuration Data Header
The configuration data header consists of information required for
the processor to properly identify the type of information it will be
receiving.
Module Configuration Data Header
BTW word typeConstantNumber of outputsConstant
1000100000100000
Publication 1771ĆUM127B-EN-P - December 2002
4–16Configuring the Module
Bit/Word Description of Word 0
WordBitDefinition
Word 000Ć03Constant = 0
Bits 04Ć07Number of outputs = 0010
Bits 10Ć15Constant = 00 1000
Bits 16Ć17Block transfer write type = 10
The next group of words sets the outputs of the module, if the
module has outputs. For example, if this is a 2 output/6 input
module, words 1 and 2 would contain the data for the two output
channels. If the module has four outputs, words 1 thru 4 would
contain output channel data.
Output Configuration Words 1 and 2
Word/Dec. Bit
Word/Octal Bit
1Channel 1 Output Data
2Channel 2 Output Data
15141312111009080706050403020100
17161514131211100706050403020100
Bit/Word Description of Output Configuration Words 1 and 2
Word
Word 1Bits 00Ć15 (00Ć17)First Output channel data
Word 2Bits 00Ć15 (00Ć17)Second Output channel data
Decimal Bit
(Octal Bit)
Additional module configuration data is contained in the next two
words. This includes verify, temperature scale, BCD select, cold
junction alarm enable and real time sample time. These are explained
in the bit/word description.
Output Configuration Words 3 and 4
Word/Dec. Bit
15141312111009080706050403020100
Definition
Word/Octal Bit
3
4RTS Sample Time: 1 millisecond units
Publication 1771ĆUM127B-EN-P - December 2002
17161514131211100706050403020100
CJ alarm
enable
Unused = 0
BCD
select
Temp
scale
Verify
Bit/Word Description of Output Configuration Words 3 and 4
4–17Configuring the Module
Word
Word 3Bit 00
Word 4
Decimal Bit
(Octal Bit)
Verify. If this bit is set to 1, the module will compare its current
programming with the programming downloaded in the BTW. If
they are the same, it will verify good; if they are different, the
module will verify bad. In no case will any programming data in
the BTW be applied to the module.
Bit 01Temperature scale. 0 = Celsius, 1 = Fahrenheit
Bit 02
Bits 03Ć14
(03Ć16)
Bit 15 (17)
Bits 00Ć15
(00Ć17)
BCD select.1 = all values in BCD format.
Not used. Always 0
CJ alarm enable. A value of 1 enables over and underrange
indication for the cold junction channel. If the module does not
have a cold junction channel, this bit is 0.
Real time sample. Sample time in milliseconds.0=off.
RTS minimum is 100msec (counts = 100). Maximum 10
seconds in binary; 9.999 seconds in BCD.
Definition
0 = all values in 2's complement binary
Output Programming
The next group of six words contain channel-specific parameters.
This includes low and high scale values, low and high clamp values,
ramp rate, reset state, alarm enable and reset value.
Output Configuration Words 5 through 10
Word/Dec. Bit
Word/Octal Bit
5Low Scale Value
6High Scale Value
7Low Clamp Value
8High Clamp Value
9
10Reset Value
15141312111009080706050403020100
17161514131211100706050403020100
Channel 1 Programming
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
Publication 1771ĆUM127B-EN-P - December 2002
4–18Configuring the Module
Bit/Word Description of Output Configuration Words 5 through 10
Word
Word 5
Word 6
Word 7
Word 8
Word 9
Word 9
continued
Decimal Bit
(Octal Bit)
Bits 00Ć15
(00Ć17)
Bits 00Ć15
(00Ć17)
Bits 00Ć15
(00Ć17)
Bits 00Ć15
(00Ć17)
Bits 00Ć11
(00Ć13)
Bit 12 (14)Constant = 0
Bits 13Ć14
(15Ć16)
Low scale value for channel 1. Scale values are limited to
32767 in binary format; +7999 in BCD format.
+
High scale value for channel 1. Scale values are limited to
32767 in binary format; +7999 in BCD format.
+
Low clamp value for channel 1. The channel output will not be
allowed to go below this value (in scaled units) regardless of
the data sent to the module. Clamp values are limited to
32767 in binary format; +7999 in BCD format.
+
High clamp value for channel 1. The channel output will not be
allowed to go above this value (in scaled units) regardless of
the data sent to the module. Clamp values are limited to
32767 in binary format; +7999 in BCD format.
+
Maximum ramp rate. If this field is not 0, the module will limit
the maximum rate of change for this channel to be a
percentage of the full scale range of the module. Legal values
are from 1 to 200%.
Reset state. This field controls what an output channel will go
to if the I/O reset line is asserted:
00 binary = last state;
01 binary = minimum output; (example: < Ć10V, < 4mA)
10 binary = maximum output; (example: > 10V, > 22mA)
11 binary = user reset value.
Definition
Bit 15 (17)
Word 10
Bits 00Ć15
(00Ć17)
The above six words of output channel-specific information would
be repeated for the next output channel (2), as shown below. The
bit/word descriptions would be the same as above.
Word/Dec. Bit
Word/Octal Bit
11Low Scale Value
12High Scale Value
13Low Clamp Value
14High Clamp Value
15
16Reset Value
15141312111009080706050403020100
17161514131211100706050403020100
Channel 2 Programming
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
Alarm enable. If set to 1, the module reports high clamp, low
clamp and rate limit. If 0, these warnings are suppressed.
Reset value. If the user selects the channel to go to a user
reset value upon I/O reset, the value in scaled units is entered
here. Otherwise, set to 0.
Publication 1771ĆUM127B-EN-P - December 2002
4–19Configuring the Module
The following six words configure the first input channel of the
module. These words are repeated as necessary for each input in the
module. For example, if this is a 2 output/6 input module, words 1
through 4 would configure the module, words 5 through 16 would
configure the 2 output channels (six words each). Then six groups of
seven words each (one group for each input channel) would
configure the module’s six input channels.
Input Programming
Word/Dec. Bit
Word/Octal Bit
17Low Scale Value
18High Scale Value
19Low Alarm Value
20High Alarm Value
21
22Filter Time Constant: 0.1 second unitsAlarm Deadband
23Thermocouple Type0RTD Type10 Ohm Offset: 0.01 Ohm units
15141312111009080706050403020100
17161514131211100706050403020100
Channel 3 Programming
Alarm
enable
Rate Alarm: Scaled Units per second
Bit/Word Description of Input Configuration Words 17 through 23
Word
Word 17
Word 18
Decimal Bit
(Octal Bit)
Bits 00Ć15
(00Ć17)
Bits 00Ć15
(00Ć17)
Definition
Low scale value for channel 3.
High scale value for channel 3.
Word 19
Word 20
Word 21
Word 22Bits 00Ć07
Bits 00Ć15
(00Ć17)
Bits 00Ć15
(00Ć17)
Bits 00Ć14
(00Ć16)
Bit 15 (17)
Low alarm value for channel 3.
High alarm value for channel 3.
Rate alarm. If the channel's input changes at a rate faster than this value and
the alarm enable bit is set, the channel will indicate a rate alarm condition.
Legal values are from 0.05 to 50% of full scale per second.
Alarm enable bit. If set to 1, the module will report high alarm, low alarm,
underrange, overrange, and rate alarm conditions. If 0, these warnings
are suppressed.
Alarm deadband. This field creates a hysteresis effect on the low and high
alarms. For an alarm condition to be removed, the input signal must go above
the low alarm limit or below the high alarm limit by an amount equal to the
specified deadband. Alarm deadband values must be less than or equal to
one half the difference of the high and low alarm values.
Publication 1771ĆUM127B-EN-P - December 2002
4–20Configuring the Module
Word 23
Word
Decimal Bit
(Octal Bit)
Bits 8Ć15
(10Ć17)
Bits 00Ć07
Bits 08Ć10
(10Ć12)
Bit 11 (13)Constant = 0
Bits 12Ć15
(14Ć17)
Filter time constant. Specifies the time constant of a digital, first order lag filter
on the input in 0.1 second units. Legal values are 0.1 to 10.0 seconds
(binary) or 0.1 to 9.9 (BCD). A value of 0 disables the filter.
10 ohm offset. Compensates for a resistance offset on a 10 ohm copper
RTD. Range of +
other RTDs.
RTD type. Specifies type of RTD linearization on RTD channels:
001 = 100 ohm Pt, European standard;
010 = 100 ohm Pt. US standard;
011 = 10 ohm copper;
100 = 120 ohm nickel.
This field is 0 for nonĆRTD channels.
Thermocouple type. Specifies type of TC linearization on TC channels.
This field must be 0 for nonĆthermocouple channels.
Definition
0.99 ohms, in units of 0.01 ohms. This field must be 0 for all
Chapter Summary
The above group of words would be repeated for each of the
remaining five input channels. The bit/word descriptions would be
identical for each of those channels.
Refer to the Appendix specific to your module for block transfer
write configurations to be used with your module.
In this chapter you learned how to configure your module’s
hardware, condition your inputs and enter your data.
Publication 1771ĆUM127B-EN-P - December 2002
Chapter 5
Module Status and Input Data
Chapter Objectives
Reading Data from the
Module
In this chapter you will read about:
• reading data from your module
• block transfer read data format
Block transfer read (BTR) programming moves status and data from
the module to the processor’s data table in one I/O scan. The
processor user program initiates the request to transfer data from the
module to the processor.
The transferred words contain module status, channel status and
input data from the module. The maximum BTR data file length
required is 28 words.
Block transfer reads are defined for each type of module platform,
rather than type of outputs/inputs. The types of modules are:
Possible CombinationsAppendix
8 out/0 inC
7 out/1 inK
6out/2inI
5out/3inJ
4 out/4 inH
3 out/5 inG
2 out/6 inE
1out/7inF
0 out/8 inB
2 out/2 inD
For example, the BTR from the 1771-NB4T (two 0-25mA out/two
thermocouple in) is identical to the BTR for the 1771-NB4S (two
0-25mA out/two 4-20mA in), since both are 2 input/2 output
modules.
When you perform a BTR for a specific module, the bits for fields
that do not pertain to your specific module are set to zero.
Complete block transfer read data formats and bit/word descriptions
for your particular module are shown in the Appendices.
Publication 1771ĆUM127B-EN-P - December 2002
5–2Module Status and Input Data
Block Transfer Read
Data Format
The block transfer read data format consists of an initial block
header which identifies the type of module (input, output, or
output/input), and groups of words that contain information on either
an input channel or an output channel.
Output channel words are configured immediately after the block
header. If the module contains both output and input channels, the
output channel words come first in the block transfer read data
format.
Outputs Only" Block Transfer Read Data Header
This header is used for modules with outputs only (such as cat. no.
1771-NOC and 1771-NOV).
Word/Dec. Bit
Word/Octal Bit
0Constant = 8800 Hexadecimal
1
2Constant = 8000 Hexadecimal
3Unused = 0
15141312111009080706050403020100
17161514131211100706050403020100
Power
up
Bad
Chan.
Data
Mod
Alarm
RTS
Time
out
I/O
Reset
Program
Verify
Mod
Fault
Bad
Prog
Bad
Struct
Unused = 0
The bit/word descriptions for the “outputs only” header block are
shown below.
Word
Word 0Bits 00Ć15
Word 1
Decimal Bit
(Octal Bit)
(00Ć17)
Bit 00-05
Bit 06
Bit 07
Bit 08 (10)
Bits 09Ć10
(11Ć12)
Bit 11 (13)
Definition
Always 8800 Hexadecimal
Not used. Always 0
Bad structure. This bit is set if there is an error in the BTW
header.
Bad program. This bit is set if any of the module level
programming data is illegal.
Module fault. This bit is set if any of the programming data sent
to the module in the most recent BTW was illegal, or if one or
more channels has the bad calibration bit set.
Program verify. Indicates the result of verify request.
I/O reset. This bit is set whenever the I/O reset line on the
backplane is asserted.
Publication 1771ĆUM127B-EN-P - December 2002
Bit 12 (14)
RTS timeout. This bit is set if a BTR was not requested of the
module within the RTS sample time.
5–3Module Status and Input Data
Word/Dec. Bit
Word
Word 1 continued
Word 2Always 8000 hexadecimal.
Word 3Not used. Always 0
Decimal Bit
(Octal Bit)
Bit 13 (15)
Bit 14 (16)
Bit 15 (17)
Module alarm. This bit is set if there is an alarm bit set for one
or more channels. The input alarm bits are low, high alarm and
rate alarm. The output channel alarm bits are low and high
clamp, and the rate limit alarm.
Bad channel data. This bit is set if the module is in BCD mode
and one or more of the input data values sent in the last BTW
are not legal BCD values.
Powerup bit. This bit is set until a BTW with programming data
is received by the module.
Definition
Inputs Only" and Output/Input" Block Transfer Read
Data Header
This following three-word header is used if the module only has
input channels, or if it contains both input and output channels.
15141312111009080706050403020100
Word/Octal Bit
0Constant = 8800 Hexadecimal
1
21Unused = 0
3Cold Junction Temperature; Units of 0.01 degrees C or 0.1 degrees F
17161514131211100706050403020100
Power
up
Bad
Chan.
Data
Mod
Alarm
RTS
Time
out
I/O
Reset
Program
Verify
Mod
Fault
Bad
Prog
Bad
Struct
Unused = 0
The bit/word descriptions for the “inputs only” and “output/input”
header block are shown below.
Word
Word 0
Word 1
Decimal Bit
(Octal Bit)
Bits 00Ć15
(00Ć17)
Bits 00Ć05Not used
Bit 06
Bit 07
Always = 8800 hexadecimal
Bad structure. This bit is set if there is an error in the BTW
header.
Bad program. This bit is set if any of the module level
programming data is illegal.
Definition
CJC
Over
Range
CJC
Under
Range
Publication 1771ĆUM127B-EN-P - December 2002
5–4Module Status and Input Data
Word
Word 1 continued
Decimal Bit
(Octal Bit)
Bit 08 (10)
Bits 09Ć10
(11Ć12)
Bit 11 (13)
Bit 12 (14)
Bit 13 (15)
Bit 14 (16)
Bit 15 (17)
Bit 00
Definition
Module fault. This bit is set if any of the programming data sent
to the module in the most recent BTW was illegal, or if one or
more channels has the bad calibration bit set.
Program verify. Indicates the result of verify request. 00 = verify
not requested; 10 = verify failed; 11 = verify succeeded
I/O reset. This bit is set whenever the I/O reset line on the
backplane is asserted.
RTS timeout. This bit is set if a BTR was not requested of the
module within the RTS sample time.
Module alarm. This bit is set if there is an alarm bit set for one
or more channels. The input alarm bits are low, high alarm and
rate alarm. The output channel alarm bits are low and high
clamp, and the rate limit alarm.
Bad channel data. This bit is set if the module is in BCD mode
and one or more of the input data values sent in the last BTW
are not a legal BCD value.
Powerup bit. This bit is set until a BTW with programming data
is received by the module.
Cold junction compensation (CJC) underrange bit. This bit is
set if the CJC temperature is below 0
o
C.
Word/Dec. Bit
Word/Octal Bit
Cold junction compensation (CJC) overrange bit. This bit is set
if the CJC temperature is above 70
Not used. Always 0
Cold junction temperature. Units of 0.01 degrees C or 0.1
degrees F. (0.1 degrees C or 1.0 degrees F in BCD.)
o
C.
Word 2
Word 3
Bit 01
Bits 02Ć14
(02Ć16)
Bit 15 (17)Always = 1
Bits 00Ć15
(00Ć17)
Input Status Data
Each input channel has two words associated with it. One word
provides underrange, overrange, low and high alarms, rate alarm,
bad program and bad calibration information to the processor. The
second word contains channel input data. These words would
immediately follow the header on modules containing only inputs, or
after the output channel words on modules containing both outputs
and inputs.
15141312111009080706050403020100
17161514131211100706050403020100
Channel 1 Status
41Unused = 0Bad
5Channel 1 Input Data
Publication 1771ĆUM127B-EN-P - December 2002
Calib
Bad
Prog
0Rate
Alarm
High
Alarm
Low
Unused = 0Over
Alarm
Range
Under
Range
5–5Module Status and Input Data
The above two words would be repeated for each input channel. For
example, if this module had two input channels, the following words
would be used.
Word/Dec. Bit
Word/Octal Bit
41Unused = 0Bad
5Channel 1 Input Data
61Unused = 0Bad
7Channel 2 Input Data
15141312111009080706050403020100
17161514131211100706050403020100
Channel 1 Status
Bad
Calib
Prog
Channel 2 Status
Bad
Calib
Prog
Bit/word descriptions for the input status data words are shown
below.
Bit/Word Description for Input Status Data Words
Word
Decimal Bit
(Octal Bit)
Bit 00
Bit 01
0Rate
Alarm
0Rate
Alarm
Underrange bit. This bit is set if the input signal is below the
input channels minimum range.
Overrange bit. This bit is set if the input signal is above the
input channels maximum range.
High
Alarm
High
Alarm
Low
Alarm
Low
Alarm
Definition
Unused = 0 Over
Range
Unused = 0 Over
Range
Under
Range
Under
Range
Word 4
Word 5
Bits 02-03Not used. Always 0
Bit 04
Bit 05
Bit 06
Bit 07Not used. Always 0
Bit 08 (10)
Bit 09 (11)
Bits 10Ć14
(12Ć16)
Bit 15 (17)Not used. Always = 1
Bits 00Ć15
(00Ć17)
Low alarm. This bit is set if alarms are enabled and the input
data is lower than the low alarm setpoint.
High alarm. This bit is set if alarms are enabled and the input
data is higher than the high alarm setpoint.
Rate alarm. This bit is set if the input signal changed at a rate
faster than the input rate alarm setpoint.
Bad program. This bit is set if any of the channel level
programming data is illegal.
Bad calibration. This bit is set if the channel has not had a valid
calibration.
Not used. Always 0
Channel 1 input data.
Publication 1771ĆUM127B-EN-P - December 2002
5–6Module Status and Input Data
Output Status Data
Each output channel also has two words associated with it. The first
word contains low and high clamp, rate alarm, bad data, bad program
and bad calibration information for the processor. This is followed
by raw count data for that channel. If the module contains both input
and output channels, the output channel words would immediately
follow the header words.
Word/Dec. Bit
Word/Octal Bit
4Unused = 0Bad
5Channel 1 Raw Count sent to DAC
15141312111009080706050403020100
17161514131211100706050403020100
Channel 1 Status
Bad
Bad
Calib
Prog
Data
The above two words would be repeated for each output channel. For
example, if this module had two output channels, the following
words would be used.
Word/Dec. Bit
Word/Octal Bit
4Unused = 0Bad
5Channel 1 Raw Count sent to DAC
6Unused = 0Bad
7Channel 2 Raw Count sent to DAC
15141312111009080706050403020100
17161514131211100706050403020100
Channel 1 Status
Bad
Bad
Calib
Prog
Data
Channel 2 Status
Bad
Bad
Calib
Prog
Data
Rate
Alarm
Rate
Alarm
Rate
Alarm
High
Clamp
High
Clamp
High
Clamp
Low
Clamp
Low
Clamp
Low
Clamp
Unused = 0
Unused = 0
Unused = 0
Publication 1771ĆUM127B-EN-P - December 2002
Bit/Word Description for Output Status Data Words
5–7Module Status and Input Data
Word
Word 4
Word 5
Decimal Bit
(Octal Bit)
Bit 00-03Not used. Always 0
Bit 04
Bit 05
Bit 06
Bit 07
Bits 08 (10)
Bit 09 (11)
Bits 10Ć15
(12Ć17)
Bits 00Ć15
(00Ć17)
Low clamp. This bit is set if alarms are enabled and the output
data is lower than the low clamp value.
High clamp. This bit is set if alarms are enabled and the output
data is higher than the high clamp value.
Rate alarm. This bit is set if alarms are enabled and the output
data changed faster than the programmed ramp rate.
Bad data. This bit is set if BCD format was chosen and the
output data is not a legal BCD value.
Bad programming. This bit is set if the most recent BTW
contained improper programming data for this channel
Bad calibration. This bit is set if the channel has not had a
valid calibration.
Not used. Always = 0
Channel 1 Raw data sent to DAC.
Definition
Refer to the Appendix specific to your module for block transfer
read configurations.
Chapter Summary
In this chapter you learned the meaning of the status information that
the modules send to the processor.
Publication 1771ĆUM127B-EN-P - December 2002
5–8Module Status and Input Data
Publication 1771ĆUM127B-EN-P - December 2002
Module Calibration
Chapter 6
Chapter Objective
Tools and Equipment
Tool or EquipmentDescription
Precision Voltage Source0-10V, 1µV resolution
Precision Resistors
OR
Precision Decade
Resistor Box
In this chapter we tell you how to calibrate your module. Your
module is shipped from the factory already calibrated. This
chapter tells you how to recalibrate or change calibration.
In order to calibrate your analog module you will need the following
tools and equipment:
Accuracy: Minimum three decades;
Decade one - 10 ohm decade, 1 ohm per step, better than 0.005 ohms (0.5% accuracy)
Decade two - 100 ohm decade, 10 ohm per step, better than 0.005 ohms (0.05% accuracy)
Decade three - 1000 ohm decade, 100 ohm per step, better than 0.01% accuracy
Any vendor's model that meets or exceeds the above specifications can be used. The user is
responsible for assuring that the decade box maintains accuracy by periodic calibration as specified by
the vendor. As a service to its customers, AllenĆBradley offers this partial list of vendors who can supply
decade resistor boxes that meet or exceed the specifications.
o
o
C
Lower Precision Resistors:
If calibration to rated accuracy is not required, lower precision resistors
C
can be used. Add percentage of tolerance and temperature coefficient
error for expected accuracy. Refer to 6.A and 6.B below.
Precision Multimeter
Industrial Terminal and
Interconnect Cable
Electro Scientific Industries
Portland, OR
Series DB 42
50mA, 1µA resolution
10V, 1µV resolution
Programming terminal for A-B family processors
IET Labs
Westbury, NY
HARS-X Series
If calibration to rated accuracy is not required, lower precision
resistors can be used. Add the percentage of tolerance and the
temperature coefficient error for expected accuracy.
Resistor Accuracy
Resistors change value over time. Both load life and temperature
reduce the accuracy. The best way to determine the resistance of a
resistor is to measure its value to the accuracy needed under the
conditions in which it is used.
Julie Research Labs
New York, NY
DR 100 Series
Publication 1771ĆUM127B-EN-P - December 2002
6–2Module Calibration
Table 6.A
Resistor Tolerance vs. Expected Error
Resistor ToleranceExpected Error
0.1%0.1%
0.5%0.5%
1.0%1.0%
Note: If the tolerance error of the 649 ohm resistor is > than
18 ohms (2.8%), calibration will fail.
+
Table 6.B
Temperature Coefficient Error
Calibrating Your Module
Temperature
Coefficient of
Resistor
25ppm/oC10
50ppm/oC10
200ppm/oC10
nT (Calibration
temperature
deviation from 25
5oC0.081 ohms (0.012%)
20oC0.325 ohms (0.05%)
5oC0.162 ohms (0.025%)
20oC0.649 ohms (0.1%)
5oC0.649 ohms (0.1%)
20oC2.596 ohms (0.4%)
o
C)
o
C0.162 ohms (0.025%)
o
C0.325 ohms (0.05%)
o
C1.298 ohms (0.2%)
Expected Error
Example: Using a 649 ohm resistor, rated for 1% accuracy, with a
o
temperature coefficient of 50ppm/
of 1.05% (1.0% plus 0.05%) when calibration is done at 35
o
C).
of 10
C, provides an expected accuracy
o
C (nT
The analog module is shipped already calibrated. If it becomes
necessary to recalibrate the module, you must calibrate the module in
an I/O chassis. The module must communicate with the processor
and an industrial terminal.
Publication 1771ĆUM127B-EN-P - December 2002
Calibration service is available from Allen–Bradley. Contact your
local sales office or field support center for information on how to
send your module in for calibration. Modules under warranty will be
calibrated at no charge. Modules out of warranty, sent in for
calibration only, will be calibrated for less than the standard repair
charge.
Before calibrating the module, you must enter ladder logic into the
processor memory, so that you can send block transfer data to the
module, and the processor can read block transfer data from the
module.
Calibration can be accomplished using any of three methods:
6–3Module Calibration
T
• manual calibration – refer to the procedure below.
• 6200 I/O CONFIG software – refer to your 6200 software
publications (release 4.2 or later) for procedures for calibrating.
• PCO operator interface software – refer to your 6190-PCO
software publications for procedures for calibrating.
Indicator Operation During Calibration
During calibration, the RUN/FLT indicator will turn to green. The
CAL/COM indicator will turn to flashing red. The indicators will
remain with these indications throughout the calibration procedure.
Manual Calibration
Word/Dec. Bit
Word/Octal Bit
15141312111009080706050403020100
17161514131211100706050403020100
You can calibrate any number of channels, in any order. The
following procedures define how to calibrate input and output
channels.
In order to allow the module to stabilize,
IMPORTAN
energize the module for at least 30 minutes
before calibrating.
Set up a block transfer write data file as shown in table 6.C.
Input Channel Calibration
1. Set the appropriate bit in the BTW input calibration mask (word
2); channel 1 is bit 00, channel 2 is bit 01, etc. If calibrating only
one channel, set the appropriate bit. If calibrating all channels (all
inputs), set bits (00 through 07). Refer to Table 6.C.
Table 6.C
Calibration Block Transfer Write
0Calibration BTW Header = CC00 Hexadecimal
Cal
1Unused = 0
2Unused = 0Input Cal Mask
3Unused = 0Output Cal Mask
41st Low Output Cal Value
51st High Output Cal Value
62nd Low Output Cal Value
72nd High Output Cal Value
83rd Low Output Cal Value
Publication 1771ĆUM127B-EN-P - December 2002
Clk
High/
Low
6–4Module Calibration
Word/Dec. Bit
Word/Octal Bit
93rd High Output Cal Value
104th Low Output Cal Value
114th High Output Cal Value
125th Low Output Cal Value
135th High Output Cal Value
146th Low Output Cal Value
156th High Output Cal Value
167th Low Output Cal Value
177th High Output Cal Value
188th Low Output Cal Value
198th High Output Cal Value
2. Apply the appropriate low reference signal (Table 6.D) to all
input channels being calibrated (for channel 1, I1 on RTP).
Table 6.D
Calibration Reference Signal Values
00010203040506070809101112131415
00010203040506071011121314151617
TypeLow Reference Value High Reference Value
5 Volt input0.0000V5.0000V
10V input0.0000V10.0000V
4-20mA sourcing input1.000mA21.000mA
-5 to 55mV/TC input0.000mV55.000mV
100mV/TC input0.000mV100.000mV
650 Ohm RTD input1.000 Ohms649.0 Ohms
10V output0.000V10.000V
25mA output0.500mA22.000mA
50mA output1.000mA50.000mA
Publication 1771ĆUM127B-EN-P - December 2002
Figure 6.1
Connecting a Resistor or Decade Resistance Box to the Remote
Termination Panel
Connect the resistor across terminals
R1-I1 and O1.
640 ohm resistor for
high reference value.
1 ohm resistor for low
reference value.
If using a decade resistance box,
connect in place of the resistor
6–5Module Calibration
Decade resisĆ
tance box
12935-I
3. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 1, and HI/LO bit (00) = 0.
4. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 0, and HI/LO bit (00) = 0.
Publication 1771ĆUM127B-EN-P - December 2002
6–6Module Calibration
Table 6.E
Calibration Block Transfer Read
Word/Dec. Bit
Word/Octal Bit
0Calibration BTR Header = C000H
1Unused = 0Range EEPROM
2Input Cal Done bits
3Output Cal Done bits
4Input Bad Cal bits
5Output Bad Cal bits
6Corrected Channel 1 Data
7Corrected Channel 2 Data
8Corrected Channel 3 Data
9Corrected Channel 4 Data
10Corrected Channel 5 Data
11Corrected Channel 6 Data
12Corrected Channel 7 Data
13Corrected Channel 8 Data
15141312111009080706050403020100
17161514131211100706050403020100
5. Apply the appropriate high reference signal (Table 6.D) to all
input channels being calibrated (for channel 1, I1 on RTP).
6. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 1, and HI/LO bit (00) = 1.
7. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 0, and HI/LO bit (00) = 1.
8. Request a block transfer read (BTR) from the module. If the
INPUT BAD CAL bit (block transfer read word 4, bit 00, for
channel 1 for example) is reset, and the INPUT CAL DONE bit
(BTR word 2, bit 00 for channel 1 for example) is set, the
procedure is complete.
If the bad BTW bit (word 1, bit 00) is set any time during the
calibration procedure, an error occurred during the calibration
procedure. Repeat the calibration.
Bad
BTW
Publication 1771ĆUM127B-EN-P - December 2002
If the EEPROM bit (word 1, bit 01) is set, the module has a
hardware fault. The module cannot be calibrated.
If the RANGE bit (word 1, bit 02) is set, the channel(s) did not
calibrate because one of the reference signals was out of range.
Repeat the procedure. If the RANGE bit is set a second time,
either the channel is bad, or there is a problem with the
calibration equipment.
6–7Module Calibration
Output Channel Calibration
1. Set the appropriate bit in the BTW output calibration mask (word
3); channel 1 is bit 0, channel 2 is bit 01, etc. If calibrating only
one channel, set the appropriate bit. If calibrating the entire
module (all outputs), set all bits (00 through 07).
2. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 1, and HI/LO bit (00) = 0 and all output cal
values = 0.
3. Send a block transfer write to the module with CAL CLK bit (01) = 0, and HI/LO bit (00) = 0 and all
output cal values = 0.
4. Measure the signal on the channel you are calibrating. Use the
appropriate equation below to calculate the output cal low value
for this channel. Record this value for later use. Do not enter it
into the BTW file at this time.
10V Output
Y = (X x 6000) - 30000
Where:X = meter reading in volts
Y = output cal low/high value
25mA Output
Y =x 60000- 30000
Where:X = meter reading in mA
Y =x 60000- 30000
Where:X = meter reading in mA
5. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 1, and HI/LO bit (00) = 1 and all output cal
values = 0.
6. Send a block transfer write to the module with CAL CLK bit (01)= 0, and HI/LO bit (00) = 0 and all output cal values = 0.
7. Measure the signal on the channel you are calibrating. Use the
appropriate equation above (step 4) to convert the value to the
output cal high value for this channel. Record this value for
later use. Do not enter it into the BTW file at this time.
(X - 0.500)
[
[
21.500
Y = output cal low/high value
50mA Output
(X - 1.000)
49.000
Y = output cal low/high value
]
]
Publication 1771ĆUM127B-EN-P - December 2002
6–8Module Calibration
8. Enter the first set of calculated low and high values into the first
channel output cal values of the block transfer write calibration
data file. If you are calibrating more than one output channel
simultaneously, enter the output cal values from the lowest
numbered output channel in the first output cal value slots. The
next lowest channel in the output mask goes in the second slot of
output cal values, and so on.
9. Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 1, and HI/LO bit (00) = 1.
10.Send a block transfer write to the module with word 1 containing
CAL CLK bit (01) = 0, and HI/LO bit (00) = 1.
11. Request a block transfer read (BTR) from the module.
If the OUTPUT BAD CAL bit (word 5, bit 00, for channel 1 for
example) is reset, and the OUTPUT CAL DONE bit (word 3, bit
00 for channel 1 for example) is set, the procedure is complete.
If the bad BTW bit is set any time during the calibration
procedure, an error in the calibration procedure. Repeat the
calibration.
Chapter Summary
If the EEPROM bit is set, the module has a hardware fault. The
module cannot be calibrated.
If the RANGE bit (word 1, bit 02) is set, the channel(s) did not
calibrate because one of the reference signals was out of range.
Repeat the procedure. If the RANGE bit is set a second time,
either the channel is bad, or there is a problem with the
calibration equipment.
In this chapter, you learned how to calibrate your module’s channels.
Publication 1771ĆUM127B-EN-P - December 2002
Troubleshooting
Chapter 7
Chapter Objective
Diagnostics Reported by
the Module
We describe how to troubleshoot your module by observing
indicators and by monitoring status bits reported to the processor.
At power-up, the module turns the RUN/FLT indicator to red, then
checks for:
• correct RAM operation
• EPROM operation
• EEPROM operation
After passing initial diagnostics, the module turns the RUN/FLT
indicator to flashing green. The indicator will continue to flash green
until it receives a valid BTW. After the BTW, it will stay solid green
during operation. It will turn red if it detects a fault condition. If the
RUN/FLT indicator is red, block transfers will be inhibited.
The lower CAL/COM indicator flashes green when the module is
communicating with the processor. The speed of the flashing is
dependent upon system speed. If the module is accessed in less than
100ms intervals, the CAL/COM indicator will be solid red.
The module also reports status and specific faults (if they occur) in
every transfer of data to the processor. Monitor the green/red
indicators and status bits in the appropriate word of the BTR file
when troubleshooting your module.
RUN/FLT
CAL/COM
11027-I
Figure 7.1
Indicators
IndicatorWhen GreenWhen Red
flashes - during initial powerĆup
RUN/FAULT
CAL/COM
solid - first valid block transfer write
successfully completed
flashes - when communication is taking
place between the PLC processor and
the NĆseries module.
Publication 1771ĆUM127B-EN-P - December 2002
solid - a fault is found
flashes - during
calibration
7–2Troubleshooting
Both indicators are OFF
RUN/FLT indicator ON red
Troubleshooting with
the Indicators
IndicationProbable CauseRecommended Action
RUN/FLT indicator is
flashing green
RUN/FLT indicator is solid greenInitial block transfer write successfully completed
Table 7.A shows indications, probable causes and recommended
actions to correct common faults which may occur.
Table 7.A
Troubleshooting Chart
No power to module
Possible short on the module
LED driver failure
Microprocessor, oscillator or EPROM failure
If immediately after power-up, indicates RAM or
EPROM failure.
If during operation, indicates possible
microprocessor or backplane interface failure.
Internal fuse bad
Power-up diagnostics successfully completed.
Check power to I/O chassis.
Recycle as necessary.
Replace module.
Normal operation.
CAL/COM indicator is green
(solid or flashing)
CAL/COM indicator is green and
RUN/FLT indicator is green but
module data is wrong (for
example, with cable off, input
channel data values are at
minimum scale values)
Status Reported by
the Module
Normal operationNone required
Internal module problemReplace module
Design your program to monitor module and channel status bits, and
to take appropriate action depending on your application
requirements. You may also want to monitor these bits while
troubleshooting with your industrial terminal. The module sets a bit
(1) to indicate it has detected one or more of the following module
conditions as shown in Table 7.B.
The module sets a bit (1) to indicate it has detected one or more of
the following input channel conditions (Table 7.D), or output channel
conditions (Table 7.C).
Publication 1771ĆUM127B-EN-P - December 2002
Table 7.B
Module Status Reported in BTR Word 1
7–3Troubleshooting
Decimal Bit
(Octal Bit)
Word 1Bit 00Ć05Not used
Bit 06Bad structure. This bit is set if there is an error in the BTW header.
Bit 07Bad program. This bit is set if any of the module level programming
data is illegal.
Bit 08 (10)Module fault. This bit is set if any of the programming data sent to the
module in the most recent BTW was illegal, or if one or more channels
has the bad calibration bit set.
Bits 09Ć10
(11Ć12)
Program verify. Indicates the result of verify request. 00 = verify not
requested; 10 = verify failed; 11 = verify succeeded
Bit 11 (13)I/O reset. This bit is set whenever the I/O reset line on the backplane
is asserted.
Bit 12 (14)RTS timeout. This bit is set if no BTR was requested of the module
within the RTS sample time.
Bit 13 (15)Module alarm. This bit is set if there is an alarm bit set for one or more
channels. The input alarm bits are low, high alarm and rate alarm. The
output channel alarm bits are low and high clamp, and the rate limit
alarm.
Bit 14 (16)Bad channel data. This bit is set if the module is in BCD mode and
one or more of the input data values sent in the last BTW are not a
legal BCD value.
Explanation
Bit 15 (17)Powerup bit. This bit is set until a BTW with programming data is
received by the module.
Word 2Bit 00CJC Underrange bit. This bit is set if the CJC temperature is below the
input channel minimum range.
Bit 01CJC Overrange bit. This bit is set if the CJC temperature is above the
input channel maximum range.
Publication 1771ĆUM127B-EN-P - December 2002
7–4Troubleshooting
Table 7.C
Output Channel Status Word (1 per output channel)
Decimal Bit
(Octal Bit)
Bit 04Low clamp. This bit is set if alarms are enabled and the output data is
lower than the low clamp value.
Bit 05High clamp. This bit is set if alarms are enabled and the output data is
higher than the high clamp value.
Bit 06Rate alarm. This bit is set if alarms are enabled and the output data
changed faster than the programmed ramp rate.
Bit 07Bad data. This bit is set if BCD data format was chosen and the output
data was not a legal BCD value.
Bit 08 (10)Bad program. This bit is set if any of the channel level programming
data is illegal.
Bit 09 (11)Bad calibration. This bit is set if the channel has not had a valid
calibration.
Table 7.D
Input Channel Status Word (1 per input channel)
Decimal Bit
(Octal Bit)
Bit 00Underrange bit. This bit is set if the input signal is below the input
channels minimum range.
Definition
Definition
Chapter Summary
Bit 01Overrange bit. This bit is set if the input signal is above the input
channels maximum range.
Bit 04Low alarm. This bit is set if alarms are enabled and the input signal is
lower than the low alarm setpoint.
Bit 05High alarm. This bit is set if alarms are enabled and the input signal is
higher than the high alarm setpoint.
Bit 06Rate alarm. This bit is set if alarms are enabled and the input signal
changed at a rate faster than the input rate alarm setpoint.
Bit 08 (10)Bad program. This bit is set if any of the module level programming
data is illegal.
Bit 09 (11)Bad calibration. This bit is set if the channel has not had a valid
calibration.
In this chapter, you learned how to interpret the status indicators,
status words and troubleshoot your analog module.
Publication 1771ĆUM127B-EN-P - December 2002
Specifications
General Specifications
Appendix A
Number of Channels
(depends on specific module)
I/O Chassis Locationany single I/O module slot
A/D Resolution16 bits or 15 bits plus sign bit
D/A Resolution14 bits or 13 bits plus sign bit
Input Filtering6 pole, low pass hardware filter
Calibration Interval1 year
Isolation Voltage
Maximum Backplane Current and
Power Dissipation @ 5V
8 individually isolated, or
4 individually isolated
Designed to withstand 1000V dc continuous between input and
output channels and between input and backplane connections.
Modules are 100% tested at 1200V dc for 1 second between input
channels and backplane connections.
10V/m with 1kHz sine-wave 80% AM from 30MHz to 1000MHz
10V/m with 200Hz 50% Pulse 100% AM at 900MHz
EFT/B ImmunityIEC 61000-4-4
1kV @ 5kHz on signal ports
+
Surge Transient ImmunityIEC 61000-4-5
2kV line-earth (CM) on shielded ports
+
Conducted RF ImmunityIEC 61000-4-6
10V rms with 1kHz sine wave 80% AM from 150kHz to 30MHz
EmissionsCISPR 11
Group 1, Class A (with appropriate enclosure)
Enclosure TypeNone (open style
Connecting Cable(s)
1771ĆNC6 = 1.8m (6ft)
1771ĆNC15 = 4.6m (15ft)
Field Wiring Arm Wiring
Size
Insulation
Category
14-22AWG (2.5-0.25mm2) solid or stranded copper wire rated at
o
60
C or greater
3/64 inch (1.2mm) maximum
1
2
Keying
Certifications
(when product is marked)
Between 26 and 28
Between 32 and 34
ULUL Listed Industrial Control Equipment
CSACSA Certified Process Control Equipment
2
European Union 89/336/EEC EMC Directive,
CE
compliant with:
EN 61000-6-4, Industrial Emissions
EN 50082-2, Industrial Immunity
EN 61000-6-2, Industrial Immunity
EN 61326, Meas./Control/Lab., Industrial Requirements
2
Australian Radiocommunications Act,compliant
C-Tick
with AS/NZS 2064, Industrial Emissions
1 Use this conductor category information for planning conductor routing . Refer to publication 1770Ć4.1, Industrial Automation Wiring and
Grounding Guidelines."
2 See the Product Certification link at www.ab.com for Declarations of Conformity, Certificates, and other certification details.
Publication 1771ĆUM127B-EN-P - December 2002
(selectable)
SpecificationsA–3
Temperature Specifications
±100mV Thermocouple Input-5 to +55mV Thermocouple Input1Ć650Ω RTD Input
Figure A.2
Derating Curves for 50mA Outputs on the 1771ĆN Series Modules
Output Current vs. Ambient Temperature
as a function of Load Resistance
50
40
Output
Current
(mA)
30
20
10
0
0102030405060
o
Ambient Temperature (
C)
Important: If you require 60oC operation with 50mA outputs, install a
resistance in series with the load impedance so that the total load
impedance is equal to 300 ohms.
Publication 1771ĆUM127B-EN-P - December 2002
SpecificationsA–8
Publication 1771ĆUM127B-EN-P - December 2002
Appendix B
0
Block Transfer Write and Block
Transfer Read Configurations
for 0 Output/8 Input 1771ĆN
Series Modules
What This Appendix
Contains
This appendix contains block transfer write and block transfer read
configurations and bit/word descriptions for 1771-N series modules
with no outputs and eight inputs.
Block Transfer Write Configuration Block for 8 Input Modules
Word/Dec. Bit
Word/Octal Bit
1
2RTS Sample Time: 1 millisecond units
3Low Scale Value
4High Scale Value
5Low Alarm Value
6High Alarm Value
7
8Filter Time Constant: 0.1 second unitsAlarm Deadband
9Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
15141312111009080706050403020100
17161514131211100706050403020100
BTW word typeConstantNumber of outputsConstant
1000100000000000
CJ alarm
enable
Alarm
enable
Unused = 0
Channel 1 Programming
Rate Alarm: Scaled Units per second
BCD
select
Temp
scale
Verify
Channel 2 Programming
10Low Scale Value
11High Scale Value
12Low Alarm Value
13High Alarm Value
14
15Filter Time Constant: 0.1 second unitsAlarm Deadband
16Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
17Low Scale Value
18High Scale Value
Alarm
enable
Rate Alarm: Scaled Units per second
Channel 3 Programming
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–2
Word/Dec. Bit
Word/Octal Bit
19Low Alarm Value
20High Alarm Value
21
Alarm
enable
Rate Alarm: Scaled Units per second
22Filter Time Constant: 0.1 second unitsAlarm Deadband
23Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
Channel 4 Programming
24Low Scale Value
25High Scale Value
26Low Alarm Value
27High Alarm Value
28
Alarm
enable
Rate Alarm: Scaled Units per second
29Filter Time Constant: 0.1 second unitsAlarm Deadband
30Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
Channel 5 Programming
31Low Scale Value
32High Scale Value
33Low Alarm Value
34High Alarm Value
35
Alarm
enable
Rate Alarm: Scaled Units per second
36Filter Time Constant: 0.1 second unitsAlarm Deadband
37Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
00010203040506070809101112131415
00010203040506071011121314151617
Channel 6 Programming
38Low Scale Value
39High Scale Value
40Low Alarm Value
41High Alarm Value
42
Alarm
enable
Rate Alarm: Scaled Units per second
43Filter Time Constant: 0.1 second unitsAlarm Deadband
44Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–3
Word/Dec. Bit
Word/Octal Bit
Channel 7 Programming
45Low Scale Value
46High Scale Value
47Low Alarm Value
48High Alarm Value
49
50Filter Time Constant: 0.1 second unitsAlarm Deadband
51Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
52Low Scale Value
53High Scale Value
54Low Alarm Value
55High Alarm Value
56
57Filter Time Constant: 0.1 second unitsAlarm Deadband
58Thermocouple Type0RTD Type10 Ohm Offset; 0.01 Ohm units
Alarm
enable
Alarm
enable
Rate Alarm: Scaled Units per second
Channel 8 Programming
Rate Alarm: Scaled Units per second
00010203040506070809101112131415
00010203040506071011121314151617
Block Transfer Write Bit/Word Descriptions for 8 Input Modules
Word
Word 0
Word 1
Decimal Bit
(Octal Bit)
00-03Constant = 0
Bits 04-07Number of outputs = 0000
Bits 08-13
(10-15)
Bits 14-15
(16-17)
Bit 00
Bit 01Temperature scale. 0 = Celsius, 1 = Fahrenheit
Bit 02
Constant = 00 1000 binary
Block transfer write type = 10 binary
Verify. If this bit is set to 1, the module will compare its current
programming with the programming downloaded in the BTW. If
they are the same, it will verify good; if they are different, the
module will verify bad. In no case will any programming data in
the BTW be applied to the module.
BCD select.1 = all values in BCD format.
Definition
0 = all values in 2's complement binary
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–4
Word
Word 1 continued
Word 2
Word 3
Word 4
Word 5
Word 6
Word 7
Decimal Bit
(Octal Bit)
Bits 03-14
(03-16)
Bit 15 (17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-14
(00-16)
Definition
Not used. Always 0
CJ alarm enable. A value of 1 enables over and underrange
indication for the cold junction channel. If the module does not
have a cold junction channel, this bit is 0.
Real time sample. Sample time in milliseconds.0=off.
RTS minimum is 100msec (counts = 100). Maximum 10
seconds in binary; 9.999 seconds in BCD.
Low scale value for channel 1. Scale values are limited to
32767 in binary format; +7999 in BCD format.
+
High scale value for channel 1. Scale values are limited to
32767 in binary format; +7999 in BCD format.
+
Low alarm value for channel 1. Alarm values are limited to
32767 in binary format; +7999 in BCD format.
+
High alarm value for channel 1. Alarm values are limited to
32767 in binary format; +7999 in BCD format.
+
Rate alarm. If the channel's input changes at a rate faster than
this value and the alarm enable bit is set, the channel will
indicate a rate alarm condition. Legal values are from 0.05 to
50% of full scale per second.
Bit 15 (17)
Word 8Bits 00-07
Bits 08-15
(10-17)
Bits 00-07
Word 9
Bits 08-10
(10-12)
Bit 11 (13)Constant = 0
Alarm enable bit. If set to 1, the module will report high alarm,
low alarm, underrange, overrange, and rate alarm conditions. If
0, these warnings are suppressed.
Alarm deadband. This field creates a hysteresis effect on the
low and high alarms. For an alarm condition to be removed,
the input signal must go above the low alarm limit or below the
high alarm limit by an amount equal to the specified deadband.
Alarm deadband values must be less than or equal to one half
the difference of the high and low alarm values.
Filter time constant. Specifies the time constant of a digital, first
order lag filter on the input in 0.1 second units. Legal values
are 0.1 to 9.9 seconds. A value of 0 disables the filter.
10 ohm offset. Compensates for a resistance offset on a 10
ohm copper RTD. Range of +
0.99 ohms, in units of 0.01 ohms.
This field must be 0 for all other RTDs.
RTD type. Specifies type of RTD linearization on RTD
channels: 001 = 100 ohm Pt, European standard;
010 = 100 ohm Pt. US standard;
011 = 10 ohm copper;
100 = 120 ohm nickel.
This field is 0 for non-RTD channels.
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–5
Word
Word 9 continued
Words 10 thru 16Same as words 3 thru 9 but for channel 2.
Words 17 thru 23Same as words 3 thru 9 but for channel 3.
Words 24 thru 30Same as words 3 thru 9 but for channel 4.
Words 31 thru 37Same as words 3 thru 9 but for channel 5.
Words 38 thru 44Same as words 3 thru 9 but for channel 6.
Words 45 thru 51Same as words 3 thru 9 but for channel 7.
Words 52 thru 58Same as words 3 thru 9 but for channel 8.
Decimal Bit
(Octal Bit)
Bits 12-15
(14-17)
Thermocouple type. Specifies type of TC linearization on TC
channels. 0000 = millivolts;
This field must be 0 for non-thermocouple channels.
Definition
Block Transfer Read Word Assignments for 8 Input Modules
Word/Dec. Bit
Word/Octal Bit
0Constant = 8800 Hexadecimal
1
21Unused = 0
3Cold Junction Temperature; Units of 0.01 degrees C or 0.1 degrees F
41Unused = 0
5Channel 1 Input Data
61Unused = 0
7Channel 2 Input Data
81Unused = 0
9Channel 3 Input Data
15141312111009080706050403020100
17161514131211100706050403020100
Power
up
Bad
Chan.
Data
Alarm
Mod
RTS
Time
out
I/O
Reset
Program
Verify
Channel 1 Status
Bad
Calib
Channel 2 Status
Bad
Calib
Channel 3 Status
Bad
Calib
Mod
Fault
Bad
Prog
Bad
Prog
Bad
Prog
Bad
Prog
0
0
0
Bad
Struct
Rate
Alarm
Rate
Alarm
Rate
Alarm
High
Alarm
High
Alarm
High
Alarm
Low
Alarm
Low
Alarm
Low
Alarm
Unused = 0
Unused = 0
Unused = 0
Unused = 0
CJC
Over
Range
Over
Range
Over
Range
Over
Range
CJC
Under
Range
Under
Range
Under
Range
Under
Range
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–6
Word/Dec. Bit
Word/Octal Bit
Channel 4 Status
Bad
101Unused = 0
Calib
Bad
Prog
11Channel 4 Input Data
Channel 5 Status
Bad
121Unused = 0
Calib
Bad
Prog
13Channel 5 Input Data
Channel 6 Status
Bad
141Unused = 0
Calib
Bad
Prog
15Channel 6 Input Data
Channel 7 Status
Bad
161Unused = 0
Calib
Bad
Prog
17Channel 7 Input Data
Channel 8 Status
Bad
181Unused = 0
Calib
Bad
Prog
19Channel 8 Input Data
20-27For factory use only
00010203040506070809101112131415
00010203040506071011121314151617
Rate
0
Alarm
Rate
0
Alarm
Rate
0
Alarm
Rate
0
Alarm
Rate
0
Alarm
High
Alarm
High
Alarm
High
Alarm
High
Alarm
High
Alarm
Low
Alarm
Low
Alarm
Low
Alarm
Low
Alarm
Low
Alarm
Unused = 0
Unused = 0
Unused = 0
Unused = 0
Unused = 0
Over
Range
Over
Range
Over
Range
Over
Range
Over
Range
Under
Range
Under
Range
Under
Range
Under
Range
Under
Range
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–7
Word 4
Block Transfer Read Bit/Word Descriptions for 8 Input Modules
Word
Word 0
Word 1
Decimal Bit
(Octal Bit)
Bits 00-15
(00-17)
Always = 8800 hexadecimal
Bits 00-05Not used
Bit 06
Bit 07
Bad structure. This bit is set if there is an error in the BTW
header.
Bad program. This bit is set if any of the module level
programming data is illegal.
Module fault. This bit is set if any of the programming data sent
Bit 08 (10)
to the module in the most recent BTW was illegal, or if one or
more channels has the bad calibration bit set.
Bits 09-10
(11-12)
Bit 11 (13)
Bit 12 (14)
Program verify. Indicates the result of verify request. 00 = verify
not requested; 10 = verify failed; 11 = verify succeeded
I/O reset. This bit is set whenever the I/O reset line on the
backplane is asserted.
RTS timeout. This bit is set if a BTR was not requested of the
module within the RTS sample time.
Module alarm. This bit is set if there is an alarm bit set for one
Bit 13 (15)
or more channels. The input alarm bits are low, high alarm and
rate alarm. The output channel alarm bits are low and high
clamp, and the rate limit alarm.
Definition
Word 2
Word 3
Bad channel data. This bit is set if the module is in BCD mode
Bit 14 (16)
and one or more of the input data values sent in the last BTW
are not a legal BCD value.
Bit 15 (17)
Bit 00
Bit 01
Bits 02-14
(02-16)
Powerup bit. This bit is set until a BTW with programming data
is received by the module.
Cold junction compensation (CJC) underrange bit. This bit is
set if the CJC temperature is below 0
Cold junction compensation (CJC) overrange bit. This bit is set
if the CJC temperature is above 70
Not used. Always 0
Bit 15 (17)Always = 1
Bits 00-15
(00-17)
Bit 00
Bit 01
Cold junction temperature. Units of 0.01 degrees C or 0.1
degrees F. (0.1 degrees C or 1.0 degrees F in BCD.)
Underrange bit. This bit is set if the input signal is below the
input channels minimum range.
Overrange bit. This bit is set if the input signal is above the
input channels maximum range.
Bits 02-03Not used. Always 0
o
C.
o
C.
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 0 Output/8 Input 1771-N Series ModulesB–8
Word
Word 4 continued
Decimal Bit
(Octal Bit)
Bit 04
Bit 05
Bit 06
Bit 07
Bit 08 (10)
Bit 09 (11)
Bits 10-14
(12-16)
Low alarm. This bit is set if alarms are enabled and the input
data is lower than the low alarm setpoint.
High alarm. This bit is set if alarms are enabled and the input
data is higher than the high alarm setpoint.
Rate alarm. This bit is set if the input signal changed at a rate
faster than the input rate alarm setpoint.
Not used. Always 0
Bad program. This bit is set if any of the channel level
programming data is illegal.
Bad calibration. This bit is set if the channel has not had a valid
calibration.
Not used. Always 0
Definition
Bit 15 (17)Not used. Always = 1
Word 5
Bits 00-15
(00-17)
Channel 1 input data.
Words 6 and 7Same as words 4 and 5 but for Channel 2
Words 8 and 9Same as words 4 and 5 but for Channel 3
Words 10 and 11Same as words 4 and 5 but for Channel 4
Words 12 and 13Same as words 4 and 5 but for Channel 5
Words 14 and 15Same as words 4 and 5 but for Channel 6
Words 16 and 17Same as words 4 and 5 but for Channel 7
Words 18 and 19Same as words 4 and 5 but for Channel 8
Words 20 thru 27For factory use only
Publication 1771ĆUM127B-EN-P - December 2002
Appendix C
Block Transfer Write and Block
Transfer Read Configurations
for 8 Output/0 Input 1771ĆN
Series Modules
What This Appendix
Contains
This appendix contains block transfer write and block transfer read
configurations and bit/word descriptions for 1771-N series modules
with eight outputs and no inputs.
Block Transfer Write Configuration Block for 8 Output Modules
Word/Dec. Bit
Word/Octal Bit
01000100010000000
1Channel 1 Output Data
2Channel 2 Output Data
3Channel 3 Output Data
4Channel 4 Output Data
5Channel 5 Output Data
6Channel 6 Output Data
7Channel 7 Output Data
8Channel 8 Output Data
9Unused = 0
10RTS Sample Time: 1 millisecond units
15141312111009080706050403020100
17161514131211100706050403020100
BTW word typeConstantNumber of outputsConstant
BCD
select
Temp
scale
Verify
Channel 1 Programming
11Low Scale Value
12High Scale Value
13Low Clamp Value
14High Clamp Value
15
16Reset Value
17Low Scale Value
18High Scale Value
19Low Clamp Value
20High Clamp Value
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
Channel 2 Programming
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 8 Output/0 Input 1771-N Series ModulesC–2
Word/Dec. Bit
Word/Octal Bit
21
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
22Reset Value
Channel 3 Programming
23Low Scale Value
23High Scale Value
25Low Clamp Value
26High Clamp Value
27
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
28Reset Value
Channel 4 Programming
29Low Scale Value
30High Scale Value
31Low Clamp Value
32High Clamp Value
33
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
34Reset Value
00010203040506070809101112131415
00010203040506071011121314151617
Channel 5 Programming
35Low Scale Value
36High Scale Value
37Low Clamp Value
38High Clamp Value
39
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
40Reset Value
Channel 6 Programming
41Low Scale Value
42High Scale Value
43Low Clamp Value
44High Clamp Value
45
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
46Reset Value
Channel 7 Programming
47Low Scale Value
48High Scale Value
49Low Clamp Value
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 8 Output/0 Input 1771-N Series ModulesC–3
Word/Dec. Bit
Word/Octal Bit
50High Clamp Value
51
52Reset Value
53Low Scale Value
54High Scale Value
55Low Clamp Value
56High Clamp Value
57
58Reset Value
Alarm
enable
Alarm
enable
Reset State0Maximum Ramp Rate, % of Full Scale per second
Channel 8 Programming
Reset State0Maximum Ramp Rate, % of Full Scale per second
Block Transfer Write Bit/Word Descriptions for 8 Output Modules
WordBitDefinition
00010203040506070809101112131415
00010203040506071011121314151617
Word 0
Word 1
Word 2
Word 3
Word 4
Word 5
Word 6
Word 7
Bits 00-03Constant = 0
Bits 04-07Number of outputs = 1000 binary
Bits 08-13
(10-15)
Bits 14-15
(16-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Constant = 00 1000 binary
Block transfer write type = 10 binary
First Output channel data
Second Output channel data
Third Output channel data
Fourth Output channel data
Fifth Output channel data
Sixth Output channel data
Seventh Output channel data
Word 8
Bits 00-15
(00-17)
Eighth Output channel data
Publication 1771ĆUM127B-EN-P - December 2002
Block Transfer Write and Block Transfer Read Configurations for 8 Output/0 Input 1771-N Series ModulesC–4
Word 15
DefinitionBitWord
Verify. If this bit is set to 1, the module will compare its current
programming with the programming downloaded in the BTW. If
Bit 00
they are the same, it will verify good; if they are different, the
module will verify bad. In no case will any programming data in
the BTW be applied to the module.
Word 9
Word 10
Word 11
Word 12
Word 13
Word 14
Bit 01
Bit 02
Bits 03-15
(03-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-15
(00-17)
Bits 00-11
(00-13)
Temperature scale. 0 = Celsius, 1 = Fahrenheit
BCD select. 1 = all values in BCD format. All values are then
entered in the selected format. If the field is a signed field, the
most significant digit represents the sign.
Not used. Always 0.
Real time sample. Sample time in milliseconds.0=off.
RTS minimum is 100msec (counts = 100). Maximum 10
seconds in binary; 9.999 seconds in BCD
Low scale value for channel 1. Scale values are limited to
32767 in binary format; +7999 in BCD format.
+
High scale value for channel 1. Scale values are limited to
32767 in binary format; +7999 in BCD format.
+
Low clamp value for channel 1. The channel output will not be
allowed to go below this value (in scaled units) regardless of
the data sent to the module. Clamp values are limited to
32767 in binary format; +7999 in BCD format.
+
High clamp value for channel 1. The channel output will not be
allowed to go above this value (in scaled units) regardless of
the data sent to the module. Clamp values are limited to
32767 in binary format; +7999 in BCD format.
+
Maximum ramp rate. If this field is not 0, the module will limit
the maximum rate of change for this channel to be a
percentage of the scaled range of the module. Legal values
are from 1 to 200% of full scale/second.
Word 15 continuedBit 15 (17)
Words 17 thru 22Same as words 11 thru 16 but for channel 2.
Words 23 thru 28Same as words 11 thru 16 but for channel 3.
Words 29 thru 34Same as words 11 thru 16 but for channel 4.
Words 35 thru 40Same as words 11 thru 16 but for channel 5.
Publication 1771ĆUM127B-EN-P - December 2002
Word 16
Bit 12 (14)Constant = 0
Reset state. This field controls what the channel will output if
the I/O reset line is asserted:
Alarm enable. If set to 1, the module reports high clamp, low
clamp and rate limit. If 0, these warnings are suppressed.
Bits 00-15
(00-17)
Reset value. If the user selects the channel to go to a user
reset value upon I/O reset, the value in scaled units is entered
here. Otherwise, set to 0.
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.