A
A-4 CP1L Programming Examples
138
SYSMAC CP1L Getting Started Guide
Ap
pend
ix
z
Origin Search
An accurate origin search that makes use of various I/O signals (origin proximity
input signal, origin input signal, positioning completed signal, error counter reset
output, etc.) can be executed with a single instruction.
z
Positioning
Common settings for the positioning operations are as follows:
• Target frequency 50kHz
• Acceleration/deceleration ratio 2000Hz/4ms
• Initial frequency 0Hz
(1) After completion of the origin search, the equipment will be positioned to point
A (-1000) by absolute pulse specification (absolute coordinate system).
(2) After positioning to point A, the equipment will be positioned to point B
(100000) by absolute pulse specification (absolute coordinate system).
(3) Positioning of points A and B are repeated. Because absolute pulse
specification is used, the positioning SV for (3) will be the same as for (1).
Origin Search Method
Setting
Description
Search direction
CW
Origin search is executed in the CW direction.
Detection method
Methd 0
Reads the first origin input signal after an OFF-ON-OFF
sequence of the origin proximity input signal.
Search operation
Invers 1
Reverses direction on a limit input, and continues the origin
search.
Operating mode
Mode 1
Executes an error counter reset output when the origin is
detected. Positioning completed input will not be used.
Search high speed
10kHz
CCW
Origin input
Contact 0.06
Origin proximity input
Contact 0.02
CW
Pulse
frequency
Search acceleration ratio
2000Hz/4ms
Search deceleration ratio
2000Hz/4ms
Search proximity speed
1000Hz
Point A
Point B
-1000
100000
CW
CCW
Origin
1
2
3
W07E-EN-02+CP1L+GettingStartedGuide.book Seite 138 Montag, 15. September 2008 11:15 11