Types and arrays
(Original Document)
Introduction
Conversion replaces the PL7 types and arrays by their Control Expert equivalent.
Types
The following table describes any correspondence and differences between PL7 and Control Expert types.
PL7
Control Expert
Status
Type
BOOL
BOOL
Converted
EBOOL
EBOOL
Converted
WORD
INT
Modified (1)
DWORD
DINT
Modified (1)
REAL
REAL
Converted
Legend:
(1)
Arrays
The following table describes any correspondence and differences between PL7 and Control Expert arrays.
PL7
Control Expert
Status
Table
Boolean array (EBOOL) %Mi:n
ARRAY [0..n-1] OF EBOOL
Modified (1)
Word array (WORD) %MWi:n
ARRAY [0..n-1] OF EBOOL
Modified (1)
Array of double words (DWORD) %MDi:n
ARRAY [0..n-1] OF DINT
Modified (1)
Floating point array (REAL) %MFi:n
ARRAY [0..n-1] OF REAL
Modified (1)
Bytes array %MBi:n
STRING [n]
Modified (1)
Legend:
(1)
Specific types and arrays
The following table describes any correspondence and differences between specific PL7 and Control Expert types and arrays.
PL7
Control Expert
Status
Type
The TIME, DATE and TOD formats are double words (DWORD).
DINT
Modified (1)
Table
The DT format is an array of 4 words %MWi:4.
ARRAY[0..3] OF INT
Modified (1)
Legend:
(1)