02 - 05 - 02 Components by TAPKO v01.01.02
02 - 05 - 02 Components by TAPKO v01.01.02
Components by TAPKO
Summary
This document is a development help for KNX newcomers.
This document describes the development of a KNX device based on
existing KNX components provided by the company TAPKO.
This document is part of the KNX Specifications v2.1.
KNX Standard Components by TAPKO Existing components
Document updates
Version Date Modifications
1.0.0 2011.05.13 Preparation of the final version.
1.01.01 2011.08.11 Update according final Manufacturer Tool release.
01.01.02 2013.10.14 Editorial updates for the publication of KNX Specifications 2.1.
References
[01] Chapter 3/1/2 “Glossary”
[02] Volume 6 “Profiles”
Contents
1 Developing applications on the basis of Tapko Component KNX-SIM ............................ 4
1.1 Needed software ............................................................................................................. 4
1.2 About the TAPKO SIM-KNX Evaluation Device ......................................................... 4
2 TAPKO SIM-KNX solution .................................................................................................. 5
2.1 What you should know about the TAPKO SIM-KNX GOs........................................... 5
2.2 Concept of the TAPKO SIM-KNX solution .................................................................. 6
2.2.1 Step 1 .................................................................................................................. 6
2.2.2 Step 2 .................................................................................................................. 7
2.2.3 Step 3 .................................................................................................................. 8
2.3 Phase 1: Evaluation......................................................................................................... 8
2.4 Phase 2: AM integration ................................................................................................. 9
3 In practice ............................................................................................................................. 10
3.1 Group Object vs. Communication Object .................................................................... 10
3.2 Connect & Play ............................................................................................................. 10
3.3 Create an ETS4 product with MT4 ............................................................................... 11
3.4 Import into ETS4 .......................................................................................................... 16
3.5 Use the terminal SW to check whether ETS did configure the device correctly ......... 18
3.6 Use the terminal SW in order to simulate the AM ....................................................... 19
2.2.2 Step 2
• Simulate the AM.
• Send ASCII commands from the PC to the FT232BL chip via USB.
• The ASCII commands between FT232BL and KNX-SIM are sent as RS232.
• Check for all GOs.
2.2.3 Step 3
• Replace the evaluation device by a regular SIM-KNX device.
• This is; replace the FT232BL chip by your AM.
• Make sure that the AM sends the same ASCII commands as in step 2.
• Make sure to send these commands as RS232.
• Check for all GOs.
KNX
• use the terminal SW in order to simulate the AM -> sending ASCII commands in order to set the
values of the individual GOs
3 In practice
3.1 Group Object vs. Communication Object
• First of all, the terms ‘Group Object’ and ‘Communication Object’ are synonyms.
• ‘Communication Object’ is used in MT, ETS and other tools.
• ‘Group Object’ is the only term used in the rest of the KNX specifications and is therefore
considered as the only correct one.
• Both terms will however be used in this Cookbook because it is here were practice and theory
meet. ‘Communication Object’ will only be used when absolutely necessary, e.g. when the context
is MT.
Connect
• Wire the device.
• Open the terminal software (see Figure 1).
• click tab page Port.
• select set the virtual com port that has been added.
• put its settings to 9600, 8, 1, none.
Play
• Click tab page Send.
• Make sure to set EOL (end of line) settings to ‘+CR’.
• Type e.g. ‘dag’ in the top entry field and click ‘Send ASCII’. This command will ask the device to
send back its Individual Address. This is a perfect method to test the principal working of this test
setup.
• Other commands that could be used in this context are: das, dpg, dps, dr, dsg, dvg, gci . Check the
TAPKO documentation for more details
NOTE 2 The red rectangle indicates the 4 configuration parameters for one CO.
• Result:
• Group Objects
3.5 Use the terminal SW to check whether ETS did configure the device
correctly
• Connect via USB.
• Send the following ASCII commands.
• ocg (0) to check the configuration of GO nr. 0 (= ‘object 1’)
• expected response: <ocg (0)> 1 0 $df $0001 $0001 0
• ogg (0) to check the assigned GA(s) for the same GO
• expected response: <ogg (0)>$4801
• repeat for all other GOs
• check the TAPKO documentation for more details