383
6
6 Positioning and Interpolation PLSY: Pulse output
Frequency
Time
Target
position
Flow ON
Settingalimited number
of pulses
V
Thepulse count set
8) 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
matter whether the pulse output is nished. No pulse will be output no matter whether the ow of the pulse
output instruction B using the output port is active. Because the resources of this high-speed output port
have been occupied by the instruction A, an error indicating port duplication or conict is returned. In this
case, you can enable the output initialization ag bit of this port to release the port resources, and then
pulses are output when the ow of the pulse output instruction B using the output port is active.
Network11
Flag of Y0 output initialization
Stop thecurrent outputimmediately, andstart thenext high-speedoutputinstruction
As shown in the preceding gure, M100 is active, and drives Y0 to output 20,000 pulses at a frequency
of 1000 Hz. If the output is driven by M100 but the user wants to set M200 to ON to immediately start the
output (SET M8351 in the preceding gure), the high-speed output driven by M100 stops immediately, the
instruction driven by M200 occupies the high-speed output port Y0, and the set high-speed output starts
immediately.