This site uses cookies for functional purposes. To continue please read and agree to our Data Privacy.

By closing this message, you consent to our use of cookies on this device.

Supported Data Types

PLCnext Technology is using so called "data ports" to exchange data between different types of programs in a consistent way via the GDS (Global Data Space).

Please note the possible combinations of data types to create a fast and stable application.

This document is valid for the release firmware of the AXC F 2152 (1.x)

Note:
PC Worx Engineer checks the data ports for compatibility, invalid GDS combinations are not possible.
PLCnext Technology allows the user, independently from PC Worx Engineer, to modify or to create the GDS configuration by using the option of file based configuration.
Please be aware that the modifications of the xml configuration files (e.g. GDS.config.xml) are only checked from the PLCnext Technology firmware during the start-up phase.
In case of an invalid configuration the PLCnext Technology FW will stop booting with an error message inside the Diagnostic logfile.

Supported data type combinations between programs:

C++ MATLAB®/ Simulink® PC Worx Engineer
(IEC 61131-3)
Can be used
inside an Array
Can be used
inside a Struct
Use GDS ports with user defined datatypes
boolean boolean BOOL ** x
uint8 uint8 USINT BYTE x x
uint16 uint16 UINT WORD x x
uint32 uint32 UDINT DWORD x x
uint64 ULINT LWORD x x
int8 int8 SINT x x
int16 int16 INT x x
int32 int32 DINT x x
int64 LINT x x
float32 single REAL x x
float64 double LREAL x x
an Array of primitive data types x

** The boolean data type is only supported between programs of the same language, i.e. between C++ and C++ as well as between IEC 61131-3 and IEC 61131-3, but not between a C++ and a IEC 61131-3 program. So an Array containing boolean variables must consist of data types deriving from the same language.

Supported combinations of IN and OUT ports between C++ programs:

 StartPort   EndPort 
boolean boolean
uint8
char8 char8
uint16
uint32
uint64
int16
int32
int64
float32
float64
uint8 uint8
uint16
uint32
uint64
int16
int32
int64
float32
float64
uint16 uint16
uint32
uint64
int32
int64
float32
float64
 StartPort   EndPort 
uint32 uint32
uint64
int64
float64
uint64 uint64
int8 int8
int16
int32
int64
float32
float64
int16 int16
int32
int64
float32
float64
int32 int32
int64
float64
int64 int64
float32 float32
float64
float64 float64

 

We have 85 guests and 2 members online