Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: rrc1962 on October 25, 2013, 08:25:47 PM

Title: Version .066 Arc Issue
Post by: rrc1962 on October 25, 2013, 08:25:47 PM
So I decided to try .066 and everything seemed fine until I tried running G02/03 commands.  Mach completely ignores both sometimes.  It's always either one or the other.  This issue does not occur in Version .022.

Has anyone else seen this?  In the code below, the G02 is ignored on V.066 and runs fine on V.022.  Did .066 bring about a difference in the way Mach handles G02/03.  The code below is non-modal.  If I change.....

G02 X6.06 Y3.03 I-3.03 J0   

to....

G02 I-3.03 J0

It runs.  Why is that and is there a setting in Mach so that it will run non-modal code.

Thanks

G20
G90
G91.1
M1102
M1112
G00 Z0.5
G00 X4.5 Y3.03
(CUT INNER DIAMETER)
G28.1 Z0
G92 Z0.1
G00 Z0.2
M03
G4 P0.2
G00 Z0.14
F80
M1101
G03 X4.5 Y3.03 I-1.47 J0
M05
M1102
G00 Z0.5
M01
G00 X6.06
(CUT OUTER DIAMETER)
G28.1 Z0
G92 Z0.1
G00 Z0.2
M03
G4 P0.2
G00 Z0.14
F80
M1101
G02 X6.06 Y3.03 I-3.03 J0  (This line is completely ignored)
M05
M1102
G00 Z0.5
M01
G00 Z2
G00 X0 Y0
M30
Title: Re: Version .066 Arc Issue
Post by: geh7552 on October 25, 2013, 08:40:10 PM
I had the same problem with .066... went back to 0.062 and it works fine.
Title: Re: Version .066 Arc Issue
Post by: rrc1962 on October 25, 2013, 08:49:17 PM
The problem appears to be only with non-modal code.  Modal commands seem to be fine.  Is there an archive where I can download .062? 
Title: Re: Version .066 Arc Issue
Post by: ger21 on October 25, 2013, 09:49:18 PM
The FTP site.

http://www.machsupport.com/software/downloads-updates/
Title: Re: Version .066 Arc Issue
Post by: rrc1962 on October 25, 2013, 10:45:11 PM
062 does the same thing.  I know 022 works, so I started there and found that 024 works and everything later does not.  I can change the post to produce modal arc codes, but shouldn't the Mach be able to process both modal and non-modal code? 
Title: Re: Version .066 Arc Issue
Post by: ger21 on October 26, 2013, 07:09:21 AM
Is this possibly a compatibility issue with your motion controller plugin?

Or perhaps your M1101 might have something to do with it?

I know a lot of people are using those versions and I haven't heard of this issue before?
Title: Re: Version .066 Arc Issue
Post by: rrc1962 on October 26, 2013, 01:55:29 PM
M1101 just turns on the THC and there is not motion controller.  Just PP to a PMDX bob.  It only happens when there is more than one compete circle in a row.  It will cut arcs all day long in either direction and will cut circles in either direction as long as the circles are not back to back.  If you cut a 1" circle followed by another 1" circle it will fail on one or both of the circles.  If you cut a 1" circle followed by something that is not a complete circle then another 1" circle, it all works fine.

If I make the G02/03 code modal it all works fine, which may be why the issue doesn't come up all that often.  Most, if not all, CAM programs post modal code.
Title: Re: Version .066 Arc Issue
Post by: BR549 on October 26, 2013, 11:09:31 PM
What is iside of the M1101 ? It is possible for mach3 to jump over the next Gcode line AFTER a macro is run. Do you end with a While Ismoving()
Wend ??

Just a thought, (;-) TP
Title: Re: Version .066 Arc Issue
Post by: BR549 on October 26, 2013, 11:16:31 PM
For what I t is worth it runs ok here V.067. Bu then I do not have the macros running here.

(;-) TP
Title: Re: Version .066 Arc Issue
Post by: rrc1962 on November 01, 2013, 10:41:26 AM
M1101 just toggles an output...1 line of code.  I've stripped the code right down to nothing but motion code and it still does it.  I modified the post to produce modal arc codes.  Everything works fine with modal arc codes.