Omron CQM1H - PROGRAM Programming Manual page 278

Programmable controllers; inner boards
Table of Contents

Advertisement

Timer and Counter Instructions
The following diagram shows the structure of a range comparison table for
use with high-speed counters 1 to 4 when set for linear counting.
TB
Lower limit #1, lower 4 digits (BCD)
TB+1
Lower limit #1, upper 4 digits (BCD)
TB+2
Upper limit #1, lower 4 digits (BCD)
TB+3
Upper limit #1, upper 4 digits (BCD)
TB+4
Bit pattern #1
TB+75
Lower limit #16, lower 4 digits (BCD)
TB+76
Lower limit #16, upper 4 digits (BCD)
TB+77
Upper limit #16, lower 4 digits (BCD)
TB+78
Upper limit #16, upper 4 digits (BCD)
TB+79
Bit pattern #16
The following diagram shows the structure of a range comparison table for
use with high-speed counters 1 to 4 when set for ring counting. The ring value
specifies the number of points in the ring and the maximum count value (ring
value = max. count value+1). Do not change the ring value while a compari-
son is in progress.
TB
Ring value, lower 4 digits (BCD)
TB+1
Ring value, upper 4 digits (BCD)
TB+3
Lower limit #1, lower 4 digits (BCD)
TB+4
Lower limit #1, upper 4 digits (BCD)
TB+5
Upper limit #1, lower 4 digits (BCD)
TB+6
Upper limit #1, upper 4 digits (BCD)
TB+7
Bit pattern #16
TB+77
Lower limit #16, lower 4 digits (BCD)
TB+78
Lower limit #16, upper 4 digits (BCD)
TB+79
Upper limit #16, lower 4 digits (BCD)
TB+80
Upper limit #16, upper 4 digits (BCD)
TB+81
Bit pattern #16
The following table shows the possible values that can be set for high-speed
counters 1 to 4 for target values, lower limit values, and upper limit values.
The hexadecimal value F in the most significant digit indicates that the value
is negative (a negative 7-digit value.)
Data format
BCD
F838 8608 to 0838 8607
Hexadecimal
F800 0000 to 07FF FFFF
Range Comparison Operation
The following diagram illustrates the operation of range comparisons for range
settings 1 through 4 set consecutively in the comparison table.
Count
As illustrated above, the current count is compared against all the comparison
ranges at the same time and the result for each range is output.
First range setting
Sixteenth range setting
Ring value setting
First range setting
Sixteenth range setting
Possible values
Linear counting
0000 0001 to 0838 8607
0000 0001 to 07FF FFFF
0
Range
1
Range
2
Section 5-16
Ring counting
Range
3
Range
4
253

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