Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO...

31
CM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides www.infoPLC.net

Transcript of Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO...

Page 1: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

CM579-PNIOPROFINET IO Communication Module

Scalable PLC AC500

© ABB Group – Version 3.3 (2012-07)Technical Guides

www.infoPLC.net

Page 2: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 2

AC500 PROFINETIntroduction

Open standard for industrial Ethernet based applications

Two solutions

PROFINET IO

for decentral periphery

I/Os, drives, etc.

PROFINET CBA

for autonomous parts of machines/ plants

AC500 PROFINET

www.infoPLC.net

Page 3: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 3

AC500 PROFINETCommunication Types

PROFINET provides different kinds of communication types

PROFINET NRT (non-real-time)e.g. process automation

TCP/IP, UDP/IP

PROFINET RT (real-time)e.g. factory automation

PROFINET IRT (isochronous real-time)e.g. motion control

www.infoPLC.net

Page 4: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 4

PROFINET IO RT (Processed Fieldbus Ethernet)

PROFINET IO RT Features

Standardization organization IEC 61158

Nomenclature: Controller (Master) / Device (Slave)

Bus Topologies: Bus, Star, Tree

No direct Slave to Slave communication possible

Ethernet over PROFINET IO RT possible

Device description (GSDML) based on xml standard

www.infoPLC.net

Page 5: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 5

AC500 PROFINETComponents

IO Controller and his functions

Master in the PROFINET systemControl of the bus startParametrization of IO DevicesSending the output data to IO DevicesData reception from IO Devices (process data, diagnosis)Data exchange with control system (PM57x, PM58x, PM59x)

IO Device

Decentralized field DeviceParametrized by IO Controller or IO supervisor Data exchange with IO controller

IO Supervisor

Engineering tool to access the IO Devices temporally for commissioning

www.infoPLC.net

Page 6: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 6

AC500 PROFINETPROFINET IO-Transfer Mechanism

PROFINET IO is not a typical master/slave communication

The process data are transmitted cyclically

IO Controller sets the communication basic cycle as the master (“SendClockFactor”)

Cycle time for data transfer can be preset for each IO Device due to optimize bus load

Cycle time is as set for each IO Device. Output data are sent by IO Controller, input data are sent by IO Device.

Acyclic communication is used for parametrizing, diagnosis, alarm messages

www.infoPLC.net

Page 7: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 7

AC500 PROFINETPROFINET IO Communication Channels

Communication

Non-time-critical dataEthernet over UDP/IP channel(NRT communication)

Start-up of the busIP-address allocation to IO Devices

Name and addressallocation for IO

Devices

Parametrization ofIO Devices

time-critical dataEthernet RT channel

Reading/writing ofprocess data of IODevices Alarm messages of IO Device

www.infoPLC.net

Page 8: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 8

AC500 PROFINETPROFINET IO Frame Structure and Prioritization (1)

MAC-Address

Destination

MAC-Address source

VLAN Tag = Prioritization

Ether Type e.g.

PROFINET RT

Data46 –1500

Bytes

Checksum

www.infoPLC.net

Page 9: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 9

AC500 PROFINETPROFINET IO Frame Structure and Prioritization (2)

Wireless switches for connection of PROFINET IO components must support VLAN.

www.infoPLC.net

Page 10: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 10

AC500 PROFINETPROFINET Standardization (1)

Each PROFINET IO Device has its own electronic data sheet, the General Station Description File (GSDML)

The GSDML files are usually supported by vendor (see also PROFIBUS user organization: http://www.profibus.com)

PROFINET defines 3 conformance classes: CC A, CC B, and CC C. AC500 PROFINET RT is certified to be conform to the class CC A

www.infoPLC.net

Page 11: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 11

AC500 PROFINETPROFINET Standardization (2)

CC A

- Conduction-bound and wireless data transfer- Cyclic RT communication- Acyclic TCP/IP communication- Alarms/diagnosis- Definition of transfer cycle- Automatic address resolution- Identification & maintenance functionality- Basic mechanism for detection of adjacent devices- Prioritization of data transfer according to IEEE standard- Transfer media: 100 Base TX/FX

CC B

- Switches with MRP support (conform with IEEE 802)- Providing of data for device-to-device-communication- Application of SNMP- Comfortable device-replacement without usage of an engineering tool- Client-functionality with MRP redundancy

CC C

- Switches with IEEE802-conformity with bus-, phase- and real time clock synchronization

- IRT communication- TCP/IP/RT and IRT redundancy

Not

syn

chro

nize

dsy

nchr

oniz

ed

www.infoPLC.net

Page 12: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 12

AC500 PROFINETAC500 PROFINET Devices (1)

IO Controller

CM579-PNIO communication module

Internal Ethernet switch with 2 ports

Transfer rate 10/100 MBit/s, full duplex

Protocol PROFINET IO

Maximal 128 IO Devices

5 status LEDs, some bicolored

2 rotary switches for address setting (not used)

www.infoPLC.net

Page 13: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 13

AC500 PROFINETAC500 PROFINET Devices (2)

IO Device CI501-PNIO

Decentralized IO Device with own I/O channels

4 analog inputs 12 Bit + sign

2 analog outputs 12 Bit + sign

8 digital inputs

8 digital outputs

Extension with up to 10 IO Modules

Electrical connection with S500 Terminal Units TU507-RT-ETH or TU 508-RT-ETH

New version (hardware and firmware) CI501-PNIO (V3) provides fast counter.

www.infoPLC.net

Page 14: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 14

AC500 PROFINETAC500 PROFINET Devices (3)

IO Device CI502-PNIO

Decentralized IO Device with own I/O channels

8 digital configurable inputs/outputs

8 digital inputs

8 digital outputs

Extension with up to 10 IO Modules

Electrical connection with S500 Terminal Units TU507-RT-ETH or TU 508-RT-ETH

New version (hardware and firmware) CI502-PNIO (V3) provides fast counter.

www.infoPLC.net

Page 15: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 15

Data exchange is provided by automatically created operands

Diagnosis is provided by Function Blocks

Provide in detail information about the condition of a certain PROFINET bus

PNIO_SYS_DIAG

Provide general information about the condition of a certain PROFINET bus

PNIO_STATE

Provide access to the identification and maintenance information of a certain device

PNIO_IM0

Display the PNIO_DEV_ALARM SPECIFIER in plain textPNIO_DEV_SPECIFIER

Provide general information of a certain PROFINET IO DevicePNIO_DEV_INFO

Provide diagnostic information of a certain PROFINET IO DevicePNIO_DEV_DIAG

Provide arising diagnostic information about a certain devicePNIO_DEV_ALARMFunctionVE name

AC500 PROFINETPROFINET RTData Exchange, Diagnosis

www.infoPLC.net

Page 16: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 16

AC500 PROFINETTopologies (1)

AC500 PROFINET in star topology:

www.infoPLC.net

Page 17: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 17

AC500 PROFINETTopologies (2)

AC500 PROFINET in tree topology:

www.infoPLC.net

Page 18: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 18

AC500 PROFINETTopologies (2)

Example for PROFINET system with bus mix

www.infoPLC.net

Page 19: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 19

AC500 PROFINETTopologies (2)

Example for a common PROFINET system

www.infoPLC.net

Page 20: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 20

AC500 PROFINETTopologies (5)

Parallel operation (multi controller-device system)

No data direct data exchange between the controller.

www.infoPLC.net

Page 21: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 21

AC500 PROFINETTopologies (6)

With PROFINET IO it is also possible to include wireless parts using WLAN into the network. The only restriction is that the wireless component must support VLAN.

www.infoPLC.net

Page 22: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 22

AC500 PROFINETConfiguration CM579 PROFINET IO Master (1)

Configuration in ABB Control Builder Plus

1. Right click on“TA524_Slotx..” and select “Plug Device”.

2. Select from the list “CM579-PNIO”

www.infoPLC.net

Page 23: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 23

AC500 PROFINETConfiguration CM579 PROFINET IO Master (2)

Double-click on CM579_Master tab to open the PNIO Master parameters in the editor window:

IP-address parameters for Slaves:

First IP addressLast IP address

Gateway address if used

IP-address parameters for Master:

IP addressNetwork Mask

Gateway address if used

Network Mask

www.infoPLC.net

Page 24: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 24

AC500 PROFINETConfiguration AC500 PROFINET IO Slave (1)

Add slave I/O bus devices:

3. Right click on CM579_PNIO and select “Add Device ””

4. Select slave I/O device in list: e.g. CI501-PNIO

www.infoPLC.net

Page 25: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

Double-click on CI50x_PNIO tab.

© ABB Group March 13, 2013 | Slide 25

AC500 PROFINETConfiguration AC500 PROFINET IO Slave (2)

Allocated Slave’s IP address parameters:

Modify the station name depending on the positions of the rotary switches of I/O Slave “CI501-PN-xx”.

Set the communication parameters for the module.

www.infoPLC.net

Page 26: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 26

AC500 PROFINETConfiguration AC500 PROFINET IO Slave (3)

Add S500 I/O modules:

5. Right click on CI50x_PNIO and select “Add Device...”

6. Select S500 I/O module from the list: e.g. DC522

www.infoPLC.net

Page 27: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 27

AC500 PROFINETConfiguration AC500 PROFINET IO Slave (4)

Configure the input and output parameter modules and channels

Process cycle time (1 ms)

Configure different channels

Analog signal type

Delay for digital input

….

7. Double-click on CI50x_IO and configure the I/O channels

www.infoPLC.net

Page 28: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 28

AC500 PROFINETConfiguration AC500 PROFINET IO Slave (5)

Define Symbol names for I/O channels:

8. In the tab “CI50x-IO I/O Mapping”Select and create symbol names for the I/O channels (only channels providing symbols will be implemented in CoDeSys )

Global variables automatically created in in the CoDeSys project

www.infoPLC.net

Page 29: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 29

AC500 PROFINETConfiguration AC500 PROFINET IO Slave (6)

Double-click on “CM579_Master / Assign Station name” tab due to open the Slave parameters in the editor window:

9. Scan Slaves

Assign IP and station name

www.infoPLC.net

Page 30: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 30

AC500 PROFINETConfiguration of Non-AC500 PROFINET IO Slaves (1)

If the slave device is not listed, it can be installed via the Device Repository:Click on “Tools/Device Repository”

Select “Fieldbusses,/ Profinet IO slave”

Click on “Install”

Select the file type PROFINET GSDML (*.xml).

www.infoPLC.net

Page 31: Scalable PLC AC500 CM579-PNIO PROFINET IO Communication · PDF fileCM579-PNIO PROFINET IO Communication Module Scalable PLC AC500 © ABB Group – Version 3.3 (2012-07) Technical Guides

© ABB Group March 13, 2013 | Slide 31

www.infoPLC.net