Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
20 Applied Instructions (Positioning Control)
20.8 DRVA / Drive to Absolute
537
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Applied Instructions
(Data Operation)
12
Applied Instructions
(High Speed
Processing)
13
Applied Instructions
(Handy
Instruction)
14
Applied Instructions
(External FX I/O
Device)
15
Applied Instructions
(External Device
(optional device))
16
Applied Instructions
(External Device)
17
Applied Instructions
(Data Transfer 2)
18
Applied Instructions
(Floating Point)
19
Applied Instructions
(Data Operation 2)
20
Applied Instructions
(Positioning
Control)
20.8 DRVA / Drive to Absolute
Outline
This instruction performs one-speed positioning by absolute drive. The moving distance from the origin (0
point) is specified, and this is also called absolute driving method.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
Function and operation explanation
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
DRVA 16 bits Continuous DRVA(EN,s1,s2,d1,d2);
DDRVA 32 bits Continuous DDRVA(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 (absolute 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
VZModifierKH E
""
P
zzzzzzz
S4 S5
zz z z z
zzzzzzz
S4 S5
zz z z z
S1
z
S2
zz
S3
z
DRVA
EN
s1
ENO
d1
d2s2
DDRVA
EN
s1
ENO
d1
d2s2
DRVA
EN
s1
ENO
d1
d2s2
Command
input
Device for issuing pulse (Y)Number of output pulses (absolute address)
Output pulse frequency Device of rotating direction signal
DDRVA
EN
s1
ENO
Number of output pulses (absolute address)
d2s2
Command
input
Output pulse frequency
Device for issuing pulse (Y)
Device of rotating direction signal