Mitsubishi MELSEC Q Series Programming Manual page 330

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

XCH(P),DXCH(P)
Operation Error
(1) There are no errors associated with the XCH (P) and DXCH (P) instruction.
Program Example
(1) The following program exchanges the present value of T0 with the contents of D0 when X8
goes ON.
[Ladder Mode]
(2) The following program exchanges the contents of D0 with the data from M16 to M31 when
X10 goes ON.
[Ladder Mode]
(3) The following program exchanges the contents of D0 and D1 with the data at M16 to M47
when X10 goes ON.
[Ladder Mode]
(4) The following program exchanges the contents of D0 and D1 with those of D9 and D10
when M0 goes ON.
[Ladder Mode]
6-128
[List Mode]
Instruction
Step
[List Mode]
Instruction
Step
[List Mode]
Step
Instruction
[List Mode]
Instruction
Step
Device
Device
Device
Device

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents