5.8 Standard Character String Functions
186
FXCPU Structured Programming Manual
(Application Functions)
Program example
In this program, a character string stored in devices specified in
is connected after a character string
stored in devices specified in
, and the character string obtained by connection is output to devices
specified in
.
1) Function without EN/ENO(CONCAT)
2) Function with EN/ENO(CONCAT_E)
[Structured ladder]
[ST]
[Structured ladder]
[ST]
s2
s1
d
CONCAT
g_string1="ABCDEF"
g_string2="12345"
_IN
_IN
g_string3="ABCDEF12345"
g_string3:=CONCAT(g_string1,g_string2);
CONCAT_E
EN
ENO
g_string3
g_bool1
g_string1
g_string2
_IN
_IN
g_bool3
g_bool3:=CONCAT_E(g_bool1,g_string1,g_string2,g_string3);