scalable plc ac500 communication ac500 profibus · pdf file · 2014-04-10profibus...
Post on 09-Mar-2018
223 Views
Preview:
TRANSCRIPT
Communication AC500 PROFIBUS DP S500- I/Os Basic module
Scalable PLC AC500
© ABB Group March 11, 2013 | Slide 2
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Contents
© ABB Group March 11, 2013 | Slide 3
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 4
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.
Power supply for CM572-DPM is provided by AC500 terminal
base.
+ =
PROFIBUS DP slave functionality is provided by a AC500 CPU
over FBP interface.
PROFIBUS DP Communication PROFIBUS DP: General Information
© ABB Group March 11, 2013 | Slide 5
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.
PROFIBUS DP Communication AC500 PROFIBUS DP Master (1)
© ABB Group March 11, 2013 | Slide 6
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
PROFIBUS DP Communication AC500 PROFIBUS DP Master (2)
© ABB Group March 11, 2013 | Slide 7
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
PROFIBUS DP Communication AC500 PROFIBUS DP Master (3)
© ABB Group March 11, 2013 | Slide 8
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 SYCON.net using master project
PROFIBUS DP Communication AC500 PROFIBUS DP Slave
© ABB Group March 11, 2013 | Slide 9
PROFIBUS DP Communication PROFIBUS Topology: AC500 Slave
PDP22-FBP
Adapter Cable PDA11
Dsub9-M12
Active
Termination Unit
PDR11
Master Slave
© ABB Group March 11, 2013 | Slide 10
PROFIBUS DP Communication PROFIBUS-Topology: FBP Cable
FieldBusPlug Cable
© ABB Group March 11, 2013 | Slide 11
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 12
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 13
PROFIBUS DP Communication PROFIBUS Topology: S500 Slave
Adapter Cable PDA11
Dsub9-M12
PDP22-FBP
Active Termination
Unit PDR11
More information in CoDeSys Help
Master Slave
© ABB Group March 11, 2013 | Slide 14
PDP22-FBP
PROFIBUS
Plug (Standard)
PROFIBUS DP Communication PROFIBUS Topology: AC500 Multi Master
Master Slave
Master Slave
Termination
Termination
© ABB Group March 11, 2013 | Slide 15
PROFIBUS DP Communication PROFIBUS Topology by Long Distance
© ABB Group March 11, 2013 | Slide 16
PROFIBUS DP Communication PROFIBUS Topology with Repeater
© ABB Group March 11, 2013 | Slide 17
Max. 126 (via amplifier), max. 32 (master/slave) per bus segment Max. number of subscribers
up to 1200 m at 90 Kbit/s Distance
up to 12 Mbit/s Baud rate
M12 FBP (standard) 9-pole D-Sub Connection
Physical layer
no no yes Associated function blocks
no no yes Error code
Using Engineering tool Online diagnosis
LED’s on interface module and FBP LCD display of CPU and LED’s on FBP LED’s on the communication module Error indication
Diagnosis
yes no yes Profibus DP V1
yes yes yes Profibus DP V0
Protocols supported
no no yes, bus access via token Multi master
S500 I/Os (Slave) AC500 CPU ( Slave) AC500 CPU ( Master) Profibus DP functionality
PROFIBUS DP Communication PROFIBUS DP Functionality, Master + Slave
© ABB Group March 11, 2013 | Slide 18
PROFIBUS DP Communication Profibus DP with other Products
PR
OF
IBU
S D
P M
as
ter
FBP PROFIBUS DP V1
© ABB Group March 11, 2013 | Slide 19
Ethernet
In-h
ou
se
-Ne
two
rk
Switches
Router
PR
OF
IBU
S D
P M
as
ter
PLC (DP - Master)
PROFIBUS-DP DP
Sla
ve
FB
P
Internal Ethernet
Ex
tern
al E
the
rne
t
PROFIBUS DP Communication AC500 configuration example: PROFIBUS DP and Ethernet
© ABB Group March 11, 2013 | Slide 20
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 21
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.
PROFIBUS DP Communication PROFIBUS DP with Control Builder PS501
© ABB Group March 11, 2013 | Slide 22
PROFIBUS DP Communication Configuration with PS501
1. Select “Couplers“
2. Select “Append Subelement“
3. Select “CM572 …“
© ABB Group March 11, 2013 | Slide 23
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 24
SYCON.net allows to configure the network and create all data exchange.
It is necessary to name your project before
opening SYCON.net. If there is no project name
the following error message will be displayed.
PROFIBUS DP Communication CM572-DPM (1)
Select SYCON.net inside “Resources”\”Tools”
© ABB Group March 11, 2013 | Slide 25
The fieldbus configuration software SYCON.net 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.
PROFIBUS DP Communication CM572-DPM (2)
© ABB Group March 11, 2013 | Slide 26
PROFIBUS DP Communication CM572-DPM (3)
1. In order to access all protocol
parameters double click on icon.
2. Select the board (slot-) number and “Accept”
Note: First module to left CPU is “1“
More information in CoDeSys Help
© ABB Group March 11, 2013 | Slide 27
PROFIBUS DP Communication CM572-DPM (4)
3. Choose “Baud Rate” 2. Master address
1. Select “Bus
Parameters”
4. Click “Apply” then
“Okay”
© ABB Group March 11, 2013 | Slide 28
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 29
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 30
1. Select “Network”/
“Device Catalog”
PROFIBUS DP Communication PDP22-FBP (DPV1 modular) (2)
2. Select the device
3. Reload
Open
SYCON.net
in the master
project
© ABB Group March 11, 2013 | Slide 31
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 32
2. Select “Modules” to define the
configuration of local extensions.
PROFIBUS DP Communication PDP22-FBP (DPV1 modular) (4)
1. In order to access
all slave device
parameters double
click on icon.
© ABB Group March 11, 2013 | Slide 33
PROFIBUS DP Communication PDP22-FBP (DPV1 modular) (5)
Configure the local
extensions beginning
with DC505-FBP.
“Insert” or
“Append”
“Apply” and “OK”
© ABB Group March 11, 2013 | Slide 34
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 35
PROFIBUS DP Communication PDP22-FBP (DPV1 modular) (7)
1. Click on the folder of a module.
The names of the variables
will be used like global
variables inside PS501.
2. Click on “Name of variable” and
enter symbolic names
More information in CoDeSys Help
© ABB Group March 11, 2013 | Slide 36
The variables are displayed and
available for programming.
PROFIBUS DP Communication PDP22-FBP (DPV1 modular) (8)
Back in PS501:
“Resources”\
“Global Variables”\
“Slot1”\
“Slot1_Slave2”
© ABB Group March 11, 2013 | Slide 37
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 38
PROFIBUS DP Communication Download Configuration CM572 (1)
1. Right click on CM572 icon
2. Select “Configuration”
© ABB Group March 11, 2013 | Slide 39
PROFIBUS DP Communication Download Configuration CM572 (2)
3. Select “Driver” and then “Gateway Configuration”,
if not previously configured.
© ABB Group March 11, 2013 | Slide 40
5. Select “Scan” in order to search
for the device available on your
configuration.
4. Select
“Device Assignment”
PROFIBUS DP Communication Download Configuration CM572 (3)
6. Select the slot corresponding
to CM572 to configure.
© ABB Group March 11, 2013 | Slide 41
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 42
PROFIBUS DP Communication Download Configuration CM572 (5)
10. Select “Download” in
order to download
configuration.
9. The CM572 is ready to
receive a new
configuration (green
color), right click again.
Note: The program
execution has to be
stopped before
downloading
© ABB Group March 11, 2013 | Slide 43
PROFIBUS DP Communication Download Configuration CM572 (6)
11. When the download is
finished and a message
about successful download
is visible, right click again.
13. Select “Configuration”
12. Select “Disconnect”
© ABB Group March 11, 2013 | Slide 44
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 45
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 46
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 47
PROFIBUS DP Communication Bus Diagnosis
Select “Bus Diagnosis”
© ABB Group March 11, 2013 | Slide 48
PROFIBUS DP Communication Station Diagnosis
Select “Station Diagnosis”
© ABB Group March 11, 2013 | Slide 49
PROFIBUS: General Information
Configuration with PS501
Configuration with SYCON.net: PROFIBUS Master
Configuration with SYCON.net: PROFIBUS Slave
CM572 download configuration
CM572 diagnosis
Assembling CM572
PROFIBUS DP Communication Coming up
© ABB Group March 11, 2013 | Slide 50
PROFIBUS DP Communication Insertion of the Communication Modules
© ABB Group March 11, 2013 | Slide 51
PROFIBUS DP Communication Taking off the Communication Modules
© ABB Group March 11, 2013 | Slide 52
Cross-References to Documentation (1)
1. English\2-Hardware-AC500
2CDC125017M0202.PDF
2. CoDeSys Help\Target System\
AC500 / S500-FBP\
Hardware AC500\
Communication modules\
CM572-DP Communication module
PROFIBUS
© ABB Group March 11, 2013 | Slide 53
Cross-References to Documentation (2)
1. English\7-System-Technology-AC500
2CDC125022M0202.PDF
2. English\9-Fieldbus-Configurator-SYCON
2CDC125024M0202.PDF
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 54
Cross-References to Documentation (3)
© ABB Group March 11, 2013 | Slide 55
top related