XChgIsEmpty (FUN) ¶ FUNCTION XChgIsEmpty : BOOL InOut: Scope Name Type Return XChgIsEmpty BOOL Input hXChg HANDLE peError POINTER TO ERROR
XChgMsgLeft (FUN) ¶ FUNCTION XChgMsgLeft : COUNT InOut: Scope Name Type Return XChgMsgLeft COUNT Input hXChg HANDLE peError POINTER TO ERROR
Message Functions ¶ MsgAddRef (Function) MsgClone (Function) MsgGetData (Function) MsgGetRXChg (Function) MsgReceive (Function) MsgRelease (Function) MsgReleaseEx (Function) MsgSend (Function)
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 21.06.2023, 11:10:22 companyName string 3S-Smart Software Solutions GmbH libraryFile UTF-16 Encoding Support.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile UTF-16 Encoding Support.clean.json version version 2.0.0.0 ProjectInformation AutoResolveUnbound bool True Released True LastModificationDateTime date 21.06.2023, 11:10:20 LibraryCategories library-category-list Application|Strings Author string CODESYS Development GmbH Company CODESYS CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 Patch 3 DefaultNamespace UTF16 Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only LibDocContent DocsOnly Placeholder UTF16 Project UTF-16 Encoding Support Title UTF-16 Encoding Support UnitTestingDefine UTF16Testing Version version 4.0.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. UTF-8 Encoding Support ¶ Library Identification ¶ Placeholder: UTF8 Default Resolution: UTF-8 Encoding Support, * (CODESYS) Namespace: UTF8 Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: True SystemLibrary: False Key: UTF8
COPY_TO_STRING (FUN) ¶ FUNCTION COPY_TO_STRING : UDINT Copies an IStringRepresentation into a memory block of a string. Type of the itfString can be IBuilder, IString or just an IStringRepresentation. InOut: Scope Name Type Initial Comment Return COPY_TO_STRING UDINT Input itfString IStringRepresentation pbyValue POINTER TO BYTE Pointer to the first byte of string instance, e.g. pbyValue := ADR(myStringInstance) udiSize UDINT Size of the string in bytes, e.g. udiSize := SIZEOF(myStringInstance) itfCharmap ICharmap 0 The default depends on the project setting for string encoding Output eErrorID ERROR Check error output value for better diagnostics
FROM_STRING (FUN) ¶ FUNCTION FROM_STRING : IString Reads from a string and fills an IString instance InOut: Scope Name Type Initial Comment Return FROM_STRING IString Inout Const sValue STRING(255) Input string to read Input itfString IString IString instance, which is filled with sValue value. itfCharmap ICharmap 0 Default: Windows-1252 / UTF-8 Output eErrorID ERROR Check error output value for better diagnostics
WSTRING ¶ COPY_TO_WSTRING (Function) FROM_WSTRING (Function)
COPY_TO_WSTRING (FUN) ¶ FUNCTION COPY_TO_WSTRING : UDINT Copies an IStringRepresentation into a memory block of a wstring. Type of the itfString can be IBuilder, IString or just an IStringRepresentation. InOut: Scope Name Type Comment Return COPY_TO_WSTRING UDINT Input itfString IStringRepresentation pwValue POINTER TO WORD Encoding UCS-2 Pointer to the first byte of wstring instance, e.g. pbyValue := ADR(myWStringInstance) udiSize UDINT Size of the wstring in bytes, e.g. udiSize := SIZEOF(myWStringInstance) Output eErrorID ERROR Check error output value for better diagnostics
FROM_WSTRING (FUN) ¶ FUNCTION FROM_WSTRING : IString Reads from a wstring and fills an IString instance InOut: Scope Name Type Comment Return FROM_WSTRING IString Inout Const wsValue WSTRING(255) WString to read, Encoding UCS-2 Input itfString IString IString instance, which is filled with wsValue value. Output eErrorID ERROR Check error output value for better diagnostics