Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
2 Instruction List
2.3 Applied Instructions
33
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 FXU PLC Ver. 3.07 or later.
*2. The instruction is provided in the FX
U PLC Ver. 2.10 or later.
*3. The instruction is provided in the FX
0N PLC Ver. 1.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)
Handy Instruction
STMR Continuous Special timer 333Section 13.6
ALT Continuous
Alternate state
333333333
Section 13.7
ALTP Pulse 3333333
RAMP Pulse Ramp variable value 333333333Section 13.8
ROTC Continuous Rotary table control 333Section 13.9
SORT Continuous SORT tabulated data 33*1
Section 13.10
External FX I/O Device
TKY Continuous
Ten key input
333
Section 14.1
DTKY Continuous 333
HKY Continuous
Hexadecimal input
333
Section 14.2
DHKY Continuous 333
DSW Continuous Digital switch 3333333 Section 14.3
SEGD Continuous
Seven segment decoder
333
Section 14.4
SEGDP Pulse 333
SEGL Continuous Seven segment with latch 3333333 Section 14.5
ARWS Continuous Arrow switch 333Section 14.6
ASC Continuous ASCII code data input 333Section 14.7
PR Continuous Print (ASCII code) 333Section 14.8
FROM Continuous
Read from a special function block
33 33 *2 3
Section 14.9
FROMP Pulse 33 33 *2
DFROM Continuous 33 33 *2 3
DFROMP Pulse 33 33 *2
TO Continuous
Write to a special function block
33 33 *2 3
Section 14.10
TOP Pulse 33 33 *2
DTO Continuous 33 33 *2 3
DTOP Pulse 33 33 *2
External Device (optional devices)
RS Continuous Serial Communication 333333*1 *3 Section 15.1
PRUN Continuous
Parallel run (octal mode)
3333333
Section 15.2
PRUNP Pulse 3333333
DPRUN Continuous 3333333
DPRUNP Pulse 3333333
ASCI Continuous
Hexadecimal to ASCII conversion
333333*1 *3
Section 15.3
ASCIP Pulse 333333*1
HEX Continuous
ASCII to hexadecimal conversion
333333*1 *3
Section 15.4
HEXP Pulse 333333*1
CCD Continuous
Check code
333333*1 *3
Section 15.5
CCDP Pulse 333333*1