metal housing IP20 key to unlock the device from a rail
status LEDs of the fieldbus
interface
(option)
text/graphics display
4 pushbuttons
option: fieldbus interface
(here: Ethernet)
terminals for the voltage supply
24 V, AS-i interface(s) and
protective wire
Figure: overview controllere
Option: Ethernet programminginterface
status LEDs
6-pole RJ11 socket of RS-232C
as programming interface
1-3
On this manual
Overview: where is what?
1-4
Safety instructions
General
2 Safety instructions
In this chapter you will find general safety instructions such as:
• General rules
• Required previous knowledge
• Safety instructions for mounting and installation
• When are you allowed to use this device and when not?
2.1 General
→ separate basic instructions of the device manual
No characteristics are warranted with the information, notes and examples provided in this manual.
The drawings, representations and examples imply no responsibility for the system and no applicationspecific particularities.
The manufacturer of the machine/equipment is responsible for ensuring the safety of the
machine/equipment.
WARNING
Property damage or bodily injury possible when the notes in this manual are not adhered to!
ifm electronic assumes no liability for this.
► The acting person must have read and understood the safety instructions and the corresponding
chapters of this manual before performing any work on or with this device.
► The acting person must be authorised to work on the machine/equipment.
2.2 What previous knowledge is required?
This manual is for persons with knowledge of control technology and PLC programming with IEC
61131-3 as well as the CoDeSys
Knowledge of the fieldbus Profibus DPV1 is a prerequisite.
Profibus user organisation →
Connection and parameter settings of the Profibus host → its manuals.
The manual is intended for persons authorised to install, connect and set up the controllere according
to the EMC and low voltage directives. The controllers must be installed and put into operation by a
qualified electrician.
In case of malfunctions or uncertainties please contact the manufacturer.
®
software.
http://www.profibus.com/
2.3 Functions and features
→ basic instructions of the device manual
2-1
Safety instructions
Functions and features
2-2
System requirements
Information concerning the device
3 System requirements
3.1 Information concerning the device
→ separate basic instructions of the device manual
3.2 Information concerning the software
→ separate basic instructions of the device manual
3.3 Required accessories
Basic functions → separate basic instructions of the device manual
For configuration and programming you also need:
• the software "CoDeSys for Automation Alliance ™" version 2.3 or higher (→ CD)
• in case of direct connection of the controllere to a PC with Ethernet interface (LAN):
a cross-over CAT5 Ethernet patch cable with RJ45 plug on both sides:
2 m art. no. EC2080
5 m art. no. E30112
•In case of connection of the controllere to a PC with Ethernet interface (LAN) via a hub or switch:
a common CAT5 Ethernet patch cable with RJ45 plug on both sides
•In case of direct connection of the controllere to a PC with serial interface:
Programming cable art. no. E70320
3-1
System requirements
Required accessories
3-2
Getting started
Connection
4 Getting started
4.1 Connection
► Connect the functional earth
► Connect the yellow AS-i cable for every master
► Connect the 24 V supply
► Connect the Profibus cable to the fieldbus master
4.2 Set up the AS-i master
► Connect the addressed AS-i slaves to the yellow AS-i cable
► Apply voltage
► If correctly addressed slaves are connected:
controllere menu [Config All] (→ basic manual)
► If no slave is connected:
controllere menu [Easy Startup](→ basic manual)
4.3 Set up Profibus DPV1
► Controllere menu "Fieldbus Setup": set the Profibus address
(→ page
► Copy the GSD file from the ifm CD (folder "gateway") to the suitable directory of the
corresponding fieldbus configuration program
► Define the I/O areas and the system behaviour in the fieldbus configuration program
► Save the configuration
► Transfer the configuration to the DPV1 master
► Start the DPV1 master
7-1, chapter ‘Set the parameters of the fieldbus interface in the controllere’)
4-1
Getting started
Set up Profibus DPV1
4-2
Function
Data management
5 Function
Basic functions → separate basic instructions of the device manual
Ethernet programming interface → separate complementary device manual
5.1 Data management
The controllere consists of different units:
AS-i master 1
text/graphics
display
fieldbus interface
Profibus DPV1
AS-i master 2
(optional)
CPU
PLC
Ethernet programming interface
(optional)
SRAM memory
RS-232C
flash memory
programming interface
This manual exclusively describes the following subject:
• The optional fieldbus interface Profibus DP operates independently and exchanges data with the
central system via a "Dual port RAM" interface .
For the AS-i controllers with Profibus interface the data management of Profibus DP is handled in the
operating system (firmware) of the device. A special driver in the PLC user program in the controllere
is not required. In the mode Run/Stop the digital and analogue output data is not transferred to the
outputs of the AS-i slaves. Therefore this data must be recopied in the PLC user program of the
controllere.
More information concerning the addresses and assignment to the Profibus modules → chapter
7,
Set-up.
5-1
Function
Status LED for the fieldbus
5.2 Status LED for the fieldbus
For Profibus DP there is only one red LED [Bus Failure].
LED Description
● lights
○ off
✶
flashes 2 Hz
When response monitoring (watchdog) active:
no Profibus connection
When response monitoring (watchdog) active:
Profibus connection ok
OR: master switched off
OR: response monitoring (watchdog) deactivated
device error → message text in text/graphics display
5.3 Which operating modes are there for the PLC in the controllere?
Operating mode Description Behaviour via DPV1 / fieldbus
Run PLC program start
> The PLC program stored in the
controllere is processed.
> LED [PLC RUN] lit
Stop PLC program stop
> The PLC program stored in the
controllere is stopped.
> LED [PLC RUN] flashes
Via DPV1, data can be written to AS-i
slaves in the controllere application
program:
Mapping of the PLC address ranges
%IB4.512…%IB4.639
%IW4.320…%IW4.639
Gateway Controllere as gateway
> LED [PLC RUN] goes out
Fieldbus has exclusive write access for
the AS-i outputs.
DPV1 has no access here!
The timeouts for the analogue and
digital AS-i outputs only work in the
operating mode gateway. There is no
timeout monitoring for the other data
areas written via DPV1.
NOTE
During changes to the PLC program or to the slaves the PLC program should be stopped to avoid
malfunctions.
NOTE
In devices with Profibus and Ethernet programming interface, DPV1 is not considered as fieldbus but
as interface for operation and configuration.
5-2
Menu
Main menu [Quick Setup]
6 Menu
NOTE
In this manual the menu texts are all in English.
Basic functions → separate basic instructions of the device manual
6.1 Main menu [Quick Setup]
Quick setting of the AS-i and fieldbus parameters, reading of the parameter data (password level 1
required). Details → page
Menu tree Explanation
12-6, chapter Read fieldbus parameters
Quick Setup
Fieldbus Setup
> Display of the current fieldbus address
► Change of the fieldbus address using the buttons [▲] or
[▼]
► After pressing [OK]:
> Controllere is set to the baud rate set in the Profibus DP
master.
► Always after pressing [OK]:
> Display of the data stored in the fieldbus master via the
data packets for communication with the AS-i controllere:
•Digital inputs in the fieldbus master of single or A slaves
on AS-i master 1
•Digital outputs in the fieldbus master to single or A slaves
on AS-i 1
•Digital inputs in the fieldbus master of single or A slaves
on AS-i master 2
•Digital outputs in the fieldbus master to single or A slaves
on AS-i 2
•Digital inputs in the fieldbus master of B slaves on AS-i
master 1
• Digital outputs in the fieldbus master to B slaves on AS-i 1
• Digital inputs in the fieldbus master of B slaves on AS-i
master 2
•Digital inputs in the fieldbus master of B slaves on AS-i
master 2
• Analogue multiplex inputs in the fieldbus master
• Analogue multiplex outputs in the fieldbus master
• Fieldbus data command channel
• Fieldbus data PLC inputs in the fieldbus master
• Fieldbus data PLC outputs in the fieldbus master
• Analogue inputs in the fieldbus master of AS-i master 1
• Analogue outputs in the fieldbus master on AS-i master 1
• Analogue inputs in the fieldbus master of AS-i master 2
6-1
Menu
Main menu [Fieldbus Setup]
Menu tree Explanation
• Analogue outputs in the fieldbus master on AS-i master 2
• Fieldbus data diagnosis
• Fieldbus master command channel
• Digital inputs in the fieldbus master of single or A slaves
on AS-i master 1
(cycle starts again)
► Cancel with [ESC]
6.2 Main menu [Fieldbus Setup]
Setting of fieldbus parameters, reading of parameter data (password level 1 required).
Details → page
Menu tree Explanation
Fieldbus Setup > Display of the current fieldbus address
12-6, chapter Read fieldbus parameters
► Change of the fieldbus address using the keys [▲] / [▼]
► After pressing [OK]:
> Controllere is set to the baud rate set in the Profibus DP
master.
► Always after pressing [OK]:
> Display of the data stored in the fieldbus master via the
data packets for communication with the AS-i controllere:
•Digital inputs in the fieldbus master of single or A slaves
on AS-i master 1
•Digital outputs in the fieldbus master on single or A slaves
on AS-i master 1
•Digital inputs in the fieldbus master of single or A slaves
on AS-i master 2
•Digital outputs in the fieldbus master on single or A slaves
on AS-i master 2
•Digital inputs in the fieldbus master of B slaves on AS-i
master 1
•Digital outputs in the fieldbus master on B slaves on AS-i
master 1
6-2
•Digital inputs in the fieldbus master of B slaves on AS-i
master 2
•Digital outputs in the fieldbus master on B slaves on AS-i
master 2
• Analogue multiplex inputs in the fieldbus master
• Analogue multiplex outputs in the fieldbus master
• Fieldbus data command channel
• Fieldbus data PLC inputs in the fieldbus master
• Fieldbus data PLC outputs in the fieldbus master
• Analogue inputs in the fieldbus master of AS-i master 1
Menu
Main menu [Fieldbus Setup]
Menu tree Explanation
• Analogue outputs in the fieldbus master on AS-i master 1
• Analogue inputs in the fieldbus master on AS-i master 2
• Analogue outputs in the fieldbus master on AS-i master 2
• Fieldbus data diagnosis
• Fieldbus master command channel
• Digital inputs in the fieldbus master of single or A slaves
on AS-i master 1
(cycle starts again)
► Cancel with [ESC]
6-3
Menu
Main menu [Fieldbus Setup]
6-4
Set-up
Parameter setting of the controllere
7 Set-up
This chapter shows you how to get the Profibus interface started quickly.
7.1 Parameter setting of the controllere
7.1.1 Parameter setting of slaves in the controllere
Set the parameters of the slaves in the AS-i controllere as described in the basic device manual.
7.1.2 Set the parameters of the fieldbus interface in the controllere
[Menu] > [Fieldbus Setup] > Choose address > [OK]
1.
MMEENNUU
Quick Setup
2.
PLC Setup
Slave Lists
OOKK
Diagnostics
3.
Master Setup
Fieldbus Setup
OOKK
0
1
▲▼
1
▲▼
UUSSEERR
EESSCC
EESSCC
► Press [MENU]
► Scroll to [Fieldbus Setup] with [▼]
► Select [Fieldbus Setup] with [OK].
7-1
Set-up
Connect the controllere to the Profibus host
Fieldbus Address
4.
0
OOKK
Fieldbus Address
5.
OOKK
Fieldbus Baudrate
6.
#### KBaud
OOKK
87
▲▼
32
87
▲▼
88
▲ ▼
► Scroll to the requested address with [▲] / [▼].
EESSCC
► Save the fieldbus address with [OK].
EESSCC
> If there is communication with the fieldbus master:
display of negotiated baud rate
► Acknowledge with [OK].
EESSCC
> If there is no communication with the fieldbus master:
display value not defined
► Cancel with [ESC].
7.2 Connect the controllere to the Profibus host
► Connect the Profibus cable to the controllere.
7.3 Parameter setting of the Profibus host
NOTE
Refer to the description of the Profibus interface on the host
(host = fieldbus master = in most cases higher-level PLC)
GSD file
(GSD = General Station Description) The GSD file ifm604D8.gsd on the ifm CD contains different
possible definitions (indications of lengths) for each of the 12 modules, adapted to the controllere. →
Hardware catalogue of the Profibus configuration software in the gateway folder.
► Copy this file to the suitable directory of the corresponding fieldbus configuration program (→ its
description).
7-2
Set-up
Parameter setting of the Profibus host
Programming software
The data of the controllere or the connected AS-i systems to be transferred can be defined (by
indicating the length of up to 12 modules) in the programming software for the Profibus DP master
system (host).
You can select from these definitions for parameter setting in the host:
Example for module 1:
There is a choice of 5 entries:
•all single and A slaves on AS-i master 1
(length = 16 bytes)
•single and A slaves with the addresses
1(A)...23(A) on AS-i master 1
(length = 12 bytes)
•single and A slaves with the addresses
1(A)...15(A) on AS-i master 1
(length = 8 bytes)
•single and A slaves with the addresses
1(A)...7(A) on AS-i master 1
(length = 4 bytes)
•no single or A slaves on AS-i master 1
(length = 0 bytes)
If the parameters for a smaller number of slaves than indicated in the selection point are to be set, you
have created free reserve in the host.
Example:
5 single and/or A slaves are connected to the AS-i master 1.
You have selected on the host:
"single and A slaves with the addresses 1(A)...7(A) on AS-i master 1"
You have then created an address area reserve of 1 byte in the host which is not used for the time being. The first 3 bytes of the
reserved address area are used to exchange data.
7-3
Set-up
Parameter setting of the Profibus host
7.3.1 Assigning the addresses of the inputs/outputs to the host "locations"
For Profibus DP, virtual locations in the host are assigned to the inputs/outputs addressed via AS-i.
NOTE
Addressing of CTT2 and CTT3 slaves → separate basic instructions of the device manual
and there → chapter "Use of analogue channels in the controllere depending on the slave profile"
and → chapter "Data distribution of slaves to the M4 controllere"
Digital inputs / outputs
st
example:
1
Siemens S7 with AS-i controllere as gateway. The digital inputs/outputs on the AS-i controllere are
assigned to the host as bytes 0...15.
In this constellation, how are the IEC addresses distributed to the inputs and outputs of the slaves? →
next page
7-4
Set-up
Parameter setting of the Profibus host
Digital inputs and outputs of the slaves at start address 0
Start address Bits 7...4 Bits 3...0
(Slave 0) reserved for master flags Slave 1
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Reserved Conf.
Err.
0 .7 0 .6 0 .5 0 .4 0 .3 0 .2 0 .1 0 .0
D3 D2 D1 D0 D3 D2 D1 D0
1 .7 1 .6 1 .5 1 .4 1 .3 1 .2 1 .1 1 .0
D3 D2 D1 D0 D3 D2 D1 D0
2 .7 2 .6 2 .5 2 .4 2 .3 2 .2 2 .1 2 .0
D3 D2 D1 D0 D3 D2 D1 D0
3 .7 3 .6 3 .5 3 .4 3 .3 3 .2 3 .1 3 .0
D3 D2 D1 D0 D3 D2 D1 D0
4 .7 4 .6 4 .5 4 .4 4 .3 4 .2 4 .1 4 .0
D3 D2 D1 D0 D3 D2 D1 D0
5 .7 5 .6 5 .5 5 .4 5 .3 5 .2 5 .1 5 .0
D3 D2 D1 D0 D3 D2 D1 D0
6 .7 6 .6 6 .5 6 .4 6 .3 6 .2 6 .1 6 .0
D3 D2 D1 D0 D3 D2 D1 D0
7 .7 7 .6 7 .5 7 .4 7 .3 7 .2 7 .1 7 .0
D3 D2 D1 D0 D3 D2 D1 D0
8 .7 8 .6 8 .5 8 .4 8 .3 8 .2 8 .1 8 .0
D3 D2 D1 D0 D3 D2 D1 D0
9 .7 9 .6 9 .5 9 .4 9 .3 9 .2 9 .1 9 .0
D3 D2 D1 D0 D3 D2 D1 D0
10 .7 10 .6 10 .5 10 .4 10 .3 10 .2 10 .1 10 .0
D3 D2 D1 D0 D3 D2 D1 D0
11 .7 11 .6 11 .5 11 .4 11 .3 11 .2 11 .1 11 .0
D3 D2 D1 D0 D3 D2 D1 D0
12 .7 12 .6 12 .5 12 .4 12 .3 12 .2 12 .1 12 .0
D3 D2 D1 D0 D3 D2 D1 D0
13 .7 13 .6 13 .5 13 .4 13 .3 13 .2 13 .1 13 .0
D3 D2 D1 D0 D3 D2 D1 D0
14 .7 14 .6 14 .5 14 .4 14 .3 14 .2 14 .1 14 .0
D3 D2 D1 D0 D3 D2 D1 D0
15 .7 15 .6 15 .5 15 .4 15 .3 15 .2 15 .1 15 .0
No SlavePF.Err D3 D2 D1 D0
Slave 2 Slave 3
Slave 4 Slave 5
Slave 6 Slave 7
Slave 8 Slave 9
Slave 10 Slave 11
Slave 12 Slave 13
Slave 14 Slave 15
Slave 16 Slave 17
Slave 18 Slave 19
Slave 20 Slave 21
Slave 22 Slave 23
Slave 24 Slave 25
Slave 26 Slave 27
Slave 28 Slave 29
Slave 30 Slave 31
7-5
Set-up
Parameter setting of the Profibus host
nd
example:
2
Siemens S7 with AS-i controllere as gateway. The digital inputs/outputs on the AS-i controllere are
assigned to the host as bytes 65...80.
In this constellation, how are the IEC addresses distributed to the inputs and outputs of the slaves? →
next page
7-6
Loading...
+ 218 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.