Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
2 Instruction List
2.2 Step Ladder Instructions
29
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
O
utlin
e
2
Instruc
tion Li
st
3
Configurati
on of 
Instruction
4
Ho
w t
o R
ea
Explanati
on of 
Ins
truction
s
5
B
asic
 Instruction
6
Step Ladder 
Instruct
ions
7
Ap
pl
ied Inst
ruct
io
ns 
(Program Flow)
8
Appl
ied
 In
stru
cti
ons 
(Mov
e and 
C
omp
are)
9
App
lie
d Instr
uction
(Ari
thm
eti
c and
 
Lo
gic
al O
per
at
ion)
10
App
lied Inst
ructi
ons 
(Rot
ati
on and 
Shift O
perati
on)
2.2
Step Ladder Instructions
2.3
Applied Instructions
Instruction name
Function
Applicable PLCs
Reference
FX
3U(C)
FX
3G
(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
STL
Starts step ladder
3
3
3
3
3
3
3
3
3
Section 6.2
RET
Completes step ladder
3
3
3
3
3
3
3
3
3
Section 6.3
Instruction name
Execution 
condition
Function
Applicable PLCs
Reference
FX
3U(C)
FX
3G
(C
)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/F
X
2C
FX
0N
FX
0(S
)
Program Flow
CJ
Continuous
Conditional jump
3
3
3
3
3
3
3
3
3
Section 7.1
CJP
Pulse
3
3
3
3
3
3
3
CALL
Continuous
Call subroutine
3
3
3
3
3
3
3
Section 7.2
CALLP
Pulse
3
3
3
3
3
3
3
SRET
Continuous Subroutine return
3
3
3
3
3
3
3
Section 7.3
IRET
Continuous Interrupt return
3
3
3
3
3
3
3
3
3
Section 7.4
DI
Continuous Disable interrupt
3
3
3
3
3
3
3
3
3
Section 7.5
EI
Continuous Enable interrupt
3
3
3
3
3
3
3
3
3
Section 7.6
FEND
Continuous Main routine program end
3
3
3
3
3
3
3
3
3
Section 7.7
WDT
Continuous
Watchdog timer refresh
3
3
3
3
3
3
3
3
3
Section 7.8
WDTP
Pulse
3
3
3
3
3
3
3
FOR
Continuous Start a FOR/NEXT loop
3
3
3
3
3
3
3
3
3
Section 7.9
NEXT
Continuous End a FOR/NEXT loop
3
3
3
3
3
3
3
3
3
Section 7.10
Move and Compare
CMP
Continuous
Compare
3
3
3
3
3
3
3
3
3
Section 8.1
CMPP
Pulse
3
3
3
3
3
3
3
DCMP
Continuous
3
3
3
3
3
3
3
3
3
DCMPP
Pulse
3
3
3
3
3
3
3
ZCP
Continuous
Zone compare
3
3
3
3
3
3
3
3
3
Section 8.2
ZCPP
Pulse
3
3
3
3
3
3
3
DZCP
Continuous
3
3
3
3
3
3
3
3
3
DZCPP
Pulse
3
3
3
3
3
3
3
MOV
Continuous
Move
3
3
3
3
3
3
3
3
3
Section 8.3
MOVP
Pulse
3
3
3
3
3
3
3
DMOV
Continuous
3
3
3
3
3
3
3
3
3
DMOVP
Pulse
3
3
3
3
3
3
3
SMOV
Continuous
Shift move
3
3
3
3
3
Section 8.4
SMOVP
Pulse
3
3
3
3
3
CML
Continuous
Inversion move
3
3
3
3
3
Section 8.5
CMLP
Pulse
3
3
3
3
3
DCML
Continuous
3
3
3
3
3
DCMLP
Pulse
3
3
3
3
3
BMOV
Continuous
Block move
3
3
3
3
3
3
3
3
Section 8.6
BMOVP
Pulse
3
3
3
3
3
3
3