For the complete documentation index, see llms.txt. This page is also available as Markdown.

KNX_Read_DPT_1x

KNX_Read_DPT_1x (FB)

FUNCTION_BLOCK KNX_Read_DPT_1x EXTENDS SlaveBasic

Overview

Read function for DPT 1.x (1-bit).

Inputs

Inputs
Initial value
Description

xRequest

FALSE

Trigger for one-time read

xRequestVisu

FALSE

Trigger for one-time read (visualization)

tRequestTime

T#0S

Interval for cyclic reading

eDPT_Format

-

DPT 1.x format selection

byAdrGroup

0

Group address (0-255)

byAdrMiddleGroup

0

Middle group address (0-7)

byAdrMainGroup

0

Main group address (0-31)

xInitValue

FALSE

Initial value at InitOption.InitValue

eInitOption

-

Initialization option

Outputs

  • xValue (BOOL): Received Boolean value

  • Encoding (STRING[15]): Textual representation of the value

  • tNextRequest (TIME): Time until the next read operation

Usage

  1. Select the DPT 1.x format with eDPT_Format.

  2. Configure the read options:

    • For cyclic reading: tRequestTime > T#0S

    • For event-based reading: Use xRequest or xRequestVisu

  3. Set eInitOption and if necessary xInitValue for initialization.

  4. Monitor xValue for received values and Encoding for the textual representation.

InOut:

Scope
Name
Type
Initial
Comment
Inherited from

Input

itfKnxConnector

IKnxConnector

IMasterConnector interface input to register/unregister the FB to the List on the Master

SlaveBasic

Input

xEnable

BOOL

TRUE

SlaveBasic

Output

sPhysicallAddressDevice

STRING(15)

SlaveBasic

Output

sGroupAddress

STRING(15)

SlaveBasic

Input

xRequest

BOOL

Read once

Input Const

xRequestVisu

BOOL

Read once

Input Const

tRequestTime

TIME

TIME#0ms

Monitoring time

Input Const

eDPT_Format

DPT_1x

Enum DPT_1x

Input Const

byAdrGroup

BYTE

0

Group address

Input Const

byAdrMiddleGroup

BYTE

0

Middle-Group-Address

Input Const

byAdrMainGroup

BYTE

0

Main-Group-Adress

Input Const

xInitValue

BOOL

Input Const

eInitOption

InitOption

Output

xValue

BOOL

Output

Encoding

STRING(15)

Output

tNextRequest

TIME

Last updated