Use this function to start and stop the high-speed counter. Turn ON the high-speed counter flag under the CH special I/O control in the system variable (#L_ExIOSpCtrl) to start, and turn it OFF to stop the counter. The Operation bit will differ depending on the CH to which you allocate the high-speed counter.
#L_ExIOSpCtrl
Special I/O control
Turn ON the start bit of the CH (0 bit) to start and turn it OFF to stop the output.