Mitsubishi Electric MELSEC-Q/L Programming Manual page 46

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

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents