Hello Guest it is April 19, 2024, 08:58:57 AM

Author Topic: SS Will not run sub programs correctly with m98  (Read 4063 times)

0 Members and 1 Guest are viewing this topic.

Offline Mc2

*
  •  31 31
    • View Profile
SS Will not run sub programs correctly with m98
« on: May 19, 2009, 04:41:22 PM »
When I run Mach3 with the smooth stepper active my program will not run. It will generate the tool path the first time but I can't regenerate the tool path. When I cycle start the program I can't get past the M98 sub program call. If I load the same profile without the smooth stepper selected and by selecting the printer port my program runs and displays correctly. Does anyone have these issues or know what is wrong? The test code I used is as follows:

G0 X0 Y0 Z1 A0
M98 P100
G0 A 90
M98 P100
G0 A180
M98 P100
G0 A270
M98 P100
M30

O100
G1 Z -.125
G1 X5
G0 Z1
X0
M99

thanks, Jim.

Offline Mc2

*
  •  31 31
    • View Profile
Re: SS Will not run sub programs correctly with m98
« Reply #1 on: May 20, 2009, 11:45:39 AM »
 ;D
I think I have givured out what is wrong! I was using Mach3 as an emulator. If I attach the smooth stepper and let it load the software I don't have issues with sub programs. I am not sure why Mach3 won't run them while the smooth stepper is selected as the active port. This should be iscolated. Well knowing is half the battle.

thanks, Jim.

Offline Jeff_Birt

*
  •  1,107 1,107
    • View Profile
    • Soigeneris
Re: SS Will not run sub programs correctly with m98
« Reply #2 on: May 24, 2009, 11:06:24 PM »
In simulation Mach is using a special built 'simulation' type of motion device. I guess with the number of available motion control choices it might not be possible to use simulation with them. You could just set up a profile used for your simulation runs. By setting the motor tuning settings the same you should still get good simulated run times.
Happy machining , Jeff Birt
 

Offline Mc2

*
  •  31 31
    • View Profile
Re: SS Will not run sub programs correctly with m98
« Reply #3 on: May 25, 2009, 09:19:08 AM »
Thanks Jeff, you are correct. When I originally posted, I didn't know that the smooth stepper plugin was causing my issues. When I tried to run program on another computer it worked fine. It took a couple of days to figure this out. I should mention that I had already moved my first two smooth steppers out to a couple of friends. I just recieved the third one when I found that the smooth stepper needed to be plugged in or run just regular pp.


thanks, Jim.