Visual kv series – KEYENCE Visual KV Series User Manual
Page 283

5.3 Examples of Using the Positioning Control Function
Visual KV
Series
1
5
Chapter 5 Positioning Control
3-259
5.3.3
Application Examples of the Positioning Control
Function
Ladder example of ramp-up/down control
When start switch 0000 is set to ON, output 0502 starts to output 100,000 pulses
with a startup frequency of 500 Hz, operating frequency of 10 kHz, and acceleration/
deceleration time of 3 seconds.
When input 0001 is set to ON, pulse output is decelerated and stopped.
When input 0002 is set to ON, pulse output is immediately stopped.
■ Program example
0
100000
500
1000
Speed (Hz)
Coordinate (pulses)
Permit interrupts when operation is
started (so that emergency stop
operations are available).
2008
2002
EI
0001
0002
0003
0004
0005
0006
0007
0008
0009
#34464
DW
#00001
DW
#03000
DW
#10000
DW
#00500
DM1484
DM1485
DM1482
DM1481
DM1480
DW
0000
2309
RES
2310
0001
2308
RETI
ENDH
END
INT
0002
HSP
0002
2002
Set the input time constant of input
0002 to 10 µs.
Set each parameter, and start pulse
output at the same time.
Decelerate and stop pulse output.
Perform emergency stop processing
by using an interrupt program.
KVNKA Chap 05.p65
08.3.11, 0:09 PM
259