Mitsubishi Electric A800 Programming Manual page 163

800 series, plc function
Hide thumbs Also See for A800:
Table of Contents

Advertisement

Basic instruction (32-bit)
Execution condition
Addition/subtraction instruction
Addition/subtraction
Program example
D+
Program that adds the X10 to X2B 28-bit data to the D9 and D10 data when X0 turns ON, and outputs the results to M0 to
M27.
X000
0
D-
Program that subtracts the M0 to M23 data from the D0 and D1 data when X0 turns ON, and stores the results in D10 and
D11.
X0
0
162
Sequence program
command
P K7
D+
X010
D9
P
K6
D-
D0
M0
Executed every
scan.
Executed only once.
Coding
K7
0
LD
X000
M0
1
D+P
K7X010
12
END
Coding
0
LD
D10
1
D-P
12
END
Executed every
scan.
Executed only once.
D9
K7M0
X0
D0
K6M0
D10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F800

Table of Contents