Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
20 Applied Instructions (Positioning Control)
20.7 DRVI / Drive to Increment
535
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)
Function and operation explanation
Cautions about writing during RUN
Avoid writing during RUN after either of the following operations in a circuit block including the pulse output
instruction or positioning instruction.
Changing a program for a circuit block including a corresponding instruction.
Changing a program for a circuit block just before or after a circuit block including a corresponding
instruction.
Deleting or adding a circuit block just before or after a circuit block including a corresponding instruction.
This caution about the above operations is applicable to the following PLCs and instructions.
FX
1S, FX1N and FX1NC PLCs : PLSY, DPLSY, PWM, PLSR, DPLSR, ZRN, DZRN, PLSV,
DPLSV, DRVI, DDRVI, DRVA and DDRVA
FX
2N and FX2NC PLCs : PLSY, DPLSY, PWM, PLSR and DPLSR
FX
3S, FX3G, FX3GC, FX3U and FX3UC PLCs: DSZR, DVIT
*1
, DDVIT
*1
, DTBL
*2
, ZRN, DZRN, PLSV, DPLSV,
DRVI, DDRVI, DRVA and DDRVA
Note that the pulse output will decelerate and stop when writing during RUN is executed in the FX
3S, FX3G,
FX
3GC, FX3U or FX3UC PLC.
*1. Not available for the FX
3S, FX3G or FX3GC PLC.
*2. Not available for the FX
3S PLC.
Cautions
1) Instruction driving timing (FX1S, FX1N, FX1NC PLCs)
This is an instruction allowed to program as many times as desired, but you are advised to design the
instruction driving timing according to the following cautions.
a) Do not drive simultaneously the positioning instruction using the same output relay (Y000 or Y001).
If driven simultaneously, it is handled as double coil, and normal function is disabled.
b) After turning OFF the direction input of the instruction, drive again after the following condition is
established.
Condition:Re-driving is allowed after one operation cycle or more from the OFF moment of "pulse
output mode monitor (Y000: [M8147], Y001: [M8148]" of the positioning instruction driven
previous time.
This is because one or more OFF operation is required for re-driving of the positioning instruction.
c) We recommend the step-ladder instruction (STL) as a method of programming correctly the
positioning instruction according to the cautions mentioned above.
DRVI
EN
s1
ENO
d1
d2s2
Number of output pulses (relative address)
Command
input
Output pulse frequency
Device for issuing pulse (Y)
Device of rotating direction signal
DDRVI
EN
s1
ENO
d1
d2s2
Command
input
Number of output pulses (relative address)
Output pulse frequency
Device for issuing pulse (Y)
Device of rotating direction signal