Omron CQM1H - PROGRAM Programming Manual page 64

Programmable controllers; inner boards
Table of Contents

Advertisement

Interrupt Functions
Note
PC Setup
Programming
If the software reset is to be used, IR 00006 can be used as an ordinary input.
1. When the input mode is set to incrementing mode, IR 00005 can be used
as an ordinary input.
2. When the reset method is set to software reset, IR 00006 can be used as
an ordinary input.
The following diagram shows a wiring example with an E6B2-CWZ6C NPN
open-collector output.
Encoder
(Voltage: 12 V)
12-V DC power supply
When using high-speed counter 0 interrupts, make the settings in PROGRAM
mode shown below before executing the program.
Input Refresh Word Settings (DM 6638)
Make these settings when it is necessary to refresh inputs. The setting is the
same as that for interval timer 2.
Number of words (2-digit BCD)
Beginning word (2-digit BCD)
Default: No input refresh
High-speed Counter 0 Settings (DM 6642)
If these settings are not made, high-speed counter 0 cannot be used in the
program.
High-speed counter 0 used.
Reset method
0: Phase-Z and software reset
1: Software reset
Input mode
0: Differential phase mode
4: Incrementing Mode
Default: High-speed counter 0 not used.
Changes in the setting in DM 6642 become effective only when power is
turned ON or PC program execution is started.
Use the following steps to program high-speed counter 0.
High-speed counter 0 begins the counting operation when the proper PC
Setup settings are made, but comparisons will not be made with the compari-
CPU Unit
(Differential phase mode)
Black
Phase A
IN4 (Encoder phase A)
White Phase B
IN5 (Encoder phase B)
Orange Phase Z
IN6 (Encoder phase Z)
Brown +Vcc
COM
Blue
0 V (COM)
15
Bit
DM 6638
00 to 16
00 to 15
(IR 000 to IR 015)
15
Bit
0
1
DM 6642
Section 1-4
0
0
39

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents