Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
2 Instruction List
2.3 Applied Instructions
36
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
*1. The instruction is provided in the FX3UC PLC Ver. 2.20 or later.
*2. The instruction is provided in the FX
2N and FX2NC PLCs Ver. 3.00 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)
Data Operation 2
WSUM Continuous
Sum of word data
*1
Section 19.1
WSUMP Pulse *1
DWSUM Continuous *1
DWSUMP Pulse *1
WTOB Continuous
WORD to BYTE
*1
Section 19.2
WTOBP Pulse *1
BTOW Continuous
BYTE to WORD
*1
Section 19.3
BTOWP Pulse *1
UNI Continuous
4-bit linking of word data
*1
Section 19.4
UNIP Pulse *1
DIS Continuous
4-bit grouping of word data
*1
Section 19.5
DISP Pulse *1
SWAP Continuous
Byte swap
33
Section 19.6
SWAPP Pulse 33
DSWAP Continuous 33
DSWAPP Pulse 33
SORT2 Continuous
Sort tabulated data 2
*1
Section 19.7
DSORT2 Continuous *1
Positioning Control
DSZR Continuous Dog search zero return 333 Section 20.1
DVIT Continuous
Interrupt positioning
3
Section 20.2
DDVIT Continuous 3
DTBL Continuous Batch data positioning mode *1 3 Section 20.3
DABS Continuous Absolute current value read 333*2 33 Section 20.4
ZRN Continuous
Zero return
333 33
Section 20.5
DZRN Continuous 333 33
PLSV Continuous
Variable speed pulse output
333 33
Section 20.6
DPLSV Continuous 333 33
DRVI Continuous
Drive to increment
333 33
Section 20.7
DDRVI Continuous 333 33
DRVA Continuous
Drive to absolute
333 33
Section 20.8
DDRVA Continuous 333 33
Real Time Clock Control
TCMP Continuous
RTC data compare
333333
Section 21.1
TCMPP Pulse 333333
TZCP Continuous
RTC data zone compare
333333
Section 21.2
TZCPP Pulse 333333
TADD Continuous
RTC data addition
333333
Section 21.3
TADDP Pulse 333333
TSUB Continuous
RTC data subtraction
333333
Section 21.4
TSUBP Pulse 333333
HTOS Continuous
Hour to second conversion
3
Section 21.5
HTOSP Pulse 3
DHTOS Continuous 3
DHTOSP Pulse 3
STOH Continuous
Second to hour conversion
3
Section 21.6
STOHP Pulse 3
DSTOH Continuous 3
DSTOHP Pulse 3