Sign in to follow this  
Followers 0
KimM

Slave Axis

3 posts in this topic

Hello,

I am starting on a task where I need to control two servos of type VPL-B0633T-PK14A with associated controllers of type 2198-H008-ERS2. The servos are setup mechanically so they need to be synchronized at all times, thus I need to find a code design that matches this requirement.

Is there an easy way to synchronize two servos? How would you approach this task?

 

/KimM  

Share this post


Link to post
Share on other sites

If the axes are mechanically 1:1 or some fixed ratio 1:x then MAG Instruciton should keep them synchronized once homed and ready for Automatic motion.

You could create a Virtual Axis that does all your motions and then MAG each axis to it.

You could also declare Axis 1 Master and Axis 2 Slave, gearing 2 to 1 and all motion would be by command to Axis 1.

 

1 person likes this

Share this post


Link to post
Share on other sites

Best practice is to create a virtual axis as a master and 2 servos would follow as a slave. If in the future, if more servos need to be added it is a lot easier with a virtual master. They are all in the same servo group as well. 

Rockwell Automation has a good sample code base on this as well. 

 

1 person likes this

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0