Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-242
STRINS(P)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an
error code is stored into SD0.
The number of characters in the devices specified by , , or the devices specified by
( + ) after the insertion exceeds 16383 characters. (Error code: 4100)
The value specified by n is not within the specified range. (1 n 16383)
(Error code: 4100)
The value specified by n exceeds the number of the devices specified by plus one.
(Error code: 4100)
The devices, that store character strings, specified by overlaps with even one of the
devices specified by . (Error code: 4101)
The range of the devices specified by ( + ) in which character strings data have been
inserted exceeds the specified device range. (Error code: 4101)
The NULL code (00
H) does not exist within the specified device range after the device
specified by or . (Error code: 4101)
The range of the devices specified by ( + ) in which character strings data have been
inserted overlaps with the range of the devices specified by that store the character
string data. (Error code: 4101)
Program Example
(1) The following program inserts the character string data stored in the device D0 and up to the
fourth device from the initial character string data stored in D20 and up, when M0 is turned
on.
[Ladder Mode] [List Mode]
[Operation]
S
D
S
D
D
S
D
S
D
S
D
S
D
S
Step
Instruction
Device
P R O 5 8 4 G R A M A B C D
50
H
(P)52
H
(R)
4F
H
(O)35
H
(5)
38
H
(8)34
H
(4)
47
H
(G)52
H
(R)
42
H
(B)
44
H
(D)
41
H
(A)
43
4D
H
(M) 41
H
(A)
H
(C)
00
H
D0 character string
D0
35
H
(5)38
H
(8)
D1
34
H
(4)
00
H
D20 50
H
(P)52
H
(R)
4F
H
(O)47
H
(G)
52
H
(R)41
H
(A)
4D
H
(M)41
H
(A)
42
H
(B)43
H
(C)
00
H
44
H
(D)
D21
D22
D23
D24
D25
D20
D21
D22
D23
D24
D25
D26
D27
5 8 4
D20 character string
Inserted between"O"and"G"
Fourth character from the
left (Insert position)
D20 character string
Befor insertion
After insertion
P R O G R A M A B C D
D20 character string