High-Speed Counter 0 Overflows/Underflows - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Interrupt Functions
25315 (ON for 1 scan)
25313 (Always ON)
25313 (Always ON)
1-4-7

High-speed Counter 0 Overflows/Underflows

42
DM 0005: 0000
DM 0006: 0102 — Comparison 2 interrupt subroutine: 102
CTBL(63)
DM 0000
SPED(64)
#0050
SBN(92) 101
SPED(64)
#0020
RET(93)
SBN(92)
SPED(64)
#0000
RET(93)
When the program is executed, operation will be as follows:
Pulse frequency (Hz)
500
200
If the allowable counting range for high-speed counter 0 is exceeded, and
underflow or overflow status will occur and the counter's PV will remain at
0FFF FFFF for overflows and FFFF FFFF for underflows until the overflow/
underflow status is cleared by resetting the counter. The allowable counting
ranges are as follows:
Differential phase mode: F003 2768 to 0003 2767
Incrementing Mode: 0000 0000 to 0006 5535
Note
1. The values given above are theoretical and assume a reasonably short cy-
cle time. The values will actually be those that existed one cycle before the
overflow/underflow existed.
Saves the comparison table in target matching format,
000
and begins comparing.
000
020
Begins continuous pulse output to IR10002 at 500 Hz.
001
When the high-speed counter value reaches 1000, subroutine
020
101 is called and the frequency of the pulse output is changed to
001
200 Hz.
102
When the high-speed counter value reaches 2000, subroutine 102
020
is called and the pulse output is stopped by setting the frequency
to 0.
001
0
Section 1-4
Time elapsed (s)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF