Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. CmpErrors2 Interfaces ¶ Library Identification ¶ Name: CmpErrors2 Interfaces Version: newest Company: System Namespace: CmpErrors Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: CmpErrors2 Interfaces, * (System) Component Manager ¶ Library Identification ¶ Placeholder: Component Manager Default Resolution: Component Manager, * (System) Namespace: Component_Manager Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Component Manager Standard ¶ Library Identification ¶ Placeholder: Standard Default Resolution: Standard, * (System) Namespace: Standard Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: Standard SysMem ¶ Library Identification ¶ Placeholder: SysMem Default Resolution: SysMem, * (System) Namespace: SysMem Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysMem SysTimeRtc ¶ Library Identification ¶ Placeholder: SysTimeRtc Default Resolution: SysTimeRtc, * (System) Namespace: SysTimeRtc Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: False Key: SysTimeRtc
CharBufferString.Init (METH) ¶ METHOD Init : BOOL Init method used for using an already existing memory for storing the string InOut: Scope Name Type Comment Return Init BOOL Input pBuffer POINTER TO BYTE The pointer to the buffer containing the string uiBufferSize UINT The size of the buffer (in bytes), where the string is stored. If this value is 0, no memory is allocated and the CharBufferPtr pointer has to be set by calling the Initialize method stringType __SYSTEM.TYPE_CLASS A __SYSTEM.TYPE_CLASS value indicating type of the string
CharBufferString.Initialize (METH) ¶ METHOD Initialize : BOOL Method Initialize must be called in order to pass an already existing CharBufferPtr to this instance. In this case the buffer size is unknown and remains 0. This method can be used if the string is read only. InOut: Scope Name Type Comment Return Initialize BOOL Input cbpSource CharBufferPtr The buffer, where the string is stored this instance represents stringType __SYSTEM.TYPE_CLASS A __SYSTEM.TYPE_CLASS value indicating type of the string
CharBufferString.Insert (METH) ¶ METHOD Insert Inserts <cbsInsert> into this string instance after the <iPosition>-th character position. <iPosition> = 0 inserts before the first character. <iPosition> = 1 inserts after the first character. InOut: Scope Name Type Input cbsInsert REFERENCE TO CharBufferString iPosition INT
CharBufferString.Length (PROP) ¶ PROPERTY Length : DINT Determines the length of the string by searching for a terminating zero character (ie. ‘0’ or “0”). The getter will do its work either with native IEC-(W)Strings or with strings coming from external functions. It will return -1 if the given pointer to String is equal NULL.
CharBufferString.Mid (METH) ¶ METHOD Mid Return <iLength> characters of our string, beginning at the <iPosition>-th character position. <iPosition> = 1 is the first character. The result string is stored in the CharBufferString instance <pstResult> InOut: Scope Name Type Comment Input iLength INT iPosition INT cbsResult REFERENCE TO CharBufferString The CharBufferString instance, where the result will be returned
CharBufferString.Replace (METH) ¶ METHOD Replace Replaces <iLengthToReplace> characters of our string by cbsReplaceWith, starting at the <iPosition>-th character position iPosition = 1 is the first character. InOut: Scope Name Type Input cbsReplaceWith REFERENCE TO CharBufferString iLengthToReplace INT iPosition INT
CharBufferString.StringType (PROP) ¶ PROPERTY StringType : __SYSTEM.TYPE_CLASS A __SYSTEM.TYPE_CLASS value indicating type of the string
ILocalizedDateTimeNames (ITF) ¶ INTERFACE ILocalizedDateTimeNames Methods: GetDayLong GetDayShort GetMonthLong GetMonthShort Structure: GetDayLong (Method) GetDayShort (Method) GetMonthLong (Method) GetMonthShort (Method)
ILocalizedDateTimeNames.GetDayLong (METH) ¶ METHOD GetDayLong : CharBufferPtr returns the localized text of the day as whole name. If no localization exists, a defaulttext (textid) should be returned. The stored value, the returnpointer is set to, will be overridden by any next call of one of the Get-methods of the implementing functionblock in VisuElemBase. Therefore, the result should be used at once. The pointer should not be stored. InOut: Scope Name Type Comment Return GetDayLong CharBufferPtr Input uiDayOfWeek UINT Day of Week: 1: Monday, 2: Tuesday,.. 7: Sunday