MAXSTRING_TO_BYTEARR

MAXSTRING_TO_BYTEARR 1:

Converts a string into individual ASCII codes of a byte array.

FUNCTION MAXSTRING_TO_BYTEARR: ARRAY[0..MAX_STRING_LENGTH] OF BYTE

VAR_INPUT

VAR_INPUT
    in : T_MaxString;
END_VAR

in: String to be converted (type: T_MaxString).

Requirements

Development environment

Target platform

PLC libraries to be integrated (category group)

TwinCAT v3.1.0

PC or CX (x86, x64, ARM)

Tc2_Utilities (System)