Examples of stepping motor control, Kv -300 – KEYENCE Visual KV Series User Manual

Page 324

Advertising
background image

6.3 Positioning Control

KV

-300

KV-10/80

3-300

6

Chapter 6 Interrupts, High-speed Counters, Positioning Control

DM9409

DM9408

0

DM9411

DM9412

DM9410

DM9410

2310

(START)

2309

(RUN)

2308

(STOP)

COM

0000
0001
0002

0500
0501
0502
0503

1

11

2

12

7
8
9

10

COM 20

24 VDC

+

KV-300

+

+

FG

24 VDC

– +

Twisted pair cable

CW (pulse)

CCW
(rotation
direction)

Stepping motor driver

Stepping motor

Emergency stop

Stop

Star

t

Operation chart (when 0500 is used)

Note 1: When special utility relay 2310 (2313) is turned ON at start of clock pulse,
2309 (2312) turns ON and the clock pulse is output, assuming parameter settings
are correct.

Note 2: If a parameter setting for the X-axis or Y-axis is incorrect, 2309 (2312) does
not turn ON and an error code is written into DM9407. Check the error code and
adjust the parameter setting.

Note 3: By resetting 2309 (2312) within the interrupt program, you can stop the
clock pulse immediately. You must reset 2309 within the interrupt program; other-
wise, the clock pulse is not stopped.

Note 4: Because the clock pulse is output under software control, the pulse width is
extended by 10 µs to 20 µs in the pulse change cycle. Test the clock pulse output on
the KV-300 system before using it in practical applications.

Examples of stepping motor control

Connection example
The following reference example shows how to connect the KV-300 CPU to a
stepping motor driver. Refer to the stepping motor driver instruction manual for
details.
Set the pulse input mode for the stepping motor driver to "Pulse input mode 1".

DM9408: Start frequency (Hz)
DM9409: Run frequency (Hz)
DM9410: Acceleration time (ms)
DM9411: Output pulse count

(high-order 16 bits)

DM9412: Output pulse count

(low-order 16 bits)

When 2310 turns ON, clock pulse is output.
(rising [UP] edge is detected.)
2309 is ON during clock pulse output. When
pulse output is stopped, 2309 turns OFF.
When turning ON 2308, clock pulse
decelerates and stops (rising [UP] edge is
detected.)

KVNKA Chap 06.p65

08.3.11, 0:10 PM

300

Advertising