konnex scientific conference, 5th october 2004 konnex configuration modes 1 konnex configuration...
TRANSCRIPT
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
1
KONNEX Configuration modes in the frame of a
modular communication stack
Petar TomicKONNEX Scientific Conference 2004
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
2
Why configuration ?
• One end user application may consist of one or more devices
• Combining of several devices to one application is done by configuring the devices
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
3
What is configuration ?
• Each devices has to know how it is linked to all other installed devices– Communication addresses
• The behaviour of the device in an application is influenced by it’s settings or parameter
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
4
Configuration Example
Device 1
Device 2
O1
O2
O3
I1
I2
I3
I4
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
5
KONNEX Configuration Modes
• Several configuration modes are defined adjusted to:– the type of installation environment and
– persons performing the installation
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
6
KONNEX Configuration Modes
• S-mode (System-mode)• E-mode (Easy-mode)
– Controller mode
– Logical tag mode
– …
• A-mode (Automatic-mode)
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
7
Applikation areas for different Configuration Modes
Pro
ject
Sop
hist
icat
ion
Functionality
S-mode• Freely programmable• Common tool based• High functionality• well trained
professionals
E-mode• Easy configurable• Simple tool required• Limited functionality• For basic trained
professionals
A-mode• Automatic configuration• Attractive solutions for
loose goods• For consumers
Device
Device
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
8
S-mode
• Configuration with a common tool– ETS
• Knowledge of functionality– Provided by the installer
• Download of prepared data images– Direct memory access
– Properties
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
9
S-mode
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
10
E-mode (controller)
• Configuration– Without a PC
– Controller
• Defined channels in Specification• Knowledge of functionality
– Channel information in each device
– How to link the channel in the controller
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
11
E-mode
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
12
A-mode
• Self configuration by the devices• Functional blocks defined in Specification• Knowledge
– Devices have the knowledge how to link to other functional blocks
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
13
A-mode
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
14
Device Structure
Tp1 Tp0 RF IR
Link Layer / Network Layer /Transport Layer
Application Layer
Application
Devicem anagem ent & configuration(s)
SP C based tool
S ystem - M ode
AA utoC onfigura tion
A - M ode
EE asy - M ode
C ontro ller based
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
15
Implementation Tapko Konnex-Stack
Tp1 Tp0 RF IR
Link Layer / Network Layer /Transport Layer
Application Layer
Application
Devicem anagem ent & configuration(s)
SP C based tool
S ystem - M ode
AA utoC onfigura tion
A - M ode
EE asy - M ode
C ontro ller based
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
16
Implementation
Devicemanagement & configuration(s)
SP C based tool
S ystem - M ode
AA utoC onfigura tion
A - M ode
EE asy - M ode
C ontro ller based
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
17
Implementation//------------------------------------------------------------------// handling of management services/APCIs (device model independent)//------------------------------------------------------------------
//-------------------------------------------------------------------// handled APCIs for T_DATA.ind//-------------------------------------------------------------------APCI_BIT_WRITE, APCI_PROPERTY_VALUE, APCI_AUTHORIZE, APCI_KEY_WRITE, APCI_LINK_RW, APCI_USER_MEMORY, APCI_PROTECTED_USER_MESSAGE
//-------------------------------------------------------------------// handled APCIs for T_UNACK_DATA.ind//-------------------------------------------------------------------APCI_PROPERTY_VALUE, APCI_LINK_RW
//-------------------------------------------------------------------// handled APCIs for T_UNACK_DATA.con//-------------------------------------------------------------------APCI_NP_READ
//-------------------------------------------------------------------// handled APCIs for T_BROADCAST.ind//-------------------------------------------------------------------APCI_IND_ADDR_SERNO, APCI_NP_READ
//-------------------------------------------------------------------// handled APCIs for T_SYSTEM_BROADCAST.ind//-------------------------------------------------------------------APCI_DOMAIN_ADDRESS
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
18
Configuration modes in a device
Combinations of configuration modes and real existing device lead to to the introduction and definition definitions of
Device Profiles.
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
19
Device Profiles
• Definition in KONNEX Handbook (Vol. 3, Chapter 6)– S-mode
• BCU 1, BCU 2, BIM M112, Line coupler, …
– E-mode• Controller mode, LTE, logical tag, …
– A-mode• Application resource, Application controller
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
20
Profile S-mode (BCU 1)
• Resources– Memory
– System tables (Address table, …)
• Configuration mechanism– Physical Address Assignment
– Direct memory access
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
21
Profile E-mode (0701)
• Resources– Memory
– System tables (Address table, …)
• Configuration mechanism– Physical Address Assignment
– Direct memory access
– Device descriptor 2
– Link Services
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
22
Profile A-mode (Application resource)
• Domain Address Assignment• Distributed Address Assignment
– Individual Address
• Functional Block Scan• Interface Object Linking• Group Object Linking
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
23
Implementation//------------------------------------------------------------------
// handling of device model: here 0701
//------------------------------------------------------------------
// mapping of external (EIB) addresses to internal ones
// Initialize the EEPROM
// device interface object
// application interface object
// Emulation of BCU 1 RAM and low ROM
// handle memory mapped load controls
// handle memory mapped run controls
......
//-------------------------------------------------------------------
The Device Profile is chosen by selecting
one Device model and one configuration mode
or a combination of configuration modes.
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
24
Further information
• KONNEX-Specification• Description of Tapko EIB/KONNEX Stack
– available at www.tapko.de
KONNEX Scientific Conference, 5th October 2004
KONNEX Configuration modes
25
TAPKO Technologies GmbHYorckstr. 22
93049 Regensburg
Germany
www.tapko.de