StrLen (FUN) ¶ FUNCTION StrLen : DINT InOut: Scope Name Type Return StrLen DINT Input pSt POINTER TO BYTE
StringLiteral_To_String (FUN) ¶ FUNCTION StringLiteral_To_String : UDINT InOut: Scope Name Type Return StringLiteral_To_String UDINT Input pbyDst POINTER TO BYTE pbySrc POINTER TO BYTE udiDstSize UDINT
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