Hello Guest it is March 28, 2024, 09:36:23 AM

Author Topic: Setting Motor Counts Per Unit in macro  (Read 8062 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
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
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.