Author Topic: Running two smart motors simultaneously  (Read 760 times)

0 Members and 1 Guest are viewing this topic.

Offline hungryhobbit

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 7
Running two smart motors simultaneously
« on: September 08, 2017, 11:55:57 AM »
I know this isn't a "stepper" forum, but I usually get my inquiries answered in here, especially for the ever-cryptic Kuka programming. I have a simple task I want to achieve. I have two SM23375DT motors daisy-chained. I want motor one to spool out a screw slide to a position, stop, then get motor two to rotate to 'X' angle and back, then return motor one back to start. What I've written has no error codes, and increments the variable, but when I start, both rotate to roughly 6K in position and back. I addressed the motors right after power up, and I've power-cycled the motors, but can't figure out what is wrong in the code. I've attached what code I have. If anyone can assist, I would be more than happy to give "kukas," I mean "kudos!"
Thank you ahead of time.
« Last Edit: September 08, 2017, 12:26:03 PM by hungryhobbit »

Offline hungryhobbit

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 7
Re: Running two smart motors simultaneously
« Reply #1 on: September 08, 2017, 12:27:17 PM »
I know this isn't a "stepper" forum, but I usually get my inquiries answered in here, especially for the ever-cryptic Kuka programming. I have a simple task I want to achieve. I have two SM23375DT motors daisy-chained. I want motor one to spool out a screw slide to a position, stop, then get motor two to rotate to 'X' angle and back, then return motor one back to start. What I've written has no error codes, and increments the variable, but when I start, both rotate to roughly 6K in position and back. I addressed the motors right after power up, and I've power-cycled the motors, but can't figure out what is wrong in the code. I've attached what code I have. If anyone can assist, I would be more than happy to give "kukas," I mean "kudos!"
Thank you ahead of time.