Mitsubishi Electric M800VW Series Programming Manual page 258

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.4 Data Transfer Instructions
 Program example
 The following program exchanges the present value of T0 with the contents of D0 when X8 goes ON.
X8
0
4
 The following program exchanges the contents of D0 with the data from M16 to M31 when X10 goes ON.
X10
0
4
 The following program exchanges the contents of D0 and D1 with the data at M16 to M47 when X10 goes ON.
X10
0
4
 The following program exchanges the contents of D0 and D1 with those of D9 and D10 when M0 goes ON.
M0
0
4
[Ladder mode]
XCHP T0 D0
END
[Ladder mode]
XCHP D0 K4M16
END
[Ladder mode]
DXCHP D0 K8M16
END
[Ladder mode]
DXCHP D0
D9
END
237
[List mode]
Steps
Inst.
Device
0
LD
X8
1
XCHP
T0
D0
4
END
[List mode]
Steps
Inst.
Device
0
LD
X10
1
XCHP
D0
K4M16
4
END
[List mode]
Steps
Inst.
Device
0
LD
X10
1
DXCHP
D0
K8M16
4
END
[List mode]
Steps
Inst.
Device
0
LD
M0
1
DXCHP
D0
D9
4
END
IB-1501667-B

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents