[2] LEADER_MOVE_FORWARD
;;; This step moves servo_2 (the leader) clockwise. The fol-
;;; lower (servo_1) follows axis two at the ratio.
<NO CHANGE IN DIGITAL OUTPUTS>
turn servo_2 cw reg_506 steps
monitor servo_2:stopped goto next
[3] TIME_DELAY
<NO CHANGE IN DIGITAL OUTPUTS>
delay 500 ms goto next
[4] MASTER_MOVE_REVERSE
<NO CHANGE IN DIGITAL OUTPUTS>
turn servo_2 ccw reg_506 steps
monitor servo_2:stopped goto RATIO_TWO_AXES
Example 9 Ratio Axis to Leader Encoder
[1] RATIO_AXIS_TO LEADER_ENCODER
;;; This example sets up a ratio of a servo motor (axis 1) to
;;; an external encoder. Axis 1 is the follower axis and the
;;; external encoder is the leader axis.
;;;
;;; This step sets up the initial parameters for the servo
;;; motion and programs a ratio for axis 1. The ratio is 2
;;; to 1. From this point on, axis 1 follows all leader posi-
;;; tions and velocity activities using the ratio specified.
<NO CHANGE IN DIGITAL OUTPUTS>
profile servo_1 servo at position maxspeed
store 5000 to reg_16005
store 10000 to reg_16006
goto next
Control Technology Corporation
45
Need help?
Do you have a question about the 2646 MultiPro and is the answer not in the manual?
Questions and answers