Converting a PL7 application into a Control Expert application generates certain differences, which are described in the following paragraphs.
Integer and long integer word tables: instructions
The operators (+, -, *, /, REM) between two integer and long integer word tables have been deleted in Control Expert.
The PL7 application converter replaces these operators with
EF equivalents.
Example: TABINT1, TABINT2, TABINT3 are integer tables. TABINT1:=TABINT2 + TABINT3 is replaced with TABINT1:=ADD_ARINT(TABINT2,TABINT3).
The operators (+, -, *, /, REM) between a table and an integer or long integer word have been deleted in Control Expert.
The PL7 application converter replaces these operators with
EF equivalents. A single EF is used for each switching operator.
Example: INT1 is an integer; TABINT1 and TABINT2 are integer tables.
Both TABINT1:=INT1 + TABINT2 and TABINT1:=TABINT2 + INT1 are replaced with TABINT1:=ADD_ARINT_INT(TABINT2,INT1)
Integer and long integer word tables: logic instructions
The operators (AND, OR, XOR, NOT) between two integer and long integer word tables have been deleted in Control Expert.
The PL7 application converter replaces these operators with
EF equivalents.
Example: TABINT1, TABINT2, TABINT3 are integer tables. TABINT1:=TABINT2 AND TABINT3 is replaced with TABINT1:=AND_ARINT(TABINT2,TABINT3).
The operators (AND, OR, XOR) between a table and an integer or long integer word have been deleted in Control Expert.
The PL7 application converter replaces these operators with
EF equivalents. A single EF is used for each switching operator.
Example: INT1 is an integer; TABINT1 and TABINT2 are integer tables.
Both TABINT1:=INT1 AND TABINT2 and TABINT1:=TABINT2 AND INT1 are replaced with TABINT1:=AND_ARINT_INT(TABINT2,INT1)
The table functions for which you must indicate a rank (rank of an element in the table) behave in the same way as the corresponding PL7 functions, except when the rank is negative. In this case operation is as follows:
Functions
|
Operation when the rank is negative
|
COPY_ARDINT_AREBOOL
|
If one of the ranks is negative (source or destination), the function is not executed, and the resulting table is not modified. In PL7, the ranks are set automatically to 0 and the function is executed.
|
COPY_ARINT_AREBOOL
|
COPY_AREBOOL_ARDINT
|
COPY_AREBOOL_ARINT
|
COPY_AREBOOL_AREBOOL
|
EQUAL_***
|
If the rank from which the comparison is launched is negative, the result is equal to this negative rank and the function is not executed. In PL7, the function is executed from rank 0.
|
FIND_EQP_***
|
If the rank from which the search is launched is negative, the result is equal to this negative rank and the function is not executed. In PL7, the function is executed from rank 0.
|