Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
20 Applied Instructions (Positioning Control)
20.6 PLSV / Variable Speed Pulse Output
532
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
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 become as shown below when writing during RUN is executed in the FX
3S,
FX
3G, FX3GC, FX3U or FX3UC PLC.
*1. Not available for the FX
3S, FX3G or FX3GC PLC.
*2. Not available for the FX
3S PLC.
*3. Only available for FX
3UC (Ver.2.20 or later), FX3S, FX3G, FX3GC and FX3U PLCs.
Function changes by version
This instruction includes the function changes as shown in the table below depending on the version.
As for the explanation of the instruction and contents of function changes, refer to the positioning
control manual.
FX
1S, FX1N, FX1NC are not applicable to this function.
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.
2) When output pulse frequency is changed to K0 during pulse output (FX
1S, FX1N, FX1NC PLCs), the PLC
stops the pulse output.
When sending output again, once turn OFF the flag during pulse output (Y000: [M8147], Y001: [M8148]),
and after lapse of one operation cycle, set again (change) the output pulse frequen
cy to other value than
K0.
Operation of FX3S, FX3G, FX3GC, FX3U or FX3UC PLC when writing
during RUN is attempted while a corresponding instruction is executed
When operating with
acceleration or deceleration
*3
Pulse output slows down and stops.
When operating without
acceleration or deceleration
Pulse output stops immediately.
Corresponding version
Added function Outline of function
FX3S FX3G FX3GC FX3U FX3UC
Ver. 1.00
or later
Ver. 1.00
or later
Ver. 1.40
or later
Ver. 2.20
or later
Ver. 2.20
or later
Acceleration or
deceleration
operation function
When M8338 is turned ON, the operation accelerates or
decelerates up to by setting of acceleration time or
deceleration time corresponding to when is
changed.