191
General Mach Discussion / Re: Vectric Aspire 10 with Mach3 help with post processor
« on: April 01, 2020, 02:07:54 PM »
And your cam software is... (crystal ball still have not returned from polishing)
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
m3.m1s
ActivateSignal(OUTPUTx) ' switches ON direction control relay
DoSpinCW() ' switches enable relay
m4.m1s
DeactivateSignal(OUTPUTx) ' switches OFF direction control relay
DoSpinCW() ' switches enable relay
Hi Roger,No need for rounding in Mach3. Mach will be perfectly happy with fractional steps per.
CPR stands for counts per rev. It is usually applied to an encoder.
If an encoder has 2500 lines, it sometimes called pulses/rev or PPR then because of the quadrature placing of the opto-detectors
it will have 10,000 counts per rev or CPR.
If you set your microstepping to 1/8th (recommended) then your steppers will rotate exactly one revolution when the drivers are presented with 1600 pulses or CPR.
Lets tackle the Z axis first. If the stepper rotates once with 1600 pulses and the z axis will advance 2mm, being the pitch of the ballscrew.
The 'steps per unit' value that you put on the Z axis tuning page will be:
StepsPerUnit=1600 / 2
=800
Easy!
Now the X and Y axes are not so simple. You say they are belts with a 24 tooth pulley? What pitch are the teeth on the belt?
For the purposes of demonstration I'm going to assume 3.15mm pitch (1/8 inch).
StepsPerUnit= 1600 (steps per motor rev) / (24 teeth x 3.15)
=21.16
You will have to round to 21 steps per unit.
Note this is very course resolution, every pulse will advance either the X or Y axes 1/21 (=0.05)mm. Is this what you expected or wanted?
Craig