Character String Data Connection (2 Devices); Character String Data Connection (3 Devices) - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 MELSEC FUNCTIONS
5.5.13 Character string data connection (2 devices) STRING_PLUS_M
The specified character string data are connected.
Function definition
5.5.14 Character string data connection (3 devices) STRING_PLUS_3_M
The specified character string data are connected.
Function definition
5 - 19
BOOL STRING_PLUS_M (BOOL EN, STRING S1, STRING D);
Argument Name
EN
S1
D
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, character string "ABC" is connected
(* to the end of the character string stored in StrResult and the connected
(* character strings are stored into StrResult.
STRING_PLUS_M (X0, "ABC" StrResult);
Corresponding MELSEC command
$+ (Character string connection)
BOOL STRING_PLUS_3_M (BOOL EN, STRING S1, STRING S2, STRING D);
Argument Name
EN
S1
S2
D
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the character string stored in
(* StrData2 is connected to the end of the character string stored in StrData1
(* and the connected character strings are stored into StrResult.
STRING_PLUS_3_M (X0, StrData1, StrData2, StrResult);
Corresponding MELSEC command
$+ (Character string connection)
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
Data to connect (character string data)
IN
Data to be connected, connection result (character string
IN/OUT
data)
IN/OUT
Execution condition (Function is executed only when the
IN
result is TRUE)
Data to be connected (character string data)
IN
Data to connect (character string data)
IN
Connection result (character string data)
OUT
For the usable data type, refer to "3.2.2
About ANY type".
Description
Description
Description
Description
*)
*)
*)
*)
*)
*)
5 - 19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents