Hello Guest it is May 18, 2021, 01:50:42 AM

Author Topic: Setting Motor Counts Per Unit in macro  (Read 4775 times)

0 Members and 1 Guest are viewing this topic.

Re: Setting Motor Counts Per Unit in macro
« Reply #40 on: December 07, 2018, 01:25:53 PM »
Hi,
there is an API for that, but I'm not sure that it was intended for use on the fly, that is to say I thought it was for use in plugins
where a parameter, in this case 'steps per unit', were set for a device and then left alone.

Quote
LUA Syntax:
rc = mc.mcMotorSetCountsPerUnit(
      number mInst,
      number motorId,
      number counts)

Description:
Set the counts per native machine setup units.

Craig
My wife left with my best friend...
     and I miss him!
Re: Setting Motor Counts Per Unit in macro
« Reply #41 on: December 07, 2018, 01:53:02 PM »
This may work out well for me because I am not cutting tapers. I would set the diameter DRO before I ran the job Just as I do in Mach3. I will have to play with this a little. It may not be soon. Maybe Maury could work with this on tapers.

Thank you Graig.