Numerical conversion instructions
(Original Document)
Introduction
Conversion replaces the PL7 instructions by their Control Expert equivalent.
Instruction list
The following table describes any correspondence and differences between PL7 and Control Expert instructions.
PL7
Control Expert
Status
BCD_TO_INT
BCD_TO_INT
Converted
INT_TO_BCD
INT_TO_BCD
Converted
GRAY_TO_INT
GRAY_TO_INT
Converted
INT_TO_REAL
INT_TO_REAL
Converted
DINT_TO_REAL
DINT_TO_REAL
Converted
DINT_TO_DWORD
DINT_TO_DWORD
Converted
DINT_TO_INT
DINT_TO_INT
Converted
DINT_TO_WORD
DINT_TO_WORD
Converted
DWORD_TO_DINT
DWORD_TO_DINT
Converted
DWORD_TO_INT
DWORD_TO_INT
Converted
DWORD_TO_WORD
DWORD_TO_WORD
Converted
INT_TO_DINT
INT_TO_DINT
Converted
INT_TO_WORD
INT_TO_WORD
Converted
REAL_TO_DINT
REAL_TO_DINT
Converted
REAL_TO_INT
REAL_TO_INT
Converted
WORD_TO_DINT
WORD_TO_DINT
Converted
WORD_TO_INT
WORD_TO_INT
Converted
WORD_TO_DWORD
WORD_TO_DWORD
Converted
TRUNC
REAL_TRUNC_INT
REAL_TRUNC_DINT
Modified (1)
DEG_TO_RAD
DEG_TO_RAD
Converted
EF
RAG_TO_DEG
RAG_TO_DEG
Converted
CONCATW
INT_AS_DINT
Modified (2)
DBCD_TO_DINT
DBCD_TO_DINT
Converted
DBCD_TO_INT
DBCD_TO_INT
Converted
DINT_TO_DBCD
DINT_TO_DBCD
Converted
HW
HIGH_INT
Modified (2)
INT_TO_DBCD
INT_TO_DBCD
Converted
LW
LOW_INT
Modified (2)
Legend:
(1)
Replaced by an EF whose name depends on the type of operand.
(2)
The function name is modified but the operation remains the same.