Global Parameter List

 

GPL

Overview

Type:

Global parameters

Available as of:

V1.0.8.0

Description

The global parameter list (GPL) contains global constants which are used by certain components of this library. The parameters can be edited individually for each application where the library is used. The modification must be done within the Library Manager of the project where the library is referenced.

Global Parameters

Variable

Data type

Default value

Range

Description

Gc_udiXmlMaxNumOfItems

UDINT

1000

1... 2147483647

Determines the size of the buffer which contains the elements with their attributes which were read from or will be written to an XML file.

The value indicates the sum of the elements and attributes which can be stored in the buffer.

Gc_uiXmlLengthOfString

UINT

40

1...254

Determines the maximum length of the elements of type STRING in the ST_XmlItem structure.

Gc_udiXmlMaxNumOfParents

UDINT

20

1...10000

Determines the maximum nesting depth of the XML structure.

The variable is used internally to determine the parent index.

Gc_uiXmlWriteProcessingBlockSize

UINT

5000

500...65535

Determines the size of the temporary buffer (in bytes) that is used for processing the content of the XML file during write operation.

Gc_uiCsvReadProcessingBlockSize

UINT

1000

100...65535

Determines the size of the temporary buffer (in bytes) that is used for processing the values of the CSV file during read operation.

Gc_uiCsvWriteProcessingBlockSize

UINT

1000

100...65535

Determines the size of the temporary buffer (in bytes) that is used for processing the values of the CSV file during write operation.

Gc_uiJsonMaxLengthOfName

UINT

80

20...32766

Determines the maximum length of a name tag of a name/value pair in a JSON-formatted STRING.

Gc_uiJsonMaxLengthOfValue

UINT

80

20...32766

Determines the maximum length of a value tag of a name/value pair in a JSON-formatted STRING.

Gc_udiJsonMaxLengthOfString

UDINT

10000

255...32766

Determines the maximum length of the whole JSON-formatted STRING.

Gc_udiJsonMaxNumOfLevels

UINT

100

10...1000

Determines the maximum depth of the JSON-formatted STRING in which objects and ARRAYS can be nested in each other.