Mitsubishi Electric M800VW Series Programming Manual page 232

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.2 Arithmetic Operation Instructions
 Operation errors
 In the following cases, an arithmetic error occurs, the error flag (SM0) turns ON, and an error code is stored at SD0.
- There are not enough points from the device number designated by (D) to the last device number of the relevant device
to store all the linked character strings. (Error code: 82)
- The storing device numbers of the character strings designated by (S2) and (D) are overlapping. (Error code: 82)
- The character strings of (S1), (S2), and (D) are longer than 255 characters. (Error code: 82)
 Program example
 The following program links the character strings stored in D10 to D12 and the character string "ABCD" when X0 turns ON,
and stores the result in the area starting from D100.
[Ladder mode]
X0
0
7
b15
b8b7
b0
D10
62H(b)
61H(a)
D11
64H(d)
63H(c)
D12
00H
65H(e)
$+P D10 "ABCD" D100
END
[Operation]
+
"ABCD"
"00H" is automatically stored.
[List mode]
Steps
Inst.
Device
0
LD
X0
1
$+P
D10
"ABCD"
D100
7
END
b15
D100
62H(b)
D101
64H(d)
D102
41H(A)
D103
43H(C)
D104
00H
211
b8b7
b0
‥‥
‥‥
61H(a)
63H(c)
65H(e)
42H(B)
44H(D)
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents