KNX_Read_DPT_5x
KNX_Read_DPT_5x (FB)
KNX_Read_DPT_5x (FB)FUNCTION_BLOCK KNX_Read_DPT_5x EXTENDS SlaveBasic
Overview
Read function for DPT 5.x (8-bit unsigned).
Inputs
xRequest
FALSE
Trigger for single read
xRequestVisu
FALSE
Trigger for single read (visualization)
tRequestTime
T#0S
Interval for cyclic reading
eDPT_Format
-
DPT 5.x format selection
byAdrGroup
0
Group address (0-255)
byAdrMiddleGroup
0
Middle group address (0-7)
byAdrMainGroup
0
Main group address (0-31)
iInitValue
0
Initial value at InitOption.InitValue
eInitOption
-
Initialization option
Outputs
iValue(INT): Received integer valuesUnit(STRING[10]): Unit of the valuetNextRequest(TIME): Time until next read operation
Usage
Select the DPT 5.x format with
eDPT_Format.Configure the read options as with the previous blocks.
Monitor
iValuefor received values andsUnitfor the unit.
InOut:
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
Single Read
Input Const
xRequestVisu
BOOL
Single Read
Input Const
tRequestTime
TIME
TIME#0ms
Monitoring time
Input Const
eDPT_Format
DPT_5x
Enum DPT_5x
Input Const
byAdrGroup
BYTE
0
Group address
Input Const
byAdrMiddleGroup
BYTE
0
Middle group address
Input Const
byAdrMainGroup
BYTE
0
Main group address
Input Const
iInitValue
INT
Input Const
eInitOption
InitOption
Output
iValue
INT
Output
sUnit
STRING(10)
Output
tNextRequest
TIME
Last updated

