Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
12 Applied Instructions (High Speed Processing)
310
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
12.10 PLSR / Acceleration/Deceleration Setup
The pulse output is controlled by the dedicated hardware not affected by the sequence program (operation
cycle).
If the command input is set to OFF during continuous pulse output, the output from the device specified by
turns OFF.
5. Restrictions to target devices
S1: Refer to item 4 in "Cautions".
S2: The FX
3G, FX3GC, FX3U and FX3UC PLCs only are applicable.
S3: The FX
3U and FX3UC PLCs only are applicable.
6. Handling of pulse output terminals in the main units of the FX3S, FX3G, FX3GC, FX3U and
FX
3UC PLCs.
Refer to item 6 in 12.8 "Cautions".
7. Cautions on using special high speed output adapters
Refer to item 7 in 12.8 "Cautions".
8. Others
1) When using the same output relay (Y000 or Y001) in several instructions.
While a pulse output monitor (BUSY/READY) flag is ON a pulse output instruction and positioning
instruction for the same output relay cannot be executed.
While a pulse output monitor flag is ON even after the instruction drive contact is set to OFF, a pulse
output instruction or positioning instruction for the same output relay cannot be executed.
Before executing such an instruction, wait until the pulse output monitor flag turns OFF and one or more
operation cycles pass.
(Only the FX
1S, FX1N, FX1NC, FX3S, FX3G, FX3GC, FX3U and FX3UC PLCs are compatible with the pulse
output monitor flags.)
2) Minimum frequency for FX
1S and FX1N PLCs
The output frequency of the PLSR instruction ranges from 10 to 100,000 Hz.
If the maximum speed or the speed during acceleration or deceleration goes out of this range, the value
is automatically rounded up or down to a value within the range.
Note, however, that the following equation defines the minimum output frequency actually generated.
Note that the frequency after the first step acceleration or the final frequency after deceleration does
not go below the value calculated by the above equation.
[Example] Maximum speed: 50000Hz Acceleration/deceleration time: 100ms
When setting 50000 Hz into the maximum frequency
The actual output frequency is "500 Hz" at the first step of acceleration and the last step of
deceleration.
Pulse output destination
device
Pulse output monitor flag
FX3U, FX3UC FX3S, FX3G, FX3GC FX1S, FX1N, FX1NC
Y000 M8340 M8340, M8147 M8147
Y001 M8350 M8350, M8148 M8148
S1
S3
maximum frequency Hz (2 (acceleration or deceleration time ms 1000)) =
minimum
frequency of
output pulse
frequency
50000 (2 (100 1000)) = 500Hz
÷÷
×
S
1
500Hz 500Hz
500Hz