408
6
6 Positioning and InterpolationPLSR: Pulse output with acceleration/deceleration
Y0 Y1 Y2 Y3 Y4 Attribute
D8342 D8362 D8382 D8402 D8422
Maximum speed (Hz) (32-bit) [default
value: 200,000]
D8343 D8363 D8383 D8403 D8423
D8347 D8367 D8387 D8407 D8427 Base speed (Hz) [The default value is 500]
Setting of the instruction parameters
Acceleration time (ms) [The default value
is 100]
D8349 D8369 D8389 D8409 D8429
Deceleration time (ms) [The default value
is 100]
4) The actual minimum output frequency (that is, the minimum base output frequency) is
calculated according to the following formula:
Vset(Hz)
2×Tacc (ms)/1000
Vmin=
5) The number of output pulses can be increased or decreased during instruction execution.
Before modifying the number of output pulses, you need to set the "pulse modication valid ag bit" (M8350,
M8370, M8390, M8410, or M8430; default: OFF) of special elements. See the following table.
Y0 Y1 Y2 Y3 Y4 Attribute
M8350 M8370 M8390 M8410 M8430
[Positioning instruction] Enable the
separate setting of the acceleration/
deceleration time and modication
to the pulse
Note that the modied position must be larger than the current pulse position. See the following gure.
Frequency
Time
Current
position
Target
position
Flow ON
Position
modified
(increase)
Position
modified
(decrease)
6) You can enable the ag bit to release the high-speed output port resources, so that the next
pulse output instruction is started immediately without disabling the previous instruction ow.
The "port output initialization ag bit" of special elements must be set. See the following table.
Y0 Y1 Y2 Y3 Y4 Attribute
M8351 M8371 M8391 M8411 M8431 Port output initialization ag
If the ow of the pulse output instruction A is active, the instruction occupies the high-speed output port no