Ac 500
Ac 500
Scalable PLC
for Individual Automation
Introduction
For AC1131 experts – connection of S500-FBP I/O module to series 90.......................... 1-122
Example: AC31 Series 90 CPU as PROFIBUS-DP master and
decentralized I/O expansion using a DC505-FBP.................................................................. 1-122
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-1 AC500 / Issued: 07.2006
AC500
S500–FBP
Explanation
The following electronic modules are the basic components of the AC500 system:
Central expansion: One CPU supports direct connection of up to seven S500 FBP system I/O devices.
Decentralized expansion: Using the DC505 FBP interface module (for fieldbus systems PROFIBUS DP,
CANopen, DeviceNet, Modbus RTU), up to seven S500 FBP system I/O devices can be connected (with
a maximum of four analog modules).
Mechanical mounting of the electronic modules is done using CPU terminal bases (for the CPU and the
couplers) and I/O terminal units (for the I/O modules), designed for snap-on mounting on a DIN rail or for
screw-mounting on a mounting panel.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-3 AC500 / Issued: 07.2006
The following pages provide a summary of all devices available for the AC500 system. For detailed
information about the individual devices please refer to the respective hardware description.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-4 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-5 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-6 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-7 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-8 AC500 / Issued: 07.2006
Topology
ARCNET is one of the few networks that can be operated in every conceivable topology. Options include
bus, star, or tree topologies, or mixtures of these. This means that ARCNET can be used for a broad
field of different applications.
Bus assignments
ARCNET operates on the token-passing procedure, where each subscriber has equal rights.
Configuration mechanisms
ARCNET subscribers can freely join and leave during an active runtime session. The system will
automatically configure the available user database.
Security mechanisms
A 16-bit CRC is appended to every data packet, and checked by the recipient. If the token is lost, a
reconfiguration routine will be initiated, and the network will automatically be restructured. Additionally,
diagnostic registers are available.
Physical characteristics
ABB recommends coaxial cables as transmission medium, for direct connection to the CPU. But also
twisted-pair cables or (glass, plastic) fiber-optic cables can be connected via bus converters. The line
lengths that can be achieved without any intermediate amplifiers depend not only on the used medium,
but also on the selected baud rate and the number of subscribers. The ranges per segment vary from
approximately 120 m for a simple two-wire bus, up to 3 km for fiber-optics, in each case at 2.5 MBit/s. By
providing appropriate hubs, different topologies and transmission media can be combined with each
other and the transmission distance can be increased. The coaxial cables used are a type with 93 Ohm,
e.g. RG 62. The permissible twisted-pair cables are specified in IEEE 802.3i-1990. At 2.5 MBit/s and with
coaxial cables, for example, the maximum length of a bus segment is 300 m with eight subscribers and
without a hub. With twisted-pair cables, under the same conditions, a maximum length of approximately
120 m can be achieved. The maximum transmis-sion length depends on the number of connected
subscribers. With coaxial cables, a maximum of 16 km can be achieved; with twisted-pair cables
approximately 6 km, in each case at 2.5 MBit/s. The fiber-optic link provides the highest degree of
interference immunity. With glass fiber-optics, distances of up to 3 km are possible at 2.5 MBit/s; with
plastic fiber-optic cables only small distances of up to approximately 100 m. The baud rate plays no
significant role in fiber-optic cable transmission. Here, the range can as well be extended using hubs.
Diagnostics
Detailed diagnostic messages for rapid trouble-shooting are shown on the CPU display or can be called
using the programming tool.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-9 AC500 / Issued: 07.2006
Data transmission
Two types of message have been defined: I/O data transfer and direct link. I/O data transfer is used for
time-critical process data, while the direct link can be, for example, used for diagnostic messages.
CANopen
The bus operates on the master/slave principle with one master and up to 127 slaves. A shielded
twisted-pair cable is used, according to ISO 11898. Cable lengths and transmission rates: from max. 40
m at 1 MBit/s to 1000 m at 20 kBit/s.
DeviceNet
The bus operates on the multi-master and/or the master/slave principle, with up to 64 bus subscribers.
Two types of shielded twisted-pair cables are used: trunk cable for the main line and drop cable for the
branch line.
Diagnostics
Detailed diagnostic messages for rapid trouble-shooting are shown on the CPU display or can be called
using the programming tool. In addition, the device status is indicated at the communication module by
four LEDs.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-10 AC500 / Issued: 07.2006
CS31 (Communication Serial Field Bus, developed by ABB in 1989) for continuity and
migration
CS31 is a proprietary master/slave field bus. It is characterized by simple handling, easy configuration,
and inexpensive installation. The COM1 interface of the AC500 can be configured as a CS31 field bus
master.
Communication
Is handled using polling, i.e. the master sends a request to the slave and then receives the response.
The CS31 operating mode of COM1 is set using the engineering tool.
Topology
Multi-point line, RS485, approved without branch lines. A system consists of one master and up to 31
slaves. The maximum cable length is 500 m, or 2 km with an amplifier. Slaves are primarily
decentralized input/output modules with integrated CS31 bus connection.
Data transmission
Is performed at 187.5 kB/s. Each telegram has an 8-bit CRC appended. The telegrams enable process
data (input/output data) to be written and read.
Transmission medium
Primarily a twisted-pair, shielded cable with terminators. Other transmission media: fiber-optic cables via
a converter (glass fibers max. 3 km, plastic max. 100 m), contact lines, slip rings (bus length max. 50 m)
and data photocells.
Diagnostics
Detailed diagnostic messages for rapid trouble-shooting are shown on the CPU display or can be called
using the programming tool.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-11 AC500 / Issued: 07.2006
Ethernet
Ethernet operates with a data rate of 10 MBit/s and as Fast-Ethernet with 100 MBit/s. Ethernet utilizes
the producer/consumer model. This means that every station possesses equal rights. While it is
transmitting, all other stations listen in and accept the data directed to them. Bus access is regulated by
the CSMA/CD procedure (Carrier-Sense Multiple-Access with Collision Detection), where each station
may autonomously transmit when the bus is free. If a collision occurs, if two stations begin to transmit
simultaneously, both of them will stop transmission and wait for a randomly determined time before they
transmit again. Ethernet defines the Layers 1 (Physical Link) and 2 (Data Link) of the OSI model.
The AC500 supports transmission and reception of data using TCP/IP and/or UDP/IP. Further
application layers can be implemented by subsequent loading. Simultaneous operation of TCP/IP,
UDP/IP and application layer is also assured. The IP, TCP, UDP, ARP, RP, BOOTP, and DHCP
protocols are supported as a standard feature, as application layer Modbus/TCP.
Topology
Star- or ring-shaped using Ethernet hub or switch.
Data transmission
Max. 10 MB/s with 10 Base T and max. 100 MB/s with Fast-Ethernet.
Transmission media
Twisted-pair cables with RJ45 connector. The maximum cable length is 100 m for 100 MB/s.
Diagnostics
Detailed diagnostic messages for rapid trouble-shooting are shown on the CPU display or can be called
using the programming tool. In addition, the device status is indicated at the communication module by
four LEDs.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-12 AC500 / Issued: 07.2006
Communication
By polling, i.e. the master transmits a request to the slave and then receives the response. Both
interfaces COM1 and COM2 can operate simultaneously as Modbus interfaces. The Modbus operating
mode of an interface is set using the engineering tool.
Topology
Point-to-point via RS232 or multi-point via RS485. With RS232, a maximum of one master and one slave
is possible, while with RS485 one master and a maximum of 31 slaves can be operated. The maximum
cable length is 15 m with RS232 and 1.2 km with RS485.
Data transfer
Max. 187.5 kB/s. Each telegram has a 16-bit CRC appended. The telegrams permit process data
(input/output data) to be written and read, either individually or in groups. The data are packed in the
RTU format.
Transmission media
May vary. One widely used option is the RS485 bus physics, a twisted-pair, shielded cable with
terminators.
Diagnostics
Detailed diagnostic messages for rapid trouble-shoot-ing are shown on the CPU display or can be called
using the programming tool.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-13 AC500 / Issued: 07.2006
Communication
The masters rule data traffic on the bus. When in possession of the bus access authorization (token), the
masters can transmit data without an external request. The passive devices, known as slaves, do not
receive any bus access rights; they acknowledge messages received, or respond to a query from a
master. Baud rates from 9.6 kBaud to 12 MBaud are supported. A maximum of 126 devices can be
operated on the bus.
Data exchange
This is handled predominantly in cyclical mode be-tween master and slave. The requisite communication
functions have been specified by the PROFIBUS DP basic functions in accordance with EN 50170. Each
master has full write and read access to its assigned slaves, but only read access to the slaves assigned
to other bus masters. There is no direct data exchange between masters. Acyclical services (DP-V1) for
parameterization and diagnostics between master and slave are also available. This is performed in
parallel to the master’s cyclical user data traffic.
Diagnostics
Detailed diagnostic messages for rapid trouble-shooting are shown on the CPU display or can be called
using the programming tool. In addition, the device status is indicated at the communica-tion module by
four LEDs.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-14 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-15 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-16 AC500 / Issued: 07.2006
CoDeSys libraries
Section Comment
'Standard.lib' library Standard library
'util.lib' library Various blocks, e.g. for BCD conversion, bit/byte
functions, etc.
'AnalyzationNew.lib' library Analysis of expressions
CoDeSys system libraries Depends on the target system
CoDeSys visualization
Section Comment
Creating a visualization object A CoDeSys project block. The project block
contains a set of visualization elements and can
have specific properties as one complete object
Inserting visualization elements E.g. rectangle, curve, button, etc.
Positioning visualization elements Selecting, copying, modifying, etc. of visualization
elements
Configuring the visualization, visualization - Configuring the visualization - Overview
elements or visualization objects - Configuring selected elements using
configuration dialogs
- Summarizing graphical elements to one
visualization object which can have specific
parameters assigned
Visualization in online mode With operation by keyboard (configurable)
Visualizations in libraries Storage of visualizations in libraries
System variables within the visualization Implicitly created system variables for
programming visualizations
Possible key combinations For operation by keyboard
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-17 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-18 AC500 / Issued: 07.2006
2. SD card slot
Figure: AC500 system, module arrangement beginning from the left: communication module, CPU, I/O
module
CPUs
Available in three performance classes:
All three types are also available with an integrated Ethernet coupler (TCP/IP).
Communication modules
For connection to standard field bus systems and integration into existing networks.
Ethernet coupler supporting the protocols TCP/IP, UDP/IP and Modbus TCP.
Up to four communication modules in any desired combination are allowed at one CPU.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-19 AC500 / Issued: 07.2006
The SD card
The SD memory card is used for the following purposes: Backup of user data, storage of the user
program, storage of the project’s source code, update of the internal CPU firmware.
■ Five standardized programming languages: Function Block Diagram (FBD), Instruction List (IL),
Ladder Diagram (LD), Structured Text (ST), Sequential Function Chart (SFC)
■ Debugging functions for the program test: Single step, Single cycle, Breakpoint
Offline simulation
IEC 61131-3 commands can be simulated without a PLC being connected, including the relevant
malfunctions. After the program test, the application can be downloaded to the control system.
Sampling trace
Timing diagrams for process variables and storage of data in a ring buffer with event trigger.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-20 AC500 / Issued: 07.2006
Visualization
Includes color change, moving elements, bitmaps, text display, allows input of setpoint values and
display of process variables read from the PLC, dynamic bar diagrams, alarm and event management,
function keys and ActiveX elements.
Open interfaces
DDE and OPC.
Programming
Serial or via Ethernet or ARCNET networks.
Engineering interface
Provides access from the programming system to an external project database in which the program
source code of one or several automation projects is managed. Optionally, a version control system,
such as Visual Source Safe, can be used in order to ensure data consistency of the program code for
several different users and projects.
• Comprehensive libraries.
• Windows 32-bit standard.
• Operating systems Windows 2000 and XP.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-21 AC500 / Issued: 07.2006
Users can communicate with the AC500s CPUs via the various operator panels, read and write access
on device data is possible. Configuration is quick and easy to perform, using the same software for all
devices (programming software CPsoft, 1SBS 260 283 R1001). Commands and programming
languages are identical for all devices. With regard to frequently harsh conditions at the place of
installation, all operator panels fulfill IP65 protection at the front. Operator panels and automation
devices are linked either simply via serial interfaces, or in case of complex applications via Ethernet,
Modbus or PROFIBUS DP.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-22 AC500 / Issued: 07.2006
Order Number 1SBP 260 170 1SBP 260 171 1SBP 260 172 1SBP 260 173 1SBP 260 174
R0101 R0101 R0101 R0101 R0101
Display type STN LCD STN LCD STN LCD STN LCD B/W STN LCD
with backlight with backlight with backlight with backlight with backlight
Representation Text Text Text Grafic and text Grafic and text
Web functions x x
Buzzer x x
Alarm 1 group 4 groups 4 groups
management
Time channel x x x x
Real-time x x x x
clock
Trend curves real-time developing of
values
Data logger
Recipe x x x x
management
Report printing x x x x
Password 8 levels 8 levels 8 levels 8 levels
protection
Multilanguage x x x x
support
Power supply 24 V DC 24 V DC 24 V DC 24 V DC 24 V DC
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-23 AC500 / Issued: 07.2006
Communication RS232 or RS232, RS422 RS232, RS422 RS232, RS422 RS232, RS422
interfaces RS422 RS485 (of which 2
at the same time)
Expansion - - - 1 1
slots
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-24 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-25 AC500 / Issued: 07.2006
In order to provide the customer with qualified assistance, customers are requested to provide the
following:
Postfach 10 16 80
D-69006 Heidelberg
E-mail: [email protected]
For further information about control engineering please also refer to our Internet Website
http://www.abb.de/stotzkontakt.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-26 AC500 / Issued: 07.2006
We also offer seminars and workshops to support you in planning, commissioning and operation of
Advant Controller AC500 controls. Please contact:
If desired, we also offer seminars at the customer's facility. Please find detailed information in our
seminar brochure. You can order this brochure from the address given above or from every ABB
STOTZ-KONTAKT GmbH office or you can download it from our Internet website (PDF file, see the
following link).
Please send your enrolment directly to ABB STOTZ-KONTAKT GmbH using the address given above or
via Internet (http://www.abb.de/stotzkontakt -> Schulungen und Seminare -> Seminare).
If necessary, it is also possible to arrange the seminar contents according to the customer's wishes.
Depending on the special requirements, the training can be held in Heidelberg or at any other location
favored by the customer. We are pleased to prepare an individual offer for you according to your special
requirements.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-27 AC500 / Issued: 07.2006
http://www.abb.de/stotz-kontakt
http://www.abb.com/lowvoltage
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-28 AC500 / Issued: 07.2006
To insure project success and to insure that all systems are properly and safely installed, the customer
must be familiar and proficient with the following standards and must comply with their directives:
• Working & Process Machinery: DIN VDE 0113 Part 1 & Part 200
• Close proximity to dangerous voltages: DIN VDE 0106 Part 100
• Protection against direct contact: DIN VDE 0160, DIN VDE 0110 Part 1
The user has to guarantee that the devices and the components belonging to them are mounted
following these regulations. For operating the machines and installations, other national and international
relevant regulations, concerning prevention of accidents and using technical working means, also have
to be met.
Advant Controller Devices are designed according to: IEC 1131 Part 2 under overvoltage category II per
DIN VDE 0110 Part 2.
For direct connection of AC Category III overvoltages provide protection measures for overvoltage
category II according to IEC-Report 664/1980 and DIN VDE 0110 Part 1.
Equivalent standards:
Please read!
General
Completely safe installation and starting up and problemfree functioning of the devices at their work
location can be ensured by observing the following instructions.
Qualified personnel
Both the control system AC500 and other components in the vicinity are operated with dangerous
contact voltages. Touching parts, which are under such voltages, can cause grave damage to health.
In order to avoid such risks and the occurrence of material damage, everyone involved with the
assembly, starting up and servicing must possess pertinent knowledge of the following:
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-29 AC500 / Issued: 07.2006
"Used as directed" implies that the devices are installed, maintained and operated in accordance with
appropriate ABB manuals & documents.
No liability is assumed for the direct or indirect consequences of the improper use, improper application
or inadequate maintenance of these devices.
Due to their construction (degree of protection IP 20 according to EN 60529) and their connection
technology, the devices are suitable only for operation in enclosed housings (switch cabinets).
The earthing (switch cabinet earthing, PE) is supplied both by the mains connection (or 24 V supply
voltage) and via DIN rail.
The DIN rail must be connected to the earth before the device is subjected to any power. The earthing
may be removed only if it is certain that no more power is being supplied to the control system.
In the description for the devices (operating manual or AC500 system description), reference is made at
several points to earthing, electrical isolation and EMC measures. One of the EMC measures consists of
discharging interference voltages into the earthing via Y-type capacitors. Capacitor discharge currents
must basically be able to flow off to the earthing (in this respect, see also VBG 4 and the relevant VDE
regulations).
In the description, special attention must be paid to designs using electrical isolation, earthing and EMC
measures for the reasons stated. For more information see Target System -> AC500/S500-FBP ->
Hardware AC500 -> System data -> General considerations for EMC-conforming assembly and
construction.
The earthing concept of these busses apply to the connection to external bus systems.
The supply voltage (or mains connection) terminal block must only be plugged in or withdrawn with the
power off!
The same applies to the terminal blocks of input or output channels (e.g. relay outputs) if they are
operated with dangerous contact voltages.
The devices work with voltages with which contact must be avoided under all circumstances. Therefore
they must not be opened when live. The same applies to the networking interfaces.
Lifting up the cover of the battery compartment to exchange the battery module is not construed as
opening in this context.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-30 AC500 / Issued: 07.2006
The ventilation slots on the upper and lower side of the devices must not be covered by wiring, cable
ducts and things like that.
Signal and supply lines (power cables) must be laid out so that no malfunctions due to capacitive and
inductive interference can occur (EMC).
Connection plans and user software must be created so that all technical safety aspects, legal
regulations and standards are observed. In practice, possible shortcircuits and breakages must not be
able to lead to dangerous situations. The extent of resulting errors must be kept to a minimum.
At the end of the battery’s lifetime, always replace it only with a genuine battery module.
They are likely to overheat and explode. Avoid chance short circuiting and therefore do not store
batteries in metal containers and do not place them on metallic surfaces. Escaping lithium is a health
hazard.
Lithium batteries are primary cells and cannot be recharged. Attempts to charge lithium batteries lead to
overheating and possible explosions.
Do not open lithium batteries and never throw them into fires (risk of explosion). Do not dispose of along
with the household rubbish but in an environmentally conscious manner, in accordance to local-authority
regulations.
Additional notes
Minimum clearances: Refer to target system - AC500/S500-FBP -> Introduction -> Getting Started ->
Getting Started with AC500 -> Assembling the system
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-31 AC500 / Issued: 07.2006
In no event will ABB 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 variants and requirements associated with any particular installation, ABB cannot assume
responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by ABB with respect to use of information, circuits, equipment, or software
described in this manual.
Throughout this manual we use notes to make you aware of safety considerations.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-32 AC500 / Issued: 07.2006
Before starting
Use this document as a guide for installing and powering-up your AC500 PLC. You should already be
familiar with the system components.
Make sure that you have all the components you need
To use the AC500 PLC (in our example CPU PM581-ETH) you should use at least the following parts:
Optional:
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-33 AC500 / Issued: 07.2006
System planning
Consider the following when planning your AC500 system:
• The AC500 PLC consists of a CPU Terminal Base TB5xx (from 1 to 4 coupler slots) and a pluggable
CPU. Three different CPU classes are offered: from PM571 with 64kB memory up to PM591 with
4MB memory; available also with integrated Ethernet coupler.
• Proper CPU Terminal Base selection requires that sufficient slots are available for all current or
future network and fieldbus communication modules (e.g. Ethernet, ARCNET, PROFIBUS, etc.) if
required.
• Up to 4 communication couplers can be connected to the CPU through the dedicated CPU terminal
base.
• All types of external communication couplers can be used together in the same time but only up to 4
external couplers in total (e.g. a mix of coupler types like Ethernet + Ethernet + Profibus DP +
CANopen, etc …).
• The total number of communication couplers (internal + external) is limited to 5.
• The CPU terminal base is always the left-most device in the system.
• An external 24 Vdc power supply has to be provided to the CPU Cluster; the additional I/O modules
have to be installed to the right of the PLC module.
• The AC500 PLC module supports as many as 7 local I/O expansion modules.
• An additional process power supply has to be provided for the I/Os of each module. Each I/O
expansion module can be powered with its own power supply (for isolation purposes) or the same
power supply can also be used.
• One FieldBusPlug can be plugged directly into an AC500 PLC cluster
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-34 AC500 / Issued: 07.2006
(*) Refer to the AC500 hardware description for proper wiring and addressing information.
(**) Refer to the Installation Instructions for the particular FBP devices. Follow appropriate fieldbus
practices outline by the conventions and standards of each protocol used in the system.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-35 AC500 / Issued: 07.2006
The AC500 modules are not designed for removal or insertion under power.
WARNING Because of unforeseeable consequences, it is not allowed to plug or unplug
modules with the power being ON.
Be sure that power is removed and that an area has been thoroughly checked
to insure that flammable materials are not present prior to proceeding.
Figure: S500 I/O modules directly connected to an AC500 CPU (central I/O expansion)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-36 AC500 / Issued: 07.2006
Figure: S500 I/O modules connected to an FBP Interface Module DC505-FBP with an FBP
(decentralized expansion)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-37 AC500 / Issued: 07.2006
DIN rail,
earthed
Mounting
plate,
earthed
Cable duct
DIN rail,
earted
Mounting
plate,
earthed
Maintain spacing from enclosure walls, wireways, adjacent equipment, etc. Allow minimum 20 mm (1 in.)
of space on all sides, as shown. This provides ventilation and electrical isolation.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-38 AC500 / Issued: 07.2006
Note: By vertical mounting, always place an end-stop terminal block (e.g. type BADL, P/N:
1SNA399903R0200) at the bottom and on the top of the modules to properly secure the modules.
By high vibration applications and horizontal mounting, we also recommend to place end-stop
terminals at the right and left side of the device to properly secure the modules, e.g. type BADL,
P/N: 1SNA399903R0200.
The TA521 Lithium Battery is the only one, which can be used with AC500 CPUs.
ATTENTION
The following procedures describe the insertion / replacement of the Lithium battery.
WARNING! WARNING!
Use of Use of
incorrect incorrect
battery may battery may
cause fire or
explosion.
cause fire or
explosion.
2
1a 1b
WARNING!
Use of
incorrect
battery may
4+5 cause fire or
explosion.
3 6
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-39 AC500 / Issued: 07.2006
1. Open the battery compartment by inserting a fingernail in the small locking mechanism, press it
down and slip down the door. The door is attached to the front face of the CPU and cannot be
removed!
2. Remove the TA521 battery from its package and hold it by the small cable.
3. Insert the battery connector into the small connector port. The connector is keyed to find the correct
polarity (red = plus pole = above).
4. Bend the cable and insert first the cable and then the battery into the compartment, push it until it
reaches the bottom of the compartment.
6. Pull-up the door and press until the locking mechanism snaps.
In order to prevent data losses or problems, the battery should be replaced after 3
NOTICE years of utilisation or at least as soon as possible after receiving the “Low battery
Warning” indication.
Don’t use a battery older than 3 years for replacement. Do not keep batteries too
long in stock.
In order to avoid any data losses (if needed), the battery replacement should be
ATTENTION done with the system under power. Without battery and power supply there is no
data buffering possible.
1. Open the battery compartment by inserting a fingernail in the small locking mechanism, press it down
and slip down the door. The door is attached to the front face of the CPU and cannot be removed.
2. Remove the old TA521 battery from the battery compartment by pulling it by the small cable. Remove
then the small connector from the socket, do this best by lifting it out with a screwdriver (see photo).
Please refer to chapter "Hardware/Accessories/TA521" for the technical data sheet of the Lithium battery
TA521.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-40 AC500 / Issued: 07.2006
The CPU uses a standard file system, which allows the MC502 SD Memory card to be read with a
standard memory card reader.
The use of memory cards other than the MC502 SD Memory Card is prohibited.
ATTENTION ABB is not responsible nor liable for consequences resulting from use of
unapproved memory cards.
PM581
ETH
SYS FBP
BATT COM1 SD Memory Card
I/O-Bus COM2 MC502
PWR RUN ERR
RUN DIAG
CPU
24 V DC 10 W
2. Insert the memory card into the opening of the front face of the CPU with the memory card aligned
as shown above (contacts are visible on the left side, bevelled edge below).
3. Push on the card until it moves forward, then release your pressure, the SD card comes slightly
backward and it locks into the SD card slot.
The technical data sheet for the SD Memory Card can be found in the chapter "Hardware / Accessories /
SD Memory Card MC502".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-41 AC500 / Issued: 07.2006
Mounting and Demounting of the Terminal Base, the Terminal Unit and the Electronic
Modules
The AC500 Terminal Base will be placed on top of the DIN Rail and then snapped on the bottom. Follow
the reverse order to disassembly.
Figure: Disassembly of the CPU Terminal Base (TB5xx) or Terminal Unit (TU5xx)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-42 AC500 / Issued: 07.2006
The I/O Terminal Unit is snapped into the DIN rail in the same way as the Terminal Base. Once secured
to the DIN rail, slide the I/O unit to the left until it fully locks into place creating a solid mechanical and
electrical connection.
When attaching the CPU Terminal Base and I/O modules, make sure the bus
ATTENTION connectors are securely locked together to ensure proper electrical connection.
1 ... 7
Figure: Maximum configuration (1 CPU Terminal Base plus 7 I/O Terminal Units)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-43 AC500 / Issued: 07.2006
Figure: CPU Terminal Base (TB5xx) or I/O Terminal Unit disassembly (TUxx)
PM581
Figure: Mounting of the CPU (PM5xx) on a Terminal Base (TB5xx), in the same way as I/O modules on
Terminal Units
The CPU or I/O module will be plugged on the dedicated Terminal Base / Terminal Unit. And will be
locked in place. The disassembly is done in reverse order.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-44 AC500 / Issued: 07.2006
For disassembly, press top and bottom, then pull out the CPU / I/O module.
First insert the bottom nose of the communication Coupler module into the dedicated holes of the
Terminal Base and then rotate the coupler until it will be plugged on the dedicated Terminal Base slot,
push to be sure that the connection is well done. It will be locked in place.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-45 AC500 / Issued: 07.2006
Disassembly: Press Top and Bottom, then rotate the coupler module and pull it out.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-46 AC500 / Issued: 07.2006
Rear view
1 1
Rear view
2 Front view 3
Figure: Fastening with screws of the Terminal Base TB521-ETH (as an example)
1 The two Wall Mounting Accessories TA526 are snapped on the rear side of the CPU Terminal Base
like DIN rails. The arrows point to the middle of the CPU Terminal Base. One TA526 is turned by 180°.
3 CPU Terminal Base, fastened with screws. Use two screws per module (three for the TB). Use M4 or
#8 pan head screws. Mounting screws are required on every module.
By wall mounting, the CPU Terminal Base is earthed through the screws. It is necessary that
• the screws have a conductive surface (e.g. steel zinc-plated or brass nickel-plated)
• the mounting plate is earthed
• the screws have a good electrical contact to the mounting plate
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-47 AC500 / Issued: 07.2006
1. On a clean work surface, assemble no more than three modules (e.g. one TB + two TUs).
2. Using the assembled modules as a template, carefully mark the center of all module-mounting
holes on the panel.
3. Return the assembled modules to the clean work surface, including any previously mounted
modules.
4. Drill and tap the mounting holes for the recommended M4 or #8 screw.
5. Place the modules back on the panel and check for proper hole alignment.
6. Attach the modules to the panel using the mounting screws.
TIP: If mounting more modules, mount only the last one of this group and put the others aside. This
reduces remounting time during drilling and tapping of the next group.
7. Repeat steps 1 to 6 for any remaining modules.
Grounding considerations
This product is designed to be mounted to a well-grounded mounting surface such as a metal panel.
Additional grounding connections from the AC500 mounting tabs or DIN rail (if used), are not required
unless the mounting surface cannot be grounded. Refer to appropriate Chapter of the S500-FBP User's
Manual, for additional information.
This product is grounded through the DIN rail to chassis ground. Use zinc
ATTENTION plated yellow-chromate steel DIN rail to assure proper grounding. The use of
other DIN rail materials (e.g. aluminium, plastic, etc.) that can corrode, oxidize,
or are poor conductors, can result in improper or intermittent grounding.
28 28 28 28
67.5 (2.66) Dimensions:
(1.10) (1.10) (1.10) (1.10)
135 mm
TB511 95.5 (3.76) (5.31) inches
TB521 123.5 (4.86)
TB541 179.5 (7.07)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-48 AC500 / Issued: 07.2006
DC505
59 (2.32)
70.5 (2.78)
135 (5.31)
67.5 (2.66) 67.5 (2.66) Maße:
135 mm
TU505/506 TU515/516/531/532 (5.31) Zoll
84.5 (3.33)
77 (3.03)
75 (2.95)
21 (0.83)
54 (2.13)
70.5 (2.78)
59 (2.32)
76 (2.99)
135 (5.31)
DIN rail 15 mm
DIN rail 7.5 mm
Dimensions:
135 mm
28 (1.10) (5.31) inches
Note: All dimensions are in mm (in.). Hole spacing tolerance: ±0.4 mm (0.016 in.)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-49 AC500 / Issued: 07.2006
The FieldBusPlug must have a properly assigned slave module address. The AC500 CPU gives them an
address at system power-up. The address can be set with the use of the display and the pushbutton on
the top of the module.
Attention: The local setting of an FBP address by means of pushbuttons and display has a
higher priority than an FBP address configured by the AC500 Control Builder!
The locally set address replaces the address configured by the software.
It is highly recommended to be extremely careful when modifying the address locally, because it has
high influence on the behaviour of the application.
PM581
ETH
SYS FBP
BATT COM1
I/O-Bus COM2
PWR RUN ERR
CPU
24 V DC 10 W
OK
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-50 AC500 / Issued: 07.2006
If the FBP address set on the AC500 CPU module is different from those
ATTENTION assigned into the Fieldbus configurator software of the Master device for that
station, the station could not be accessed and the complete Fieldbus could not
work properly or be completely down!
The modified address will only be valid after a Power OFF / Power ON!
ATTENTION
A AC500 CPU equipped with a FieldBusPlug is always a slave device on the bus. To act as a master, a
AC500 CPU should be equipped with master couplers (e.g CM572-DP for PROFIBUS DP).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-51 AC500 / Issued: 07.2006
The display’s background lighting is normally switched off. The status of the CPU is shown as plain text
"run" or "Stop", which reflects the operating status of the CPU program.
By pressing one of the dialog keys "RUN, DIAG, CFG or VAL", the background lighting is turned ON
and the desired function is performed.
In case of a function error, the display background lighting is also switched on and an error code is
displayed.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-52 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-53 AC500 / Issued: 07.2006
By pressing the DIAG key, the complete error code can be shown and an acknowledgement of the error
can be performed.
PM581
ETH
SYS FBP
BATT COM1
I/O-Bus COM2
PWR RUN ERR
CPU
DIAG OK ESC
24 V DC 10 W
The AC500 CPU can display various errors according to the error classes. The following error classes
are possible. The reaction of the CPU is different for each type of error.
Note: The error messages are displayed as error codes using the Control Builder software (via
PLC browser). Errors are displayed as text in the status line of the Control Builder software or with
function blocks for diagnosis.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-54 AC500 / Issued: 07.2006
E1...E4 = 00...63 (error identifier) e.g. wrong value, checksum error, short-circuit, exhausted or
missing battery, etc. which is directly displayed in the LCD
-> d1 = 000...015 indicates the component which has sent the error (coupler, CPU,
COM1, FBP, IO-Bus, etc.)
d2 = 000...255 defines the faulty device within the component
d3 = 000...030 defines the part of the module with an error (slot)
d4 = 000...031 defines the channel within the module
Please refer to the Error Code list for further information. See the AC500 user manual.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-55 AC500 / Issued: 07.2006
For the meaning of the different LEDs and their behaviour when the system is running, please refer to
the S500 System Data of the S500 User’s manual for further information.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-56 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-57 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-58 AC500 / Issued: 07.2006
In no event will ABB 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 variants and requirements associated with any particular installation, ABB cannot assume
responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by ABB with respect to use of information, circuits, equipment, or software
described in this manual.
Throughout this manual we use notes to make you aware of safety considerations.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-59 AC500 / Issued: 07.2006
Before starting
Use this document as a guide for installing and powering-up your S500-FBP Interface Module. You
should already be familiar with the system components.
Make sure that you have all the components you need
To use the S500-FBP Interface Module you should use at least the following parts:
You may also use these components with the S500-FBP Interface:
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-60 AC500 / Issued: 07.2006
Installation steps
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-61 AC500 / Issued: 07.2006
The S500-FBP modules are not designed for removal or insertion under power.
WARNING Because of unforeseeable consequences, it is not allowed to plug or unplug
modules with the power being ON.
If you connect or disconnect the FBP plug while power is applied to this module
or the wiring while the process power supply is on, an electrical arc can occur.
This could cause an explosion in hazardous location installations.
Figure: S500 I/O modules directly connected to an AC500 CPU (central I/O expansion)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-62 AC500 / Issued: 07.2006
Figure: S500 I/O modules connected to an FBP Interface Module DC505-FBP with an FBP
(decentralized expansion)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-63 AC500 / Issued: 07.2006
DIN rail,
earthed
Mounting
plate,
earthed
Cable duct
DIN rail,
earted
Mounting
plate,
earthed
Maintain spacing from enclosure walls, wireways, adjacent equipment, etc. Allow minimum 20 mm (1 in.)
of space on all sides, as shown. This provides ventilation and electrical isolation.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-64 AC500 / Issued: 07.2006
Note: By vertical mounting, always place an end-stop terminal block (e.g. type BADL, P/N:
1SNA399903R0200) at the bottom and on the top of the modules to properly secure the modules.
By high vibration applications and horizontal mounting, we also recommend to place end-stop
terminals at the right and left side of the device to properly secure the modules, e.g. type BADL,
P/N: 1SNA399903R0200.
During panel or DIN rail mounting of all devices, be sure that all debris (metal
ATTENTION chips, wire strands, etc.) is kept from falling into the controller. Debris that falls
into the controller could cause damage while the controller is energized.
The FBP Terminal Unit will be placed on top of the DIN Rail and then snapped on the bottom. Follow the
reverse order to disassembly.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-65 AC500 / Issued: 07.2006
Step 3: Mounting of the I/O Terminal Unit (TU515, TU516, TU531 or TU532)
The I/O Terminal Unit is installed on the DIN rail in the same way as the FBP Terminal Unit. Once
secured on the DIN rail, slide the I/O unit to the left until it fully locks into place creating a solid
mechanical and electrical connection.
When attaching the FBP, FBP Interface and I/O modules, make sure the bus
ATTENTION connectors are securely locked together to ensure proper electrical connection.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-66 AC500 / Issued: 07.2006
Figure: Maximum configuration (1 FBP Terminal Unit plus 7 I/O Terminal Units)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-67 AC500 / Issued: 07.2006
DC505
The module will be plugged on the Terminal Unit. And will be locked in place.
For disassembly, press top and bottom, then pull out the module.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-68 AC500 / Issued: 07.2006
Holes for
Rear view wall mounting
1 Rear view
1 2 3
Front view
Figure: Fastening with screws of the Terminal Unit TU516 (as an example)
1 The Wall Mounting Accessory TA526 is snapped on the rear side of the Terminal Unit like a DIN rail.
The arrow points to the right side.
3 Terminal Unit, fastened with screws. Use two screws per module. Use M4 or #8 pan head screws.
Mounting screws are required on every module.
By wall mounting, the Terminal Unit is earthed through the screws. It is necessary that
• the screws have a conductive surface (e.g. steel zinc-plated or brass nickel-plated)
• the mounting plate is earthed
• the screws have a good electrical contact to the mounting plate
The following procedure allows you to use the assembled modules as a template for drilling holes in the
panel. Due to module mounting hole tolerance, it is important to follow these procedures:
2. Using the assembled modules as a template, carefully mark the center of all module-mounting
holes on the panel.
3. Return the assembled modules to the clean work surface, including any previously mounted
modules.
4. Drill and tap the mounting holes for the recommended M4 or #8 screw.
5. Place the modules back on the panel and check for proper hole alignment.
TIP: If mounting more modules, mount only the last one of this group and put the others aside.
This reduces remounting time during drilling and tapping of the next group.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-69 AC500 / Issued: 07.2006
This product is grounded through the DIN rail to chassis ground. Use zinc
ATTENTION plated yellow-chromate stell DIN rail to assure proper grounding. The use of
other DIN rail materials (e.g. aluminium, plastic, etc.) that can corrode, oxidize,
or are poor conductors, can result in improper or intermittent grounding.
57.7
(2.27)
DC505
59 (2.32)
70.5 (2.78)
135 (5.31)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-70 AC500 / Issued: 07.2006
76 (2.99)
135 (5.31)
DIN rail 15 mm
DIN rail 7.5 mm
Dimensions:
135 mm
28 (1.10) (5.31) inches
Note: All dimensions are in mm (in.). Hole spacing tolerance: ±0.4 mm (0.016 in.)
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-71 AC500 / Issued: 07.2006
DC505 DC532
ADDR
x1
The two rotary switches labelled ADDR x 1 and ADDR x 10 are used to assign an address to the
FieldBusPlug.
For example: to assign the address 25 to the station, turn the rotary switch ADDRx10 to the position 2
and the ADDRx1 to the position 5, then the resulting address is 2x10 + 5x1 = 25.
Same example but for the address 6: turn the ADDRx10 to 0 and the ADDRx1 to 6, then the resulting
address is 0x10 + 6x1 = 6.
If the address set on the FBP Interface Module is different from those assigned
ATTENTION into the Fieldbus configurator software of the Master device for that station, the
station could not be accessed and the complete fieldbus could not work
properly or be completely down!
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-72 AC500 / Issued: 07.2006
For the meaning of the different LEDs and their behaviour when the system is running, please refer to
the S500 System Data of the S500 User’s manual for further information.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-73 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-74 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-75 AC500 / Issued: 07.2006
Getting started
We will introduce you to the system using a simple example.
PM581 DC532
L+ +24 V DC UP
L+ +24 V DC UP
M 0V ZP
M 0V ZP
FE FE Functional Earth
1
2
3
4
5
6
7
8
9
+ 24 V DC
–
24 V DC TK501
• One basic unit (e.g. PM581) and one terminal base (e.g. TB511-ETH).
• One digital I/O module DC532 (DX522 or DX531 as an alternative) and one I/O terminal unit (e.g.
TU516).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-76 AC500 / Issued: 07.2006
Preparations
• Connect the PM581 controller to 24 V DC. Connect the DC532 I/O module to 24 V DC. Connect
the COM2 interface of the controller to the COM1 interface of the PC or use an USB RS-232
converter and connect it to the USB interface of the PC.
• Start the PS501 software. The project last edited is opened. If necessary, close this project by
selecting "File/Close".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-77 AC500 / Issued: 07.2006
Select the desired CPU in the appearing window. In our example, select PM581.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-78 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-79 AC500 / Issued: 07.2006
In our example the project is saved under the name "First_Steps" to the folder "Projects". The file
extension "pro" is automatically created by the software.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-80 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-81 AC500 / Issued: 07.2006
Click on . Double click the object "PLC Configuration". By clicking on the I/O symbol, the
module parameters are displayed and can be changed. Example for DC532: The input delay is changed
from 8 ms (default) to 1 ms.
This way you can also configure the inputs and outputs of the S500-FBP interface module DC505-FBP
in order to use them as decentralized inputs and outputs.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-82 AC500 / Issued: 07.2006
In our example, it is possible to access the digital inputs of the DC532 module as word using the address
%IW0 (simultaneous access to the 16 inputs I0…I15) or as bytes (inputs 0 - 7 using the address %IB0,
inputs I8 - I15 using the address %IB1) or as individual bits (addresses %IX0.0 to %IX0.7 for inputs I0 -
I7 or %IX1.0 to %IX1.7 for the inputs I8 - I15).
In our example, the DC532 I/O expansion module used has digital inputs
ATTENTION and also digital configurable inputs/outputs. These configurable I/Os are
displayed in the I/O mapping either as inputs or as outputs according to
how the channel will be used by the user!
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-83 AC500 / Issued: 07.2006
For more details concerning the I/O mapping, please refer to the AC500 User's manual.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-85 AC500 / Issued: 07.2006
Now define a symbolic name for the digital input (digital input 0) as follows. First click on the symbol in
front of "Digital Inputs 0-15[FIX]":
In the line of input 0, click twice on "AT". Then enter the symbolic name, e.g. I0dig.
Complete your input by pressing the <Enter> key (displayed entry: I0dig AT %IX0.0 …). Now the
program can access this input by its symbolic name. Using the same procedure, we then have to label
the digital output with a symbolic name. Click on the symbol in front of the entry "Digital In/Outputs -
outputs 16-31 [FIX]".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-86 AC500 / Issued: 07.2006
From the Resources we now want to switch to the Function Block Diagram editor: Click on the
tab and then double click on the entry PLC_PRG (PRG). The Function Block Diagram editor is opened.
Position the mouse cursor into the insertion mark of network "0001" and press the right mouse
button. Select "Assign".
Now we have to enter the symbolic names previously assigned to the input and the output. Click on the
left-hand question marks (???) and press <F2>. The Help Manager appears. Select "System Variables".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-87 AC500 / Issued: 07.2006
If no errors were detected, the message "0 errors, 0 warnings" is displayed in the message box.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-88 AC500 / Issued: 07.2006
Then we have to define the PC interface settings. Select the menu item "Online/Communication
Parameters".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-89 AC500 / Issued: 07.2006
Now the "Communication Parameters" dialog displays the PC interface. Press the "New" button. Enter
any name for the new channel, e.g. COM1_PC, and select "Serial [RS232]" for the "Device" (driver).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-90 AC500 / Issued: 07.2006
The software checks whether the project on the PLC is identical to the project on the PC. If the PLC
does not yet contain a user program, the message "No program available in the controller. Should the
new program be loaded" is displayed. If the project on the PLC differs from the project on the PC, the
following message is displayed:
Select "Yes". Then the program is downloaded from the PC to the PLC. When starting the download
process, the PLC changes to the STOP mode.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-91 AC500 / Issued: 07.2006
In order to test the program we are going to force input I0dig to TRUE: Double click to the input "I0dig":
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-92 AC500 / Issued: 07.2006
This way, the input is assigned to the output (i.e. set to TRUE) in each program cycle. The CoDeSys
software displays the TRUE state in blue color (the FALSE state is displayed in black).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-93 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-94 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-95 AC500 / Issued: 07.2006
• The CPU has to be informed about which couplers are assigned to it (internal and/or external
couplers).
• The couplers have to be informed about which peripheral devices are connected to them.
This is done using the tool SYCON.net (opened via the tab Resources -> Tools -> SYCON.net). This tool
is also used to create the variables lists for the individual peripheral devices. The symbolic names
created therein are directly (online) made available for the programming software. Thus, these created
variables are located in the Global Variables folder.
PDA11-FBP.050
+ 24 V DC
–
from COM2/PLC to PC
+/– 24 V DC +/– 24 V DC
PDP22
-FBP
+ 24 V DC
–
DC505-FBP + DC532 + AX522
PDR11-FBP.150
Figure: Example with an AC500 CPU as PROFIBUS DP master and a DC505-FBP as PROFIBUS DP
slave. Note: “to PC” – either COM1 interface of PC, directly, or corresponding COM interface of PC,
allocated via USB RS-232 converter.
The following example will guide you through the installation and the configuration of a small PROFIBUS
DP fieldbus using an AC500 PLC as PROFIBUS DP master and a S500-FBP remote I/O station with a
modular FBP.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-96 AC500 / Issued: 07.2006
Needed products
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-97 AC500 / Issued: 07.2006
Select the desired CPU in the appearing window. In our example, select PM581.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-98 AC500 / Issued: 07.2006
First, save the project under a specific name. Select the menu item "File/Save as".
Select the desired directory and enter the project name (in our example: "Test3"). Complete your input
with "Save".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-99 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-100 AC500 / Issued: 07.2006
First the I/O devices connected directly to the I/O bus of the CPU will be entered: Click on "I/O-Bus[FIX]"
and then press the right mouse button.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-101 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-102 AC500 / Issued: 07.2006
The coupler is appended to the tree. As the CPU also comprises an integrated Ethernet coupler we are
going to replace ‘Couplers – Internal none’ by an Ethernet coupler.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-103 AC500 / Issued: 07.2006
• In the left-hand window, click on the symbol in front of the Tools entry. Then double click the
entry SYCON.net.
• The SYCON.net fieldbus configurator is opened. Using this configurator, you can configure the
decentralized I/O station.
In the "Fieldbus" tab, open the folder 'PROFIBUS DPV 0' by clicking on the symbol. Do the same with
file "Master". With the left mouse button, click on CM572-DPM. Keep the left mouse button pressed and
drag the object into the left window to append it to the green line (this line represents the connection to
the CPU). Release the left mouse button.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-104 AC500 / Issued: 07.2006
Recommendation: You can choose the symbolic coupler name according to your plant (mark coupler
with left mouse button; the coupler is displayed with a blue rectangle; press right mouse button ->
symbolic name. Example for symbolic name: DPM1_AC500).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-105 AC500 / Issued: 07.2006
The same procedure is used to append a slave to the PROFIBUS DP master CM572-DPM. Open the
"Slave" folder in the "Fieldbus" tab. Drag the PROFIBUS DP FieldBusPlug PDP22-FBP (DPV1 modular)
into the left-hand window to append it to the purple line (this line represents the PROFIBUS DP fieldbus).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-106 AC500 / Issued: 07.2006
The slave has to be correctly software configured and mapped to precisely match the true hardware
configuration. Double click on the PDP22-FBP symbol to open a new configuration window. In this
window the hardware configuration is described and some parameter settings can be defined.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-107 AC500 / Issued: 07.2006
The order of the modules in the list of configured modules must match the actual
ATTENTION order of hardware modules. Otherwise, the decentralized station and the
network cannot work properly!
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-108 AC500 / Issued: 07.2006
Proceed as follows to configure the module parameters. Click on "Configuration -> Parameters". Select
the corresponding module from the list.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-109 AC500 / Issued: 07.2006
Highlight the line of the desired parameter: move the cursor to that line and press the left mouse button.
Double click with the left mouse button onto the highlighted line. Click with the left mouse button on
to display the values available. Select the desired value by clicking with the left mouse button on that
value. Click with the left mouse button into the area with the empty lines. Thus the change has been
adopted.
After you have changed all the desired parameters, click on OK to exit the parameter configuration.
The configuration of the fieldbus modules is finished. Now the names of the communication variables
used for data exchange between coupler and CPU program have to be specified. Proceed as follows to
specify the variables (these variables are automatically forwarded to the AC500 Control Builder software
in order to have them available there):
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-110 AC500 / Issued: 07.2006
Click on the first folder 2 byte input. This folder represents the digital inputs of the DC505-FBP module
(8 DI + 8 DC as input). The corresponding variables are listed in the appended list (with Name of signal,
Data type, I/O identifier (I = input, O = output) and Name of variable (can be entered)).
Enter a corresponding “Name of variable“ for each “Name of signal” .To do this, double click into the
Name of variable field of the corresponding signal. Enter the desired variable name and press the
<Enter> key to complete your entry. These names are used in the AC500 Control Builder software. In
our example, we use the following system for the variable name:
bytePROFIBUSDpslaveAddress2_S500(system)_DC505(device)_Input8_to15 (by - byte; b - bit; w -
word).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-111 AC500 / Issued: 07.2006
Assign a name to each variable. For the 8 DC (as outputs) of the DC505-FBP module:
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-112 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-113 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-114 AC500 / Issued: 07.2006
In the Communication Parameters window, you can set the parameters for the communication between
the PC and the PLC (port: serial interface of the PC).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-115 AC500 / Issued: 07.2006
Select the device "CM572-DP" and confirm with "OK". Then press the right mouse button and select
"Connect".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-116 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-117 AC500 / Issued: 07.2006
After the download is completed, SYCON.net has to be disconnected. Press the right mouse button and
select "Disconnect".
In SYCON.net, the configuration has to be saved to a file. The system adopts the project name (in our
example: "Test3"). Select "File/Save".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-118 AC500 / Issued: 07.2006
The AC500 Control Builder software is opened again and the fieldbus variables are automatically
transferred to the Global Variables list of the programming software.
Open the Global Variables in the "Resources" tab. Double click on Slot 1 <R>. The previously
configured variables are displayed and available in the programming software.
The input byte with the variable name byDps1_S500_DC505_In0_7 (signals I0 to I7 at DC505) is read
and applied to the output byte by_AC500_DC532_Out16_23 (signals C16 to 23 at DC532).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-119 AC500 / Issued: 07.2006
If you install additional GSD files to the installation of the Control Builder CD's
Note GSD files they have to be added to the device catalog of SYCON.net. To do
this apply subsequent procedure.
The GSD files have to be copied to the corresponding directory beforehand
(\ProgramFiles\HilscherGmbH\SYCONnet\ABBPBGenericSlaveDTM\GSD).
Attention: Handling of GSD files only works that way in case of an empty
project!
Click on . Open the 'Tools' folder. Double click on the entry SYCON.net.
Click into the window next to netDevice and select "Network/Device Catalog…" from the menu.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-120 AC500 / Issued: 07.2006
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-121 AC500 / Issued: 07.2006
+/– 24 V DC
PDA11-FBP.050
RUN
STOP
COM2
07 KT 98
AdvantController31
BasicUnit
COM1
PC
07 KT 97/98 DP
+
24 V DC
DC505 DC532 AX522
PDP22-FBP
+ 24 V DC
–
DC505-FBP + DC532 + AX522
PDR11-FBP.150
Figure: Example with an AC31 series 90 CPU as PROFIBUS DP master and a DC505-FBP as remote
I/Os
The following example will guide you through the installation and the configuration of a small PROFIBUS
DP fieldbus using an AC31 PLC as PROFIBUS DP Master and a S500-FBP remote I/O station with a
modular FBP.
This example could be used as starting point to realize your own application.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-122 AC500 / Issued: 07.2006
Before starting:
• Use the previous installation instructions to assemble and mount the system, also refer to the
dedicated User's manual of the PROFIBUS DP FBP and AC31 series 90 PLC.
• Make the wiring and provide power supply to the system (process supply) and to the FieldBusPlug
(use dedicated accessory, e.g. PDA11-FBP.050 which allows to connect a PROFIBUS DP master
with a 9-pin D-Sub and provide power supply for the FBP through an M12 connector).
• Set the slave address of the FBP to 1 with the front rotary switches of the S500-FBP module (see
Getting Started with S500-FBP, "Setting the FBP slave address").
• Install the AC1131 programming software for AC31 PLCs
• If you want to configure the fieldbus using the fieldbus configurator software 907 FB 1131, install this
software. As an alternative, you can also use the fieldbus configurator included in the programming
software.
• If you want to use the fieldbus configurator 907 AC 1131 for configuration, copy the PROFIBUS GSD
file ABB_091F.GSD to the folder \Program Files\AC1131\FB1131\Fieldbus\PROFIBUS\GSD. If you
want to configure the fieldbus using the fieldbus configurator included in the programming software,
copy the GSD file to the folder \Program Files\AC1131\Library\PLCConf.
• Connect the PC (COM1) to the AC31 CPU (COM1) using the programming cable 07 SK 90.
• Connect the CPU to the DC505-FBP module via the FieldBusPlug.
• Switch on voltage.
• Perform the steps given in the following instructions.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-123 AC500 / Issued: 07.2006
First, we have to specify the hardware. Click on . Double click the object "PLC
Configuration". Click on "Hardware Configuration". Press the right mouse button. Select "Append
Subelement/DP Master…".
Set the "Card number" in the appearing window. The following rule applies: The slot number (= card
number) can be gathered from the identification number of the CPU. Furthermore, we can also
determine the coupler form the identification number. The following applies:
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-124 AC500 / Issued: 07.2006
In the appearing window, select "PDP22-FBP (DPV1 modular) (Default)" in the File Name list box.
Click on the entry "PDP22-FBP (DPV1 modular). Press the right mouse button and select "Properties".
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-125 AC500 / Issued: 07.2006
When a user program is loaded to the CPU, the configuration data of the coupler (the data are a definite
element of a project) are loaded as well. The operating system of the PLC transfers the configuration
data to the coupler. In addition, the configuration data can be saved together with the user program in
the Flash memory of the controller. The configuration data stored in the Flash memory are automatically
loaded the next time the power is switched on.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-126 AC500 / Issued: 07.2006
Select PROFIBUS and click on OK. Now you have to configure the master.
Select Insert -> Master from the menu bar. The mouse pointer changes to an arrow with an 'M'. Left
click with the mouse on that position on the screen where you want to place the DP Master. Another
window appears.
In this window, select 07KT97 DPM and click on Add >> to add the selected master to the network. The
selected master is now displayed on the right-hand side of the window. You can change the default
address of the master and enter a comment in the 'Description' field.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-127 AC500 / Issued: 07.2006
The mouse pointer changes to an arrow with an 'S'. Proceed as already described for the master in
order to place the slave. A new window appears.
Left click with the mouse on that position on the screen where you want to place the Slave. Another
window appears. Scroll down in the left-hand area and select PDP22-FBP (DPV1 modular) as the
slave. Then click on ADD >>. Your selection is displayed on the right-hand side of the window.
In this window, you can also change the default station address and enter a description for the device.
Then click on OK.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-128 AC500 / Issued: 07.2006
Double click inside of the rectangle surrounding the slave in order to configure the slave. A new window
named Slave Configuration appears.
The modular station has to be configured in order to specify the used hardware. First, select the FBP
interface module DC505-FBP (list of available modules ('Module' column) in the window shown above;
the selected module is highlighted by a rectangle). Click on Append Module to insert it into the list of
configured modules.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-129 AC500 / Issued: 07.2006
Call the address table before you specify the parameter data (via View -> Address Table) in order to
update the addresses of the input/output variables.
If you want to change the device parameters of the slave, select the device entry to highlight it by a
rectangle. Press the right mouse button and select Parameter Data from the context menu.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-130 AC500 / Issued: 07.2006
For instance, click on Module if you want to change the delay time of all inputs of the module DC532.
Select dc532 1sap240100r0001 and click on OK. The corresponding module parameters are displayed
and can be changed now.
Example: In order to change the delay time of the inputs, double click on Input Delay.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-131 AC500 / Issued: 07.2006
After you have changed all the desired parameters, click on OK to exit the parameter configuration. The
following configuration is displayed:
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-132 AC500 / Issued: 07.2006
Select 3S Gateway Driver as gateway for the download to the CPU coupler and click on OK.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-133 AC500 / Issued: 07.2006
Click on Gateway Configuration and then select the default channel COM1_PC in the appearing
window.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-134 AC500 / Issued: 07.2006
Click into the field next to the coupler name to select the desired coupler (DPM) and confirm with OK.
To perform the download, select the menu item Online -> Download. A safety inquiry is displayed.
Answer with Yes. The configuration is then transferred to the controller.
The address data used can be displayed using the menu item View -> Address Table.
The digital inputs can be accessed via IB0 to IB5, the digital outputs via QB0 to QB2 and the analog
outputs via QW3 to QW11.
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-135 AC500 / Issued: 07.2006
The first byte on the DC505-FBP is read at address %IB2.0 and output at the CPU via the address
%QB124 (outputs A62,00 to A62,07).
____________________________________________________________________________________________________________
G1 Introduction to AC500 1-136 AC500 / Issued: 07.2006