Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
2 Instruction List
2.3 Applied Instructions
37
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)
*1. The instruction is provided in the FX2N and FX2NC PLCs Ver. 3.00 or later.
*2. The instruction is provided in the FX3UC PLC Ver. 2.20 or later.
Instruction name
Execution
condition
Function
Applicable PLCs
Reference
FX3U(C)
FX3G(C)
FX3S
FX2N(C)
FX1N(C)
FX1S
FXU/FX2C
FX0N
FX0(S)
Real Time Clock Control
TRD Continuous
Read RTC data
333333
Section 21.7
TRDP Pulse 333333
TWR Continuous
Set RTC data
333333
Section 21.8
TWRP Pulse 333333
HOUR Continuous
Hour meter
333*1 33
Section 21.9
DHOUR Continuous 333*1 33
External Device
GRY Continuous
Decimal to gray code conversion
3333
Section 22.1
GRYP Pulse 3333
DGRY Continuous 3333
DGRYP Pulse 3333
GBIN Continuous
Gray code to decimal conversion
3333
Section 22.2
GBINP Pulse 3333
DGBIN Continuous 3333
DGBINP Pulse 3333
RD3A Continuous
Read from dedicated analog block
333*1 3
Section 22.3
RD3AP Pulse 333*1 3
WR3A Continuous
Write to dedicated analog block
333*1 3
Section 22.4
WR3AP Pulse 333*1 3
Extension Function
EXTR_IN Continuous
External ROM function
*1
Section 23.1
EXTRP_IN Pulse *1
EXTR_OUT Continuous *1
Section 23.2
EXTRP_OUT Pulse *1
Others
COMRD Continuous
Read device comment data
*2
Section 24.1
COMRDP Pulse *2
RND Continuous
Random number generation
3
Section 24.2
RNDP Pulse 3
DUTY Continuous Timing pulse generation *2 Section 24.3
CRC Continuous
Cyclic redundancy check
3
Section 24.4
CRCP Pulse 3
DHCMOV Continuous High speed counter move 3 Section 24.5
Block Data Operation
BK+ Continuous
Block data addition
*2
Section 25.1
BK+P Pulse *2
DBK+ Continuous *2
DBK+P Pulse *2
BK- Continuous
Block data subtraction
*2
Section 25.2
BK-P Pulse *2
DBK- Continuous *2
DBK-P Pulse *2