A method I've used in the past was to treat the 90� head as a 4th axis and build the toolpath on the XZ_PLANE tool plane. The machine define file (SMF) of the code generator is modified to support A axis indexing (question 292=1). The machine template file (TMP) of the code generator is then structured to output the inverted coordinates in the template file.
for example: @RAP < #MOV>< X#XPOS>#IF(#INDXA=270)<< Y#ZPOS>< Z#YPOS>>#ELSE<< Y#YPOS>< Z#ZPOS>> You would need to add this type of logic to all template sections. In your example you're drilling all 4 sides which would require both the A (G18 sides)and B (G19 sides) axis set up in the SMF file I have not tried this logic, but as long as all your work planes share a common origin it should work: @RAP #IF(#INDXA=270,#OR#INDXA=90)< < #MOV>< X#XPOS>< Y#ZPOS>< Z#YPOS>>#ELSE< #IF(#INDXB=270,#OR#INDXB=90)< <#MOV>< X#ZPOS>< Y#XPOS>< Z#XPOS>>#ELSE< < #MOV>< X#XPOS>< Y#YPOS>< Z#ZPOS>> > You would need to add this type of logic to all template sections. ================================================== Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ================================================== -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 2:45 PM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] FW: right angle programming Hi all, I sent this on the 10th, but never saw it come up in the forum. Did anyone else receive it? Next, can anyone help with my questions in my original post? The attached zip file contains an R12 .dxf drawing I drew. Chris -----Original Message----- From: Chris Kocourek Sent: Wednesday, September 10, 2003 10:46 AM To: 'Smartcam Forum (E-mail)' Subject: right angle programming Hi all, My company purchased a right angle head attachment, and we are now figuring out how to program it. Attached is a crude drawing I made to illustrate programming on different workplanes, at least how I see it. - Is my drawing correct, or should I approach programming the 4 sides in a different manner? - How do I set up my workplanes and tmp file to produce correct code? - Will tool motion/direction display correctly in Showcut? As always, thanks for any help or advice you can provide. Regards, Chris Kocourek Tool Designer FLEXTRONICS CTC ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
