Kv -300 – KEYENCE Visual KV Series User Manual
Page 306

6.2 High-speed Counters
KV
-300
KV-10/80
3-282
6
Chapter 6 Interrupts, High-speed Counters, Positioning Control
■ 16-bit high-speed counter (CTH1) and special utility relays (2203 to 2205,
2208 to 2212)
By setting the special utility relays 2204 to 2205 and 2208 to 2212 at startup or
changing these relays during generation of clock pulse, you can select ON/OFF of
output relay 0501 as listed below.
These special utility relays also allow you to set the pulse cycle
•
Special utility relay must be ON when clock pulse is generated.
•
Only one of relays 2208 to 2211 can be turned ON. When two or more of the
relays among each group are ON, priority is given to the relay with the
smallest No.
•
Turning ON special utility relay 2204 and turning OFF special utility relay
2208 enable direct output.
•
ON/OFF status of special utility relays 2204 to 2212 is set using SET and
RES instructions or STA instruction.
•
Be sure to turn the special utility relay 2203 or 2212 ON to change the pulse
width.
•
Turn ON 2203 or 2212 to change the pulse cycle.
Turn OFF 2205 to start clock pulse output. Turn ON 2205 to stop pulse
output.
•
When special utility relays 2204 and 2208 are turned ON while the direct
clock pulses are being output, the status of the output relay 0501 which is
used in the program is output and the pulses will be stopped.
Timing diagram of 0501 with special utility relay settings
•
Variable pulse width
•
ON-OFF ratio of 1:1
Settings of special utility relays
Settings of special utility relays
CTH1 value
ON
OFF
CTC2
CTH1 value
ON
OFF
CTC2
CTC3
CAUTION
2203
ON
2212
OFF
2204
ON
2208
OFF
2205
OFF
2209
OFF
2206
OFF
2210
OFF
2207
ON
2211
OFF
2203
ON
2212
OFF
2204
ON
2208
OFF
2205
ON
2209
ON
2206
OFF
2210
OFF
2207
OFF
2211
OFF
Pulse status at CTH1 (current value) = CTC (preset value)
Comparator No.
Relay No.
Pulse status at ON.
CTC2
2203
Automatically clears current value of CTH0.
2204
Disables output to 0501.
2205
Outputs OFF to 0501
2207
Inverts output to 0501.
CTC3
2212
Automatically clears current value of CTH0.
2208
Disables output to 0501.
2209
Outputs OFF to 0501
2210
Outputs ON to 0501.
2211
Inverts output to 0501.
KVNKA Chap 06.p65
08.3.11, 0:10 PM
282