![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| I've been trying for a couple of days to get the program below to run multiple offsets. X0.Y0. X5.Y0. X10.Y0. The machine is a Fadal4020 with CNC88 controller, format 2. Iv've tried using M98-99, E1-3, G54-56, and I just can't seem to figure out the proper coding to make any of it work. I would be most grateful if someone would either e-mail me a program that works in this manner, or edit the program below, so that I would have an example to go by. Thanks, Richard ![]() % N4O20 N5(GCODETEST) N6(DATE=DD-MM-YY - 11-11-08 TIME=HH:MM - 07:58) N7G20 N8G0G17G40G49G80G90H0E0Z0 N9( 1/2 DRILL TOOL - 1 DIA. OFF. - 1 LEN. - 1 DIA. - .5) N10L0100 N11T1M6 N12M61 N13A-0. N14M60 N15G0G90S1833M3X.5Y2.5 N16H1Z.1 N17G81G99Z-.3R0.1F8.8 N18X2.5 N19Y.5 N20X.5 N21G80 N22M5 N23G91H0Z0. N24M1 N25( 1/4 FLAT ENDMILL TOOL - 2 DIA. OFF. - 2 LEN. - 2 DIA. - .25) N26T2M6 N27G0G90S2000M3X2.125Y1.5 N28H2Z.25 N29Z.1 N30G1Z-.3F6.42 N31G2X1.5Y.875I-.625F50. N32X.875Y1.5J.625 N33X1.5Y2.125I.625 N34X2.125Y1.5J-.625 N35G1Z-.2F6.42 N36G0Z.25 N37M5 N38G91H0Z0. N38M17 N38M30 N43G10 G90 L13 N44L0101 N45G10 G90 L13 N46M98P11 N47E0X0Y0 N48M2 % |
|
#2
| |||
| |||
| Here is an example, same control, Format 2. Running 12 parts on a fixture, 6 on the front, 6 on the rear, with a coordinate rotation. The parts are 5 1/4" wide, spaced about 6 1/4" apart. A bit lengthy, but a good example. I have a pin that stays on the table for location so fixture offsets E10-E21 are permanently set in the offset table. See the attachment for the entire program with all the sub program calls. Code: % N1O1 N2G0G90X3.7827Y-5.45Z3.5 N3G0Z2.1 N4G1Z1.3F90. N5Y-4.4275 N6X3.6405Y-4.5228F135.5 N7X3.7827Y-4.4275 N8Y-3.2 N9Y-3.5783 - - - N616G2X-0.3899Y-0.0348I0.018J0 N617G1X-0.3796Y0.0867 N618G2X-0.3783Y0.0919I0.0179J-0.0015 N619G0Z3.5 N620(TOOL 4) N621(OPERATION 3) N622M99 - - - N1O5500 N2(42:27) N3M6T1(3:47) N4(ENGAGE TOGGLE CLAMPS) N5(TAP DOWN) N6E24 N7G0G90X-20.Y-8.S2500.2M3 N8G43H1Z2.1M9 N9G1Z2.01F50.4 N10Z1.985Y-5.3 N11X19.15F50.4 N12Y-2.935 N13X-20. N14G0Z4. N15Y8. N16Z2.1 N17G1Z2.01F50.4 N18Z1.985Y5.3 N19X19.15F50.4 N20Y2.935 N21X-20. N22G0Z2.1 N23M5M9 N24M0 N25G28G49Z0M9 N26M6T2(1:31) N27(TT = 5:17) N28E10 N29G0G90X3.1104Y-1.3933S4500M3 N30G43H2Z3.5M9 N31E10 N32M98P7 N33E11 N34M98P7 N35E12 N36M98P7 N37E13 N38M98P7 N39E14 N40M98P7 N41E15 N42M98P7 N43Z4.5 N44X0Y0E16 N45G68X0Y0R+180. N46M98P7 N47E17 N48M98P7 N49E18 N50M98P7 N51E19 N52M98P7 N53E20 N54M98P7 N55E21 N56M98P7 N57G69 N58M5M9 N59G28G49Z0M9 N60X0Y8.5E24 N61M0 N62(1: ADD CLAMPS AT SLIGHT ANGLE, USE GREEN MARKS) N63(2: REMOVE TOGGLE CLAMPS) N64(3: ADD SHIMS, TAP THEM IN) N65M6T3(11:47) N66(TT = 17:06) N67E10 N68G0G90X3.7827Y-5.45S3820M3 N69G43H3Z7.M9 N70M0 N71(*** ARE YOU SURE TOGGLES ARE OUT OF THE WAY ***) N72(*** AND SHIMS ARE INSTALLED ***) N73M3 N74Z3.5 N75E10 N76M98P1 N77E11 N78M98P1 N79E12 N80M98P1 N81E13 N82M98P1 N83E14 N84M98P1 N85E15 N86M98P1 N87Z4.5 N88X0Y0E16 N89G68X0Y0R+180. N90X3.7827Y-5.45 N91Z3.5 N92M98P1 N93E17 N94M98P1 N95E18 N96M98P1 N97E19 N98M98P1 N99E20 N100M98P1 N101E21 N102M98P1 N103G69 N104M5M9 N105Z20. N106X0Y8.5E24 N107M0 |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FIXTURE OFFSETS | BAD DOG | G-Code Programing | 20 | 05-01-2008 06:23 PM |
| Rotary Fixture | OT-CNC | Laser Engraving & Cutting Machines | 3 | 04-23-2008 08:41 AM |
| The best way to use "Fixture Offsets" In a CNC88? | donl517 | Fadal | 18 | 10-01-2007 10:31 AM |
| Multiple Fixture Offsets | Benji | EdgeCam | 5 | 05-02-2007 04:28 PM |
| cylindrical fixture | MBG | General Metalwork Discussion | 3 | 06-24-2005 09:50 AM |