Mitsubishi Electric MELSEC-Q/L Programming Manual page 166

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

Advertisement

Program example
■REPLACE(_E)
The program which replaces the specified number of characters from the specified position in the character string input to (s1)
with the character string input to (s2), and outputs the operation result from (d).
• Function without EN/ENO (REPLACE)
[Structured ladder/FBD]
[ST]
g_string3 := REPLACE(g_string1, g_string2, g_int1, g_int2);
• Function with EN/ENO (REPLACE_E)
[Structured ladder/FBD]
[ST]
g_bool3 := REPLACE_E(g_bool1, g_string1, g_string2, g_int1, g_int2, g_string3);
5 APPLICATION FUNCTIONS
164
5.7 Standard Character String Functions

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents