String_To_TypedValue (FUN) ¶ FUNCTION String_To_TypedValue : BOOL Converts a string to a typed value. Works for all primitive scalar types. Does not work for strings and wstrings. InOut: Scope Name Type Return String_To_TypedValue BOOL Input ps POINTER TO STRING tc TypeClass p POINTER TO BYTE
ToUpper (FUN) ¶ FUNCTION ToUpper : BYTE Converts an ASCII character to upper case. All non-alphebetical characters are returned identically. InOut: Scope Name Type Return ToUpper BYTE Input byChar BYTE
TypeClass_IsInteger (FUN) ¶ FUNCTION TypeClass_IsInteger : BOOL InOut: Scope Name Type Return TypeClass_IsInteger BOOL Input tc TypeClass
TypeClass_IsSigned (FUN) ¶ FUNCTION TypeClass_IsSigned : BOOL InOut: Scope Name Type Return TypeClass_IsSigned BOOL Input tc TypeClass
TypeClass_Size (FUN) ¶ FUNCTION TypeClass_Size : UINT InOut: Scope Name Type Return TypeClass_Size UINT Input tc IBaseLibrary.TypeClass
TypeClass_To_String (FUN) ¶ FUNCTION TypeClass_To_String : STRING InOut: Scope Name Type Return TypeClass_To_String STRING Input tc TypeClass
TypedValue_To_String (FUN) ¶ FUNCTION TypedValue_To_String : STRING Converts a typed value to a string that can be read with String_To_TypedValue. Works for scalar types and not for STRING and WSTRING. InOut: Scope Name Type Initial Return TypedValue_To_String STRING Input tc TypeClass p POINTER TO BYTE xRealWithHEX BOOL FALSE
convertandcopyvalue (FUN) ¶ FUNCTION convertandcopyvalue : BOOL Converts a typed value from one type to another. Assumes that tcSource <> tcDest. InOut: Scope Name Type Return convertandcopyvalue BOOL Input pbyDest POINTER TO BYTE tcDest TypeClass pbySource POINTER TO BYTE tcSource TypeClass
copypointerstring (FUN) ¶ FUNCTION copypointerstring : BOOL InOut: Scope Name Type Comment Return copypointerstring BOOL Input pby POINTER TO BYTE target pby1 POINTER TO BYTE source udiMax UDINT pudiCopied POINTER TO UDINT number of Copied bytes
copystring (FUN) ¶ FUNCTION copystring : BOOL InOut: Scope Name Type Return copystring BOOL Input pby POINTER TO BYTE sString STRING(255) udiMaxSize UDINT pudi POINTER TO UDINT