KNX_Read_DPT_13x
KNX_Read_DPT_13x (FB)
KNX_Read_DPT_13x (FB)FUNCTION_BLOCK KNX_Read_DPT_13x EXTENDS SlaveBasic
Overview
Read function for DPT 13.x (4-byte signed value).
Inputs
xRequest
FALSE
Trigger for one-time read
xRequestVisu
FALSE
Trigger for one-time read (visualization)
tRequestTime
T#0S
Interval for cyclical reading
eDPT_Format
-
DPT 13.x format selection
byAdrGroup
0
Group address (0-255)
byAdrMiddleGroup
0
Middle group address (0-7)
byAdrMainGroup
0
Main group address (0-31)
diInitValue
0
Initial value at InitOption.InitValue
eInitOption
-
Initialization option
Outputs
diValue(DINT): Received integer valuerValue(REAL): Received floating point valuerFactor(REAL): Scaling factorsUnit(STRING[10]): Unit of the valuetNextRequest(TIME): Time until the next read operation
Usage
Select the DPT 13.x format with
eDPT_Format.Configure the read options:
For cyclical reading:
tRequestTime> T#0SFor event-based reading: use
xRequestorxRequestVisu
Set
eInitOptionand if applicable,diInitValuefor initialization.Monitor
diValueorrValuefor 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
Read once
Input Const
xRequestVisu
BOOL
Read once
Input Const
tRequestTime
TIME
TIME#0ms
Monitoring time
Input Const
eDPT_Format
DPT_13x
Enum DPT_13x
Input Const
byAdrGroup
BYTE
0
Groupaddress
Input Const
byAdrMiddleGroup
BYTE
0
Middle-Group-Address
Input Const
byAdrMainGroup
BYTE
0
Main-Group-Adress
Input Const
diInitValue
DINT
Input Const
eInitOption
InitOption
Output
diValue
DINT
Output
rValue
REAL
Output
rFactor
REAL
Output
sUnit
STRING(5)
Output
tNextRequest
TIME
Last updated

