Author Topic: stepmove over write question  (Read 11673 times)

cch1955

  • Full Member
  • Posts: 198
  • Automated Machine Systems Designer
    • View Profile
stepmove over write question
« on: April 02, 2012, 10:08:29 AM »
If I am executing a stepmove command of 10000 steps
and at 4999 steps into the move I execute another stepmove command on the same channel for 7500 steps:

Will the first command be terminated (decel and stop?) at whatever number of steps it has executed and the new command will take over and execute the new move of 7500 steps

Or will the second command for 7500 steps be executed after the first 10000 step command is completed?

Thanks

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:stepmove over write question
« Reply #1 on: April 02, 2012, 03:20:28 PM »
When the stepper motor is in the midst of the move any new STEPMOVE command will be ignored. You should let the STEPMOVE come to a stop and then trigger another STEPMOVE.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

cch1955

  • Full Member
  • Posts: 198
  • Automated Machine Systems Designer
    • View Profile
Re:stepmove over write question
« Reply #2 on: April 02, 2012, 04:58:23 PM »
Thanks.