5 - 6 5 - 6
MELSEC-Q
5 BASIC USAGE
(a) The ring counter will operate as follows when the "present value < ring
counter minimum value" or "ring counter maximum value < present value".
• For up count
Even if the present value reaches the ring counter minimum value, the
ring counter minimum value will be retained as is. With the next addition
pulse, (ring counter maximum value +1) will be stored as the present
value.
• For down count
When the present value reaches the ring counter maximum value, the ring
counter minimum value is automatically stored as the present value.
Whether during up count or down count, the ring counter maximum value
will not be stored in the buffer memory for storing the present values.
For example, if the count is enabled with the ring counter minimum value of
0, the ring counter maximum value of 2000 and the present value of 3000,
the count range and present value will change as shown in the figure below.
– 2147483648
Ring counter minimum value
Present value
Ring counter maximum value
0
3000
2000
2147483647
Ring counter
maximum value
Ring counter
minimum value
(2000)
Present value
3000
3001
2001
to
– 2
– 1
0
to
2002
2998
2147483647 –2147483648
to
2999
Count range
Count range
The ring counter maximum value,
2000, will not be stored in the buffer
memory for storing the present values.
(b) When the "ring counter's minimum value is equal to the ring counter's
maximum value", the count range will cover any value that can be expressed
in 32-bit signed binary values (-2147483648 to 2147483647), regardless of
the present value.
POINT
(1) When the count enable command {Y04(Y0C)} is ON, the set values for the
buffer memory will not change even if values are written as the minimum value
and maximum value of the ring counter. To change the ring counter maximum
and minimum value settings, first turn the count enable command OFF.
(2) When the count range is to be changed using preset, always change it after
first turning the count enable command {Y04(Y0C)} OFF.
Содержание QD62
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 A 11 MEMO ...
Страница 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Страница 91: ...7 17 7 17 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT Counter selection 1 Coincidence output Ring counter ...
Страница 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Страница 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Страница 127: ......
Страница 128: ......