I have a custom code gen for our 40vae and 50va both w/ 4th axis positioning. I have customised my code so it may not be what you want. Each tool is a sub, work offsets are set using VC variables. A sample follows. Let me know and I can give you more info. I have come across a problem recently with this setup; since I only code for 1 part regardless of the actual quantity, when cutting multiple parts with rotations the tool will finish part 1 before it goes to part 2. This will create several rotations that may be unacceptable to your shop. Bob
Code sample: 3 holes spot drilled, 2 parts, start on H1 // $A.MIN% (A.MIN) ( ) (PROOFED OUT ? ) (11/21/01) (09:38AM) (EACH PART USES OWN COORD SYS) (EACH PASS THRU SUB INCREMENTS CORD SYS) (X ZERO IS CL OF PART) (Y ZERO IS CL OF PART) (Z ZERO IS TOP OF PART) (NOTES:) G15 H1 VC1=1 IF [VATOL EQ 16] NATA T16 M06 (0.500 DIA. SPOT DRILL) NATA G00 G90 M01 X1.567 Y-0.0675 CALL OSUBA Q2 G15 H1 VC1=1 G30 P3 VC31=VC31+2 VC32=VC32+2 M02 OSUBA (TOOL 16; 0.500 DIA. SPOT DRILL) NSA G15 H=VC1 IF [VC1 LE 0] NDA IF [VC1 GT 2] NDA G00 X1.567 Y-0.0675 S800 M08 G56 H16 D16 Z0.1 M03 G71 Z0.1 G82 Z-0.1 R0.1 P0.0 F6.4 M53 X1.792 Y2.3175 X0.3075 Y1.2825 G80 M53 M09 VC1=VC1+1 NDA RTS (CYCLE TIME= 1.2) % /// -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kevin Barry Sent: Wednesday, November 21, 2001 12:50 PM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] Okuma Code generators Hi Would anyone have a code generator they would be willing to share, for an Okuma MX45VAE vertical machining center fitted with a 4th axis. The Control is a OSP7000M. My version of Smartcam is 9.1, I dont know whether that makes any difference. Many thanks in advance. Kevin Barry _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
