EasyManua.ls Logo

Omron CQM1H - PROGRAM

Omron CQM1H - PROGRAM
602 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
258
Timer and Counter Instructions Section 5-16
The control data, C, determines which type of data will be accessed.
The following table shows which values of C can be used with each function.
High-speed Counter PV
(C=000)
If C is 000, PRV(62) reads the specified high-speed counter’s PV and writes
the 8-digit value in D and D+1. The leftmost 4 digits are stored in D+1 and the
rightmost 4 digits are stored in D. A hexadecimal value of F in the most signif-
icant digit of PV indicates that the PV is negative.
PRV(62) reads the same high-speed counter PV information stored in the IR
words allocated for that purpose (IR 230 and IR 231 for high-speed counter 0,
IR 200 to IR 207 or IR 232 to IR 239 for high-speed counters 1 to 4), but the
allocated IR words are refreshed just once each cycle while PRV(62) reads
the most up-to-date values.
CPU Unit: Built-in High-speed Counter 0
The following table shows the possible 8-digit BCD values for the PV of high-
speed counter 0.
Inner Board Function Port specifier (P)
Slot 1 Slot 2
Pulse I/O Board High-speed counter 1 or pulse
output 1
--- 001
High-speed counter 2 or pulse
output 2
--- 002
Absolute Encoder
Interface Board
Absolute high-speed counter 1 --- 001
Absolute high-speed counter 2 --- 002
High-speed Counter
Board
High-speed counter 1 101 001
High-speed counter 2 102 002
High-speed counter 3 103 003
High-speed counter 4 104 004
C Data Destination word(s)
000 High-speed counter PV D and D+1
001 Status of high-speed counter or pulse output D
002 Range comparison results D
Unit/Board Function Values of C
000 001 002
CPU Unit High-speed counter 0 YES --- ---
Transistor Output Unit Pulse output --- --- ---
Pulse I/O Board High-speed counters 1 and 2 YES YES YES
Pulse outputs 1 and 2 --- YES ---
Absolute Encoder Interface
Board
Absolute high-speed counters
1 and 2
YES YES YES
High-speed Counter Board High-speed counters 1 to 4 YES YES ---
Mode Possible values
Differential phase mode F003 2768 to 0003 2767
Incrementing mode 0000 0000 to 0006 5535

Table of Contents

Related product manuals