Post confusion

Having problems with or questions about SheetCam? Post them here.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

Could there be two versions of this post??

I'm not fully up to sped on heavily modding a POST file but there seems to be a section that turns THC on and off, this is interfering with the rules I want to use.

The rule is turning it off as needed but the POST is putting back on when it should be off.

Maybe the rules need a custom POST file??
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

Edit your post and make sure you don't have any thcOnCode or thcOffCode defined. If you have anything defined for these codes they will conflict with the rules.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

D'oh !

Now why didn't I think of that?

Thanks again Les.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

That fixed one issue, so as I'm still learning here, as an experiment, i tried the job below, picture attached.

N0010 (Filename: Test 1.tap)
N0020 (Post processor: Mach3 THC with scriber 2.scpost)
N0030 (Date: 25/04/2014)
N0040 G21 (Units: Metric)
N0050 F1
N0060 G53 G90 G40 G64
N0070 (Part: Test 1)
N0080 (Operation: Outside Offset, 0, T2: 1.5mm Steel, 30A, Std Tip, 103v)
N0090 G00 X41.3478 Y30.1053
N0100 G28.1 Z3.00 F800.0
N0110 G92 Z0.0
N0120 G00 Z3.9000
N0130 G92 Z0.0
N0140 G00 Z3.5000
N0150 M03
N0160 G01 Z1.0000
N0170 M101 (THC Off) (On arcs)
N0180 G03 X50.9478 Y20.5053 I9.6000 J0.0000 F2310.0
N0190 M102 (THC On) (On arcs)
N0200 G01 X72.6444 F3300.0
N0210 M101 (THC Off) (On arcs)
N0220 G02 Y9.4947 I14.3556 J-5.5053 F2310.0
N0230 M102 (THC On) (On arcs)
N0240 G01 X29.3556 F3300.0
N0250 M101 (THC Off) (On arcs)
N0260 G02 X0.5522 Y9.7414 I-14.3556 J5.5053 F2310.0
N0270 M102 (THC On) (On arcs)
N0280 M101 (THC Off) (On arcs)
N0290 X9.7414 Y29.4478 I14.4478 J5.2586
N0300 M102 (THC On) (On arcs)
N0310 M101 (THC Off) (On arcs)
N0320 X29.3556 Y20.5053 I5.2586 J-14.4478
N0330 M102 (THC On) (On arcs)
N0340 G01 X50.9478 F3300.0
N0350 X52.4478
N0360 M05
N0370 G00 Z10.0000
N0380 X0.0000 Y0.0000
N0390 M05 M30

It's a dog-bone shape, so I presumed that THC would be off for the curves and on for the straights, this sort of made sense. However, as expected there is a pause at the end of the lead-in (unexpected but i can understand why) then one at each start/end of arc. The odd bit is the two extra pauses on the left hand arc, these made no sense and it seem sheetcam has thrown a wobbly at this point.

Image

So, due to my lack of knowledge, is this shape possible with THC on/off or should it just be kept off and fingers crossed???
Attachments
Test 1.dxf
(9.34 KiB) Downloaded 125 times
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

Using M-code macros will cause Mach to pause. I'm not sure what is happening oround line N0270. Could you post the job file so I can run it here and try to figure out what is happening.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

Of course, file attached...

Yes i know about the delay, that was the reason I tried this design, I guessed it would be a difficult one to control.
Attachments
Test 1.job
(5.95 KiB) Downloaded 135 times
Post Reply