News:

  • August 14, 2026, 04:35:09 AM

Login with username, password and session length

Author Topic: motion control  (Read 10705 times)

maciek

  • Sr. Member
  • ****
  • Posts: 95
motion control
« on: March 21, 2020, 11:49:05 PM »
how would i go about making motion profile for a circle if i had 2 axis control. I got some old junk parts ball screws slides and stepper motors thought it would be fun to make something from it

Controls Guy

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 3626
  • Darth Ladder
Re: motion control
« Reply #1 on: March 22, 2020, 12:46:30 AM »
X and y velocities (and positions in fact) should both be sine waves, offset in phase by 90 degrees.
I retract my earlier statement that half of all politicians are crooks.  Half of all politicians are NOT crooks.  There.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6170
  • Yes Pinky, Do-more will control the world!
Re: motion control
« Reply #2 on: March 22, 2020, 06:28:15 AM »
Use a virtual axis to drive two physical axes via AXCAM instructions. The cam profiles are the sin and cos of the drive axis. It?s conceptually easy, but a little tricky in practice.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

Garyhlucas

  • Hero Member
  • *****
  • Posts: 421
Re: motion control
« Reply #3 on: March 22, 2020, 01:23:35 PM »
Getting ready to write my first BRX motion control program for a drilling machine. Fortunately only 2 axis. Position in X then drill in Z about 35 times. I need to figure out how to make multiple programs for different products. Maybe a recipe in C-more? Or just an HMI page reading & writing positions to multiple memory blocks.