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) describes some important dif
ferences 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 the Allen-Bradley Company 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, the
Allen-Bradley Company cannot assume responsibility or liability for
actual use based on the examples and diagrams.
No patent liability is assumed by Allen-Bradley Company 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 the Allen-Bradley Company is
prohibited.
Throughout this manual we use notes to make you aware of safety
considerations.
ATTENTION: Identifies information about practices
or circumstances that can lead to personal injury or
!
death, property damage, or economic loss.
Attentions help you:
• identify a hazard
• avoid the hazard
• recognize the consequences
Important: Identifies information that is especially important for
successful application and understanding of the product.
Microsoft is a registered trademark of the Microsoft Corporation.
Windows is a trademark of the Microsoft Corporation.
FLEX I/O and PLC-5 are trademarks of the Allen-Bradley Company
PROFIBUS is a trademark of the PROFIBUS User Organization
, Inc.
About this User Manual
Preface
Purpose
Vocabulary
this Manual Contains
What
Use this manual to install and configure your FLEX I/O
TM
PROFIBUS Adapter, cat. no. 1794-APB.
In this manual, we refer to:
• the FLEX I/O PROFIBUS adapter module as the “adapter”
• the programmable controller as the “processor”
The following table shows what each chapter of this manual
describes:
ChapterTitleDescribes
Overview of FLEX I/O
1
2
3
and Your PROFIBUS
Adapter
How Communication
Takes Place and I/O
Mapping
Connect the Adapter to
the PROFIBUS DP
Network
The FLEX I/O system and PROFIBUS
adapter.
Backplane communication between the
modules and the adapter, and how data is
mapped into the image table.
The DP physical layer, how to select the line
type you should use and how to connect to
and terminate the network.
Configure the Adapter for
4
5Troubleshooting
Appendix ASpecificationsAdapter specifications.
Appendix BDevice Data Base FileDevice Data Base (GSD) File.
Master/Slave
Communication
How to configure the adapter for
master/slave communication.
How to use the indicators for
troubleshooting.
Publication 1794-6.5.6 – April 1996
About this User ManualP –2
g
Catalog
D
Related Publications
For additional information on planning and installing your
PROFIBUS system using FLEX I/O modules, refer to the following
publications:
Catalo
Number
1794-APB24V dc PROFIBUS AdapterInstallation Instructions1794-5.40
1794-TB2
1794-TB3
1794-TBNTerminal Base UnitInstallation Instructions1794-5.16
1794-TBNFFused Terminal Base UnitInstallation Instructions1794-5.17
To order these publications, contact your local Allen-Bradley
representative.
This icon appears when more information is available in related
documentation.
About this User ManualP –3
Compliance
to
European Union Directives
If this product has the CE mark it is approved for installation within
the European Union and EEA regions. It has been designed and
tested to meet the following directives.
EMC Directive
This product is tested to meet Council Directive 89/336/EEC
Electromagnetic Compatibility (EMC) and the following standards,
in whole or in part, documented in a technical construction file:
• EN 50081-2EMC – Generic Emission Standard, Part 2 –
Industrial Environment
• EN 50082-2EMC – Generic Immunity Standard, Part 2 –
Industrial Environment
This product is intended for use in an industrial environment.
Low V
oltage Directive
This product is tested to meet Council Directive 73/23/EEC
Low Voltage, by applying the safety requirements of EN 61131–2
Programmable Controllers, Part 2 – Equipment Requirements and
Tests.
For specific information required by EN 61131-2, see the appropriate
sections in this publication, as well as the following Allen-Bradley
publications:
• Industrial Automation Wiring and Grounding Guidelines For
Noise Immunity, publication 1770-4.1
• Guidelines for Handling Lithium Batteries, publication AG-5.4
• Automation Systems Catalog, publication B111
Publication 1794-6.5.6 – April 1996
About this User ManualP –4
Publication 1794-6.5.6 – April 1996
Table of Contents
Overview
Y
our PROFIBUS Adapter
of FLEX I/O and
Module
How Communication T
Place and I/O Image
Table Mapping
Overview of FLEX I/O and Your
PROFIBUS Adapter Module
What
this Chapter Contains
The FLEX I/O System
Adapter
This chapter describes:
• what the FLEX I/O system is and what it contains
• how to mount and remove your system easily
• optional accessories
• mounting dimensions and spacing requirements
• the 1794-APB FLEX I/O PROFIBUS Adapter
• adapter components
• how to connect power wiring
FLEX I/O 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:
Terminal Base
I/O Module
More
Information...
20125
• PROFIBUS adapter/power supply – powers the internal logic for
as many as eight I/O modules
• 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
For information on how communication occurs over the FLEX I/O
system backplane, refer to Chapter 2.
Publication 1794-6.5.6 – April 1996
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–2
Mount and Remove your
System Easily
DIN Rail
A-B part no. 199-DR1
DIN 46277-3
EN 50022 (35 x 7.5mm)
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).
An example of a DIN rail-mounted system is shown below.
Screw holes are available
for panel-mounting.
Components are
slotted to accept a
DIN rail.
Optional Accessories
Locking tab connector holds
terminal base onto DIN rail.
20127
Extender Cables (1794-CE1 or -CE3)
Use the optional 1794-CE1 (0.3m) or -CE3 (0.9m) extender cable
(one per system) to arrange your system in two rows or split your
system into horizontal and vertical orientation.
1794-CE1 or -CE3
Extender Cable
Publication 1794-6.5.6 – April 1996
20129
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–3
ATTENTION: This cable can only be used between
I/O modules. Do not use between the adapter and I/O
!
modules. Do not use more than one cable per system.
Mounting Kit (1794-NM1)
Use the optional 1794-NM1 mounting kit to mount your system on a
panel or wall without a DIN rail.
1794-NM1
Mounting Kit with
18 screws (2 screws for
the adapter and 2 screws
for each module)
20129
Publication 1794-6.5.6 – April 1996
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–4
Mounting Dimensions
and Spacing Requirements
.83
(21)
3.2
(80)
3.4
(87)
Allow 1.0 (25.4) air
gap on all 4 sides.
1794-ASB
3.4H x 2.7W x 2.7D
(87H x 68W x 69D)
Optional
Mounting
Kit
1.4
(35)
2.7
(68)
2.3
(59)
Inches
(Millimeters)
1.4
(35)
3.7
(94)
3.7
(94)
1794-TB2, -TB3
3.7H x 3.7W x 2.7D
(94H x 94W x 69D)
0.9
(23)
DIN
Rail
0.6
(17.0)
0.3
(8)
2.0
(50)
1.2
(30)
Approximately
11.5 (292.1)
from upper
connector
3.7
(94)
3.2
(80)
Publication 1794-6.5.6 – April 1996
Secure DIN Rail
every 200mm.
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–5
Purpose of the 1794-APB
FLEX I/O Adapter
= Drop Cable
= Bus Segment
= Termination Block
= T–junction
The 1794-APB is a FLEX I/O adapter that interacts with the FLEX
I/O backplane and any PROFIBUS DP master/scanner controller on
a PROFIBUS DP network.
The 1794-APB 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-APB 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.
PROFIBUS DP
Master/Scanner
Controller
RS-232
Personal Computer
with Configuration
Software
Other DP
Adapter/Slave
Other DP
Adapter/Slave
DP
1794-APB Adapter Slave
FLEX I/O System
Publication 1794-6.5.6 – April 1996
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–6
PROFIBUS Adapter
Components
STATUS indicator
(green/red)
PROFIBUS indicator
(green/red)
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
Flexbus
Connector
24V dc wiring
Connection
Terminals
PROFIBUS
DP
Network
Connector
More
Node Address
Switches
Information...
20627
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.
Chapter 5 describes the diagnostic indicators and how to use them
for troubleshooting.
Publication 1794-6.5.6 – April 1996
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–7
Network Connector
Use the 9-pin D-shell connector to connect your adapter to the
PROFIBUS network.
Setting the Node Address Switches
Set the node address using the 2-position thumbwheel switch. Valid
settings range from 01 to 99. Use a pen to press either the + or –
buttons to change the number.
More
Information...
PROFIBUS
DP Network
Connector (9-pin
D-shell)
Node
Address
Switches
24V dc wiring
Connection
Terminals
Power Wiring
Connections 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 Installation Instructions (pub. no. 1794-5.40) you
received with your adapter to learn how to install and wire the
adapter.
Publication 1794-6.5.6 – April 1996
Overview of FLEX I/O and Your PROFIBUS Adapter Module 1–8
Publication 1794-6.5.6 – April 1996
Chapter 2
How Communication Takes
Place and I/O Image Table
Mapping
What
this Chapter Contains
Communication Over
the I/O Backplane
Network
PROFIBUS
Adapter
Read
Write
In this chapter, you will learn about:
• communication over the FLEX I/O backplane (between the
PROFIBUS adapter and the I/O modules)
• how data is mapped into the I/O image table
One 1794-APB 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.
I/O Module
Inputs
Status
Outputs
Configuration
Slot
1
0
Read
Words
Write
Words
15
I/O Module
Inputs
Status
Outputs
Configuration
Slot 2
I/O Module
Inputs
Status
Outputs
Configuration
Slot 8
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.
Publication 1794-6.5.6 – April 1996
How Communication Takes Place and I/O Image Table Mapping 2–2
For example, a 16 point discrete input module will have up to 2 read
words and 1 write word.
Polled I/O Structure
16-point
Discrete Input Module
I/O Image
Input Size
1 or 2 W
ords
Output Size
0 or 1 W
ord
Module Image
Not used
Inputs
Not used
Delay
Time
Delay
Time
Check the I/O map for each module for the exact mapping.
The first word of output data sent 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.
Network READ
Network WRITE
PROFIBUS Adapter
Read Data
Adapter Status
Slot 1 Input Data
Slot 2 Input Data
...
Slot 8 Input Data
Write Data
Adapter Status
Slot 1 Output Data
Slot 2 Output Data
...
Slot 8 Output Data
...
...
Read
Write
I/O Module
Slot 1
I/O Module
Slot 2
...
I/O Module
Slot 8
Publication 1794-6.5.6 – April 1996
How Communication Takes Place and I/O Image Table Mapping 2–3
I/O Module Faul
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
I/O Module Fault Bits
15Bit:01234567
814 13 12 11 10 19
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 the
following table.
Bit DescriptionBitExplanation
8
9
10
11
t
12
13
14
This bit is set (1) when an error is detected
in slot position 1.
This bit is set (1) when an error is detected
in slot position 2.
This bit is set (1) when an error is detected
in slot position 3.
This bit is set (1) when an error is detected
in slot position 4.
This bit is set (1) when an error is detected
in slot position 5.
This bit is set (1) when an error is detected
in slot position 6.
This bit is set (1) when an error is detected
in slot position 7.
15
Reserved1–7Reserved
Node Address
Changed
0
This bit is set (1) when an error is detected
in slot position 8.
This bit is set (1) when the node address
switch setting has been changed since
power up.
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
• incorrect module inserted in a slot position
• the slot is empty
Publication 1794-6.5.6 – April 1996
How Communication Takes Place and I/O Image Table Mapping 2–4
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 affect 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.
Mapping
Data into
the Image Table
All FLEX I/O modules are supported by the PROFIBUS adapter.
Presently, these consist of:
Module DescriptionCatalog Number
16 Sink Input Module1794-IB16page 2–4
16 Source Output Module1794-OB16page 2–6
8 Sensor Input Module1794-IB8Spage 2–7
8 Input Module1794-IA8page 2–8
8 Output Module1794-OA8page 2–8
8 Relay Output Module1794-OW8page 2–9
8 Input Analog Module1794-IE8page 2–10
4 Output Analog Module1794-OE4page 2–12
4 in/2 out Analog Combo Module1794-IE4XOE2page 2–15
8 Input RTD Analog Module1794-IR8page 2–17
8 Input Thermocouple Module1794-IT8page 2–21
SCANport Module1203-FM1page 2–25
For image table
mapping, refer to:
Read
Write
I/O Image
Input Size
1 or 2 Words
Output Size
0 or 1 Word
1794-IB16 – 16-point Discrete Input Module Image T
Module
Image
Inputs
Not used
Not used
Delay
Time
able Mapping
Delay
Time
1794-IB16 Memory Map
Decimal Bit15141312111009080706050403020100Size
Octal Bit
Publication 1794-6.5.6 – April 1996
17161514131211100706050403020100Read Words
D15D14D13D12D11D10D9D8D7D6D5D4D3D2D1D0Read Word 1
Not usedRead Word 2
How Communication Takes Place and I/O Image Table Mapping 2–5
Octal Bit
Not usedDT 12–15DT 00–11Write Word 1
Where D = Input Data (D0 corresponds to input 0, D1 corresponds to input 1, etc.
DT = Input Delay T
ime (DT 00–1
1 corresponds to inputs 0 thru 1
1; DT 12–15 corresponds to inputs 12 thru 15)
Read Words00010203040506071011121314151617
Publication 1794-6.5.6 – April 1996
How Communication Takes Place and I/O Image Table Mapping 2–6
Oct. Bit17161514131211100706050403020100Read Words
Not usedRead Word 1
Not usedO7O6O5O4O3O2O1O0Write Word 1
Not usedWrite Word 2
Where O = Output value: where O0 corresponds to output 0, O1 corresponds to output 1, etc., and when bit = 0, the output is off; when bit = 1, the output is on.
Publication 1794-6.5.6 – April 1996
How Communication Takes Place and I/O Image Table Mapping 2–10
1794-IE8
I/O Image
Input Size
1 to 9 Words
Output Size
0 or 1 Word
– 8 Input Analog Module
Input Data 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
PU
Configure select
Module
Not used
Not used
Not used
Not used
Not used
Image
Underrange
1794-IE8 Memory Map
Decimal
Bit
Oct. Bit17161514131211100706050403020100Read Words
Where:PU
15141312111009080706050403020100Size
SAnalog Value Channel 0Read Word 1
SAnalog Value Channel 1Read Word 2
SAnalog Value Channel 2Read Word 3
SAnalog Value Channel 3Read Word 4
SAnalog Value Channel 4Read Word 5
SAnalog Value Channel 5Read Word 6
SAnalog Value Channel 6Read Word 7
SAnalog Value Channel 7Read Word 8
PUNot used – set to zeroU7U6U5U4U3U2U1U0Read Word 9
C7C6C5C4C3C2C1C0F7F6F5F4F3F2F1F0Write Word 1
Not used – set to 0Write Word 2 thru 6
= Power up bit – included in series B modules only
U = Underrange bits for 4-20mA inputs
C = Configure select bit
F = Full range bit
S = sign bit (in 2’
s complement)
.
Publication 1794-6.5.6 – April 1996
Loading...
+ 63 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.