IoDrvKNX ¶ Function Blocks IoDrvKNX (FunctionBlock) ResetStatusFlags (Method) TriggerRead (Method) IoDrvKNXDiag (FunctionBlock) 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) Structs DPT10 (Struct) DPT19 (Struct)
Function Blocks ¶ IoDrvKNX (FunctionBlock) ResetStatusFlags (Method) TriggerRead (Method) IoDrvKNXDiag (FunctionBlock) 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)
IoDrvKNX (FB) ¶ FUNCTION_BLOCK IoDrvKNX EXTENDS IoDrvBase Methods: ResetStatusFlags TriggerRead Structure: ResetStatusFlags (Method) TriggerRead (Method)
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)
DPT10 (STRUCT) ¶ TYPE DPT10 : STRUCT InOut: Name Type Comment lTimeOfDay TOD time as in IEC usiDay USINT 1 = Monday… 7 = Sunday, 0 = no day
DPT19 (STRUCT) ¶ TYPE DPT19 : STRUCT InOut: Name Type Comment lDateAndTime DT Time and date is an IEC usiDayOfWeek USINT 0 = any day, 1 = Monday, … 7 = Sunday xFault BIT false = normal (no fault), true = fault xWorkingDay BIT false = bank day (no working day), true = working day xNoWorkingDay BIT false = WorkingDay bit valid, true = WorkingDay bit not valid xNoYear BIT false = year field valid, true = year field not valid xNoDate BIT false = month and day of month fields valid, true = month and day of month not valid xNoDayOfWeek BIT false = day of week field valid, true = day of week field not valid xNoTime BIT false = hour of day, minutes and seconds field valid, true = hour of day, minutes and seconds field not valid xStandardSummerTime BIT false = Time = UT + X, true = Time = UT+X+1 xQualityOfClock BIT false = clock without ext. sync signal, true = clock with ext. sync signal
Library Information ¶ GetLibVersion (Function) GetLibVersionNumber (Function) IsLibReleased (Function)