Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
2 Instruction List
2.2 Step Ladder Instructions
29
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied Instructions
(Program Flow)
8
Applied Instructions
(Move and
Compare)
9
Applied Instructions
(Arithmetic and
Logical Operation)
10
Applied Instructions
(Rotation and
Shift Operation)
2.2 Step Ladder Instructions
2.3 Applied Instructions
Instruction name Function
Applicable PLCs
Reference
FX3U(C)
FX3G(C)
FX3S
FX2N(C)
FX1N(C)
FX1S
FXU/FX2C
FX0N
FX0(S)
STL Starts step ladder 333333333Section 6.2
RET Completes step ladder 333333333Section 6.3
Instruction name
Execution
condition
Function
Applicable PLCs
Reference
FX3U(C)
FX3G(C)
FX3S
FX2N(C)
FX1N(C)
FX1S
FXU/FX2C
FX0N
FX0(S)
Program Flow
CJ Continuous
Conditional jump
333333333
Section 7.1
CJP Pulse 3333333
CALL Continuous
Call subroutine
3333333
Section 7.2
CALLP Pulse 3333333
SRET Continuous Subroutine return 3333333 Section 7.3
IRET Continuous Interrupt return 333333333Section 7.4
DI Continuous Disable interrupt 333333333Section 7.5
EI Continuous Enable interrupt 333333333Section 7.6
FEND Continuous Main routine program end 333333333Section 7.7
WDT Continuous
Watchdog timer refresh
333333333
Section 7.8
WDTP Pulse 3333333
FOR Continuous Start a FOR/NEXT loop 333333333Section 7.9
NEXT Continuous End a FOR/NEXT loop 333333333Section 7.10
Move and Compare
CMP Continuous
Compare
333333333
Section 8.1
CMPP Pulse 3333333
DCMP Continuous 333333333
DCMPP Pulse 3333333
ZCP Continuous
Zone compare
333333333
Section 8.2
ZCPP Pulse 3333333
DZCP Continuous 333333333
DZCPP Pulse 3333333
MOV Continuous
Move
333333333
Section 8.3
MOVP Pulse 3333333
DMOV Continuous 333333333
DMOVP Pulse 3333333
SMOV Continuous
Shift move
3333 3
Section 8.4
SMOVP Pulse 3333 3
CML Continuous
Inversion move
3333 3
Section 8.5
CMLP Pulse 3333 3
DCML Continuous 3333 3
DCMLP Pulse 3333 3
BMOV Continuous
Block move
33333333
Section 8.6
BMOVP Pulse 3333333