KNX_Write_DPT_1x
KNX_Write_DPT_1x (FB)
KNX_Write_DPT_1x (FB)FUNCTION_BLOCK KNX_Write_DPT_1x EXTENDS SlaveBasicWr
Inputs
xUpdateSetp
FALSE
Trigger for setpoint update
xValue
-
BOOL value to send
xWriteVisu
-
Trigger for one-time send
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)
tTimeUpdateSetp
T#0S
Cyclic update interval
tPauseTimeUntilNextSend
T#3S
Send pause
Outputs
Encoding(STRING[15]): Textual representation of the valuetNextWrite(TIME): Time until next write operationxLastBusValue(BOOL): Last received value
Usage
Select the DPT 1.x format with
eDPT_Format.Set the value to be sent in
xValue.Configure the send options:
For cyclic sending:
tTimeUpdateSetp> T#0SFor event-based sending: use
xUpdateSetporxWriteVisu
Monitor
xLastBusValuefor received values.Note
Encodingfor the textual interpretation of the value.
InOut:
Input
itfKnxConnector
IKnxConnector
IMasterConnector interface input to register/unregister the FB to the list on the Master
SlaveBasicWr
Input
xEnable
BOOL
TRUE
SlaveBasicWr
Output
sPhysicallAddressDevice
STRING(15)
SlaveBasicWr
Output
sGroupAddress
STRING(15)
SlaveBasicWr
Input
xUpdateSetp
BOOL
FALSE
Update of setpoint values (on every rising edge )
Input
xValue
BOOL
Input Const
xWriteVisu
BOOL
Single Read
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 address
Input Const
tTimeUpdateSetp
TIME
TIME#0ms
Update interval for operations influenced by the input ‘xUpdateSetp’ 0 = no automatic update, > 0 cyclic update
Input Const
tPauseTimeUntilNextSend
TIME
TIME#3s0ms
Pause after sending 0 = no pause
Output
Encoding
STRING(15)
Output
tNextWrite
TIME
Output
xLastBusValue
BOOL
Last updated

