Sample program
18-2
18.1 Basic Configuration and Contact Allocations of
Sample Programs
In the sample programs, the internal relays are used for the start contacts of each operation.
Connect them to the input contacts such as switches as needed.
Basic Configuration
Motor driver
Motor driver
Motor
Motor
The positioning unit installed in slot 1. The 1st axis and 2nd axis of the positioning unit
connect to a stepping motor each, with the linear interpolation of the 2nd axis sampled. This
example is shown on the condition that parameter settings for each axis are made in the
positioning setting menu of the programming tool and saved in the positioning unit.
Used contacts and data registers
Number Description
R2 Request home return
R3 Request positioning start
R4 1st axis JOG forward request
R5 1st axis JOG reverse request
R6 2nd axis JOG forward request
R7 2nd axis JOG reverse request
R10 Error clear
R11 Request set value change
R100 Operation enabled flag for 1st axis
R101 1st axis JOG forward OFF edge
R102 1st axis JOG reverse OFF edge
R200 Operation enabled flag for 2nd axis
R201 2nd axis JOG forward OFF edge
R202 2nd axis JOG reverse OFF edge
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com