Solid-state equipment has operational characteristics differing from those of electromechanical equipment. Safety
Guidelines for the Application, Installation and Maintenance of Solid State Controls (publication SGI-1.1
your local Rockwell Automation sales office or online at http://www.rockwellautomation.com/literature/
important differences between solid-state equipment and hard-wired electromechanical devices. Because of this difference,
and also because of the wide variety of uses for solid-state equipment, all persons responsible for applying this equipment
must satisfy themselves that each intended application of this equipment is acceptable.
In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from
the use or application of this equipment.
The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.
No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.
Throughout this manual, when necessary, we use notes to make you aware of safety considerations.
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.
available from
) describes some
ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death,
property damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the
consequence
SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
dangerous voltage may be present.
BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that
surfaces may reach dangerous temperatures.
Identifies information that is critical for successful application and understanding of the product.
Allen-Bradley, Rockwell Automation, FLEX I/O, RSLogix, R SLinx, and TechConnect are trademarks of Rockwell Automation, Inc.
Trademarks not belonging to Rockwell Automation are property of their respective companies.
Summary of Changes
The information below summarizes the changes to this manual since the last
printing.
To help you find new and updated information in this release of the manual, we
have included change bars as shown next to this paragraph.
The table below lists the sections that document new features and additional or
updated information about existing features.
Top ic
Added detailed procedure for using the teaching feature and the different
parameters for creating a teaching entry
Page
105
Rockwell Automation Publication 1763-UM002D-EN-P - May 2014iii
Chapter 1
Notes:
ivRockwell Automation Publication 1763-UM002D-EN-P - May 2014
Overview of the FLEX I/O
PROFIBUS APBDPV1 Module
Table of Contents
Preface
Who Should Use this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v
Read this preface to familiarize yourself with the rest of the manual. It provides
information concerning:
• who should use this manual
• the purpose of this manual
• related documentation
• conventions used in this manual
Who Should Use this
Manual
Purpose of this Manual
You must be able to program and operate a PROFIBUS product and PROFIBUS
network to make efficient use of the FLEX I/O PROFIBUS APBDPV1 adapter
module.
We assume you know how to do this in this manual. If you do not, refer to your
software user manuals or online help before attempting to use these modules.
This manual describes how you can use your FLEX I/O PROFIBUS APBDPV1
adapter with your controller. The manual helps you install, program, and
troubleshoot your module.
For Information AboutSee
Overview of the FLEX I/O PROFIBUS APBDPV1 ModuleChapter 1
Communicate With Your ModuleChapter 2
Connect Your Adapter to the PROFIBUS DP NetworkChapter 3
Configure the Adapter for Master/Slave CommunicationChapter 4
Interpret Status Indicators for the FLEX I/O PROFIBUS ModuleChapter 5
Apply FLEX I/O ModulesChapter 6
SpecificationsAppendix A
Device Data Base (GSD) FileAppendix B
Additional HART Protocol InformationAppendix C
ixPublication 1794-UM064B-EN-P - May 2014
x
Related Documentation
The following documents contain additional information concerning Rockwell
Automation products.
ResourceDescription
FLEX I/O Selection Guide, publication 1794-SG002
Remote I/O Adapter Module User Manual, publication
FLEX I/O PROFIBUS Adapter Module User Manual,
publication 1794-UM057
FLEX I/O Terminal Base Units Installation Instructions,
publication 1794-IN092
FLEX I/O Digital Input Modules Installation Instructions,
publication 1794-IN093
FLEX I/O Digital DC Sourcing Input and Sinking Output
Modules Installation Instructions, publication
1794-IN095
FLEX I/O Digital DC Sourcing Output Modules
Installation Instructions, publication 1794-IN094
.
.
.
.
.
.
.
.A description and overview of the 1794 series FLEX I/O, FLEX I/O XT and
.
FLEX Ex modules and compatible control platforms.
Information on how to use the Remote I/O Adapter Module
Catalog No. 1794-ASB.
Information on how to install the Remote I/O Adapter Module
Catalog No. 1794-ASB, 1794-ASB2, 1794-ASBK, 1794-ASB2K
Information on how to install the FLEX I/O PROFIBUS Adapter
Catalog No. 1794-APB.
Information on how to use the FLEX I/O PROFIBUS Adapter Module
Catalog No. 1794-APB.
Information on how to install the FLEX I/O Terminal Base Units
Catalog No. 1794-TB2, 1794-TB3, 1794-TB3K, 1794-TB3S, 1794-TB32,
1794-TB3G, 1794-TB3GK, 1794-TB3GS, 1794-TB3T, 1794-TB3TS, 1794-TBN,
1794-TBNK, 1794-TBNF.
Information on how to install the FLEX I/O Digital Input Modules
Catalog No. 1794-IB8, 1794-IB16, 1794-IB16K, 1794-IB32
Information on how to install the FLEX I/O Digital Input and Output Modules
Catalog No. 1794-IV16, 1794-OV16, 1794-OV16P
Information on how to install the FLEX I/O Digital DC Sourcing Output Modules
Catalog No.1794-OB8, 1794-OB8EP, 1794-OB16, 1794-OB16P, 1794-OB32P
The following conventions are used throughout this manual:
• Bulleted lists such as this one provide information, not procedural steps.
• Numbered lists provide sequential steps or hierarchical information.
• Italic type is used for emphasis.
Information on how to install the FLEX I/O AC Input Modules
Catalog No. 1794-IA8, 1794-IA8I, 1794-IA16.
Information on how to install the FLEX I/O Digital AC Output Modules
Catalog No. 1794-OA8, 1794-OA8K, 1794-OA8I, 1794-OA16.
Information on how to install the FLEX I/O DC Power Supply
Catalog No. 1794-PS13, 1794-PS3
Information on how to install the extension cables.
Catalog No. 1794--CE1, 1794-CE3
In-depth information on grounding and wiring Allen-Bradley programmable
controllers.
A glossary of industrial automation terms and abbreviations.
Publication 1794-UM064B-EN-P - May 2014
xii
Notes:
Publication 1794-UM064B-EN-P - May 2014
Chapter
AdapterI/O moduleTerminal base
1113
1112
1111
Overview of the FLEX I/O PROFIBUS
APBDPV1 Module
1
Overview
The FLEX I/O System
Read this chapter to familiarize yourself with the adapter module.
For Information AboutSee Page
The FLEX I/O System1
Purpose of the FLEX I/O PROFIBUS APBDPV1 Adapter2
Differences Between APB and APBDPV1 Adapters2
PROFIBUS APBDPV1 Adapter Components3
Mount and Remove Your System4
Optional Accessories5
Mounting Dimensions and Spacing Requirements7
The FLEX I/O system is a small, modular I/O system for distributed
applications that performs all of the functions of rack-based I/O. The FLEX I/O
system contains the following components:
• PROFIBUS adapter/power supply – powers the internal logic for as many
as eight I/O modules
1Publication 1794-UM064B-EN-P - May 2014
• terminal base – contains a terminal strip to terminate wiring for two- or
three-wire devices
• I/O module – contains the bus interface and circuitry needed to perform
specific functions related to your application
2 Overview of the FLEX I/O PROFIBUS APBDPV1 Module
RS-485
PROFIBUS DP
master/scanner
controller
Other DP
adapter/slave
DP
1794-APBDPV1 adapter/slave
FLEX I/O system
Other DP
adapter/slave
Personal computer
with configuration
software
1118
Purpose of the FLEX I/O
PROFIBUS
APBDPV1 Adapter
The 1794-APBDPV1 module is a FLEX I/O communications adapter that
interacts with the FLEX I/O backplane and any PROFIBUS DP master/scanner
controller on a PROFIBUS DP network.
The 1794-APBDPV1 module is a slave device to the DP master/scanner, and is a
master controller of the FLEX I/O system where it is installed. The I/O data
exchange occurs as follows: Output data is sent from the DP master/scanner
controller across the PROFIBUS DP network to the 1794-APBDPV1 adapter.
The adapter then automatically transfers the data across the FLEX I/O backplane
to the output modules. Inputs from the input modules are collected by the FLEX
I/O adapter via the backplane and sent across the PROFIBUS DP network to the
DP master/scanner controller.
Differences Between APB
and APBDPV1 Adapters
This section describes the differences between the 1794-APB FLEX I/O
PROFIBUS and the 1794-APBDPV1 FLEX I/O PROFIBUS APBDPV1
adapter modules.
DP-V1 Protocol
The FLEX I/O PROFIBUS APBDPV1 adapter uses a newer version of
PROFIBUS DP (DP1) protocol whereas the The FLEX I/O PROFIBUS
APB adapter uses the first generation PROFIBUS DP protocol (DP-0).
Functionality
The FLEX I/O PROFIBUS APBDPV1 adapter features Identification &
Maintenance (I&M) functions. These functions specify how certain device
describing data must be unambiguously stored in PROFIBUS devices essentially
enabling easy access to current information on the device. The adapter also
supports newer HART modules than the The FLEX I/O PROFIBUS APB
adapter.
Publication 1794-UM064B-EN-P - May 2014
Overview of the FLEX I/O PROFIBUS APBDPV1 Module 3
11191120
Status indicator
(green/red)
PROFIBUS indicator
(green/red)
PROFIBUS DP
network
connector
FlexBus
connector
24V DC wiring
connection
terminals
Node address
switches
Bandwidth and Range
The FLEX I/O PROFIBUS APB adapter baud-rate is now 12 MBd and,
although the physically PROFIBUS address range is still limited to 1..99, the
logical address range is 1..126.
PROFIBUS APBDPV1
Adapter Components
The adapter module consists of the following components:
• two diagnostic indicators
•PROFIBUS DP network connector
• 24V DC power wiring connection terminals
• two node address switches
Diagnostic Indicators
Diagnostic indicators are located on the front panel of the adapter module. They
show both normal operation and error conditions in your FLEX I/O system. The
indicators are:
• Device status (STATUS)
• Communication link status (PROFIBUS)
Upon power-up, the adapter goes to an initialization state and performs a self-test
(memory check, data memory clear, CRC on code). The indicators also go
through a self-test sequence. If a failure occurs, the adapter transitions to a faulted
state and waits for reset (cycle power). Otherwise, the adapter begins monitoring
the network (run state) for messages.
Network Connector
Use the 9-pin SUB-D connector to connect your adapter to the PROFIBUS
network.
Publication 1794-UM064B-EN-P - May 2014
4 Overview of the FLEX I/O PROFIBUS APBDPV1 Module
99
44560
PROFIBUS
DP Network Connector
(9-pin SUB-D)
24V DC wiring
connection
terminals
Thumbwheel
switches for setting
the node address
Set the Node Address Switches
Set the thumbwheel switches to 00 to allow node addressing by software
configuration tool to set the range from 1…125. Address changes take effect only
after cycling power. Use a pen to press either the + or – buttons to change the
number.
Mount and Remove
Your System
Power Wiring
Connection terminals are provided for connecting the required 24V DC power
to the front of the module. The power wiring can be daisy-chained to the
terminal base unit located next to the adapter to supply power to the module
installed in that base unit.
Refer to the FLEX I/O PROFIBUS Communications Adapter Installation
Instructions, publication 1794-IN114
learn how to install and wire the adapter.
You can horizontally or vertically mount the FLEX I/O system on a standard
DIN rail. The adapter and terminal base easily snap on the DIN rail by hand.
Refer to the installation instructions shipped with these components.
Screw holes are also provided to horizontally or vertically panel-mount your
system in an enclosure. To panel-mount your FLEX I/O system, use the optional
mounting kit (1794-NM1). See Example of a DIN Rail-Mounted System
page 5.
, that you received with your adapter to
on
Publication 1794-UM064B-EN-P - May 2014
Overview of the FLEX I/O PROFIBUS APBDPV1 Module 5
1114
Screw holes are available for panel-mounting
Locking tab connector holds
terminal base onto DIN rail
DIN rail
Allen Bradley catalog number
199-DR1
DIN 46277-3
EN 50022 (35 X 7.5mm)
Components are
slotted to accept
a DIN rail
1115
1794-CE1 or 1794-CE3
extender cable
Example of a DIN Rail-Mounted System
Optional Accessories
Extender Cables (1794-CE1 or -CE3)
Use the optional 1794-CE1, 0.3m (11.81 in.) or -CE3, 0.9m (35.43 in.) extender
cable (one per system) to arrange your system in two rows or split your system
into horizontal and vertical orientation.
ATTENTION: Do not use more than one extender cable per system
Publication 1794-UM064B-EN-P - May 2014
6 Overview of the FLEX I/O PROFIBUS APBDPV1 Module
1116
1794-NM1
Mounting Kit with
18 screws (2 screws for
the adapter and 2 screws
for each module
Mounting Kit (1794-NM1)
Use the optional 1794-NM1 mounting kit to mount your system on a panel or
wall without a DIN rail.
Publication 1794-UM064B-EN-P - May 2014
Mounting Dimensions and
Optional
mounting
kit
35
(1.4)
21 (0.83)
35
(1.4)
94
(3.7)
23
(0.9)
17
(0.6)
8
(0.3)
50
(2.0)
30
(1.2)
DIN
Rail
80
(3.2)
80
(3.2)
87
(3.4)
68
(2.7)
94
(3.7)
94
(3.7)
59
(2.3)
For 1794-CE1
Approximately 292.1 (11.5)
from upper connector.
For 1794-CE3
Approximately 901 (35.5)
from upper connector.
DPV1
1117
Spacing Requirements
Overview of the FLEX I/O PROFIBUS APBDPV1 Module 7
Chapter Summary
In this chapter you learned about the FLEX I/O PROFIBUS APBDPV1 adapter
module and the FLEX I/O system. Read the next chapter to learn how to
communicate with your module.
Publication 1794-UM064B-EN-P - May 2014
8 Overview of the FLEX I/O PROFIBUS APBDPV1 Module
Notes:
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module
PROFIBUS
Adapter
Read
Read
Words
Inputs
Status
Outputs
Configuration
Inputs
Status
Outputs
Configuration
Inputs
Status
Outputs
Configuration
Write
Words
15
0
Write
1122
Chapter
2
Overview
Communication Over the
I/O Backplane
Read this chapter to familiarize yourself with configurable features on the input
and output analog modules
For Information AboutSee Page
Communication Over the I/O Backplane9
Polled I/O Structure10
Map Data into the Image Table12
Defaults68
One 1794-APBDPV1 PROFIBUS adapter can interface with up to eight
terminal base units with installed FLEX I/O modules, forming a FLEX I/O
system of up to eight slots. The adapter communicates to other network system
components over the PROFIBUS network. The adapter communicates with its
I/O modules over the backplane.
The I/O map for a module is divided into read words and write words. Read
words consist of input and status words, and write words consist of output and
configuration words. The number of read words or write words can be 0 or more.
The length of each I/O module’s read words and write words vary in size
depending on module complexity. Each I/O module will support at least 1 input
word or 1 output word. Status and configuration are optional, depending on
the module.
10 Communicate With Your Module
Delay
Time
Delay
Time
1123
16-point Discrete Input Module
Adapter Status
Read
Write
Slot 1 Input Data
Slot 2 Input Data
Slot 8 Input Data
Adapter Status
Slot 1 Output Data
Slot 2 Output Data
Slot 8 Output Data
1124
For example, a 16 point discrete input module will have up to 2 read words and 1
write word.
Refer to each module user manual I/O map for the exact mapping.
Polled I/O Structure
The first word of output data received by the adapter is the Adapter Status Word.
Output data is received by the adapter in the order of the installed I/O modules.
The Output data for Slot 1 is received first, followed by the Output data for
Slot 2, and so on up to slot 8. All bits in the output status word are reserved.
The first word of input data sent by the adapter is the Adapter Status Word. This
is followed by the input data from each slot, in the order of the installed I/O
modules. The Input data from Slot 1 is first after the status word, followed by
Input data from Slot 2, and so on up to slot 8.
Publication 1794-UM064B-EN-P - May 2014
Adapter Input Status Word
The input status word consists of:
• I/O module fault bits — 1 status bit for each slot
• node address changed — 1 bit
1125
I/O Module Fault Bits
Bit: 15014 13 12 11 10 98765 43 21
Communicate With Your Module 11
Slot 8
Slot 7
Slot 6
Slot 5
Slot 1
Slot 2
Slot 3
Slot 4
Node Address Changed Bit
Reserved
The adapter input status word bit descriptions are shown in Ta b l e
Wor d B it s.
Input Status Word Bits
Bit DescriptionBitExplanation
I/O Module Fault
Reserved1…7Reserved
Node Address
changed
8This bit is set (1) when an error is detected in slot position 1.
9This bit is set (1) when an error is detected in slot position 2.
10This bit is set (1) when an error is detected in slot position 3.
11This bit is set (1) when an error is detected in slot position 4.
12This bit is set (1) when an error is detected in slot position 5.
13This bit is set (1) when an error is detected in slot position 6.
14This bit is set (1) when an error is detected in slot position 7.
15This bit is set (1) when an error is detected in slot position 8.
0This bit is set (1) when the node address switch setting has been
changed since power up.
Input Status
Possible causes for an I/O module fault are:
• transmission errors on the FLEX I/O backplane
• a failed module
• a module removed from its terminal base
• an incorrect module inserted in a slot position
• an empty slot
The node address changed bit is set when the node address switch setting has
been changed since power up. The new node address does not take effect until
the adapter has been powered down and then powered back up. Until this power
cycling occurs, the node address switches will not match the actual node address.
Publication 1794-UM064B-EN-P - May 2014
12 Communicate With Your Module
Filter
Time
1126
Map Data into the Image
Table
Commonly used FLEX I/O modules used with the PROFIBUS adapter are
listed below. A full list of modules is available in the GSD file. For more
information on the GSD file, see Device Data Base (GSD) File
FLEX I/O Data Mapping Tables
Module DescriptionCatalog NumberFor image table
8 Sink input module1794-IB812
16 Sink input module1794-IB1613
8 Source output module1794-OB814
16 Source output module1794-OB1614
16 Source input module1794-IV1615
16 Sink output module1794-OV1616
8 Electronically fused output module1794-OB8EP16
10 input/6 output module1794-IB10XOB617
8 input module1794-IA818
8 output module1794-OA819
8 relay output module1794-OW819
8 input analog module1794-IE820
4 output analog module1794-OE423
4 in/2 out analog combo module1794-IE4XOE225
8 input RTD analog module1794-IR828
8 input thermocouple module1794-IT832
8 input thermocouple/RTD/mV module1794-IRT836
2 input pulse counter module1794-ID259
4 input encoder counter module1794-IP463
SCANport module1203-FM166
in Appendix B.
mapping see page
Publication 1794-UM064B-EN-P - May 2014
1794-IB8 — 8 Point Digital Input Module Image Table Mapping
Communicate With Your Module 13
1127
1794-IB8 Memory Map
Decimal Bit15141312111009080706050403020100Size
Octal Bit17161514131211100706050403020100Read Words
Not used
Not used
Not used
D7D6D5D4D3D2D1D0Read Word 0
Read Word 1
FT 00…07Write Word 0
Where:D = Input Data (D0 corresponds to input 0, D1 corresponds to input 1, and so on)
DT = Input Filter Time (FT 00…07 corresponds to inputs 0…7)
1794-IB8 Input Filter Times
DescriptionSelected
020100Filter Time for Inputs 00…07
Filter Time
000Filter Time 0 (default)0.256 ms
001Filter Time 10.512 ms
010Filter Time 21 ms
011Filter Time 32 ms
100Filter Time 44 ms
101Filter Time 58 ms
110Filter Time 616 ms
111Filter Time 732 ms
1794-IB16 – 16-point Digital Input Module Image Table Mapping
Counter
RCDF
Filter
Tim e
Filter
Time
1794-IB16 Memory Map
Decimal Bit 15 14 13 12 1110 09080706050403020100Size
Octal Bit17 16 15 14 1312 11100706050403020100Read Words
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0Read Word 0
Counter
Not used
Where:D = Input Data (D0 corresponds to input 0, D1 corresponds to input 1, and so on)
DT = Input Filter Time (FT 00…11 corresponds to inputs 0…11; FT 12…15 corresponds to inputs 12…15)
DF = Disable Filter
RC = Reset Counter
DFRCFT 12…15FT 00…07Write Word 0
Publication 1794-UM064B-EN-P - May 2014
Read Word 1
14 Communicate With Your Module
1128
1130
1794-IB16 Input Delay Times
DescriptionSelected
020100Filter Time for Inputs 00…11
Filter Time
050403Filter Time for Inputs 12…15
000Filter Time 0 (default)0.256 ms
001Filter Time 10.512 ms
010Filter Time 21 ms
011Filter Time 32 ms
100Filter Time 44 ms
101Filter Time 58 ms
110Filter Time 616 ms
111Filter Time 732 ms
1794-OB8 – 8 Point Discrete Output Module Image Table Mapping
1794-OB8 Memory Map
Decimal Bit 15 14 1312 11 1009080706050403020100Size
Octal Bit17161514131211100706050403020100Read Words
Not used
Not used
O7O6O5O4O3O2O1O0Write Word 0
Not used
Where:O = Output value (O0 corresponds to output 0, O1 corresponds to output 1, and so on)
Octal Bit1716 1514 13 12 11 10 0706050403020100Read/Write Words
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0Read Word 0
Counter
Not used
Where:D = Input Data (D0 corresponds to input 0, D1 corresponds to input 1, and so on)
DT = Input Filter Time (FT 00…11 corresponds to inputs 0…11; FT 12…15 corresponds to inputs 12…15)
DF = Disable Filter
RC = Reset Counter
NU = Not Used
F = Full range bit
Off = When configured to off, individual channels will return 0000H on Series B modules, and 4…20 mA on Series A modules.
(10)
0109
(11)
0210
(12)
0311
(13)
0412
(14)
0413
(15)
0614
(16)
0715
1794-IE8 Word/Bit Descriptions
WordDecimal BitDefinition
Read Word 0Bits 00…14Channel 0 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 0 analog data sign bit.
Read Word 1Bits 00…14Channel 1 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 1 analog data sign bit.
Read Word 2Bits 00…14Channel 2 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 2 analog data sign bit.
Read Word 3Bits 00…14Channel 3 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 3 analog data sign bit.
Read Word 4Bits 00…14Channel 4 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 4 analog data sign bit.
Read Word 5Bits 00…14Channel 5 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 5 analog data sign bit.
Read Word 6Bits 00…14Channel 6 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 6 analog data sign bit.
Read Word 7Bits 00…14Channel 7 analog data – 12-bit left justified two’s complement number;
Bit 15Channel 7 analog data sign bit.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
unused lower bits are zero; 4…20 mA uses all 16 bits.
(17)
Publication 1794-UM064B-EN-P - May 2014
22 Communicate With Your Module
1794-IE8 Word/Bit Descriptions
WordDecimal BitDefinition
Read Word 8Bits 00…07Underrange bits (U) for individual channels (4...20 mA current input only) –
Bit 00 corresponds to input channel 0, bit 01 corresponds to input channel
1, and so on. When set (1), indicates either a broken or open input wire, or
input current below 4.20 mA.
Bits 08…14Not used – set to 0.
Bit 15Power up bit – included in Series B modules only. This bit is 0 in series A
modules. This bit is set to 1 when all bits in the configuration register are 0
(unconfigured state). The configuration register can be cleared by either of
the reset inputs, or by the user writing all zeroes to it.
Write Word 0Bits 00…07Full range bits (F) for individual channels – Bit 00 corresponds to input
channel 0, bit 01 corresponds to input channel 1, and so on. Refer to range
selection table.
Bits 08…15Configure select bits (C) for individual channels – Bit 08 corresponds to
input channel 0, bit 09 corresponds to input channel 1, and so on. Refer to
range selection table.
Write Word 1Bits 00…15Not used – set to 0
Write Word 2Bits 00…15Not used – set to 0
Write Word 3Bits 00…15Not used – set to 0
Write Word 4Bits 00…15Not used – set to 0
Write Word 5Bits 00…15Not used – set to 0
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 23
Chx SS Config
1142
1794-OE4 Series B – 4 Output Analog Module Image Table Mapping
Octal Bit17161514131211100706050403020100Read/Write Words
SNot used – set to zeroW3W2W1W0Read Word 0
SAnalog Value Channel 0Write Word 0
SAnalog Value Channel 1Word 1
SAnalog Value Channel 2Word 2
SAnalog Value Channel 3Word 3
SNot used – set to 0Chx Safe State ConfigWord 4
PUNot used – set to 0C3C2C1C0Not used – set to 0F3F2F1F0Word 5
SNot used – set to 0Word 6…9
Where:PU = Power up bit – included in Series B modules only.
W = Diagnostic bits for current output wire broken or load resistance high. (Not used on voltage outputs.)
S = Sign bit (in 2’s complement)
C = Configure select bit
F = Full range bit
1794-OE4/B Range Selection Bits (Write Word 6)
Channel No.Channel 0Channel 1Channel 2Channel 3
F0C0F1C1F2C2F3C3
Decimal Bits
(Octal Bits)
4…20 mA10101010
0…10V DC/0…20 mA01010101
0008010902100311
Publication 1794-UM064B-EN-P - May 2014
24 Communicate With Your Module
1794-OE4/B Range Selection Bits (Write Word 6)
Channel No.Channel 0Channel 1Channel 2Channel 3
F0C0F1C1F2C2F3C3
Decimal Bits
(Octal Bits)
-10…10V DC11111111
Off00000000
Where:C = Configure select bit
0008010902100311
F = Full range bit
Off = When configured to off, individual channels will return 0V.
1794-OE4/B Word/Bit Descriptions
WordDecimal BitDefinition
Read Word 0Bits 00…03Current Outputs only – When set (1), the wire on the output is broken or
Bit 04…14
(04…16)
Bits 15 (17)Power Up bit – included in Series B modules only. This bit is 0 in Series A
Write Word 0Bit 00…14
(00…16)
Bit 15 (17)Channel 0 analog data sign bit.
Write Word 1Bit 00…14
(00…16)
Bit 15 (17)Channel 1 analog data sign bit.
Write Word 2Bit 00…14
(00…16)
Bit 15 (17)Channel 2 analog data sign bit.
Write Word 3Bit 00…14
(00…16)
Bit 15 (17)Channel 3 analog data sign bit.
Write Word 4Bit 00…03Chx Safe State Config – for individual channels. These bits control the
Bits 04…15
(04…17)
the load resistance is too high. Bit 00 corresponds to channel 0, bit 01
corresponds to channel 2, and so on.
Not used – set to zero.
modules. This bit is set to 1 when all bits in the configuration register are 0
(unconfigured state). The configuration register can be cleared by either of
the reset inputs, or by the user writing all zeroes to it.
Channel 0 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA uses all 16 bits.
Channel 1 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA uses all 16 bits.
Channel 2 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA uses all 16 bits.
Channel 3 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA uses all 16 bits.
safe state analog outputs. Bit 00 corresponds to output channel 0, bit 01
corresponds to output channel 1, and so on.
1 = use words 0, 1, 2 or 3 as directed by channel number n
0 = use words 10, 11, 12 or 13 as directed by channel n
When bits 00…03 are all cleared (0) simultaneously by a communication
error or user choice thru the programmable controller program, word 5 full
range and configure select bits are preserved at their last setting.
Not used – set to zero.
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 25
1143
1794-OE4/B Word/Bit Descriptions
WordDecimal BitDefinition
Write Word 5Bits 00…03Full range bits (F) for individual channels – Bit 00 corresponds to output
Bits 04…07Not used – set to zero.
Bits 08…11
(10…13)
Bits 12…15
(14…17)
Write Words
6...9
Bits 00…15
(00…17)
channel 0, bit 01 corresponds to output channel 1, and so on.
Configure select bits (C) for individual channels
Not used – set to zero.
Not used – set to zero.
1794-IE4XOE2 Series B – Analog Combo Module Image Table Mapping
Octal Bit17161514131211100706050403020100Read/Write Words
Not used – set to 0
Not used – set to zero.Write Words 8 and 9
Where:PU = Power up bit – included in Series B modules only.
W = Diagnostic bits for current output wire broken or load resistance high. (Not used on voltage outputs.)
U = Underrange bits for 4…20 mA inputs
S = Sign bit (in 2’s complement)
Chx SSC = Chx Safe State Config
C = Configure select bit
F = Full range bit
1794-IE4XOE2 Range Selection Bits
Channel No.Input
Decimal Bits
(Octal Bits)
4…20 mA101010101010
0…10V DC/0…20 mA010101010101
-10…10V DC111111111111
Off000000000000
Where:C = Configure select bit
Channel 0
F0C0F1C1F2C2F3C3F4C4F5C5
0008
(10)
F = Full range bit
Off = When configured to off, individual channels will return 0V.
Input
Channel 1
0109
(11)
Input
Channel 2
0210
(12)
Input
Channel 3
0311
(13)
Output
Channel 0
0412
(14)
Output
Channel 1
0513
(15)
1794-IE4XOE2 Word/Bit Descriptions
WordDecimal BitDefinition
Read Word 0Bits 00…14
(00…16)
Bit 15 (17)Channel 0 analog date sign bit.
Read Word 1Bits 00…14
(00…16)
Bit 15 (17)Channel 1 analog date sign bit.
Read Word 2Bits 00…14
(00…16)
Bit 15 (17)Channel 2 analog data sign bit.
Read Word 3Bits 00…14
(00…16)
Bit 15 (17)Channel 3 analog data sign bit.
Channel 0 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA uses all 16 bits.
Channel 1 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4...20 mA uses all 16 bits.
Channel 2 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA uses all 16 bits.
Channel 3 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4…20 mA used all 16 bits.
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 27
1794-IE4XOE2 Word/Bit Descriptions
WordDecimal BitDefinition
Read Word 4Bit 00…03Underrange bits (U) – for individual channels (4...20 mA current inputs only)
Bits 04…05Wire Off bits (W) – Current outputs only – When set (1), the wire on the
Bits 06…14
(06…16)
Bit 15 (17)Power Up bit – included in Series B modules only. This bit is always 0 in
Write Word 0Bits 00…14
(00…16)
Bit15
(17)
Write Word 1Bits 00…14
(00…16)
Bit15
(17)
Write Word 2Bits 00…01Chx Safe Sate Config – for individual channels. These bits control the safe
Bits 02…15
(02…17)
Write Word 3Bits 00…05Full Range bits (F) for individual channels – Bit 00 corresponds to input
Bits 06…07Not used – set to 0.
Bit 08…13
(10…15)
Bits 14…15
(16…17)
Write Words
4 and 5
-Bit 00 corresponds to input channel 0, bit 01 corresponds to input channel 1,
and so on. When set (1), indicates either a broken or open input wire, or input
current is @ or below 4 mA.
current output is broken or the load resistance is too high. Bit 00 corresponds to
input channel 0, bit 01 corresponds to input channel 1, and so on.
Not used
Series A modules. This bit is set to 1 when all bits in the configuration register
(write word 3) are 0 (unconfigured state). The configuration register can be
cleared by either a reset, or by the user writing all zeroes to it.
Channel 0 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4...20 mA uses all 16 bits.
Channel 0 analog date sign bit.
Channel 1 Analog Data – 12-bit left justified two’s complement number;
unused lower bits are zero; 4...20 mA uses all 16 bits.
Channel 1 analog date sign bit.
state analog outputs. Bit 00 corresponds to output channel 0, bit 01 corresponds
to output channel 1.
1 = use words 0 and 1 (analog value) as directed by channel number n
0 = use words 6 and 7 (safe state analog value) as directed by channel n
When bits 00...01 are cleared (0) simultaneously by a communication error or
user choice through the programmable controller program, word 3 full range
and configure select bits are preserved at their last setting.
Not used – set to 0.
channel 0, bit 01 corresponds to output channel 1, and so on.
Configure Select bits (C) for individual channels – Bit 08 corresponds to input
channel 0, bit 09 (11) corresponds to input channel 1, bit 10 (12) corresponds to
input channel 2, bit 11 (13) corresponds to input channel 3, bit 12 (14)
corresponds to output channel 0, and bit 13 (15) corresponds to output
channel 1. See Table
Not used – set to 0.
Not used – set to 0.
1794-IE4XOE2 Range Selection Bits on page 26.
Publication 1794-UM064B-EN-P - May 2014
28 Communicate With Your Module
1144
1794-IR8 Memory Map
1794-IR8 – RTD Input Analog Module Image Table Mapping
1794-IRT8 Thermocouple/RTD/mV Input Module Read Words
15141312111009080706050403020100Size
17161514131211100706050403020100Read/Write
Channel 0 Input Data
Channel 1 Input Data
Channel 2 Input Data
Channel 3 Input Data
Channel 4 Input Data
Channel 5 Input Data
Channel 6 Input Data
Channel 7 Input Data
Overrange Alarm bits (channel 0 = bit 08, and so on)Underrange Alarm bits (channel 0 = bit 00, and so on)
Ch7
Ch6
Ch5
Ch4
Ch3
Ch2
Ch1
Fault
Fault
Fault
Fault
Fault
Fault
Fault
Ch0
Fault
CJC 2
Alarm
CJC 1
Alarm
Diagnostic Status
EDT command responseEDT response data
Not usedData FormatFault
Mode
Ch 0…3
Fault
Mode
Ch 4…7
Reference Jct.Filter Cutoff
Words
Read 0
Read 1
Read 2
Read 3
Read 4
Read 5
Read 6
Read 7
Read 8
Read 9
Read 10
Write 0
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 37
1794-IRT8 Thermocouple/RTD/mV Input Module Read Words
15141312111009080706050403020100Size
17161514131211100706050403020100Read/Write
Sensor
Ch 4…7
Sensor
Mode
Sensor Type Ch 4…7Sensor Ch 0…3Sensor Mode
Ch 0…3
Sensor Type Ch 0…3
Words
Write 1
Ch 4…7
RTD Offset
Ch 7
RTD Offset
Ch 6
RTD Offset
Ch 5
RTD Offset
Ch 4
RTD Offset
Ch 3
EDT commandEDT command data
RTD Offset
Ch 2
RTD Offset
Ch 1
RTD Offset
Ch 0
Write 2
Write 3
1794-IRT8 Word/Bit Descriptions for Block Transfer Words
WordDecimal BitDefinition
Read Word 000…15 (00…17)Channel 0 Input data
Read Word 100…15 (00…17)Channel 1 Input data
Read Word 200…15 (00…17)Channel 2 Input data
Read Word 300…15 (00…17)Channel 3 Input data
Read Word 400…15 (00…17)Channel 4 Input data
Read Word 500…15 (00…17)Channel 5 Input data
Read Word 600…15 (00…17)Channel 6 Input data
Read Word 700…15 (00…17)Channel 7 Input data
Read Word 800…07Underrange bits – These bits are set if the input signal is below the input
08…15 (10…17)Overrange bits – These bits are set if 1), the input signal is above the
channel’s minimum range. Bit 00 corresponds to channel 0, bit 01
corresponds to channel 1, and so on.
input channel’s maximum range, or 2), an open detector is detected. Bit 08
(10) corresponds to channel 0, bit 09 (11) corresponds to channel 1,
and so on.
Publication 1794-UM064B-EN-P - May 2014
38 Communicate With Your Module
1794-IRT8 Word/Bit Descriptions for Block Transfer Words
WordDec. Bits
(Octal Bits)
Write Word 000…02Inpt Filter Cutoff Bits
03…05Reference Junction – Used when input type is set to thermocouple and sensor mode is set to internal
06…07Fault Mode Bits – When a bit is set (1), fault mode is enabled for that channel. Bit 06 corresponds to
08…11
(10…13)
12…15
(14…17)
Description
Bit020100Filter Time Constants – Actual filtering depends on the module’s mode
000Hardware filtering only (default filtering).
00125 ms
010100 ms
011250 ms
100500 ms
1011 s
1102 s
1115 s
compensation. Sets a fixed reference junction to compensate all thermocouple channels.
Bit050403Reference Junction
0000 °C
00120 °C
01025 °C
01130 °C
10040 °C
10150 °C
11060 °C
11170 °C
channels 0…3; bit 07 corresponds to channels 4…7.
0 = disabled
1 = enable wire-off detection
Data Format – Module defaults to -4000...10000 in millivolt mode, and 0...5000 in ohms mode with implied
decimal points (for example -40.00, 0.0 Ω ).
Bit11100908Data type for channels 0-7
0000°C (implies decimal point XXXX.X)
0001°F (implies decimal point XXXX.X)
0010°K (implies decimal point XXXX.X)
0011-32767...3267
01000...65535
0101...1111 not used
Not used
of operation.
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 39
WordDec. Bits
(Octal Bits)
Write Word 100…03Sensor Type (Thermocouple or RTD)
01Internal compensation – uses the value selected for reference junction.
10No compensation (Data is referenced to 0 °C).
11Differential measurement between 2 channels.
RTD
002-wire RTD no compensation.
012-wire RTD with loop resistance compensation.
103-wire RTD.
114-wire RTD.
Sensor
Bit1514Input type selection for channels 4…7
00Thermocouple.
01RTD.
10Not used.
11
Publication 1794-UM064B-EN-P - May 2014
42 Communicate With Your Module
WordDec. Bits
(Octal Bits)
Write Word 200…15
(00…17)
Write Word 300…07Extended Data Table Command bits – These bits are written to the module during calibration. They are
08…14
(10…16)
15 (17)Reserved for factory use only.
Description
RTD Loop Resistance Offset S bits – used when input type is set to RTD and sensor mode select is set to
2-wire with loop resistance compensation. Allows you to set the type of RTD loop resistance compensation
used for all RTDs or one of three fixed values for all channels.
NOTE: Not applicable to 10 Ω copper RTD, which defaults to 0 Ω.
Bit0100RTD channel 0.
Bit0302RTD channel 1.
Bit0504RTD channel 2.
Bit0706RTD channel 3.
Bit0908RTD channel 4.
Bit1110RTD channel 5.
Bit1312RTD channel 6.
Bit1514RTD channel 7.
00Use channel loop compensation value stored during calibration procedure for
2-wire RTD (default = 0 Ω).
015 Ω
1010 Ω
1115 Ω
used to define offset, gain and general channel calibration.
Extended Data Table Command bits – These bits are written to the module during calibration. They are
used to select channel calibration action.
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 43
1147
1794-IF4I – 4-Input Isolated Analog Module Image Table Mapping
FP = Field power off
CF = Configuration mode
BD = Calibration bad
DN = Calibration done
U = Underrange for specified channel
V = Overrange for specified channel
IC = Initiate configuration bit
TR = Transparent bit
IT = Interrupt toggle bit
RV = Revert to defaults bit
QK = Quick calibration
CK = Calibration clock
GO = Gain offset select
Words
Setting the Input Filter
BitsChannel
03020100Input 0
07060504Input 1
11100908Input 2
15141312Input 3
A/D Conversion RateLow Pass Filter
00001200 HzNo low pass
00011200 Hz100 ms low pass
00101200 Hz500 ms low pass
00111200 Hz1000 ms low pass
0100600 HzNo low pass
0101600 Hz100 ms low pass
0110600 Hz500 ms low pass
0111600 Hz1000 ms low pass
1000300 HzNo low pass
1001300 Hz100 ms low pass
1010300 Hz500 ms low pass
1011300 Hz1000 ms low pass
1100150 HzNo low pass
1101150 Hz100 ms low pass
1110150 Hz500 ms low pass
1111150 Hz1000 ms low pass
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 45
Configuring Your Input Channel
Input Channel Configuration
03 02 01 00 Set these bits for Channel 0.
07 06 05 04 Set these bits for Channel 1.
11 10 09 08 Set these bits for Channel 2.
15 14 13 12 Set these bits for Channel 3.
Bit SettingsInput
Values
Data Format% Underrange/
% Overrange
Input Range
Hexadec. Dec.
0000Channel not configured
00014...20 mA signed 2’s complement4% Under; 4% Over<0000...7878><0000...30840>7.5 ms5.0 ms
0010± 10Vsigned 2’s complement2% Under; 2% Over<831F...7CE1><-31969...31969>2.5 ms2.5 ms
0011± 5Vsigned 2’s complement4% Under; 4% Over<8618...79E8><-31208...31208> 2.5 ms2.5 ms
01000...20 mA signed 2’s complement % 0% Under; 4% Over<0...2710><0...10000>7.5 ms5.0 ms
01100...10Vsigned 2’s complement % 0% Under; 2% Over<0...2710><0...10000>5.0 ms5.0 ms
10000...20 mA binary0% Under; 4% Over<0000...F3CF><0000...62415>2.5 ms2.5 ms
10014...20 mA
(1)
binary4% Under; 4% Over <0000...F0F1><0000...61681>7.5 ms5.0 ms
10100...10Vbinary0% Under; 2% Over<0000...F9C2><0000...63938>2.5 ms2.5 ms
10110...5Vbinary0% Under; 4% Over<0000...F3CF><0000...62415>2.5 ms2.5 ms
1100± 20 mA offset binary, 8000H = O mA4% Under; 4% Over<0618...F9E8><1560...63976>2.5 ms2.5 ms
11014...20 mA offset binary, 8000H = 4 mA4% Under; 4% Over<8000...F878><32768...63608>7.5 ms5.0 ms
1110± 10Voffset binary, 8000H = OV 2% Under; 2% Over<031F...FCE1><799...64737> 2.5 ms2.5 ms
1111± 5Voffset binary, 8000H = OV 4% Under; 4% Over<0618...F9E8><1560...63976>2.5 ms2.5 ms
(1)
Underrange for 4...20 mA occurs in the blind area below 0 (3.2 mA).
(2)
<and> indicates the overrun beyond actual range (about 5%).
(2)
Module Update Rate
(RTSI = 0) (RTSI = 0),
IT = 1
1794-IF4I Isolated Analog Input Module Word/Bit Descriptions
WordDecimal Bit
(Octal Bit)
Read Word 0Bit 00…15
(00…17)
Read Word 1Bit 00…15
(00…17)
Read Word 2Bit 00…15
(00…17)
Read Word 3Bit 00…15
(00…17)
Read Word 4Bit 00…15
(00…17)
Definition
Channel 0 Analog Data – Real time input data per your configuration.
Channel 1 Analog Data – Real time input data per your configuration.
Channel 2 Analog Data – Real time input data per your configuration.
Channel 3 Analog Data – Real time input data per your configuration.
Real Time Sample – the elapsed time in increments programmed by the real time
sample interval.
Publication 1794-UM064B-EN-P - May 2014
46 Communicate With Your Module
1794-IF4I Isolated Analog Input Module Word/Bit Descriptions
WordDecimal Bit
(Octal Bit)
Read Word 5Bit 00Reserved.
Bit 01Calibration Done bit (DN) – This bit is set to 1 after a calibration cycle is
Bit 02Calibration Bad bit (BD) – This bit is set to 1 if the channel calibration coefficients
Bits 03…07Set to 0.
Bits 08…11
(10…12)
Bit 12 (14)Set to 0.
Bit 13 (15)Configuration Mode bit (CF) – This bit is set (1) when the calibration mode is
Bit 14 (16)Field Power Off bit (FP) – This bit is set (1) when the 24V field power fails. When
Bit 15 (17)Power Up (unconfigured state) bit (PU) – This bit is set (1) when the configuration
Read Word 6Bits 00…03Underrange bits (U) -These bits are set (1) when the input channel is below a preset
Bits 04…07Overrange bits (V) – These bits are set (1) when the input channel is above a preset
Bits 08…15
(10…17)
Write Word 0Bits 00…14
(00…16)
Write Word 1Channels 0...3 Filter Selections (refer to Setting the Input Filter)
Bits 00…03Channel 0 Filter Setting.
Bits 04…07Channel 1 Filter Setting.
Bits 08…11
(10…13)
Bits 12…15
(14…17)
Write Word 2Channel Configuration (See Configuring Your Input Channel
Bits 00…03Channel 0 Configuration.
Bits 04…07Channel 1 Configuration.
Bits 08…11
(10…13)
Bits 12…15
(14…17)
Write Word 3Bits 00…14
(00…16)
Bit 15 (17)Not used. Set to 0.
Definition
completed.
cannot be saved or be read properly.
Reserved.
selected (bit 15, word 5 in the block transfer write set to 1). When this bit is set (1),
the module status indicator flashes.
this bit is set (1), the module status indicator flashes.
word is all zeroes (0) due to a reset (adapter power cycle or module insertion) or a
cleared configuration word (all 0). When this bit is set (1), the module status indicator
flashes.
limit as defined by the configuration selected. U0 (bit 00) corresponds to input channel
0 and U1 (bit 01) corresponds to input channel 1, and so on. See Configuring Your
Input Channel on page 45.
limit as defined by the configuration selected. Bit 04 corresponds to input channel 0
and bit 05 corresponds to input channel 1, and so on. See Configuring Your Input
Channel on page 45.
Not used. Set to 0.
Not used. Set to 0.
Channel 2 Filter Setting.
Channel 3 Filter Setting.
on page 45.)
Channel 2 Configuration.
Channel 3 Configuration.
Real Time Sample Interval – Programs the interval of the real time sample. Can be
varied from 0...30 s (3000 decimal). Resolution is in ms with granularity in 5 ms steps.
Publication 1794-UM064B-EN-P - May 2014
1794-IF4I Isolated Analog Input Module Word/Bit Descriptions
Communicate With Your Module 47
WordDecimal Bit
Write Word 4Bit 00…03Channel Calibration Selection bit. – When this bit is set (1), the channel can be
Write Words
5…7
(Octal Bit)
Bit 04Gain/Offset Calibration bit (GO) – When this bit is cleared, a 0...1...0 transition of
Bit 05Calibration Clock bit (CK) – When this bit is set to 1 (calibration mode), the
Bit 06Quick Calibration bit (QK) – Normally reset (0). When this bit is set (1) during a
Bit 07Revert to Defaults bits (RV) – Normally reset (0). When set (1) during a calibration
Bit 08…11
(10…14)
Bit 12 (14)Interrupt Toggle bit (IT) – This bit, when set (1), permits interleaving of module
Bit 13 (15)Transparent bit (TR) – This bit, when set to 1, permits configuration to be changed
Bit 14 (16)Set to 1.
Bit 15 (17)Initiate Configuration bit (IC) – When set (1), instructs the module to enter
Bits 00…15
(00…17)
Definition
calibrated using the calibration clock bit (CK). Bit 00 corresponds to input channel 0,
bit 01 corresponds to channel 1, bit 02 corresponds to input channel 2, bit 03
corresponds to input channel 3.
the CK bit performs on offset calibration. When this bit is 1, the module is directed to
do a gain calibration.
calibration coefficient for the selected channels is accepted. When this bit is reset (0),
the accepted calibration coefficients for the selected channels are stored, applied,
and the calibration mode exited. Monitor status bits DN and BD for
successful calibration.
calibration sequence, the calibration coefficient is stored to all related configurations
for the selected channels.
NOTE: This method of calibration quickly calibrates the selected channels, however
you will not be within the rated accuracy of the module.
procedure, default values for selected channels are used for the calibration
coefficient.
NOTE: You will not be within the rated accuracy of the module.
Not used. Set to 0.
interrupts ensuing exchange of critical data when channels are configured for their
fastest update times. RTSI and "no low pass filter" must be 0 in order for the module
to recognize this feature. This groups data update rates for all channels to the slowest
configuration setting of any of the channels. In addition, channel update rates for all
channels with a 7.5 ms update rate are reduced to 5.0 ms. When reset (0), real time
sampling and filter features are enabled.
without using the IC bit.
configuration mode. Present configuration data prior to or coincident with IC being
set. Once IC returns to 0, the configuration is applied and any subsequent
configuration information is ignored until IC is toggled.
Not used.
Publication 1794-UM064B-EN-P - May 2014
48 Communicate With Your Module
1148
1794-OF4I – 4-Output Isolated Analog Module Image Table Mapping
1794-OF4I Isolated Analog Output Module Read Words
Word/Dec. Bit 15141312111009080706050403020100
Word/Octal Bit 17161514131211100706050403020100
Read Word 0Read Back Channel 0
Read Word 1Read Back Channel 1
Read Word 2Read Back Channel 2
Read Word 3Read Back Channel 3
Read Word 4PUFPCF0Reserved00000BDDN0
Read Word 50000P3P2P1P00000W3W2W1W0
Write Word 0ENS1S00000000000000
Write Word 1Output Data – Channel 0
Write Word 2Output Data – Channel 1
Write Word 3Output Data – Channel 2
Write Word 4Output Data – Channel 3
Write Word 5Output Ch 3
Configuration
Output Ch 2
Configuration
Output Ch 1
Configuration
Output Ch 0
Configuration
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 49
1794-OF4I Isolated Analog Output Module Read Words
Word/Dec. Bit 15141312111009080706050403020100
Word/Octal Bit 17161514131211100706050403020100
Write Word 6IC1TRITQ3Q2Q1Q0RVQKCKGOChannel Number
Write Words
7 and 8
Where:PU = Power up unconfigured state
Not used
FP = Field power off
CF = In configuration mode
BD = Calibration bad
OR = Reference calibration signal is out of range
P0...P3 = Output holding in response to Q0...Q3
W0...W3 =Wire off current loop status for channels 0...3 respectively — Not used on voltage outputs.
EN = Enable outputs; 0 = output follows S1/S0, 1 = output enabled
IC = Initiate configuration bit
TR = Transparent bit
IT = Interleave Interrupts
Q0...Q3 = Request for outputs to hold
RV = Revert to defaults bit
QK = Quick calibration
CK = Calibration clock
GO = Gain offset calibration
00014...20 mA2’s complement<0000..7878><0000...30840>5.0 ms
0010±10V2’s complement<831F...79E8><-31208...31208>2.5 ms
0011±5V2’s complement<8618...79E8><-31208...31208>2.5 ms
01000...20 mA2’s complement %<0...2710><0...10000>5.0 ms
01014...20V2’s complement %<0...2710><0...10000>5.0 ms
01100...10V2’s complement %<0...2710><0...10000>5.0 ms
0111± 10V2’s complement<-D8F0...2710><-10000...10000>5.0 ms
10000...20 mAbinary<0000...F3CF><0000...62415>2.5 ms
10014...20 mAbinary<0000...F0F1><0000...61681>5.0 ms
10100...10Vbinary<0000...F3CF><0000...62415>2.5 ms
10110...5Vbinary<0000...F3CF><0000...62415>2.5 ms
1100±2 0 mAoffset binary<0000...F9E8><0000...63976>2.5 ms
11014...20 mAoffset binary<8000...F878><32768...63608>5.0 ms
1110± 10Voffset binary<0618...F9E8><1560...63976>2.5 ms
1111± 5Voffset binary<0618...F9E8><1560...63976>2.5 ms
(1)
< and > indicate the overrun beyond actual range (about 5%).
(1)
Update
Rate
Publication 1794-UM064B-EN-P - May 2014
50 Communicate With Your Module
1794-IF4I Isolated Analog Input Module Word/Bit Descriptions
Read WordDecimal Bit
(Octal Bit)
Read Word 0Bit 00…15
(00…17)
Read Word 1Bit 00…15
(00…17)
Read Word 2Bit 00…15
(00…17)
Read Word 3Bit 00…15
(00…17)
Read Word 4Bit 00Reserved.
Bit 01Calibration Done bit (DN) – This bit is set to 1 after a calibration cycle
Bit 02Calibration Bad bit (BD) – This bit is set to 1 if the channel calibration coefficients
Bits 03…07Set to 0.
Bits 08…11
(10…12)
Bit 12 (14)Set to 0.
Bit 13 (15)Configuration Mode bit (CF) – This bit is set (1) when the calibration mode is
Bit 14 (16)Field Power Off bit (FP) – This bit is set (1) when the 24V field power fails. When
Bit 15 (17)Power Up (unconfigured state) bit (PU) – This bit is set (1) when the configuration
Read Word 5Bits 00…03Wire-off Status bits (W) – These bits, when set (1), indicate the corresponding
Bits 04…07Set to 0.
Bits 10…11
(12…13)
Bits 12…15
(13…17)
Definition
Read Back Channel 0 – During normal operation, it is a copy of the output of
channel 0. During an EN transition, it is the condition of the output as determined by
S1 and S0. Read back is an image of what the user has sent as output to the module;
no checks are performed on the data.
Read Back Channel 1 – During normal operation, it is a copy of the output of
channel 1. During an EN transition, it is the condition of the output as determined by
S1 and S0. Read back is an image of what the user has sent as output to the module;
no checks are performed on the data.
Read Back Channel 2 – During normal operation, it is a copy of the output of
channel 2. During an EN transition, it is the condition of the output as determined by
S1 and S0. Read back is an image of what the user has sent as output to the module;
no checks are performed on the data.
Read Back Channel 3 – During normal operation, it is a copy of the output of
channel 3. During an EN transition, it is the condition of the output as determined by
S1 and S0. Read back is an image of what the user has sent as output to the module;
no checks are performed on the data.
is completed.
cannot be saved or be read properly.
Reserved.
selected (bit 15, word 5 in the block transfer write set to 1). When this bit is set (1),
the module status indicator flashes.
this bit is set (1), the module status indicator flashes.
word is all zeroes (0) due to a reset (adapter power cycle or module insertion) or a
cleared configuration word (all 0). When this bit is set (1), the module status
indicator flashes.
current output channel is open. W0 corresponds to channel 0, W1 corresponds to
channel 2, and so on.
Hold Output bits (P) – These bits are set (1) in response to Q0 or Q1 and a transition
of the EN bit. When P0 or P1 is set (1), they indicate that the output is holding at the
level in the readback data for the respective channel. These bits return to 0 when the
output data matches the readback output data.
Set to 0.
Publication 1794-UM064B-EN-P - May 2014
1794-IF4I Isolated Analog Input Module Word/Bit Descriptions
Communicate With Your Module 51
Write WordDecimal Bit
(Octal Bit)
Write Word 0Bit 00…12
(00…14)
Bit 13…14
(15…16)
Bit 15 (17)Output Enable bit (EN) – When set (1), the outputs are enabled. This bit must be set in
Write Word 1Bit 00…15
(00…17)
Write Word 2Bit 00…15
(00…17)
Write Word 3Bit 00…15
(00…17)
Write Word 4Bit 00…15
(00…17)
Write Word 5Channel Configuration (see 1794-OF4I Isolated Analog Output Module Read Words
Bits 00…03Channel 0 Configuration
Bit 04…07Channel 1 Configuration
Bit 08…11
(10…13)
Bit 12…15
(14…17)
Definition
Not used.
Safe State Configure (S1/S0) – When EN is 0, these bits designate the source of the
safe state data.
Bit 13 = 0, bit 14 = 1 – reset outputs to 0V/0mA (used with 1794-ASB/C)
Bit 13 = 1, bit 14 = 1 – hold output at its current level (used with 1794-ASB/C)
Bit 13 = 0, bit 14 = 0 – Safe state data is in output data words
order for the real time data to appear at the outputs. If this bit is not set (0), the outputs
will be determined by S1/S0.
Channel 0 output data – The output data is real time data formatted to the selected
configuration. This data is also safe state data when directed by S1 and S0.
Channel 1 output data – The output data is real time data formatted to the selected
configuration. This data is also safe state data when directed by S1 and S0.
Channel 2 output data – The output data is real time data formatted to the selected
configuration. This data is also safe state data when directed by S1 and S0.
Channel 3 output data – The output data is real time data formatted to the selected
configuration. This data is also safe state data when directed by S1 and S0.
Channel 2 Configuration
Channel 3 Configuration
on page 48)
Publication 1794-UM064B-EN-P - May 2014
52 Communicate With Your Module
1794-IF4I Isolated Analog Input Module Word/Bit Descriptions
Write WordDecimal Bit
Write Word 6Bits 00…03Calibrate bit – When this bit is set (1), the channel can be calibrated using the
Write Words
7 and 8
(Octal Bit)
Bit 04Gain/Offset Calibration bit (GO) – When this bit is cleared, a 0 to 1 to 0 transition of
Bit 05Calibration Clock bit (CK) – When this bit is set to 1 (calibration mode), the
Bit 06Quick Calibration bit (QK) – Normally reset (0). When this bit is set (1) during a
Bit 07Revert to Defaults bit (RV) – Normally reset (0). When set (1) during a calibration
Bits 08…11
(10…13)
Bit 12 (14)Interleave Interrupt (IT) – This bit, when set (1), permits interleaving of module
Bit 13 (15)Transparent bit (TR) – This bit, when set (1), permits configuration to be changed
Biut 14 (16)Set to 1.
Bit 15 (17)Initiate Configuration bit (IC) – When set (1), instructs this the module to enter
Bits 00…15
(00…17)
Definition
calibration clock bit (CK). Bit 00 corresponds to output channel 0, bit 01 corresponds to
output channel 1, bit 02 corresponds to output channel 3, bit 03 corresponds to output
channel 4.
the CK bit performs on offset calibration. When this bit is set (1), the module is directed
to do a gain calibration.
calibration coefficient for the selected channels is accepted. When this bit is reset (0),
the accepted calibration coefficients for the selected channels are stored, applied, and
the calibration mode exited. Monitor status bits DN and BD for successful calibration.
calibration sequence, the calibration coefficient is stored to all related configurations
for the selected channels.
NOTE: Although this method of calibration quickly calibrates the selected channels,
they will not be within the rated accuracy of the module.
procedure, default values for selected channels are used for the calibration coefficient.
NOTE: They will not be within the rated accuracy of the module.
Request for Hold Outputs (Q) – Channel request bits that instruct and output to hold
its output level when EN transitions from 1 to 0 to 1. When EN is 0, outputs go to a save
state dictated by S1/S0. When EN returns to 1, the outputs will hold their level until the
output data equals the output level. P0...P3 indicates channels holding. Output read
back data shows what level is being held. Q0 = bit 08 (10) = channel 0; Q1 = bit 08 (10) =
channel 1, and so on.
interrupts ensuring exchange of critical data when channels are configured for their
fastest update times. RTSI and "no low pass filter" must be 0 in order for the module to
recognize this feature. This groups data update rates for all channels to the slowest
configuration setting of any of the channels. In addition, channel update rates for all
channels with a 7.5 ms update rate are reduced to 5.0 ms. When reset (0), real time
sampling and filter features are enabled.
without using the IC bit.
configuration mode. Present configuration data prior to or coincident with IC being set.
Once IC returns to 0, the configuration is applied and any subsequent configuration
information is ignored until IC is toggled.
Not used.
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 53
1149
1794-IF2XOF2I Series B – Isolated Analog Combo Module Image Table Mapping
1794-IF2XOF2I – Isolated Analog Combo Module Read Words
Word/Dec. Bit 15141312111009080706050403020100
Word/Octal Bit 17161514131211100706050403020100
Read Word 0Input Data Channel 0
Read Word 1Input Data Channel 1
Read Word 2Read Back Channel 0
Read Word 3Read Back Channel 1
Read Word 40Real Time Sample
Read Word 5PUFPCF0Reserved00000BDDN0
Read Word 60000P1P00000V1V0W1W0U1U0
Write Word 0ENS1S00000000000000
Write Word 1Output Data – Channel 0
Write Word 2Output Data – Channel 1
Write Word 300000000Input Channel 1 FilterInput Channel 0 Filter
Write Word 4Output Channel 1
Configuration
Write Word 50Real Time Sample Programmed Interval
Output Channel 0
Configuration
Input Channel 1
Configuration
Input Channel 0
Configuration
Publication 1794-UM064B-EN-P - May 2014
54 Communicate With Your Module
1794-IF2XOF2I – Isolated Analog Combo Module Read Words
Word/Dec. Bit 15141312111009080706050403020100
Word/Octal Bit 17161514131211100706050403020100
Write Word 6IC1TRITQ1Q000RVQKCKGOChannel Number
Write Word 7Not used
Where:PU = Power up unconfigured state
FP = Field power off
CF = Configuration mode
BD = Calibration bad
DN = Calibration accepted
P0 and P1 = Output holding in response to Q0...Q1
W0 and W3 =Wire off current loop status for channels 0 and 1 respectively. (Not used on voltage outputs).
U0 and U1 = Underrange for input channels 0 and 1 respectively
V0 and V1 = Overrange for input channels 0 and 1 respectively
EN = Enable outputs; 0 = output follows S1/S0, 1 = output enabled
IC = Initiate configuration bit
TR = Transparent bit
IT = Interrupt toggle bit
Q0 and Q1 = Hold
RV = Revert to defaults bit
QK = Quick calibration
CK = Calibration clock
GO = Gain offset select
Configure Your Input Channels
Input Channel Configuration
03020100Set these bits for Channel 0
07060504Set these bits for Channel 1
Bit SettingsInput
Values
Data Format% Underrange/
% Overrange
Input Range
Hexadec. Dec.
0000Channel not configured
00014...20 mAsigned 2’s complement4% Under; 4% Over<0000...7878><0000...30840>7.5 ms5.0 ms
0010± 10Vsigned 2’s complement2% Under; 2% Over <831F...7CE1> <-31969...31969>2.5 ms 2.5 ms
0011± 5Vsigned 2’s complement4% Under; 4% Over <8618...79E8><-31208...31208>2.5 ms2.5 ms
01000...20 mAsigned 2’s complement %0% Under; 4% Over<0...2710><0...10000>7.5 ms5.0 ms
01014...20 mAsigned 2’s complement %4% Under, 4% Over<0...2710><0...10000>7.5 ms5.0 ms
01100...10Vsigned 2’s complement %0% Under; 2% Over<0...2710><0...10000>5.0 ms5.0 ms
0111± 10Vsinged 2’s complement % 2% Under; 2% Over <-D8F0...2710><-10000...10000>5.0 ms 5.0 ms
10000...20 mAbinary0% Under; 4% Over<0000...F3CF><0000...62415>2.5 ms2.5 ms
10014...20 mA
(1)
binary4% Under; 4% Over<0000...F0F1><0000...61681>7.5 ms5.0 ms
10100...10Vbinary0% Under; 2% Over<0000...F9C2><0000...63938>2.5 ms2.5 ms
10110...5Vbinary0% Under; 4% Over<0000...F3CF><0000...62415>2.5 ms2.5 ms
1100± 20 mA offset binary, 8000H = 0 mA4% Under; 4% Over <0618...F9E8><1560...63976>2.5 ms2.5 ms
11014...20 mAoffset binary, 8000H = 4 mA 4% Under; 4% Over<8000...F878><32768...63608>7.5 ms5.0 ms
1110± 10Voffset binary, 8000H = 0V 2% Under, 2% Over <031F...FCE1> <799...64737>2.5 ms 2.5 ms
Underrange for 4...20 mA occurs in the blind area below 0 (3.2 mA).
(2)
Module Update Rate
(RTSI = 0) (RTSI = 0), IT = 1
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 55
Setting the Input Filters
BitsChannel
03020100Input Channel 0
07060504Input Channel 1
A/D Conversion RateLow Pass Filter
00001200 HzNo low pass
00011200 Hz100 ms low pass
00101200 Hz500 ms low pass
00111200 Hz1000 ms low pass
0100600 HzNo low pass
0101600 Hz100 ms low pass
0110600 Hz500 ms low pass
0111600 Hz1000 ms low pass
1000300 HzNo low pass
1010300 Hz100 ms low pass
1011300 Hz500 ms low pass
1100300 Hz1000 ms low pass
1101150 HzNo low pass
1110150 Hz100 ms low pass
1111150 Hz500 ms low pass
150 Hz1000 ms low pass
(2)
<and> indicates the overrun beyond actual range (about 5%).
Configure Your Output Channels
Configuration Bits
MSD LSD
00014...20 mA2’s complement<0000...7878><0000...30840>5.0 ms
0010± 10V2’s complement<8618...79E8><-31208...31208>2.5 ms
0011± 5V2’s complement<8618...79E8><-31208...31208>2.5 ms
01000...20 mA2’s complement %<0...10000><0...10000>5.0 ms
01014...20 mA2’s complement %<0...10000><0...10000>5.0 ms
01100...10V2’s complement %<0...10000><0...10000>5.0 ms
0111± 10V2’s complement<-10000...10000> <-10000...10000>5.0 ms
10000...20 mAbinary<0000...F3CF><0000...62415>2.5 ms
10014...20 mAbinary<0000...F0F1><0000...61681>5.0 ms
10100...10Vbinary<0000...F3CF><0000...62415>2.5 ms
10110...5Vbinary<0000...F3CF><0000...62415>2.5 ms
11004...20 mAoffset binary<8000...F9E8><32768...63976> 2.5 ms
Nominal
Range
Data TypeOutput Values
Hexadecimal Decimal
Update
Rate
Publication 1794-UM064B-EN-P - May 2014
56 Communicate With Your Module
Configure Your Output Channels
Configuration Bits
MSD LSD
1101± 20 mAoffset binary<8000...F878><32768...63608>5.0 ms
1110± 10Voffset binary<0618...F9E8><1560...63976>2.5 ms
1111± 5Voffset binary<0618...F9E8><1560...63976>2.5 ms
Nominal
Range
Data TypeOutput Values
Hexadecimal Decimal
Update
Rate
1794-IF2XOF2I Analog Combo Module Word/Bit Descriptions
WordDecimal Bit
(Octal Bit)
Read Word 0Bit 00…15
(00…17)
Read Word 1Bit 00…15
(00…17)
Read Word 2Bits 00…15
(00…17)
Read Word 3Bit 00…15
(00…17)
Read Word 4Bit 00…15
(00…17)
Read Word 5Bit 00Reserved.
Bit 01Calibration Done bit (DN) – This bit is set to 1 after a calibration cycle is completed.
Bit 02Calibration Bad bit (BD) – This bit is set to 1 if the channel calibration coefficients cannot be
Bits 03…07Set to 0.
Bits 08…11
(10…12)
Bit 12 (14)Set to 0.
Bit 13 (15)Configuration mode bit (CF) – This bit is set (1) when the calibration mode is selected (bit 15,
Bit 14 (16)Field Power Off bit (FP) – This bit is set (1) when the 24V field power fails. When this bit is
Bit 15 (17)Power Up (unconfigured state) bit (PU) – This bit is set (1) when the configuration word is
Definition
Input Channel 0 input data – 16-bit unipolar; 15-bit plus sign bipolar.
Input Channel 1 input data – 16-bit unipolar; 15-bit plus sign bipolar.
Read Back Output Channel 0 – During normal operation, it is a copy of the output of channel
0. During an EN transition, it is the condition of the output as determined by S1 and S0.
Read Back Output Channel 0 – During normal operation, it is a copy of the output of channel
0. During an EN transition, it is the condition of the output as determined by S1 and S0.
Real Time Sample – The fixed time period you set telling the module when to provide data to
the processor.
saved or be read properly.
Reserved.
word 5 in the block transfer write set to 1).
set (1), the module status indicator flashes.
all zeroes (0) due to a reset (adapter power cycle or module insertion) or a cleared configuration
word (all 0).
Publication 1794-UM064B-EN-P - May 2014
1794-IF2XOF2I Analog Combo Module Word/Bit Descriptions
Communicate With Your Module 57
WordDecimal Bit
(Octal Bit)
Read Word 6Bits 00…01Underrange bits (U) – These bits are set (1) when the input channel is below a preset limit as
Bits 02…03Wire-Off status bits (W) – These bits, when set (1), indicate the corresponding current output
Bits 04…05Overrange bits – These bits are set (1) when the input channel is above a preset limit as
Bits 06…09
(06…11)
Bits 10…11
(12…13)
Bits 12…15
(14…17)
Write Word 0Bits 00…12
(00…14)
Bit 13…14
(15…16)
Bit 15 (17)Output enable bit (EN) – When set (1), the outputs are enabled. This bit must be set in order
Write Word 1Bits 00…15
(00…17)
Write Word 2Bits 00…15
(00…17)
Write Word 3Input Channels 0 and 1 Filter Selections. (See Setting the Input Filters on page 55).
Bits 00…01Channel 0 Filter Setting
Bits 04…07Channel 1 Filter Setting
Bits 8…15
(11…17)
Write Word 4Channel Configuration
Bits 00…03Input Channel 0 Configuration – See Configuring Your Input Channel
Bits 04…07Input Channel 1 Configuration – See Configuring Your Input Channel on page 45
Bits 08…11
(10…13)
Bits 12…15
(14…17)
Write Word 5Bits 00…14
(00…16)
Bit 15 (17)Set to 0.
Definition
defined by the configuration selected. U0 (bit 00) corresponds to input channel 0 and U1 (bit 01)
corresponds to input channel 1.
channel is open. W0 (bit 02) corresponds to channel 0, W1 (bit 03) corresponds to channel 1.
defined by the configuration selected. Bit 04 corresponds to input channel 0 and bit 05
corresponds to input channel 1.
Not used. Set to 0.
Hold output bits (P) – These bits are set (1) in response to Q0 or Q1 and a transition of the EN
bit. When P0 or P1 is set (1), they indicate that the output is holding at the level in the readback
data for the respective channel. These bits return to 0 when the output data matches the
readback output data.
Not used. Set to 0.
Not used.
Safe State Configure bits (S1/S0) – When EN is 0, these bits designate the source of the safe
state data.
Bit 13 = 0, bit 14 = 1 – reset outputs to 0V/0 mA
Bit 13 = 1, bit 14 = 1 – hold the output at its current level
for the real time data to appear at the outputs. If this bit is not set (0), the outputs will be
determined by S1/S0.
Output Channel 0 data. See Configure Your Output Channels
Output Channel 1 data. See Configure Your Output Channels
Set to 0.
Output Channel 0 Configuration – See Configuring Your Input Channel on page 45.
Output Channel 1 Configuration – See Configuring Your Input Channel
Real Time Sample Interval – Programs the interval of the real time sample. Can be varied
from 0...30 s (30000 decimal). Resolution is in ms with granularity in 5 ms steps.
on page 55.
on page 55.
on page 45
on page 45.
Publication 1794-UM064B-EN-P - May 2014
58 Communicate With Your Module
1794-IF2XOF2I Analog Combo Module Word/Bit Descriptions
WordDecimal Bit
(Octal Bit)
Write Word 6Bit 00…03Channel Calibration Selection bit – When this bit is set (1), the channel can be claibrated
Bit 04Gain/Offset Calibration bit (GO) – When this bit is set (1), a reset (0), set (1), reset (0) pattern
Bit 05Calibration clock bit (CK) – When this bit is set to 1 (calibration mode), the calibration
Bit 06Quick Calibration bit (QK) – Normally reset (0). When this bit is set (1) during a calibration
Bit 07Revert to defaults bit (RV) – Normally reset (0). When set (1) during a calibration procedure,
Bits 08…09
(10…11)
Bits 10…11
(12…13)
Bit 12 (14)Interleave Interrupts (IT) – This bit, when set (1), permits interleaving of module interrupts
Bit 13 (15)Transparent bit (TR) – This bit, when set (1), permits configuration to be changed without
Bit 14 (16)Set to 1.
Bit 15 (17)Initiate Configuration bit (IC) – When set (1), instructs the module to enter configuration
Write Word 7Bits 00…15
(00…17)
Definition
using the initiate calibration bit (IC). Bit 00 corresponds to input channel 0, bit 01 corresponds to
input channel 1, bit 02 corresponds to output channel 0, bit 03 corresponds to output channel 1.
of the calibration clock bit (CK) causes a gain calibration to occur. When this bit is set to 0, a
reset (0), set (1), reset (0) pattern of the calibration clock bit (CK) causes and offset calibration
to occur.
coefficient for the selected channels is accepted. When this bit is reset (0), the accepted
calibration coefficients are stored in the selected channels, applied, and the calibration mode
exited. Monitor status bits DN and BD for succesful calibration.
sequence, the calibration coefficient is stored to all related configurations for the selected
channels.
NOTE: This method of calibration quickly calibrates the selected channels, you will not be
within the rated accuracy of the module.
default values for selected channels are used for the calibration coefficient.
Not used. Set to 0.
Request for hold outputs (Q) – Channel request bits that instruct an output to hold its output
level when EN transitions from 0 to 1 to 0. When EN is 0, outputs go to a safe state dictated by
S1/S0. When EN returns to 1, the outputs will hold their level until the output data equals the
output level. P0...P3 indicates channels holding. Output read back data shows what level is
being held. Q0 = bit 08 (10) = channel 0; Q1 = bit 08 (10) = channel 1, and so on.
ensuring exchange of critical data when channels are configured for their fastest update times.
RTSI and "no low pass filter" must be 0 in order for the module to recognize this feature. This
groups data update rates for all channels to the slowest configuration setting of any of the
channels. In addition, channel update rates for all channels with a 7.5 ms update rate are
reduced to 5.0 ms. When reset (0), real time sampling and filter features are enabled.
using the IC bit.
mode. Present confirugation data prior to or coincident with IC being set. Once IC returns to 0,
additional configuration information is ignored.
1794-ID2 Pulse Counter Module Word/Bit Definitions for Block Transfer Read Words
WordBitDefinition
Read Word 0Bit 00Ch 0 Input A – (pulse transmitter 0) – This bit, when set, indicates a signal at A.
Bit 01Ch 0 Input B – (pulse transmitter 0) – This bit, when set, indicates a signal at B.
Bit 02Ch 0 Input Z – (pulse transmitter 0) – This bit, when set, indicates a signal at Z.
Bit 03Ch 0 Input G – (pulse transmitter 0) – This bit, when set, indicates a signal at G.
Bit 04Ch 1 Input A – (pulse transmitter 1) – This bit, when set, indicates a signal at A.
Bit 05Ch 1 Input B – (pulse transmitter 1) – This bit, when set, indicates a signal at B.
Bit 06Ch 1 Input Z – (pulse transmitter 1) – This bit, when set, indicates a signal at Z.
Bit 07Ch 1 Input G – (pulse transmitter 1) – This bit, when set, indicates a signal at G.
Bit 08 (10)Calibrated 0 – This bit, when set (1), indicates that the counter 0 has been calibrated. This bit
Bit 09 (11)Calibrated 1 – This bit, when set (1), indicates that the counter 1 has been calibrated. This bit
Bit 10 (12)Ch 0 Counter Stored – This bit, when set (1), indicates a counter value is saved in store 0. This
is reset by CalReset.
is reset by CalReset.
bit is reset by StoreReset.
Publication 1794-UM064B-EN-P - May 2014
60 Communicate With Your Module
1794-ID2 Pulse Counter Module Word/Bit Definitions for Block Transfer Read Words
WordBitDefinition
Read Word 0Bit 11 (13)Ch 1 Counter Stored – This bit, when set (1), indicates a counter value is saved in store 1. This
Read Word 1Bits 00…15
Read Word 2Bits 00…15
Read Word 3Bits 00…15
Read Word 4Bits 00…15
Read Word 5Bits 00…15
Read Word 7Bits 00…15
Read Word 8Bits 00…15
bit is reset by StoreReset.
Bit 12 (14)Ch 0 Preset Reached (PR0) – When this bit is set (1), in all configuration modes, the counter 0
value equals the preset 0 value, either in a positive or negative direction. This bit is reset by
PresetReset0 and can only be set again after at least 1 more pulse.
Bit 13 (15)Ch 1 Preset Reached (PR1) – When this bit is set (1), in all configuration modes, the counter 1
value equals the preset 0 value, either in a positive or negative direction. This bit is reset by
PresetReset1 and can only be set again after at least 1 more pulse.
Bit 14 (16)Ch 0 Counter Inc/Dec – 0 = last pulse decreased counter value, 1 = last pulse increased
counter value
Bit 15 (17)Ch 1 Counter In/Dec – 0 = last pulse decreased counter value, 1 = last pulse increased counter
value
Ch 0 Stored Counter – Saved counter value on channel 0.
(00…17)
Ch 1 Stored Counter – Saved counter value on channel 1.
(00…17)
Ch 0 Counter – Current value in counter 0.
(00…17)
Ch 1 Counter – Current value in counter 1.
(00…17)
Ch 0 Counter Readback – Counter word readback – last value written to write word 1.
(00…17)
Ch 1 Counter Readback – Counter word readback – last value written to write word 2.
(00…17)
Firmware Revision – identification of latest software version code.
(00…17)
1794-ID2 Pulse Counter Module Word/Bit Definitions for Block Transfer Read Words
WordBitDefinition
Write Word 0 0…15
(0…17)
Bits 00…02 020100Ch 0 Mode Selection bits
Bit 03Ch 0 Counter Preset bit – A positive edge on this bit moves the value in Preset X to Counter X, independent of
Ch 0 Control – Control word for setting the function of Ch 0 Counter.
000Counting on positive (rising) edge of input signal A (Up/dwn counting determined by B).
001Quadrature encoder X1.
010Quadrature encoder X2.
011Quadrature encoder X4.
100Counting up on positive edge of input signal A, and down on positive edge of input signal B.
101No count function.
110No count function.
111No count function.
Preset Enable.
NOTE: To use Preset as Reset, use a count value of 0000 in the Preset value word.
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 61
1794-ID2 Pulse Counter Module Word/Bit Definitions for Block Transfer Read Words
WordBitDefinition
Write Word 1 Bit 04Ch 0 Z Preset Enable bit – When this bit is set (1), a positive edge on Z preloads Counter X = Preset X, independent of
Bit 05Ch 0 Count Enable bit – When this is set (1), the incremental encoder is enabled.
Bits 06…08
(06…10)
Bits 09…10
(11…12)
Bits 11…12
(13…14)
Bit 13 (15)Ch 0 Rollover bit – When set (1), the counter counts up to the prset and then restarts at 0. If this bit is reset (0) (not
Bit 14 (16)Ch 0 Store Reset bit – A positive edge on this bit resets Stored X in Signals.
Bit 15 (17)Ch 0 Preset Reset bit – A positive edge on this bit resets Preset Detected in Signals.
Write Word 2Ch 1 Control – Control word for setting the fuction of Ch 1 Counter.
Bits 00…02 Bit020100Ch 1 Mode Selection bits
Cal Enable.
NOTE: If Z is configured to do Store and Preset (Reset), the Store will occur first.
Ch 0 Calibration Control bits – bits 06, 07 and 08.
06Cal Enable bit – When set (1), the counter can be calibrated.
07Cal Direction bit – When set (1), calibration is performed in a negative direction; when reset (0), calibration is
performed in a positive direction.
08Ch 0 Cal Reset bit – Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit.
1009Gate Control bits
00No gate function on input G.
01Counting only if G is high (active).
10Counting only if G is low (inactive).
11The counter can be calibrated when G is high (active).
1211Store Control bits
Save the counter value on positive edge of Z (if Stored X = 0).
Save the counter value on positive edge of G (if Stored X = 0).
Save the counter value on negative edge of G (if Stored X = 0).
Save the counter value on positive and negative edges of G (if Stored X = 0).
rollover), the rollover preset value = FFFF (hex = 65536 (decimal).
000Counting on positive (rising) edge of input signal A (up/dwn counting determined by B).
001Quadrature encoder X1.
010Quadrature encoder X2.
011Quadrature encoder X4.
100Counting up on the positive edge of input signal A, and down on positive edge of input signal B.
101No count function.
110No count function.
111No count function.
Publication 1794-UM064B-EN-P - May 2014
62 Communicate With Your Module
1794-ID2 Pulse Counter Module Word/Bit Definitions for Block Transfer Read Words
WordBitDefinition
Write Word 2 Bit 03Counter Preset bit – A positive edge on this bit moves the value in Preset X to Counter X, independent of Preset Enable.
Bit 04Preset Enable bit – When set (1), a positive edge on Z preloads Counter X = Preset X, independent of Cal Enable.
Bit 05Count Enable bit – When set (1), the incremental encoder is counting.
Bits 06…08
(06…10)
Bits 09…10
(11…12)
Bits 11…12
(13…14)
Bit 13 (15)Rollover bit – When set (1), the counter counts up to the preset and then restarts at 0. If this bit is reset (0) (not rollover),
Bit 14 (16)Ch 1 Preset Reset bit – A positive edge on this bit resets Stored X in Signals.
Bit 15 (17)Ch 1 Store Reset bit - A positive ege on this bit resets Preset Reached in Signals.
Write Word 3 Bits 00…15
Write Word 4 Bits 00…15
Write Word 5 Filter Selection
Write Words
6…7
(00…17)
(00…17)
Bit 00Ch 0 Filter Enable – When set (1), and a counter 0 is in mode 000 (pulse counting), signal A0 is filtered by a digital low
Bit 01Ch 1 Filter Enable – When set (1), and a counter 1 is in mode 000 (pulse counting), signal A1 is filtered by a digial low
Bit 02…07Unused.
Bits 08…09
(10…11)09(11)08(10)
Bits 00…15
(00…17)
Calibration Control bits – bits 06, 07 and 08.
06Enable bit – When set (1), the counter can be calibrated.
07Direction bit – When set (1), calibration is performed in a negative direction; when reset (0), calibration is
performed in a positive direction.
08Reset bit – Calibration is acknowledged and a new calibration is enabled on a positive edge on this bit.
1009Gate Control bits
00No gate function on input G.
01Counting only if G is high (active).
10Counting only if G is low (inactive).
11Calibration if G is high (active).
1211Latch Control bits
00Save the counter value on the positive edge of Z (if Stored X = 0).
01Save the counter value on the positive edge of G (if Stored X = 0).
10Save the counter value on the negative edge of G (if Stored X = 0).
11Save the counter value on the positive and negative edges of G (if Stored X = 0).
the rollover preset value = FFFF
hex = 65535 (decimal).
Ch 0 Preset – Value to load or compare with counter 0.
Ch 1 Preset – Value to load or compare with counter 1.
pass filter with selectable filter constant.
pass filter with selectable filter constant.
Filter bits – This constand is common to both counters.
Write Word 2Bit 00Start new measurment bit - Channel 0 – when set, start new measurement on positive edge.
Bit 01Start new measurment bit - Channel 1 – when set, start new measurement on positive edge.
Bit 02Start new measurment bit - Channel 2 – when set, start new measurement on positive edge.
Bit 03Start new measurment bit - Channel 3 – when set, start new measurement on positive edge.
Bit 04Reset Counter, Channel 0 – positive edge on this bit resets counter 01.
Bit 05Reset Counter, Channel 1 – positive edge on this bit resets counter 11.
Bit 06Reset Counter, Channel 2 – positive edge on this bit resets counter 21.
Bit 07Reset Counter, Channel 3 – positive edge on this bit resets counter 31.
Bits 08…15
Reserved.
(10…17)
Write Words
3 and 4
Bit 00…15
(00…17)
Reserved.
1203-FM1 – SCANport Module Image Table Mapping
Publication 1794-UM064B-EN-P - May 2014
Communicate With Your Module 67
1153
1154
Connection Status Word Definition
3210765411 10 9 815 14 13 12
Connection Status Word Definitions
Descripton
V1SCANport channel 1 valid data bit. When high (1), the Logic Status and
ID1SCANport channel 1 connected peripheral port ID number. This three
V2SCANport channel 2 valid data bit. When high (1), the Logic Status and
ID2SCANport channel 2 connected peripheral port ID number. This three
Analog Feedback values are valid and can be used. When low (0), the
values should not be used.
bit field contains the port number that channel 1 is connected to on the
SCANport device. It should contain a value between 1 and 7. If this
field is 7, then the channel is not connected to the SCANport device or
the SCANport device may not be powered.
Analog Feedback values are valid and can be used. When low (0), the
values should not be used.
bit field contains the port number that channel 2 is connected to on the
SCANport device. It should contain a value between 1 and 7. If this
field is 7, then the channel is not connected to the SCANport device, or
the SCANport device may not be powered.
Logic Status/Analog Feedback Definition
The Logic State and Analog Feeback values are defined within the product
manuals of the connected SCANport device(s).
Connection Enable Word Definition
14 13 12
Connection Enabled Word Definitions
Descripton
E1SCANport channel 1 enable bit. When set (1), the module attempts to
connect to the SCANport device. When reset (0), the module stops
communicating with the connected SCANport device. This usually
causes the device to fault.
E2SCANport channel 2 enable bit. When set (1), the module attempts to
connect to the SCANport device. When reset (0), the module stops
communicating with the connected SCANport device. This usually
causes the device to fault.
32 10765411 10 9815
E2E1
Publication 1794-UM064B-EN-P - May 2014
68 Communicate With Your Module
Logic Command/Analog Reference Definition
The Logic Command and Analog reference values are defined within the
product manuals of the connected SCANport device(s).
Defaults
Each I/O module has default values associated with it. At default, each module
generates inputs/status and expects outputs/configuration.
FLEX I/O Module Defaults
Module Defaults for:Adapter DefaultsOptimal Sizes
Catalog Number DescriptionInput
Default
1794-IB88-pt 24V DC Sink Input1110
1794-OB88-pt 24V DC Source Output1101
1794-IB1616-pt 24V DC Sink Input1110
1794-OB1616-pt 24V DC Source Output1101
1794-IV1616-pt 24V DC Source Input1110
1794-OV1616-pt 24V Sink Output1101
1794-OB8EPElec. Prot. Output Module1101
1794-IB10XOB610 In/6 Out Combo Module1111
1794-IA88-pt 120V AC Input1110
1794-OA88-pt 120V AC Output1101
1794-IB8S8-pt 24V DC Sensor Input1110
1794-OW88-pt Relay Output1101
1794-IE88-pt Analog Input9680
1794-OE44-pt Analog Output11404
1794-IE4XOE24 in/2 out Analog Combo51042
1794-IR88-pt RTD Analog Input114100
1794-IT88-pt Thermocouple Input114100
1794-IRT8TC/mV/TRD Module11410
1794-IF4I4 Isolated Input Module7510
1794-OF4I4 Isolated Output Module6901
1794-IF2XOF2IIsolated Combo Module7711
1794-ID2Incremental Encoder Module8710
1794-IP4Pulse Counter Module10310
1203-FM1SCANport Module6543
Output
Default
Input
Default
Output
Default
Publication 1794-UM064B-EN-P - May 2014
The default values refect the maximum number of read/write words.
You can change the I/O data size for a module by reducing the number of words
mapped into the adapter module, as shown in optimal sizes.
Communicate With Your Module 69
Optimal sizes are the settings that provide optimal data to and from the I/O
modules. You need a software configuration tool to change the size. Make sure
the FLEX I/O adapter is compatible with the configuration tool you choose.
The optimal setting provide the fastest network time by only mapping read and
write words used by the I/O modules. If you reduce your data sizes to only
include optimal data, you can only change your configuration data with a
software tool. If you need to change configuration information on an optimal
basis, your data size must be large enough to include the necessary words.
Chapter Summary
In this chapter you learned how to communicate with your module. Read the
next chapter to learn how to connect to the PROFIBUS DP network.
Publication 1794-UM064B-EN-P - May 2014
70 Communicate With Your Module
Notes:
Publication 1794-UM064B-EN-P - May 2014
Chapter
3
Connect Your Adapter to the PROFIBUS DP
Network
Overview
The DP Physical Layer
Read this chapter to install the input and output analog modules.
For Information OnPage
The DP Physical Layer
Cabling and Equipment Required for Line A Type
Cabling and Equipment Required for Line B Type
Connect the Adapter to the Network
Terminate the Network
The PROFIBUS network media is a balanced transmission line corresponding to
the standard EIA RS-485, terminated at both ends. Both line A and line B types
are available, depending on your system requirements.
Specifications and guidelines for DP media:
• linear bus, terminated at both ends
• drop cables (preferably no longer than .30 m), no branches
• shielded twisted pair
• max. line length between 100 and 1200 m (depending on baudrate and
cable type)
Measurements are the sum of all bus segments and drop cable lengths combined.
(2)
If using a combination of both line types, divide the lengths shown by two.
(1)
Line A Requirements
≤ 19.2 k1200 m1200 m≤ 15 nF
93.75 k1200 m1200 m≤ 3 nF
187.5 k1000 m600 m≤ 1 nF
500 k400 m200 m≤ 0.6 nF
1.5 M200 mNA≤ 0.2 nF
12 M100 m
(2)
Line B RequirementsTotal Capacity of
all Drop Cables
Cabling and Equipment
Required for Line A Type
Line A cabling can support baudrates as high as 1.5 Mbits/s.
Cables
You need a shielded twisted pair cable for your cabling (bus segments or drop
cables). Any line A cable available on the market can be used to connect your
adapter to a PROFIBUS network.
T-junction Connectors
You need t-junction connectors to connect your droplines to bus segments. You
can use any t-junctions available on the market.
Termination Blocks
Termination blocks are only needed if the devices on the end of the network do
not have built-in terminating resistors. If you need termination blocks, you can
use any termination blocks available on the market.
Publication 1794-UM064B-EN-P - May 2014
Connect Your Adapter to the PROFIBUS DP Network 73
IMPORTANT
IMPORTANT
Bus Connector
Connect your adapter to the PROFIBUS DP network by attaching a bus
connector to the female 9 pin D-Sub connector on the front of the module.
For detailed information on the topology and cabling for line A, refer
to the PROFIBUS Standard (DIN 19245 Parts 1 & 3, Issue 1994).
Cabling and Equipment
Required for Line B Type
Line B cabling can support baudrates as high as 500 kbits/s.
Cables
You need a shielded twisted pair cable for your cabling (bus segments or drop
cables). Any shielded twisted pair cables available on the market can be used to
connect your adapter to a PROFIBUS network, however, bus segment cables
must contain wire for data ground and a cable braid shield. We recommend
Sprecher+Schuh cable as shown in the table below.
T-junction Connectors
You need T-junction connectors to connect your droplines to bus segments. You
can use any t-junctions available on the market, however, we recommend
Sprecher+Schuh connectors as shown in Tab l e
page 74.
Cable Types and Descriptions on
Termination Blocks
Termination blocks are only needed if the devices on the end of the network do
not have built-in terminating resistors. If you need to use termination blocks, any
termination blocks available on the market can be used, however, we recommend
Sprecher+Schuh termination blocks as shown in the table below.
Bus Connector
Connect your adapter to the PROFIBUS DP network by attaching a bus
connector to the female 9 pin D-Sub connector on the front of the module.
For detailed information on the topology and cabling for line B, refer
to the PROFIBUS Standard (DIN 19245 Parts 1 & 3, Issue 1994).
Publication 1794-UM064B-EN-P - May 2014
74 Connect Your Adapter to the PROFIBUS DP Network
PROFIBUS DP
master/scanner
controller
PROFIBUS media
(trunk cable)
Other DP
adapter/slave
1794-APBDPV1 adapter/slave
FLEX I/O system
Other DP
adapter/slave
Personal computer
with configuration
software
1155
Cable Types and Descriptions
EquipmentTypeCatalog NumberPart Number
Drop cableSprecher + SchuhPTL-2, PTL-4, PDC-1087.890.282-10
• use bus segments with t-junctions and termination blocks to form the
PROFIBUS media (trunk cable).
• Use termination blocks to terminate the line at each end of the trunk cable.
• Use drop cables to connect devices to the network.
The maximum number of stations on the same network is 32.
Publication 1794-UM064B-EN-P - May 2014
Connect Wiring to the Adapter
1. Connect the PROFIBUS drop cable to the 9-pin D-shell connector
according to the pin assignments in Ta b l e
page 75.
ATTENTION: If you connect or disconnect wiring while the field-side
power is on, an electrical arc can occur. This could cause an explosion in
hazardous location installations. Be sure that power is removed or the
area is nonhazardous before proceeding.
D-Shell Pin Assignment on
Connect Your Adapter to the PROFIBUS DP Network 75
44558
G
E
24V
COM
PROFIBUS connector
D
F
44559
D-Shell Pin Assignment
PINRS-485 ReferenceSignalDescription
1ShieldShield, RC to earth ground
2RPNot used
3B/B’RXD/TXD-PReceive/transmit data - P
4CTNR-PNot used
5C/C’DGNDData ground
6VPVoltage plus (+5V)
7PRNot used
8A/A’RXD/TXD-NReceive/transmit data - N
9CTNR-NNot used
Metal shellEarth ground
2. Connect the cable shield to pin 1.
The shield is connected to earth ground.
3. Connect the data signal pins on both ends (signal + pin 3 and
signal - pin 8).
1
6
.
.
.
.
.
9
5
DROP CABLE
RCV/ Xmit data +
RCV/ Xmit data -
Earth ground
PROFIBUS
ADAPTER
Shield
Signal + Pin #3
Signal - Pin #8
Pin #1
Pin #5
*
Data ground
*
Pins #5 and #6 can be used to supply an external PROFIBUS terminator.
+5V Pin #6
4. Insert the wired connector into the mating connector on the PROFIBUS
adapter as shown.
Publication 1794-UM064B-EN-P - May 2014
76 Connect Your Adapter to the PROFIBUS DP Network
PROFIBUS DP ADAPTER
.
.
.
.
+ 5V6
3
8
5
390 Ω (2%, 1/4 W)
390 Ω (2%, 1/4 W)
CABLE
Signal +
Signal -
Data ground
220 Ω (2%, 1/4 W)
5
1
9
6
1157
5. Connect +V DC power to the left side of the lower connector, terminal E.
ATTENTION: Total power connection wire length must be less than
10 m (32.8 ft).
6. Connect - V common to the left side of the upper connector, terminal D.
7. Connections G and F are used to pass +V DC power (G) and -V common
(F) to the next module in the series (if required).
ATTENTION: When connecting wiring, torque terminal screws D, E, F,
and G to 0.8 Nm (7 lb-in).
ATTENTION: Do not wire more than two conductors on any single
terminal.
Terminate the Network
You must use termination blocks only if your devices on the end of the network
do not have built-in terminating resistors. Terminate the PROFIBUS media
(trunk cable) at both ends of the network. If you are not using a connector with
built-in resistors, terminate the cable at the adapter connector as shown.
Terminate at the Adapter Using Line A
Since Line A has a higher line impedance, you must use the following
termination resistors:
Publication 1794-UM064B-EN-P - May 2014
Connect Your Adapter to the PROFIBUS DP Network 77
1158
Terminate at the Adapter Using Line B
Use the following termination resistors with line B:
Chapter Summary
PROFIBUS DP ADAPTER
+ 5V6
Signal +
Signal -
Data ground
3
8
5
9
.
.
6
390 Ω (2%, 1/4 W)
150 Ω (2%, 1/4 W)
390 Ω (2%, 1/4 W)
5
.
.
1
CABLE
In this chapter you learned how to connect your adapter to the PROFIBUS DP
network. Read the next chapter to learn about how to configure your adapter for
Master/Slave communication
Publication 1794-UM064B-EN-P - May 2014
78 Connect Your Adapter to the PROFIBUS DP Network
Notes:
Publication 1794-UM064B-EN-P - May 2014
Chapter
Configure the Adapter for Master/Slave
Communication
4
Overview
How Master/Slave
Communication Takes
Place
Read this chapter to familiarize yourself with input, output and configuration
files for analog I/O modules on the PROFIBUS network.
For Information OnSee Page
How Master/Slave Communication Takes Place79
Enter User Parameter Data80
Enter Check Configuration Data86
A data exchange between the master and slave cannot be performed until check
configuration and send parameter data are issued. Each time you power-up the
network, the master sends check configuration and send parameter data to the
slave (FLEX I/O adapter).
Check configuration data determines or checks the number of input and output
words used by each FLEX I/O module.
Send parameter data contains device-specific parameters you define for each
FLEX I/O module.
You need a software configuration tool to set the values associated with these
parameters. Since the FLEX I/O adapter is compatible with any master, you can
use any compatible configuration tool available.
The Device Database File (GSD) is used by your configuration tool to help you
set up your system. Your configuration tool automatically reads the GSD file and
extracts defaults used in the data exchange. For more information on GSD files,
see Appendix B on page 105.
The file is in ASCII format and you can view it with any text editor. To download
a printable copy of your GSD file, see Appendix B on page 105.
The user parameter data fields are not defined in the GSD file. Depending on the
format you choose, you may have to manually edit these values with your
configuration tool.
For more information on how you define and enter these user parameter values,
refer to the documentation associated with your master and software
configuration tool.
79Publication 1794-UM064B-EN-P - May 2014
80 Configure the Adapter for Master/Slave Communication
GroupIdent.
Number
Minimum
Station
Delay
Watchdog
Control
Station
Status
User Parameter Data
Watchdog
Control
You configure these values using your
software configuration tool.
These values are defined by the PROFIBUS
standard. the defaults are provided by
the GSD file.
Ident.
1161
Enter User Parameter Data
Send parameter data is comprised of a string of octets (1…244) that contain 244
bytes of data:
• octets 1…7 contain data specific to the:
– PROFIBUS Standard
– defaults contained in the database (GSD) file
• octets 8…244 are user configurable and contain user parameter data. User
parameter data consists of these formats:
– auto configure
–condensed
–full
FigureSend Parameter Data Table Structure shows the structure of the send
parameter data table.
Send Parameter Data Table Structure
User Parameter Data
The first byte of the user parameter data is the flags byte. This byte selects the
appropriate format and also specifies adapter behavior. The flags byte is defined
in the following table:
Send Parameter Data Flags Byte
Bit PositionNameDescription
0…1Format Selection00 = Auto Configure
2…3Fault Action00 = Reset to zero
4Input Fault Action0 = Reset inputs to zero
5Byte Order of Float values
6…7ReservedReserved bits must be zero
If the send parameter data is received with no user parameter data, the flags byte
is set to zero which selects:
01 = Reserved
10 = Condensed
11 = Full
01 = Hold Last State
10 = Use Safe State
11 = Reserved
1 = Hold Last Value
Publication 1794-UM064B-EN-P - May 2014
Configure the Adapter for Master/Slave Communication 81
1159
• auto configure
• reset outputs to zero on fault
• reset inputs to zero on fault
The reserved bits must be set to zero to prevent undesired firmware update
behavior. This is the default behavior of the module as defined in the GSD file.
The descriptions in this chapter use the following example FLEX I/O
configuration to explain the information required for each of these functions:
1794-APBDPV1 Adapter Slave
1794-APBDPV1 Adapter Slave
FLEX I/O System
Auto Configure Format
The Auto Configure format allows you to change modules without affecting the
User Parameter or Check Configuration data. This format provides no keying
from the master on the I/O modules installed in the FLEX I/O system. The
installed module at power-up is taken as the key.
If you change a module while it is being controlled by a master, a recoverable fault
occurs. To recover from this fault, you must replace the module with an identical
module type.
User Parameter Example
User Parameter Message, Auto Configure Format (Length 1 byte)
NameValueDescription
Octet 8:00hAuto Configure Format, Reset to Zero on Fault
The complete I/O module real time data table without the module ID, but with
the module configuration, is transferred via cyclic PROFIBUS data in one block.
Condensed Format
The condensed format consists of the flags byte and the module key parameter
for each of the eight slots. This parameter dictates which I/O module must be
installed. If at any time the actual module ID does not match this module key, the
slot will be considered in fault and the following occurs:
• Status Indicator flashes red/off
Publication 1794-UM064B-EN-P - May 2014
82 Configure the Adapter for Master/Slave Communication
• an error bit in the poll response data is set
• a diagnostic bit in the Ext_Diag_Data field returned in the Read DP-Slave
All eight slots must be configured with the module key parameter. The size for
this format depends on the module types which are configured (1 word ID for
standar modules, 2 word ID for EDT modules). The range can vary from
20 bytes (including the flags byte) to 36 bytes.
The condensed format structure must be repeated for each of the eight slots.
Data Format for Condensed Format
NameSizeDescription
Module KeyWORDModule ID # that must be installed
(1)
Only bits 0…12 are used. Bits 13…15 must be zero except when keying an empty slot where 0FFFFh is used.
The following table shows the identification numbers for commonly used FLEX
I/O modules.
Diagnostic Information message response is set
(1)
FLEX I/O Module Catalog NumberModule Identification Number
Four-word Modules
1794-IB80180h
1794-OB80190h
1794-IB160281h
1794-OB160191h
1794-IV160204h
1794-OV16010Ch
1794-IA80285h
1794-OA80195h
1794-OA8I019Ch
1794-OW80199h
Sixteen-word Modules
1794-IE8/A1920h
1794-OE4/A1121h
1794-IE4XOE2/A1522h
1794-IE8/B1924h
1794-OE4/B1125h
1794-IE4XOE2/B1526h
1794-IT81B00h
1794-IR81B01h
1794-IRT81B03h
1794-ID2/B1B03h
(module key)
Publication 1794-UM064B-EN-P - May 2014
Configure the Adapter for Master/Slave Communication 83
FLEX I/O Module Catalog NumberModule Identification Number
1794-IP4/B1A04h
1203-FM11600h
1794-IE8H/A1E3F 2003h
1794-OE8H/A153F 2002h
1797-IE8H/A1E3F 2001h
1797-OE8H/A153F 2002h
1794-VHSC/A1A3F 2000h
1794-IF8IH/A1E3F 2005h
1794-OF8I/A153F 2006h
1794-IE8H/B1E3F 2103h
1794-OE8H/B153F 2104h
1797-IE8H/B1E3F 2102h
1797-OE8H/B153F 2102h
(module key)
When you use the condensed format, no safe state data can be defined, thus the
safe state data is left at the power up default of all zeroes. Setting the Fault Action
in the byte to Use Safe State with this format is the equivalent of setting Reset to
Zero.
The complete I/O module real time data table without the module ID, but with
the module configuration, is transferred via cyclic PROFIBUS data in one block.
User Parameter Example
User Parameter Message, Condensed Format (Length 17 bytes)
NameValueDescription
Octet 8:02hCondensed Format, Reset to Zero on Fault, Reset
Octet 13-14:1920h1794-IE8 8-point analog input module
Octet 15-16:1121h1794-OE4 4-point analog output module
Octet 17-18:0FFFFhEmpty
Octet 19-20:0FFFFhEmpty
Octet 21-22:0FFFFhEmpty
Octet 23-24:0FFFFhEmpty
Inputs to Zero
Refer to your configuration tool publications for information on how and where
to enter this data.
Publication 1794-UM064B-EN-P - May 2014
84 Configure the Adapter for Master/Slave Communication
Full Format
The full format consists of the flags byte and four parameters for each of the eight
slots. The module key parameter is the same for the full format as defined by the
condensed format, but adds three more parameters for each slot.
Use the full format for non EDT I/O modules to:
• provide Safe State values for output points
• send FLEX I/O module configurations once (when you send parameters)
• configure data sizes to reduce the size of data required during run mode
Use the full format for EDT I/O modules to:
• provide Safe State values for output points
• send FLEX I/O module configurations once (when you send parameters)
• configure data sizes to reduce the size of data required during run mode
• configure HART variables data to show in the cyclic PROFIBUS data
instead of every poll
instead of every poll
area.
You must configure all eight slots. The minimum size is 28 bytes – no slots have
FLEX I/O module configuration or safe state data. The maximum size is
237 bytes (the size of the PROFIBUS user parameter area).
Data Format for Full Format of Non EDT I/O Module
User
Parameter
Byte
5, 6Module KeyWORDModule ID # that must be installed
7Module Data Sizes
8....xSafe State DataARRAYOutput Safe States. Word array of size Safe
x...yModule Configuration
(1)
Each of the two sizes can range from 0…15 words but when combined cannot exceed 15 words total.
(2)
Only bits 0…12 are used. Bits 13…15 must be zero except when keying an empty slot where 0xFFFF is used.
NameSizeDescription
(1)
BYTEBits 0…3 Safe State Size (in words)
ARRAYFLEX I/O Module Configuration. Word array of
Data
Bits 4…7 Module Configuration Data Size (in
words)
State Size.
size Configuration Size.
(2)
Publication 1794-UM064B-EN-P - May 2014
Configure the Adapter for Master/Slave Communication 85
Data Format for Full Format of EDT I/O Module
User
NameSizeDescription
Parameter
Byte
5...8Module Key2 WORDS Module ID # that must be installed
9Module
Data Sizes
10Configuratio
BYTEBits 0…3 Safe State Size (in words)
(1)
Bits 4…7 Module Configuration Data Size (in words)
BYTEModule Configuration Data Size (in words)
(2)
n Data Sizes
11....XSafe State
ARRAYOutput Safe States. Word array of size Safe State Size.
Data
X...YModule
Configuratio
ARRAYFLEX Module Configuration. Word array of size
Configuration Size.
n Data
Y. . .ZH A R T
Variables
Configuratio
n
ARRAYY.Byte Bits 0…3 HART loop select of first HART value
Y.Byte Bits 4…7 HART loop select of second HART value
Y+1.Byte Bits 0…3 HART loop select of third HART value
Y+1.Byte bits 4…7 HART loop select of fourth HART value
Y+2.Byte Bits 0…1 Variable select of first HART value
Y+2.Byte Bits 2…3 Variable select of seoncd HART value
Y+2.Byte Bits 4…5 Variable select of third HART value
Y+2.Byte Bits 6…7 Variable select of fourth HART value
(1)
Each of the two sizes can range from 0…15 words but when combined cannot exceed 15 words total.
(2)
Only bits 0…12 are used. Bits 13…15 must be zero except when keying an empty slot where 0xFFFF is used.
There are some possible configurations of FLEX I/O modules that would exceed
the user parameter area of 237 bytes. Be aware of the totals of the words and
modules you are using.
User Parameter Example
User Parameter Message, Full Format (Length 43 bytes)
Octet 16:01hSlot 2 config size 0 words, safe state size 1 word
Octet 17…18:0000h1 safe state data word, safe state value for output points
Octet 19…20:1920hSlot 3 Module Key 1794-IE8 8-point analog input module
Octet 21:10hSlot 3 config size 1 word, safe state size 0 words
Octet 22…23:0000h1 config word, channel slection
Octet 24…25:5121Slot 4 Module Key 1794-OE4 4-point analog output module
Octet 26:24hSlot 4 config size 2 words, safe state size 4 words
Octet 27…28:0000h2 config words – channel selection and
Octet 29…30:0000houtput enabled
Octet 31…32:0000h4 safe state data words – safe state size 4 words
Publication 1794-UM064B-EN-P - May 2014
86 Configure the Adapter for Master/Slave Communication
User Parameter Example
User Parameter Message, Full Format (Length 43 bytes)
NameValueDescription
Octet 33…34:0000houtput point 2
Octet 35…36:0000houtput point 3
Octet 37…38:0000houtput point 4
Octet 39…40:0FFFFhSlot 5 empty
Octet 41:00hSlot 5 all sizes zero
Octet 42…430FFFFhSlot 6 empty
Octet 44:00hSlot 6 all sizes zero
Octet 45…46:0FFFFhSlot 7 empty
Octet 47:00hSlot 7 all sizes zero
Octet 48…49:0FFFFhSlot 8 empty
Octet 50:00hSlot 8 all sizes zero
Refer to your configuration tool publications for information on how and where
to enter this data.
Enter Check Configuration
Data
On a PROFIBUS DP network, the I/O data exchanged between the
PROFIBUS DP master and a DP slave is encapsulated into logical modules. The
total I/O data exchanged between a PROFIBUS DP master and a DP slave
device comprises a set of logical modules which is defined in the check
configuration data.
Each physical slot of the FLEX I/O system is represented by two logical modules
(one input and one output). When the FLEX I/O adapter is powered-up, the
check configuration message configures the module format (input and output
words) and defines the size of the modules within the device. When the sizes are
configured, the I/O data can be optimized to remove unused data from the data
stream.
Both input and output sizes can be configured. If a slot is empty, or if either the
input or output module is zero length, the specific identifier for an empty module
(free place) must be used.
If the end of the identifiers is reached before all slots have been configured, the
remaining slots are configured as empty.
The first two modules allocated are for the adapter itself, and must always be a 1
word input module and a 1 word output module, regardless of what parameter
format you choose. The adapter uses these words for adapter status information.
Modules for each of the individual slots (FLEX I/O modules) must also follow
these word assignments.
Publication 1794-UM064B-EN-P - May 2014
Configure the Adapter for Master/Slave Communication 87
Most Significant Bit
Bit Number
Consistency over
0 byte or word
1 whole length
length format
0 byte byte structure
1 word word structure
The format of the adapter status word is defined in the following table:
Adapter Status Word
Input Status Word
Bit PositionNameDescription
0
1…7
8…15
Bit PositionNameDescription
0…15Reservedsent as zeroes.
I/O Module Faults are caused by:
• transmission errors on the FLEX I/O backplane
• bad module
• removed module
• incorrect module inserted
Address ChangeThis bit is set when the Node Address switch is
changed since power up.
ReservedSent as zeroes.
I/O Module FaultThis bit is set when an error is detected in a slot
position (bits 0…7 refer to slots 1…8).
Output Status Word
The adapter expects the identifier area for each of the eight FLEX I/O slots to be
2 bytes. The DP input/output identifier and all specific DP identifiers (except
the empty module) are not supported.
The identifier byte and its format are described in the following illustration. This
byte is defined in Part 3 of the PROFIBUS Standard.
Publication 1794-UM064B-EN-P - May 2014
88 Configure the Adapter for Master/Slave Communication
The maximum size of this identifier area is 17 bytes. If no FLEX I/O modules are
installed in the upper slots, the length may be less. Consistency must be over a
word.
Check Configuration Example
Check Configuration Message when used with Send Parameter Auto Configure or
Condensed Format (Length 10 bytes)