2-Phase Pulse Input - Mitsubishi AJ65BT-D62 User Manual

Table of Contents

Advertisement

5. PULSE INPUT AND COUNTING METHOD

5.2 2-phase pulse input

In 2-phase pulse input, the counting mode can be selected from multiplication by one,
two and four.
(1) Relationship between phase A pulse input and phase B pulse input
The following diagram shows the relationship between phase A pulse input and
phase B pulse input.
Phase A pulse input
Encoder
Phase B pulse input
(2) Counting mode setting
To use this counting mode, set the following value to the lower 8 bits of the remote
register {address RWwm+2 (RWwm+A)} using the sequence program.
When the value set is not the following set value, the initial value (1-phase
multiplication by one) is set.
Counting Mode
2-phase multiplication by one
2-phase multiplication by two
2-phase multiplication by four
Address
15
RWwm+2(CH1)
0
0
RWwm+A(CH2)
External output hold/clear setting
   
0: Clear
1: Hold
(Refer to Appendix 1)
[Sequence program example]
• Counting in 1-phase, multiplied-by-two mode
Write command
×
: First I/O number of master module
: Corresponding station register address of master module buffer memory
POINT
Exercise care when setting the pulse input mode, since the upper 8 bits are used
for the counter function selection register and external output hold/clear setting.
To A
To B
Setting
02
H
03
H
04
H
Set in hexadecimal.
0
4 bits
Counter function
Pulse input mode register
selection register
(Refer to Chapter 9)
MOV
H0003
D0
TO
H
×
H
D0
K1
5 - 3
MELSEC-A
High-speed counter module
0
8 bits

Advertisement

Table of Contents
loading

This manual is also suitable for:

Aj65bt-d62dAj65bt-d62d-s1

Table of Contents