Selecting The Counter Format; Selecting The Linear Counter - Mitsubishi Electric QD62 User Manual

Melsec system q, programmable logic controller, high-speed counter module, gx configurator-ct
Hide thumbs Also See for QD62:
Table of Contents

Advertisement

5 BASIC USAGE

5.2 Selecting the Counter Format

5.2.1 Selecting the linear counter

5 - 4
Select either linear counter or ring counter with the GX Developer intelligent function
module.
See Section 4.5 for details on the setting method.
(1) Linear counter operation
When the linear counter is selected, the count operation is performed between
–2147483648 (minimum value) and +2147483637 (maximum value).
The linear counter can be used in combination with the preset function and the
coincidence output function.
Counter present value
Subtraction
Overflow
(2) Overflow error
(a) When the counter format is linear counter, an overflow error occurs if the
present counter value exceeds –2147483648 (minimum value) during
subtraction or exceeds +2147483647 (maximum value) during addition.
(b) When an overflow error occurs, 1 is stored in the buffer memory overflow
detection flag (addresses CH1: 8
a pulse is input, the present value will not change from –2147483648 or
+2147483647.
(c) Performing a preset will cancel the overflow error.
When a preset is performed, 0 is stored in the buffer memory overflow
detection flag and the count resumes.
(d) When an overflow error occurs, a generated module error can be viewed on
the system monitor by clicking "Diagnosis" - "System monitor" menu in the
GX Developer.
Overflow
+ 2147483647
0
Addition
– 2147483648
, CH2: 28
H
MELSEC-Q
) and the count stops . Even if
H
5 - 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd62eQd62dSw0d5c-qctu-e

Table of Contents