Manufacturing Information Solutions Forum Index Manufacturing Information Solutions
Your Place for Support and Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How To Updat Fixture Offsets Using Macro A

 
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> G-Code Programming
View previous topic :: View next topic  
Author Message
mistux
Site Admin


Joined: 25 Jun 2004
Posts: 1042
Location: South Bend, Indiana USA

PostPosted: Fri Jul 02, 2004 12:25 pm    Post subject: How To Updat Fixture Offsets Using Macro A Reply with quote

Here is a way to do it without Macro B.

Code:
( CLEAR WORK COORDINATES )
( FIND FIXTURE POSITIONS ON PALLET )
( EDIT X AND Y INTO PROGRAM 0001 )
( P1 TO P6 = G54 TO G59 )
( REPEAT FOR SECOND PALLET )

( CALL MACRO BEFORE USING PALLET WORK COORDINATES )

%
:0001 ( FIRST PALLET )
N10 G10 L2 P1 X0.0 Y0.0
N20 G10 L2 P2 X0.0 Y0.0
N30 G10 L2 P3 X0.0 Y0.0
N40 G10 L2 P4 X0.0 Y0.0
N50 G10 L2 P5 X0.0 Y0.0
N60 G10 L2 P6 X0.0 Y0.0
N70 M99

:0002 ( SECOND PALLET )
N10 G10 L2 P1 X0.0 Y0.0
N20 G10 L2 P2 X0.0 Y0.0
N30 G10 L2 P3 X0.0 Y0.0
N40 G10 L2 P4 X0.0 Y0.0
N50 G10 L2 P5 X0.0 Y0.0
N60 G10 L2 P6 X0.0 Y0.0
N70 M99

:3203 (MAIN PROGRAM)
N10 G0 G49 G40 G00
N20 G91 G28 Z0.
N30 T1 M6
N40 G90 S1800 M3
N50 M98 P0001 (1ST PALLET)
N60 G54 X1.456 Y2.223
N70 G81 Z-2. R.1 Q.3 F3.
N80 G55 X1.456 Y2.223
N90 G56 X1.456 Y2.223
N100 G57 X1.456 Y2.223
N110 G58 X1.456 Y2.223
N120 G59 X1.456 Y2.223
N130 G80 M9
N140 G49 G28 Z0.
N150 G28 X16. Y0.
N160 M00 (MANUAL PALLET CHANGE)
N170 T1 M6
N180 G90 S1800 M3
N190 M98 P0002 (2ND PALLET)
N200 G54 X1.456 Y2.223
N210 G81 Z-2. R.1 Q.3 F3.
N220 G55 X1.456 Y2.223
N230 G56 X1.456 Y2.223
N240 G57 X1.456 Y2.223
N250 G58 X1.456 Y2.223
N260 G59 X1.456 Y2.223
N270 G80 M9
N280 G49 G28 Z0.
N290 G30 X0 Y0 M30
%


Enjoy.


Legal stuff: I provide this "As Is" and make no express guarantees that it will work and/or will work on your machine. It is intended as a guide and as with all programs should be fully tested before it is ran.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Manufacturing Information Solutions Forum Index -> G-Code Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group