EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 705

Mitsubishi Electric MELSEC iQ-R Series
2110 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...
7 APPLICATION INSTRUCTIONS
7.8 String Processing Instructions
703
7
Processing details
These instructions delete (n) characters starting from the position (deletion start position) specified by the (s)th character
from the start of the character string data in the device specified by (d).
If the character string after deletion in the device specified by (d) is even, the NULL code (00H) is stored in the device (1
word) next to the last one containing the character string.
If the character string after deletion in the device specified by (d) is odd, the NULL code (00H) is stored in the last device
(upper 8 bits) of the character string.
The character string following the deleted one is shifted by (n) characters to the right, and the NULL code (00H) is stored in
the device that has been emptied.
Operation error
Error code
(SD0)
Description
2820H There is no NULL code (00H) in each setting area in the device/label memory in the device specified by (d) and later.
3405H The number of characters of the character string in the device specified by (d) exceeds 16383.
An out-of-range value is set to (s).
The specified value is not within the following range.
1(s)16383
The specified value exceeds the number of characters of the character string in the device specified by (d).
An out-of-range value is set to (n).
The specified value exceeds the number of characters from the data in the device specified by (s) of the character string in the device
specified by (d) to the last character.
The specified value is negative.
41H (A)42H (B)
48H (H)49H (I)
4AH (J)4BH (K)
4CH (L)
00H
00H
00H
00H
31H (1) 30H (0)
33H (3) 32H (2)
35H (5) 34H (4)
41H (A)42H (B)
49H (I)
48H (H)
4AH (J)
4CH (L) 4BH (K)
00 H
31H (1) 30H (0)
33H (3) 32H (2)
35H (5) 34H (4)
41H (A)42H (B)
43H (C)44H (D)
45H (E)46H (F)
48H (H) 47H (G)
4AH (J) 49H (I)
4CH (L) 4BH (K)
00H
31H (1) 30H (0)
33H (3) 32H (2)
35H (5) 34H (4)
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(d)+7
(d)+8
(d)+9
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(d)+7
(d)+8
(d)+9
(d)
(d)+1
(d)+2
(d)+3
(d)+4
(d)+5
(d)+6
(d)+7
(d)+8
(d)+9
b15 b0 b7b8 b15 b0 b7b8 b15 b0 b7b8
3
(s)
Starting position
specified by (s):
3rd character
After the string data are shifted, 00Hs are
stored in the empty device areas.
The string data after the deleted data are
shifted to the right.
Number of
delete-target
characters (n): 5
The string data in (d)+7 and later
remain the same.

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals