CONNECT command

CONNECT command

Question:
I use the CONNECT command and when I change the ratio the encoder slave doesn't move in the axis. I see the pulses of the master encoder move.
This is the code:

BASE(0) ' slave (following) axis
SERVO = ON
UNITS = 4000
DEFPOS(0)

BASE(2) ' master axis
SERVO=ON
UNITS = 800
SPEED = 100
ACCEL = 1000
DECEL = 1000
WDOG = ON

CONNECT(0.3,2) AXIS(0)

For example if I write CONNECT(0.3,2) AXIS(0) the slave encoder doesn't move.

Solution:
It is probably moving but more slowly that you expected. The CONNECT ratio is encoder counts out / encoder counts in. It does not use UNITS. So your ratio should be 0.3 * 4000 / 800. Then you should see it move better.
    • Related Articles

    • Encoder_ratio / Step_ratio

      I have a problem setting high STEP_RATIO values. Answer: There is a ratio limit on the step ratio of 100:1 STEP_RATIO(-12600, 126) is OK but any higher ratio will give the error. Using a high ratio like the above is actually not a good idea. You are ...
    • Enquiry about MC508 encoder axes

      A customer wants to know if he can use mixed encoders on the MC508. For example, Axes 0 to 5 are Endat absolute encoders and 6 and 7 are incremental encoders. Answer: By using the ATYPE command you can set any of the 8 axes to be either incremental ...
    • MC4N Sync Encoder

      The encoder axis in the MC4N will automatically set itself up. With no EtherCAT axes it will be axis 0 and the ATYPE will show as either 44 (servo) or 76 (incremental encoder). You can connect an encoder and it will count the pulses straight away. ...
    • Analog incremental linear encoder input to Trio

      We are looking to retrofit a Trio controller to a 3 axis CNC machine which has heidenhain analog incremental linear encoders fitted (1Vpp - 40um linear period) but unsure which if any controller has this function available. Can you advise please - ...
    • Trio Motion Coordinator MC403 sudden axis status error

      Q: We always come up with “Axis Status: Error” and the active status flag is W (1) – Following error warning range and motor stops nearly instantly with E (8) – Following error exceeds limit.  How can we solve it? A: With SERVO=OFF, can you make the ...