2 Ladder Program
12-18 SmartAXIS Touch User's Manual
● Advanced Instruction List
Symbol Name and Diagram Function
Interrupt
Program
Execution
NOP
NOP
No Operation YES
MOV
Move
When input is on, 16- or 32-bit data from device
designated by S1 is moved to device designated by D1.
S1 → D1
YES
MOVN
Move Not
When input is on, 16- or 32-bit data from device
designated by S1 is inverted bit by bit and moved to
device designated by D1.
S1 NOT → D1
YES
IMOV
Indirect Move
When input is on, the values contained in devices
designated by S1 and S2 are added to determine the
source of data. The 16- or 32-bit data so determined is
moved to destination, which is determined by the sum of
values contained in devices designated by D1 and D2.
S1 + S2 → D1 + D2
YES
IMOVN
Indirect Move Not
When input is on, the values contained in devices
designated by S1 and S2 are added to determine the
source of data. The 16- or 32-bit data so determined is
inverted and moved to destination, which is determined
by the sum of values contained in devices designated by
D1 and D2.
S1 + S2 NOT → D1 + D2
YES
IBMV
Indirect Bit Move
When input is on, the values contained in devices
designated by S1 and S2 are added to determine the
source of data. The 1-bit data so determined is moved to
destination, which is determined by the sum of values
contained in devices designed by D1 and D2.
S1 + S2 → D1 + D2
YES
IBMVN
Indirect Bit Move Not
When input is on, the values contained in devices
designated by S1 and S2 are added to determine the
source of data. The 1-bit data so determined is inverted
and moved to destination, which is determined by the
sum of values contained in devices designated by D1 and
D2.
S1 + S2 NOT → D1 + D2
YES
BMOV
Block Move
When input is on, N blocks of 16-bit word data starting
with device designated by S1 are moved to N blocks of
destinations, starting with device designated by D1. N-W
specifies the quantity of blocks to move.
S1, S1+1, S1+2, ... , S1+N–1 → D1, D1+1,
D1+2, ... , D1+N–1
YES
NSET
N Data Set
When input is on, N blocks of 16- or 32-bit data in
devices designated by S1, S2, S3, ... , Sn are moved to N
blocks of destinations, starting with device designated by
D1.
S1, S2, S3, ... , Sn → D1, D2, D3, ... , Dn
YES
NRS
N Data Repeat Set
When input is on, 16- or 32-bit data designated by S1 is
set to N blocks of destinations, starting with device
designated by D1.
S1 → D1, D2, D3, ... , Dn–1
YES
XCHG
Exchange
When input is on, the 16- or 32-bit data in devices
designated by D1 and D2 are exchanged with each other.
YES
Word data type: D1 ↔ D2
Double-word data type
: D1·D1+1 → D2, D2+1
REP
**
D1(R)
*****
S1(R)
*****
MOV(*)
REP
**
D1(R)
*****
S1(R)
*****
MOVN(*)
IMOV(*) REP
**
D1(R)
*****
S1(R)
*****
S2
*****
D2
*****
IMOVN(*) REP
**
D1(R)
*****
S1(R)
*****
S2
*****
D2
*****
IBMV REP
**
D1(R)
*****
S1(R)
*****
S2
*****
D2
*****
IBMVN REP
**
D1(R)
*****
S1(R)
*****
S2
*****
D2
*****
N_W
*****
S1
*****
BMOV(W) D1
*****
S2
*****
S1
*****
NSET(*) S3
*****
D1
*****
S1
*****
N-W
*****
NRS(*) D1
*****