Programming

POUs/KL6021-0023

POUs

Description

FB_EnOceanReceive

Communication with KL6021-0023

POUs/KL6021-0023/Read

POUs

Description

FB_EnOceanPTM100

Receives the signals of a PTM100 module

FB_EnOceanPTM200

Receives the signals of a PTM200 module

FB_EnOceanSTM100

Receives the signals of a STM100 module (obsolete)

FB_EnOceanSTM100Generic

Receives the signals of a STM100 module

FB_EnOceanSTM250

Receives the signals of a STM250 module

POUs/KL6581

Function blocks

Description

FB_KL6581

Communication with a KL6581

POUs/KL6581/Read

POUs

Description

FB_Rec_Generic

Receives all types of EnOcean telegrams

FB_Rec_1BS

Receives data with ORG telegram 6.Typical EnOcean device: Window contact.

FB_Rec_RPS_Switch

Receives data with ORG telegram 5. Typical EnOcean device: Buttons.

FB_Rec_RPS_Window_Handle

Receives data with ORG telegram 5.Typical EnOcean device: Window handle.

POUs/KL6581/Send

POUs

Description

FB_Send_Generic

All kinds of EnOcean data telegrams can be sent with this block.

FB_Send_4BS

Sends EnOcean telegrams in the 4BS format.

FB_Send_RPS_Switch

Sends EnOcean telegrams in the format of a button.

FB_Send_RPS_SwitchAuto

This function block sends data such as those from a switch.

POUs/KL6581/Other

POUs

Description

FB_EnOcean_Search

This function block recognizes all EnOcean devices within its range and displays them.

FB_Rec_Teach_In

This function block indicates if the LRN bit in an EnOcean telegram is set, independent of its EnOcean ID.

FB_Rec_Teach_In_Ex

This function block indicates pressing of the Learn button at an EnOcean device.

POUs/KL6581/Function

Function blocks

Description

F_Byte_To_Temp

This function converts a byte raw value into a REAL variable.

F_Byte_To_TurnSwitch

This function converts a raw byte value to a Boolean array.

DUTs/KL6021-0023/Hardware Types

Data types

Description

ST_EnOceanInData

Process image of the KL6021-0023 inputs

ST_EnOceanOutData

Process image of the KL6021-0023 outputs

DUTs/KL6021-0023

Data types

Description

E_EnOceanRotarySwitch

State of the rotary-switch on the transmitting-module

E_EnOceanSensorType

Sensor type

ST_EnOceanReceivedData

Internal structure

DUTs/KL6581/hardware types

Data types

Description

KL6581_Input

Process image of the KL6581 inputs

KL6581_Output

Process image of the KL6581 outputs

DUTs/KL6581

Data types

Description

AR_EnOceanWindow

State of the window

E_ENOCEAN_Org

EnOcean telegram type

E_KL6581_Err

Error messages

STR_EnOceanSwitch

State of the buttons

STR_KL6581

Internal structure

STR_Teach_In

Data structure manufacturer ID, type and profile

STREnOceanTurnSwitch

Position of the rotary switch at the room control unit