beautypg.com

4 cntr function, 1 overview, 4 cntr function 4-29 – Yaskawa MP940 User Manual

Page 122

background image

4.4 CNTR Function

4-29

4

4.4 CNTR Function

This section explains the MP940 counter function (CNTR).

4.4.1 Overview

The MP940’s counter function supports one pulse input (PI). Pulses can be received with a
5-V differential interface.

The MP940 has a latch input signal, enabling counter values to be latched on the latch sig-
nal. It also has a coincidence detection signal output, so the CPU and external devices are
notified when an internally set value matches the counter’s current count.

Counted data is input in a regular cycle with each CPU scan (system, high-speed, or low-
speed).

BAT

RDY
RUN
ALM
BAT
PRT1

6
5
4
3
2
1

NO

PRT2

RUN
INIT
TEST
FLASH
PP
COPY

PORT1

PORT2

POWER

+24V

GND

FG

LED

I/O

TX

R
X

1

2

M
E
C
H
A

T
R

O

L

I

N
K

MP940

CPU

Pulse

input

processor

5-V differen-

tial interface

Latch input

Coincidence detection output

I/O

port