Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
20 Applied Instructions (Positioning Control)
20.7 DRVI / Drive to Increment
534
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
20.7 DRVI / Drive to Increment
Outline
This instruction performs one-speed positioning by relative drive. The moving distance from the present
position is specified together with plus or minus sign, and this is also called increment (relative) driving
method.
As for explanation of the instruction, see the positioning control manual.
As for cautions of use of high speed output special adapter, see the positioning control manual.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder/FBD ST
DRVI 16 bits Continuous DRVI(EN,s1,s2,d1,d2);
DDRVI 32 bits Continuous DDRVI(EN,s1,s2,d1,d2);
Variable Description
Data type
16-bit
operation
32-bit
operation
Input
variable
EN Execution condition Bit
Number of output pulses (relative address) ANY16 ANY32
Output pulse frequency ANY16 ANY32
Output
variable
ENO Execution state Bit
Device for issuing pulse (Y) Bit
Device of rotating direction signal Bit
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Cons
tant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
""
P
z z z z zzz
S4 S5
zz z z z
z z z z zzz
S4 S5
zz z z z
S1
z
S2
zz
S3
z
DRVI
EN
s1
ENO
d1
d2s2
DDRVI
EN
s1
ENO
d1
d2s2