Hello Guest it is April 23, 2024, 03:47:05 PM

Show Posts

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.


Messages - Graham Waterworth

271
VB and the development of wizards / Re: Round Double and ACos, ASin
« on: October 30, 2021, 09:28:47 PM »
Mach3 uses a Cypress version of VB and has a reduced instruction set so the best you have is the trig commands are :-

Exp, Log, Sqr, Rnd, Abs, Sgn, Atn, Cos, Sin, Tan, Int, Fix

The manual is on the forum if you search for it :-  VBScript_Commands.pdf

272
Bloody hell, where have you been hiding.  I am pleased you are ok and back in the fold.  8)

273
General Mach Discussion / Re: Mach 3 feeds 20% slower than feedrate
« on: October 25, 2021, 07:07:27 PM »
Depending on your steps per setting and the 25Khz it could be that the pulse rate is not fast enough to hit top speed.

Put the kernal speed up to 35Khz and see if that improves the problem.

Do not forget that you must restart PC and re-tune the motors after a speed kernal change.

274
Mach4 General Discussion / Re: c axiss move while z axiss comand
« on: October 25, 2021, 06:21:08 PM »
Is the move only if you issue some command from Mach4?

If the machine is sat idle is there any random moving?

Are the axis DRO's true to the position of the machine after a random move?

What drives and motion controller are you using?

What version of windows?

275
Mach4 General Discussion / Re: c axiss move while z axiss comand
« on: October 25, 2021, 05:59:35 PM »
So the error on the mach4 screen is also moved on the machine?

276
Mach4 General Discussion / Re: c axiss move while z axiss comand
« on: October 25, 2021, 05:55:02 PM »
I use a CS-Labs IP-A and it feeds back to Mach3, if I move a motor by hand it updates the screen on mach3

277
Mach4 General Discussion / Re: c axiss move while z axiss comand
« on: October 25, 2021, 05:50:30 PM »
Why are you so sure its not noise?

Depending on your hardware the position can be sent back to mach so it could be noise.

278
General Mach Discussion / Re: Mach 3 feeds 20% slower than feedrate
« on: October 25, 2021, 05:38:15 PM »
Press the TAB key and check the jog values in there

279
General Mach Discussion / Re: M6 start macro for lathe
« on: October 25, 2021, 05:33:55 PM »
Here is a Macro I did some time back for pawl lock turrets.  Have a look and see if it works for you.

You can edit the values to what you need and it has a move safe built in.

It works fine on Boxford 125/160 turrets once the steps per are set and sensible feed speeds.

Note the safe move is normally minus values as they are from the home position, home being X0, Z0 so normally they would be set to X-5. Z-10.

Its all commented in the code so all you need to do is rename the file to M6Start.m1s and check it out.


280
General Mach Discussion / Re: M6 start macro for lathe
« on: October 21, 2021, 08:47:02 PM »
I would try putting a Sleep(50) in all your While IsMoving() loops :-

While IsMoving()
  Sleep(50)
Wend

This will give Mach3 time to update in the background.