StringTokenizer (FB) ¶ FUNCTION_BLOCK StringTokenizer Function block that tokenizes a string, given a delimiter. Note: empty tokens (caused by consecutive delimiters) are returned. InOut: Scope Name Type Input bEnable BOOL pSt POINTER TO BYTE diLen DINT byDelim BYTE Output bHasToken BOOL pStToken POINTER TO BYTE diLenToken DINT
String_To_StringLiteral (FUN) ¶ FUNCTION String_To_StringLiteral : UDINT InOut: Scope Name Type Return String_To_StringLiteral UDINT Input pbyDst POINTER TO BYTE pbySrc POINTER TO BYTE udiDstSize UDINT
String_To_TypeClass (FUN) ¶ FUNCTION String_To_TypeClass : TypeClass InOut: Scope Name Type Return String_To_TypeClass TypeClass Input ps POINTER TO STRING(10)
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