Scalable PLC AC500
Communication AC500
PROFIBUS DP S500- I/Os
Basic module
PROFIBUS DP Communication
Contents
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 2
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 3
PROFIBUS DP Communication
PROFIBUS DP: General Information
PROFIBUS DP master functionality is provided in the AC500 by
a communication module CM572-DPM.
Maximal 4 CM572-DPM can be used simultaneously with one
AC500 CPU.
PROFIBUS DP slave functionality is provided by a AC500 CPU
over FBP interface.
+ =
Power supply for CM572-DPM is provided by AC500 terminal
base.
© ABB Group
March 11, 2013 | Slide 4
PROFIBUS DP Communication
AC500 PROFIBUS DP Master (1)
By use of communication module CM572-
DPM
Communication:
PROFIBUS DP V0 / V1
Cyclic user data transfer between DP
master and DP slave.
Acyclic data transfer from master to
master and slave.
© ABB Group
March 11, 2013 | Slide 5
PROFIBUS DP Communication
AC500 PROFIBUS DP Master (2)
Cable:
Adapter cable PDA11 DSub9-M12
Shielded twisted-pair line or fiber
optic, transmission standard EIA
RS485
Transfer rate from 9.6 kbit/s up to 12
Mbit/s
Bus length up to 1200 m at 9.6 kbit/s
and up to 100 m at 12 Mbit/s
Up to 32 subscribers (master and
slave modules) without repeater
Up to 126 subscribers on one bus
with repeaters
© ABB Group
March 11, 2013 | Slide 6
PROFIBUS DP Communication
AC500 PROFIBUS DP Master (3)
Diagnostic:
Local on CPU display
By use of standard PROFIBUS
diagnosis tool (dedicated software)
By status LEDs (communication
module)
By use of engineering tool
By use of diagnosis FBs
© ABB Group
March 11, 2013 | Slide 7
PROFIBUS DP Communication
AC500 PROFIBUS DP Slave
Provided by PDP22-FBP
Communication:
PROFIBUS DP V0
Cable:
FieldBusPlug PDP22
Transfer rate from 9.6 kbit/s up to
12 Mbit/s
Bus length up to 1200 m at 9.6 kbit/s
and up to 100 m at 12 Mbit/s.
Diagnosis:
Messages for local diagnosis on the
CPU display
By [Link] using master project
© ABB Group
March 11, 2013 | Slide 8
PROFIBUS DP Communication
PROFIBUS Topology: AC500 Slave
Master PDP22-FBP
Slave
Adapter Cable PDA11 Active
Dsub9-M12 Termination Unit
PDR11
© ABB Group
March 11, 2013 | Slide 9
PROFIBUS DP Communication
PROFIBUS-Topology: FBP Cable
FieldBusPlug Cable
© ABB Group
March 11, 2013 | Slide 10
PROFIBUS DP Communication
S500- I/Os (1)
By use of FBP for PROFIBUS
Power supply of Interface Module DC505-
FBP and connected S500-I/O modules
via FBP field bus and FBP provided
Communication:
PROFIBUS DP V0 / V1
© ABB Group
March 11, 2013 | Slide 11
PROFIBUS DP Communication
S500- I/Os (2)
Cable:
FieldBusPlug PDP22
Transfer rate from 9.6 kbit/s up to 12
Mbit/s
Bus length up to 1200 m at 9.6 kbit/s
and up
to 100 m at 12 Mbit/s.
Diagnosis:
Local with LEDs of I/O modules and
FBP
By use of master diagnosis
possibilities
© ABB Group
March 11, 2013 | Slide 12
PROFIBUS DP Communication
PROFIBUS Topology: S500 Slave
PDP22-FBP
Master Slave
Adapter Cable PDA11 Active Termination
Dsub9-M12 Unit PDR11
More information in CoDeSys Help
© ABB Group
March 11, 2013 | Slide 13
PROFIBUS DP Communication
PROFIBUS Topology: AC500 Multi Master
Master Slave
PROFIBUS Termination
Plug (Standard)
PDP22-FBP
Master Slave
Termination
© ABB Group
March 11, 2013 | Slide 14
PROFIBUS DP Communication
PROFIBUS Topology by Long Distance
© ABB Group
March 11, 2013 | Slide 15
PROFIBUS DP Communication
PROFIBUS Topology with Repeater
© ABB Group
March 11, 2013 | Slide 16
PROFIBUS DP Communication
PROFIBUS DP Functionality, Master + Slave
Profibus DP functionality AC500 CPU ( Master) AC500 CPU ( Slave) S500 I/Os (Slave)
Multi master yes, bus access via token no no
Protocols supported
Profibus DP V0 yes yes yes
Profibus DP V1 yes no yes
Diagnosis
Error indication LED’s on the communication module LCD display of CPU and LED’s on FBP LED’s on interface module and FBP
Online diagnosis Using Engineering tool
Error code yes no no
Associated function blocks yes no no
Physical layer
Connection 9-pole D-Sub M12 FBP (standard)
Baud rate up to 12 Mbit/s
Distance up to 1200 m at 90 Kbit/s
Max. number of subscribers Max. 126 (via amplifier), max. 32 (master/slave) per bus segment
© ABB Group
March 11, 2013 | Slide 17
PROFIBUS DP Communication
Profibus DP with other Products
PROFIBUS DP Master
FBP PROFIBUS DP V1
© ABB Group
March 11, 2013 | Slide 18
PROFIBUS DP Communication
AC500 configuration example: PROFIBUS DP and Ethernet
PROFIBUS DP Master
External Ethernet
Internal Ethernet
Ethernet
Switches
Router
In-house-Network
DP Slave FBP
PROFIBUS-DP
PLC (DP - Master)
© ABB Group
March 11, 2013 | Slide 19
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 20
PROFIBUS DP Communication
PROFIBUS DP with Control Builder PS501
PROFIBUS is provided by
means of operands.
Function blocks are used only
for diagnosis and status
indication.
The library of function blocks
for PROFIBUS DP is
automatically loaded into
project when PROFIBUS DP
is configured via “Resources /
PLC configuration”.
Simulation mode is not
available for these function
blocks.
© ABB Group
March 11, 2013 | Slide 21
PROFIBUS DP Communication
Configuration with PS501
1. Select “Couplers“
2. Select “Append Subelement“
3. Select “CM572 …“
© ABB Group
March 11, 2013 | Slide 22
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 23
PROFIBUS DP Communication
CM572-DPM (1)
[Link] allows to configure the network and create all data exchange.
Select [Link] inside “Resources”\”Tools”
It is necessary to name your project before
opening [Link]. If there is no project name
the following error message will be displayed.
© ABB Group
March 11, 2013 | Slide 24
PROFIBUS DP Communication
CM572-DPM (2)
The fieldbus configuration software [Link] will be opened
and allows to configure the master and slave devices on network.
Drag and drop for external CM572-DPM:
The CM572 will be inserted automatically on network.
© ABB Group
March 11, 2013 | Slide 25
PROFIBUS DP Communication
CM572-DPM (3)
2. Select the board (slot-) number and “Accept”
Note: First module to left CPU is “1“
1. In order to access all protocol
parameters double click on icon. More information in CoDeSys Help
© ABB Group
March 11, 2013 | Slide 26
PROFIBUS DP Communication
CM572-DPM (4)
3. Choose “Baud Rate”
2. Master address
4. Click “Apply” then
1. Select “Bus “Okay”
Parameters”
© ABB Group
March 11, 2013 | Slide 27
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 28
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (1)
The GSD files of all PROFIBUS slaves must be inserted directly into the folder:
C:\Program Files\Hilscher GmbH\SYCONnet\ABBPBGenericSlaveDTM\GSD.
© ABB Group
March 11, 2013 | Slide 29
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (2)
Open
[Link]
in the master
project
2. Select the device
1. Select “Network”/ 3. Reload
“Device Catalog”
© ABB Group
March 11, 2013 | Slide 30
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (3)
Drag and drop for PDP22-FBP (DPV1 modular):
The FBP will be inserted automatically into network.
The FBP is a modular PROFIBUS DP slave.
© ABB Group
March 11, 2013 | Slide 31
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (4)
1. In order to access
all slave device
parameters double
2. Select “Modules” to define the
click on icon.
configuration of local extensions.
© ABB Group
March 11, 2013 | Slide 32
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (5)
Configure the local “Insert” or
extensions beginning “Append”
with DC505-FBP.
“Apply” and “OK”
© ABB Group
March 11, 2013 | Slide 33
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (6)
Select “Parameters”
to configure the
S500-I/O
modules.
“Apply” and “OK”
© ABB Group
March 11, 2013 | Slide 34
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (7)
1. Click on the folder of a module.
2. Click on “Name of variable” and
enter symbolic names
The names of the variables
will be used like global
variables inside PS501.
More information in CoDeSys Help
© ABB Group
March 11, 2013 | Slide 35
PROFIBUS DP Communication
PDP22-FBP (DPV1 modular) (8)
The variables are displayed and
available for programming.
Back in PS501:
“Resources”\
“Global Variables”\
“Slot1”\
“Slot1_Slave2”
© ABB Group
March 11, 2013 | Slide 36
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 37
PROFIBUS DP Communication
Download Configuration CM572 (1)
1. Right click on CM572 icon
2. Select “Configuration”
© ABB Group
March 11, 2013 | Slide 38
PROFIBUS DP Communication
Download Configuration CM572 (2)
3. Select “Driver” and then “Gateway Configuration”,
if not previously configured.
© ABB Group
March 11, 2013 | Slide 39
PROFIBUS DP Communication
Download Configuration CM572 (3)
6. Select the slot corresponding
to CM572 to configure.
4. Select 5. Select “Scan” in order to search
“Device Assignment” for the device available on your
configuration.
© ABB Group
March 11, 2013 | Slide 40
PROFIBUS DP Communication
Download Configuration CM572 (4)
7. Right click
again on CM572
8. Select “Connect” in order
to open communication
© ABB Group
March 11, 2013 | Slide 41
PROFIBUS DP Communication
Download Configuration CM572 (5)
9. The CM572 is ready to
receive a new
configuration (green
color), right click again.
10. Select “Download” in
order to download
configuration.
Note: The program
execution has to be
stopped before
downloading
© ABB Group
March 11, 2013 | Slide 42
PROFIBUS DP Communication
Download Configuration CM572 (6)
11. When the download is
finished and a message
about successful download
is visible, right click again.
12. Select “Disconnect”
13. Select “Configuration”
© ABB Group
March 11, 2013 | Slide 43
PROFIBUS DP Communication
Download Configuration CM572 (7)
14. Remove the check
selecting device
15. Valid “OK”. The
download of the
configuration is
now terminated.
© ABB Group
March 11, 2013 | Slide 44
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 45
PROFIBUS DP Communication
Diagnosis CM572
1. When the CM572 is
connected (green color),
right click.
2. Select “Diagnostic” in
order to open the
diagnostic interface.
© ABB Group
March 11, 2013 | Slide 46
PROFIBUS DP Communication
Bus Diagnosis
Select “Bus Diagnosis”
© ABB Group
March 11, 2013 | Slide 47
PROFIBUS DP Communication
Station Diagnosis
Select “Station Diagnosis”
© ABB Group
March 11, 2013 | Slide 48
PROFIBUS DP Communication
Coming up
PROFIBUS: General Information
Configuration with PS501
Configuration with [Link]: PROFIBUS Master
Configuration with [Link]: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
© ABB Group
March 11, 2013 | Slide 49
PROFIBUS DP Communication
Insertion of the Communication Modules
© ABB Group
March 11, 2013 | Slide 50
PROFIBUS DP Communication
Taking off the Communication Modules
© ABB Group
March 11, 2013 | Slide 51
Cross-References to Documentation (1)
1. English\2-Hardware-AC500
[Link]
2. CoDeSys Help\Target System\
AC500 / S500-FBP\
Hardware AC500\
Communication modules\
CM572-DP Communication module
PROFIBUS
© ABB Group
March 11, 2013 | Slide 52
Cross-References to Documentation (2)
1. English\7-System-Technology-AC500
[Link]
2. English\9-Fieldbus-Configurator-SYCON
[Link]
3. CoDeSys Help\Target System\
AC500 / S500-FBP\
System technology\
System technology of the AC 500
Communication modules\
The PROFIBUS DP communication
module
© ABB Group
March 11, 2013 | Slide 53
Cross-References to Documentation (3)
© ABB Group
March 11, 2013 | Slide 54
© ABB Group
March 11, 2013 | Slide 55