mach running in circles

MSM Mill mode support
Post Reply
lseguine
Posts: 8
Joined: Thu Feb 14, 2013 5:32 pm

mach running in circles

Post by lseguine »

Dave,
It's me again. I loaded a g code made up of an engraving letters that directed a move to the start point then entered a move with a curve command. the soft ware then started moving in a constant circle. it did it both with the I J system and the R system installed. when the circle is completed it moves to the next position that has a curved edge and away it goes around in a new circle always starting in the same spot on the pattern.

What am I doing wrong now? :(
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: mach running in circles

Post by DaveCVI »

Sounds like a classic case of "crop circles"....
Generally this is an indication that the IJ mode is mismatched between mach and the gcode. One is using incremental IJ mode and the other is using absolute.
The solution is to make them match.
Go to mach's menu, general config, look for the section called: IJ mode. It's in the 2nd column. about a 1/3 of the way done. Whatever it's set to, swap to the other choice.

An alternative is to read up on G91.1 and G90.1 and have the gcode set the mode it was written to expect.

Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
lseguine
Posts: 8
Joined: Thu Feb 14, 2013 5:32 pm

Re: mach running in circles

Post by lseguine »

Well Dave I tried that and still get circles. I tried entering G90.1 with the G90 to no avail
here is a short copy of the code
O0001
N1 G17 G20 G40 G80
N2 (1/8 EM HSS 2FL 1/4 LOC)
N3 T58 M06
N4 S3800 M03
N5 G54
N6 M08
N7 G90 g90.1 G00 X.114 Y-.2596
N8 G43 Z.1 H58
N9 G01 Z-.0125 F24.7826
N10 G02 X.1177 Y-.2406 R.0506 F49.5652
N11 X.114 Y-.2216 R.0506
N12 G01 Y-.0556
N13 G02 X.1142 Y-.0506 R.0506
N14 G01 X.1126
N15 X.1134 Y-.0558
N16 G02 X.1139 Y-.0633 R.0506
N17 G01 Y-.4346
N18 G02 X.1132 Y-.4432 R.0506
N19 G01 X.1145
N20 X.1141 Y-.4387
N21 G02 X.114 Y-.4349 R.0506
N22 G01 Y-.2596
N23 X.1265
N24 G02 X.1315 Y-.2406 R.0381
N25 X.1265 Y-.2216 R.0381
N26 G01 Y-.0556
N27 G02 X.1286 Y-.0431 R.0381
N28 G01 X.1303 Y-.0381
N29 X.0979
N30 G02 X.0987 Y-.0419 R.0381
N31 G01 X.101 Y-.0577
N32 G02 X.1014 Y-.0633 R.0381
N33 G01 Y-.4346
N34 G02 X.1002 Y-.4444 R.0381
N35 G01 X.0971 Y-.4557
N36 X.1293
N37 G02 X.1272 Y-.4458 R.0381
N38 G01 X.1266 Y-.4377
N39 G02 X.1265 Y-.4349 R.0381
N40 G01 Y-.2596
N41 X.139
N42 G02 X.1474 Y-.2406 R.0256
N43 X.139 Y-.2216 R.0256
N44 G01 Y-.0556
N45 G02 X.1404 Y-.0472 R.0256
N46 G01 X.1459 Y-.0314
N47 G02 X.1488 Y-.0256 R.0256
N48 G01 X.0759
N49 X.0803 Y-.0307
N50 G02 X.0863 Y-.0437 R.0256
N51 G01 X.0887 Y-.0595
N52 G02 X.0889 Y-.0633 R.0256
N53 G01 Y-.4346
N54 G02 X.0881 Y-.4411 R.0256
N55 G01 X.0826 Y-.4617
N56 G02 X.0799 Y-.4682 R.0256
N57 G01 X.1492
N58 X.1423 Y-.4544
N59 G02 X.1397 Y-.4449 R.0256
N60 G01 X.1391 Y-.4368
N61 X.139 Y-.4349
N62 Y-.2596
N63 G00 Z.1
N64 X.4115 Y-.059
N65 G01 Z-.0125 F24.7826
N66 G02 X.4122 Y-.0506 R.0506 F49.5652
N67 G01 X.4101
N68 X.411 Y-.0573
N69 G02 X.4115 Y-.0642 R.0506
N70 G01 Y-.2216
N71 G02 X.4078 Y-.2406 R.0506
N72 X.4115 Y-.2596 R.0506
N73 G01 Y-.4349
N74 G02 X.4108 Y-.4432 R.0506
N75 G01 X.4124
N76 X.4117 Y-.4351
N77 G02 X.4115 Y-.4309 R.0506
N78 G01 Y-.059
N79 X.424
N80 G02 X.4255 Y-.0483 R.0381
N81 G01 X.4285 Y-.0381
N82 X.3955
N83 G02 X.3964 Y-.0428 R.0381
N84 G01 X.3986 Y-.059
N85 G02 X.399 Y-.0642 R.0381
N86 G01 Y-.2216
N87 G02 X.3939 Y-.2406 R.0381
N88 X.399 Y-.2596 R.0381
N89 G01 Y-.4349
N90 G02 X.3982 Y-.4427 R.0381
N91 G01 X.3954 Y-.4557
N92 X.4279
N93 G02 X.425 Y-.4437 R.0381
N94 G01 X.4242 Y-.434

only have to run a little way circles
I'm using solidworks and camworks using a general fanuc post processor.
any other ideas?? :?
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: mach running in circles

Post by DaveCVI »

OK, forget what I said about IJ mode.. the code is using R words for arcs - since no IJ arcs, the IJ mode should not matter.

I'm not sure what you are expecting to see from the code. I loaded the code you posted into my gcode editor and got the attached plot. I get the same plot when I load that code into mach.
engraving letters.jpg
engraving letters.jpg (160.87 KiB) Viewed 11055 times
Is this different from what you expect?

Sorry, but I'm not familiar with camworks, so I'm not of much help there.

Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
lseguine
Posts: 8
Joined: Thu Feb 14, 2013 5:32 pm

Re: mach running in circles

Post by lseguine »

Afternoon Dave,
I had tried different configurations both radial and IJ mode. Tried all combinations of both in the general config page.
I had not tried it in just mach3, just now did and it looks to run right. attached is a pic of what I get from MSM program
mach3MSM.jpg
mach3MSM.jpg (132.16 KiB) Viewed 11052 times
Sheeesh trying to get a pic to you is murder.

any as you can see it loads the image of what is supposed to cut but the cut motion is just circles??????? :roll: :o :(
so any sugestions?

Larry
lseguine
Posts: 8
Joined: Thu Feb 14, 2013 5:32 pm

Re: mach running in circles

Post by lseguine »

Oh Boy, Wouldn't you know it, went and loaded the ij version on my actual mill system versis this desktop copy, and low and behold it runs as it should :shock: :?: :roll: :)
so just need to figure out whats going on with this machine??

Larry
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: mach running in circles

Post by DaveCVI »

Hi,
I'd bet that a mach configuration setting is different between the two PCs. The question becomes which one?
I can help a little bit in finding that...

Start MSM, go to the setting common page. Look for the "Run Maint Script" button and click it.
You will get a selection of installed maintenance scripts - pick MachXMLConfigReport.mcc and run it.
It will start and open a file selection dialog where you select the mach profile that you want a report for.
Pick the profile that runs correctly and make a report.
Then do this again and pick the profile that has a problem - make a 2nd report.
Now you can compare the reports to see what settings are different....

The caveat is that the utility does not analyze all the settings that are possible in a mach profile. It only does the ones that "have gotten in my way one time or another" :lol:
But it's better than flipping screens between mach instances.... and it's a freebee that comes with MSM 8-)
Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
lseguine
Posts: 8
Joined: Thu Feb 14, 2013 5:32 pm

Re: mach running in circles

Post by lseguine »

Awhaw, that found it.
none of the axis in the motor pin and ports had been activated here on the desktop version now things look right.

eventually i'll get this :D
User avatar
DaveCVI
Site Admin
Posts: 798
Joined: Mon Feb 04, 2013 3:15 pm
Contact:

Re: mach running in circles

Post by DaveCVI »

he he, there are only a ton of mach settings and about a bazillion combinations of them.... :shock:
Dave
Productivity Software for Personal CNC Machinists
http://www.CalypsoVentures.com
Post Reply