Parker EME
Motion control
192-121102 N04 June 2008 157
5.1.5. Data types supported
The following data types are available for IEC61131-3 programming:
Name Division Format
BOOL Status values: TRUE or FALSE Logical variable.
INT -32768...32767 16-bit integer: Fixed point number without places after the decimal
DINT -2147483648...2147483647 32-bit integer: Fixed point number without places after the decimal
REAL
32-bit floating point: 16 bits before the decimal and 16 bits after the
decimal
WORD 0...65535 16-bit bit sequence (no range of values)
DWORD 0...4294967295 32-bit bit sequence (no range of values)
TIME 0...4194,3035s 32 Bit - Format (resolution: 0.5 ms)
ENUM User-defined type of enumeration (local enumerations are not supported)
Altogether 500 16-bit variables are available. These include BOOL, INT, and
WORD.
Altogether 150 32-bit variables are available. These include
DINT,DWORD,TIME,REAL.
The number of the required variables is displayed in the CoDeSys output window
during compilation.
5.1.6. Retain Variables
6 retain variables (variables that are safe from power failure) are available
3x16-bit retain-variables
3x32-bit retain-variables
5.1.7. Recipe table with 9 columns and 32 lines
An array, i.e. a table with 9 columns and 32 rows, is available to store values.
This table is freely assignable and can be used for example to store position sets
or for recipe management.
In addition, this table can be used to exchange data with an external control system
or a POP, for example.
The layout of the table is as follows:
Column 1
Type:
REAL
Objects
O1901
Column 2
Type:
REAL
Objects
O1902
Column 3
Type:
INT
Objects
O1903
Column 4
Type:
INT
Objects
O1904
Column 5
Type:
INT
Objects
O1905
Column 6
Type:
DINT
Objects
O1906
Column 7
Type:
DINT
Objects
O1907
Column 8
Type:
DINT
Objects
O1908
Column 9
Type:
DINT
Objects
O1909
Row 1
"C3Array_Col
1_Row1"
(1901.1)
Row 1
"C3Array_Col
2_Row1"
(1902.1)
Row 1
"C3Array_Col
3_Row1"
(1903.1)
Row 1
"C3Array_C
ol4_Row1"
(1904.1)
Row1
"C3Array_C
ol5_Row1"
(1905.1)
Row 1
"C3Array_C
ol6_Row1"
(1906.1)
Row 1
"C3Array_C
ol7_Row1"
(1907.1)
Row 1
"C3Array_C
ol8_Row1"
(1908.1)
Row 1
"C3Array_C
ol9_Row1"
(1909.1)
... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ...
... ... ... ... ... ... ... ... ...
Row 32
"C3Array_Col
1_Row32"
(1901.32)
Row 32
"C3Array_Col
2_Row32"
(1902.32)
Row 32
"C3Array_Col
3_Row32"
(1903.32)
Row 32
"C3Array_C
ol4_Row32"
(1904.32)
Row 32
"C3Array_C
ol5_Row32"
(1905.32)
Row 32
"C3Array_C
ol6_Row32"
(1906.32)
Row 32
"C3Array_C
ol7_Row32"
(1907.32)
Row 32
"C3Array_C
ol8_Row32"
(1908.32)
Row 32
"C3Array_C
ol9_Row32"
(1909.32)
In addition to direct access to every individual field in the table, direct access is
also possible through pointer addressing.
To do this, the table pointer "C3ArrayPointer_Row" (Object 1900.1) must be set to
the desired rows.