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... 1,000,000,000

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_udiJsonMaxLengthOfString

UDINT

10000

255...32766

Determines the maximum length of the JSON-formatted STRING.

Gc_udiJsonMaxNumOfItems

UDINT

1000

1...2147483647

Determines the size of the internal buffer which contains the items of the parsed JSON formatted data. The value indicates the sum of the items which can be stored in the buffer.

Every object, array, object member, and array element is considered as an item.

Gc_uiJsonMaxLengthOfName

UINT

80

20...32766

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

Gc_uiJsonMaxLengthOfValue

UINT

80

20...32766

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

Gc_uiJsonMaxNumOfLevels

UINT

100

10...1000

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

Gc_udiJsonMaxNumOfBytesPerCycle

UDINT

500

1...2147483647

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

Gc_uiJsonMaxLengthOfJPath

UINT

255

80...32766

Determines the maximum length of a JPath expression to address an element.