Omron CQM1H - PROGRAM Programming Manual page 283

Programmable controllers; inner boards
Table of Contents

Advertisement

Timer and Counter Instructions
High-speed Counter PV
(C=000)
258
Inner Board
Pulse I/O Board
High-speed counter 1 or pulse
output 1
High-speed counter 2 or pulse
output 2
Absolute Encoder
Absolute high-speed counter 1
Interface Board
Absolute high-speed counter 2
High-speed Counter
High-speed counter 1
Board
High-speed counter 2
High-speed counter 3
High-speed counter 4
The control data, C, determines which type of data will be accessed.
C
000
High-speed counter PV
001
Status of high-speed counter or pulse output
002
Range comparison results
The following table shows which values of C can be used with each function.
Unit/Board
CPU Unit
Transistor Output Unit
Pulse I/O Board
Absolute Encoder Interface
Board
High-speed Counter Board
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.
Mode
Differential phase mode
Incrementing mode
Function
Data
Function
High-speed counter 0
Pulse output
High-speed counters 1 and 2
Pulse outputs 1 and 2
Absolute high-speed counters
1 and 2
High-speed counters 1 to 4
Possible values
F003 2768 to 0003 2767
0000 0000 to 0006 5535
Section 5-16
Port specifier (P)
Slot 1
Slot 2
---
001
---
002
---
001
---
002
101
001
102
002
103
003
104
004
Destination word(s)
D and D+1
D
D
Values of C
000
001
002
YES
---
---
---
---
---
YES
YES
YES
---
YES
---
YES
YES
YES
YES
YES
---

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents