beautypg.com

Visual kv series, Ladder example of a return to the zero point, Chapter 5 positioning control – KEYENCE Visual KV Series User Manual

Page 286

background image

5.3 Examples of Using the Positioning Control Function

Visual KV

Series

5

Chapter 5 Positioning Control

3-262

Ladder example of a return to the zero point

A return to the zero point is performed.

When start signal 0000 turns ON, the machine moves at a high speed in the CCW
direction. When the zero point sensor turns ON, the machine decelerates, moves at
a low speed in the CW direction, then stops in the position at which the zero point
sensor turns OFF (at the end of the CW direction).

Program example

Range detected by
zero point sensor

Low speed

Forced stop

Start

Deceleration
and stop

High-speed

0001

0002

0003

0004

0005

0006

0007

0008

0009

0010

0011

0012

0013

0014

0015

0016

0017

0018

0019

2008

2002

EI

1005

SET

HSP

0003

#65535

DW

#00000

DW

#00500

DW

#10000

DW

#00500

DM1484

DM1485

DM1482

DM1481

DM1480

DW

0503

RES

2413

RES

1006

RES

2309

RES

1000
DIFU

0000

1000

2309

1007
DIFU

1005

1007

2309

0503

SET

2413

SET

#65535

DW

#00000

DW

#00500

DW

#10200

DW

#00200

DM1484

DM1485

DM1482

DM1481

DM1480

DW

1006

1006

2309

2310

1006

END

INT

0003

1005

RES

1006

SET

2308

SET

1005

RETI

ENDH

2308

RES

Return to zero point

Zero point sensor: 0003 Start signal: 0000 Pulse output: 0502
Rotation direction: 0503

Initial setting

Moves at high speed in the CCW direction.

When the zero point sensor turns ON, moves at low speed in the CW direction.

Detects the rising/falling edge of the zero point sensor (003), stops, and
then changes direction.

KVNKA Chap 05.p65

08.3.11, 0:09 PM

262