Mitsubishi Electric MELSEC-Q/L Programming Manual page 37

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Operation error
• No operation error occurs.
Program example
■DINT_TO_INT(_E)
The program which converts double word (signed) type data input to (s) into word (signed) type data, and outputs the
operation result from (d).
• Function without EN/ENO (DINT_TO_INT)
[Structured ladder/FBD]
[ST]
g_int1 := DINT_TO_INT(g_dint1);
• Function with EN/ENO (DINT_TO_INT_E)
[Structured ladder/FBD]
[ST]
g_bool3 := DINT_TO_INT_E(g_bool1, g_dint1, g_int1);
5 APPLICATION FUNCTIONS
5.1 Type Conversion Functions
5
35

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents