Mitsubishi Electronics QD64D2 Drums User Manual


 
5 - 4
5.2 Selecting a Counter Format
5.2.1 Selecting the linear counter
5
FUNCTIONS
5.2.1 Selecting the linear counter
(1) Linear counter operation
(a) For the linear counter, the counting is executed within the range of -2147483648
to 2147483647.
Figure 5.1 Operation image of the linear counter
(b) The following functions can be used in combination.
Counter value comparison function (Coincidence output function, continuous
comparison function)
Coincidence detection interrupt function
Preset function
Latch counter function
(2) Overflow error
(a) If the present value (Un\G12 and 13) exceeds the range of -2147483648 to
2147483647, an overflow error occurs.
(b) The following are processed at the overflow error.
The counting stops. Even if a pulse is input at this status, the present value
(Un\G12 and 13) remains at -2147483648 or 2147483647.
"1" is stored in the overflow detection flag (Un\G16).
The error occurrence (X0D) turns ON, and the error code 100 is stored in the
error code (Un\G18).
(c) The overflow error can be cleared by setting the present value (Un\12 and 13)
within the range of -2147483648 to 2147483647 using the preset function.
When the overflow error is cleared, "0" is stored in the overflow detection flag
(Un\G16) and the counting can be restarted.
However, the error occurrence (X0D) remains ON and the stored value of the
error code (Un\G18) is held even after presetting.
Turn ON the error reset command (Y0D) to reset the error.
+2147483647
-2147483648
Present value
Overflow
Overflow
Addition
Subtraction
0