EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Linking Character Strings

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
262
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Linking character strings
$+(P) [When two data are set]
Processing details
Links the character string data designated by (S) after the character string data designated by (D) and stores the result into
the area starting with the device number designated by (D).
The object of character string data is that character string data stored from device numbers designated at (D) and (S) to
that stored at "00H".
When character strings are linked, the "00H", which indicates the end of character string data designated at (D), is ignored,
and the character string designated at (S) is appended to the last character of the (D) string.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
(S): Data for linking or head number of the devices where the data for linking is stored (character string)
(D): Head number of the devices where the data to be linked is stored (character string)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
$
Others
Bit Word Bit Word
(S)  
(D) 
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4101 The number of device points starting from the device specified in (D) is
insufficient to store all character strings.
The storage device numbers for the character strings specified by (S) and
(D) overlap.
The number of characters of (S) and (D) exceeds 16383.

Process
High
performance
Redundant
Universal
LCPU
Basic
Command
Command
$+P
$+
S D
S
D
$+P
$+
42
H
(B)
b15 b8
41
H
(A)
b7 b0
+1
43
H
(C)
00
H
+2
45
H
(E)
44
H
(D)
32
H
(2)
b15 b8
31
H
(1)
b7 b0
+1
33
H
(3)
+2
35
H
(5)
34
H
(4)
42
H
(B)
b15 b8
41
H
(A)
b7 b0
+1
43
H
(C)
+2
45
H
(E)
44
H
(D)
00
H
36
H
(6)
+3
+3
32
H
(2)
+4
34
H
(4)
00
H
+5
36
H
(6)
31
H
(1)
33
H
(3)
35
H
(5)
"ABCDE123456"
"123456"
"ABCDE"
D
S
D
D
S
S
S
D
D
D
D
D

Table of Contents

Related product manuals