KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration...

25
KONNEX Scientific Conference, 5th Oc tober 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar Tomic KONNEX Scientific Conference 2004

Transcript of KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration...

Page 1: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 2: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 3: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 4: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

KONNEX Scientific Conference, 5th October 2004

KONNEX Configuration modes

4

Configuration Example

                     

Device 1

Device 2

O1

O2

O3

I1

I2

I3

I4

Page 5: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 6: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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)

Page 7: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 8: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 9: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

KONNEX Scientific Conference, 5th October 2004

KONNEX Configuration modes

9

S-mode

                     

Page 10: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 11: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

KONNEX Scientific Conference, 5th October 2004

KONNEX Configuration modes

11

E-mode

                     

Page 12: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 13: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

KONNEX Scientific Conference, 5th October 2004

KONNEX Configuration modes

13

A-mode

Page 14: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 15: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 16: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 17: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 18: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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.

Page 19: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 20: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 21: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 22: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 23: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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.

Page 24: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

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

Page 25: KONNEX Scientific Conference, 5th October 2004 KONNEX Configuration modes 1 KONNEX Configuration modes in the frame of a modular communication stack Petar.

KONNEX Scientific Conference, 5th October 2004

KONNEX Configuration modes

25

TAPKO Technologies GmbHYorckstr. 22

93049 Regensburg

Germany

www.tapko.de