INode ¶ ChildNodeCount (Property) Connector (Property) Enable (Property) FirstChildNode (Property) Index (Property) IsRootNode (Property) NextSiblingNode (Property) ParentNode (Property) SiblingNodeCount (Property)
IStack ¶ GetBusScanAsync (Method) GetDeviceDiagnosisInfo (Method) GetDeviceErrorAsync (Method) GetDeviceInfo (Method) GetDeviceState (Method) GetLogger (Method) GetSpecificDeviceErrorAsync (Method) GetSpecificDeviceState (Method) SetCommunicationState (Method)
KNXConvertFunctions ¶ DPT10_IEC_to_KNX (Function) DPT10_KNX_to_IEC (Function) DPT16_IEC_to_KNX (Function) DPT16_KNX_to_IEC (Function) DPT19_IEC_to_KNX (Function) DPT19_KNX_to_IEC (Function)
DPT10_IEC_to_KNX (FUN) ¶ FUNCTION DPT10_IEC_to_KNX : ARRAY [0..2] OF BYTE Convert the IEC TIME_OF_DAY value to KNX DPT10 Example Following example code converts from IEC to KNX DPT10 PROGRAM PLC_PRG VAR data : IoDrvKnxlibrary.DPT10 ; END_VAR data.lTimeOfDay := TIME_OF_DAY#15:36:30 ; data.uisDay := 2 ; OutputDPT_10.DataValue := IoDrvKnxlibrary.DPT10_IEC_to_KNX ( data ); Note The Day (Monday … Sunday) is converted from the usiDay element of the structure DPT10 InOut: Scope Name Type Return DPT10_IEC_to_KNX ARRAY [0..2] OF BYTE Input data DPT10
DPT10_KNX_to_IEC (FUN) ¶ FUNCTION DPT10_KNX_to_IEC : DPT10 Convert the DPT10 value to IEC TIME_OF_DAY Example Following example code converts from KNX DPT10 to IEC PROGRAM PLC_PRG VAR data : IoDrvKnxlibrary.DPT10 ; timeofday : TIME_OF_DAY ; END_VAR data := IoDrvKnxlibrary.DPT10_KNX_to_IEC ( InputDPT_10.DataValue ); timeofday := data.lTimeOfDay ; Note The Day (Monday … Sunday) is stored in the usiDay element of the structure DPT10 InOut: Scope Name Type Comment Return DPT10_KNX_to_IEC DPT10 Input abyData ARRAY [0..2] OF BYTE The byte array as in the io-mapping
DPT16_IEC_to_KNX (FUN) ¶ FUNCTION DPT16_IEC_to_KNX : ARRAY [0..13] OF BYTE Convert the IEC STRING(14) value to KNX DPT16 Example Following example code converts from IEC to KNX DPT16 PROGRAM PLC_PRG VAR stTest : string ( 14 ); END_VAR OutputDPT_16.DataValue := IoDrvKnxlibrary.DPT16_IEC_to_KNX ( stTest ); InOut: Scope Name Type Return DPT16_IEC_to_KNX ARRAY [0..13] OF BYTE Input stString STRING(14)
DPT16_KNX_to_IEC (FUN) ¶ FUNCTION DPT16_KNX_to_IEC : STRING(14) Convert the DPT16 value to IEC STRING(14) Example Following example code converts from KNX DPT16 to IEC PROGRAM PLC_PRG VAR stTest : string ( 14 ); END_VAR stTest := IoDrvKnxlibrary.DPT16_KNX_to_IEC ( InputDPT_16.DataValue ); InOut: Scope Name Type Return DPT16_KNX_to_IEC STRING(14) Input abyData ARRAY [0..13] OF BYTE
DPT19_IEC_to_KNX (FUN) ¶ FUNCTION DPT19_IEC_to_KNX : ARRAY [0..7] OF BYTE Convert the IEC DATE_AND_TIME value to KNX DPT19 Example Following example code converts from IEC to KNX DPT19 PROGRAM PLC_PRG VAR data : DPT19 ; END_VAR data.lDateAndTime := DATE_AND_TIME#1996-05-06-15:36:30 ; data.usiDayOfWeek := 3 ; OutputDPT_19.DataValue := IoDrvKnxlibrary.DPT19_IEC_to_KNX ( data ); Note The day of week and the other elements are converted from the corresponding elements in the structure DPT19 InOut: Scope Name Type Return DPT19_IEC_to_KNX ARRAY [0..7] OF BYTE Input data DPT19
DPT19_KNX_to_IEC (FUN) ¶ FUNCTION DPT19_KNX_to_IEC : DPT19 Convert the DPT19 value to IEC DATE_AND_TIME Example Following example code converts from KNX DPT19 to IEC PROGRAM PLC_PRG VAR data : IoDrvKnxlibrary.DPT19 ; dateAndTime : DATE_AND_TIME ; END_VAR data := IoDrvKnxlibrary.DPT19_KNX_to_IEC ( InputDPT_19.DataValue ); dateAndTime := data.lDateAndTime ; Note The day of week and the other elements are converted in the corresponding elements in the structure DPT19 InOut: Scope Name Type Return DPT19_KNX_to_IEC DPT19 Input abyData ARRAY [0..7] OF BYTE
Structs ¶ DPT10 (Struct) DPT19 (Struct)