apr/acm2: wednesday, february 15, 2012 linking the · pdf fileapr/acm2: wednesday, february...
TRANSCRIPT
© ABB Group February 15, 2012 | Slide 1
Linking the ABB AC500 PLC into the KNX System
APR/ACM2: Wednesday, February 15, 2012
www.infoPLC.net
Content
�Principle of Linking AC500 with KNX
�Project planning and Commissioning
�Potential & Possibility
www.infoPLC.net
Principle of linking KNX to AC500Realisation concept
© ABB Group February 15, 2012 | Slide 3
Integration of AC500 in KNX
Communication AC500/KNX
AC500 as KNX-Device
Content
www.infoPLC.net
Principle of linking KNX to AC500Integration of the AC500 into the KNX
© ABB Group February 15, 2012 | Slide 4
1
Communication object
“AC500 dummy” product file
Configuration with Engineering Tool Software ETS3
Group address
Principle of Linking KNX to AC500Content
www.infoPLC.net
Principle of the linking KNX to AC500Communication KNX/AC500
2
© ABB Group February 15, 2012 | Slide 5
KNXnet/IPEthernet_AC500_V10.lib
UDP communication
Unicast
The communication by Unicast is not in accordance with the
KNXnet/IP specification and is supported currently only by the ABB-
Router IPR/S2.
Principle of Linking KNX to AC500Content
www.infoPLC.net
Principle of the linking KNX to AC500AC500 as „KNX device“
3
© ABB Group February 15, 2012 | Slide 6
KNX_AC500_V20_App.lib
Creation of an Datapoint Type (DPT)
with PS501 Control Builder Plus
Receive FB
Send FB
DPT Function Block
Principle of Linking KNX to AC500Content
www.infoPLC.net
Project planning and commissioningProcedure of the project planning
© ABB Group February 15, 2012 | Slide 7
Project planning in ETS3
Assignment table
Project planning in PS501
Content
www.infoPLC.net
© ABB Group February 15, 2012 | Slide 8
Example: Configuration
Project planning & Commissioning Content
www.infoPLC.net
Example: Project planning with ETS3
© ABB Group February 15, 2012 | Slide 9
� The AC500 sends a 1-bit switching instruction onto the channel A of the KNX Switch Actuator (SA). This action is entered in the group address 1/2/3. The AC500 has the physical address 1.3.20.
� The SA sends a 1-bit status response back onto the AC500. The digital output D01 of the AC500 is switched. This action is entered in the group address 1/2/4.
Project planning & Commissioning Content
www.infoPLC.net
© ABB Group February 15, 2012 | Slide 10
� The AC500 sends a 1-bit switching instruction onto the channel A of the KNX Switch Actuator (SA). This action is entered in the group address 1/2/3. The AC500 has the physical address 1.3.20.
Assignment table: Send direction
Project planning & Commissioning Global DPT-Structure
Content
www.infoPLC.net
© ABB Group February 15, 2012 | Slide 11
� The SA sends a 1-bit status response back onto the AC500. The digital output D01 of the AC500 is switched. This action is entered in the group address 1/2/4.
Assignment table: Receive direction
Project planning & Commissioning Global DPT-Structure
Content
www.infoPLC.net
© ABB Group February 15, 2012 | Slide 12
• The variables are from type array or structure and declared globally
• These variables are used for data exchange among DPT FBsand Ethernet FBs.
• Recommended length is 31 bytes. Shorter array length may result in lost of information.
• Only minimum 2 arrays needed for data exchange.
Project planning in PS501: Receive/ Send variable
Content
www.infoPLC.net
© ABB Group February 15, 2012 | Slide 13
KNX_AC500_V20.lib, send direction
Project planning in PS501: DPT-Send-FB
Content
www.infoPLC.net
Example: Project planning with PS501,
DPT-FB in send direction
© ABB Group February 15, 2012 | Slide 14
� All FBs are declared global
� Function KNX_TOTAL_LEN_Appcalculates the length of the telegram to be sent.
� The target IP address is192.168.3.222. This IP address corresponds to the IP address of the KNX IP router.
� Port: 3671
Content
www.infoPLC.net
© ABB Group February 15, 2012 | Slide 15
KNX_AC500_V20_App.lib, receive direction
Project planning in PS501: DPT-Receive-FB
Content
www.infoPLC.net
Example: Project planning with PS501,
DPT-FB in receive direction
© ABB Group February 15, 2012 | Slide 16
� All FBs are declared globally.
� When the UDP packet is done receiving without error, then will the UDP content extracted by the DPT FB.
Content
www.infoPLC.net
Potential & Possibility
� Autogeneration of the assigment table, Import/Export of the assigment table and of thevariables to and from PS501/ ETS3.
� Extension of library with ETS4-DPT
� Implementation of Multicast or a tunneling clientin the AC500.
Present possibilities
Extension possibilities
Future
development with support from R&D
� AC500 product file
� Setup of test and demonstration systems
� Larger scale pilot test system
� Setup of test and demo systems for customer
� Integration of M-Bus devices into KNX via AC500
• Unicast communication, KNX router IPR/S2.1
is needed
• AC500 as „KNX device“
• KNX CodeSys library
• Processing of KNXnet/IP datagrams
• Application note
© ABB Group February 15, 2012 | Slide 17 Content
www.infoPLC.net
Content
www.infoPLC.net