Size of a structure element of type VSTRING (P-EXTV-00021)

P-EXTV-00021

Size of a structure element of type VSTRING (Data type with variable string length)

Description

As of CNC Build V3.1.3039.00 and higher, a new data type VSTRING can be used to define external variables. The size of a string element can be defined separately for this data type. The desired size is specified in this parameter inclusive Null-termination byte meaning a value of size = 128 leads to a string element with 127 usable characters.

Parameter

struct[i].element[j].size

Data type

UNS32

Data range

1 ... 800 bytes

Dimension

Byte

Default value

128 bytes (127 usable characters and zero termination byte)

Remarks

This parameter is available as of CNC Build V3.1.3039.00 and higher. This parameter is only used to specify the size of string elements of data type VSTRING and has no significance for other data types.