salko
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by salko
-
-
I need a bit of a help editing a X5 post mpfan.pst for 2-axis plasma machine: the goal is having M73, M75, G4 (plasma on with delay) before feed movement and M74, M76, G4 (plasma off with delay) before every rapid movement and before M02. I managed to edit the post to almost desired result, except that I get M73, M75, G4 before many feed movement lines even that this funcions are still active from previous lines. I need to enter this functions to NC only the first time the feed movement (linear or circular) was engaged, then again if a rapid movement (G0) was used. Below I pasted a current NC output to give you a better understanding of my problem (unwanted code is stiked through):
N100 G90
N110 G92 X0. Y0.
N120 G0 X-120.197 Y-1.72
N130 M73
N140 M75
N150 G4 K5
N160 G1 X-121.749 Y-1.333 F500.
N170 G2 X-122.507 Y-.363 I.242 J.97
N180 X-122.477 Y-.121 I1. J0.
N190 M73
N200 M75
N210 G4 K5
N220 G1 X-119.323 Y12.53
N230 M73
N240 M75
N250 G4 K5
N260 X-116.634
N270 M73
N280 M75
N290 G4 K5
N300 X-122.881 Y-12.53
N310 M73
N320 M75
N330 G4 K5
N340 X-125.57
N350 M73
N360 M75
N370 G4 K5
N380 X-122.477 Y-.121
N390 G2 X-122.352 Y.105 I.485 J-.121
N400 M73
N410 M75
N420 G4 K5
N430 G1 X-122.004 Y.465
N440 M74
N450 M76
N460 G4 K2
N470 G0 X-140.19 Y-.439
N480 M73
N490 M75
N500 G4 K5
N510 G1 X-142.19
N520 G2 X-143.19 Y.561 I0. J1.
N530 X-137.817 Y5.934 I5.373 J0.
N540 X-132.444 Y.561 I0. J-5.373
N550 X-137.817 Y-4.812 I-5.373 J0.
N560 X-143.19 Y.561 I0. J5.373
N570 X-143.123 Y.811 I.5 J0.
N580 M73
N590 M75
N600 G4 K5
N610 G1 X-142.873 Y1.244
N620 M74
N630 M76
N640 M02
Thank you for any help!
How to add custom M functins before every feed and rapid movement
in Post Processor Development Forum
Posted
I sent a inquiery to my reseller and they quoted a quite high value vor 2-axis post, so I decided to try make it by myself ... and with a little of help of someone here who know this I'm sure I will make it work.