Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
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".
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(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
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z
z
z
z z z z
S4
S5
z z
z
z z
z
z
z
z z z z
S4
S5
z z
z
z z
S1
z
S2
z
z
S3
z
DRVI
EN
s1
ENO
d1
d2
s2
DDRVI
EN
s1
ENO
d1
d2
s2