201
counter is 5000, segment 2 interrupt I2101 is generated; when the current value of the counter
equals 20000, segment 3 interrupt I2102 is generated.
Note: When absolute counting is performed in non-cam mode, counting interrupts are
generated sequentially, i.e.,segment 1 interruption, segment 2 interruption, segment 3
interruption... When a segment interrupt occurs, no interrupt occurs even if the count value
reaches the set value of the segment again.
As in the example above, if the count value is increased from 4000 to 5000 and 10000 after
the interruption of segment 1 and 2, the interruption of segment 1 and 2 will not occur again,
and the interruption of segment 3 will occur when the count value continues to increase to
20000.
5-9-6. HSC interruption cycle mode
Mode 1: Single loop (normal mode)
The HSC interruption will not happen after it ends. The following conditions can start the
interruption again.
reset the HSC
Reboot the HSC activate condition
The interruption is generated as the following sequence when single loop execution:
Mode 2: Continuous loop
Continous loop interruption is only suitable for relative counting mode. In continuous loop
mode, the interruption will start again after it is completed. This mode is especially suitable
for the following application:
continuous back-forth movement.
Generate cycle interruption according to the fixed pulse.