■
Sample program
(1) Positioning operation is running
(2) Positioning operation starts
(3) Resets the elapsed value of the high-speed counter CH0.
(4)
Target value match OFF instruction: Y0 turns OFF when the elapsed value of the high-speed counter
reaches 5000 pulses.
(5) Sets the inverter operation signal Y0.
(6) Positioning done pulse (0.5 sec)
(7) Sets 0.5 sec with 0.1-second timer.
10.3.5 Sample Program (Positioning Operation With Inverter: Double-Speed)
Counts the feedback signals from the encoder with the high-speed counter. Switches the
inverter operation to low speed operation when the count value reaches 4500. The operation of
the inverter stops when the count value reaches 5000.
10.3 High-speed Counter Instruction
WUME-FPXHPOSG-01 10-17