Omron CQM1H - PROGRAM Programming Manual page 63

Programmable controllers; inner boards
Table of Contents

Advertisement

Interrupt Functions
Encoder
Input mode
inputs
Differential phase
Incrementing
PC Setup
DM 6642 bits
00 to 03
Wiring
38
High-speed counter 0
Reset method
Count
Phase-Z + software
Software
PC Setup
DM 6642 bits
04 to 07
Each cycle
Counter PV
SR 231 and SR 230
The following instructions are used to control high-speed counter operation.
Instruction
CTBL(63)
Register a target value comparison table and start comparison.
Register a range comparison table and start comparison.
Register a target value comparison table.
(Start comparison with INI(61).)
Register a range comparison table.
(Start comparison with INI(61).)
INI(61)
Start comparison with registered comparison table.
Stop comparison.
Change high-speed counter PV.
PRV(62)
Read high-speed counter PV.
The following flags and control bits are used to monitor and control high-
speed counter operation.
Word
Bits
SR 230
00 to 15
High-speed Counter 0 PV
(rightmost 4 digits)
SR 231
00 to 15
High-speed Counter 0 PV
(leftmost 4 digits)
SR 252
00
High-speed Counter 0
Reset Bit
AR 11
00 to 07
High-speed Counter 0
Range Comparison Flags
Depending on the input mode, the input signals from the pulse encoder to the
CPU Unit's input terminal are as shown below.
Terminal
Allocated bit
address
B2 (IN4)
00004
A2 (IN5)
00005
B3 (IN6)
00006
PC Setup
DM 6642 bits
08 to 15
Ladder Program
REGISTER COMP TABLE
Register table.
Start comparison.
MODE CONTROL
Change counter PV.
Start/stop comparison.
Each execution
HIGH-SPEED COUNTER
PV READ
Read counter PV.
Read status of comparison.
Control function
Name
Contains the present value of high-
speed counter 0 (the CPU Unit's
built-in high-speed counter.)
Resets the PV of high-speed
counter 0.
Indicate the range comparison
results for high-speed counter 0.
0: Range condition not satisfied.
1: Range condition satisfied.
Differential phase mode
Encoder phase-A
Encoder phase-B
Encoder phase-Z
Section 1-4
Generate
interrupt.
Execute specified
subroutine.
Interrupt Subroutine
When using interrupts.
Range
comparison
AR 1100 to
results
AR 1107
Function
Incrementing mode
Pulse count input
---
Reset input

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?

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF