beautypg.com

5 exchange instruction (xchg), Outline, Format – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 115: Parameter

background image

1.6 Data Manipulation Instructions

1-105

1

1.6.5 EXCHANGE Instruction (XCHG)

„

Outline

The XCHG instruction is used to exchange data between data tables 1 (Data Table1) and 2
(Data Table2).

„

Format

„

Parameter

Parameter Name

Setting

Data Table 1

• Any integer type register (except for # and C registers)
• Any integer type register with subscript (except for # and C reg-

isters)

Data Table 2

• Any integer type register (except for # and C registers)
• Any integer type register with subscript (except for # and C reg-

isters)

Width

• Any integer type register
• Any integer type register with subscript
• Constant

Data Table 1

DataTable 2

Width

a

b

c

d

e

f

g

h

n

o

p

i

j

k

l

m

a

b

c

d

e

f

g

h

n

o

p

i

j

k

l

m

After executing the XCHG instruction

Before executing the XCHG instruction

Data Table 1

Data Table 2

Data Table 1

DataTable 2

DataTable 2

Data Table 1

Symbol: XCHG
Full Name: Exchange
Category: MOVE
Icon:

This manual is related to the following products: