BYTEARR_TO_MAXSTRING

BYTEARR_TO_MAXSTRING 1:

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

FUNCTION BYTEARR_TO_MAXSTRING: T_MaxString

VAR_INPUT

VAR_INPUT
    in : ARRAY[0..MAX_STRING_LENGTH] OF BYTE;
END_VAR

in: Byte-Array variable ( MAX_STRING_LENGTH default value: 255).

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)