Mitsubishi Electric MELSEC-Q/L Programming Manual page 89

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

Advertisement

Program example
■STR_TO_REAL(_E)
The program which converts string type data input to (s) into single-precision real type data, and outputs the operation result
from (d).
• Function without EN/ENO (STR_TO_REAL)
[Structured ladder/FBD]
[ST]
g_real1 := STR_TO_REAL(g_string1);
• Function with EN/ENO (STR_TO_REAL_E)
[Structured ladder/FBD]
[ST]
g_bool3 := STR_TO_REAL_E(g_bool1, g_string1, g_real1);
5 APPLICATION FUNCTIONS
5.1 Type Conversion Functions
5
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents