Andrew, Here is a reaming section from one of our code generators. In this case, selecting cycle 1 in the Planner would output a G81, while selecting cycle 4 would output a G89. I have some extra logic to output a dwell only if cycle 2 is selected to output a G82 or cycle 3 is selected to output G89.
@OP_REAM < #ABSI>< #RTNLVL>< #CYCLE>< X#XPOS>< Y#YPOS>< Z#ZDPTH>#EXLN < R#ZCHK>#IF(#CYCLE=1,#OR#CYCLE=3)<< P#DWELL>>< F#FEED> #UPDATE(#FXD) @@CYCLE 0,G81 1,G82 2,G85 3,G89 Notes: The cycles in the Planner are numbered 1-4 while the value of the variable that is set is between 0-3. You need to add an @OP_REAM section IMMEDIATELY followed by the @@CYCLE sub section containing the codes. #CYCLE is a system table variable and does NOT need to be defined in the @DECLARE section. You must have smf question #471 set to 1, JOS mode, in the machine define file of the code generator. ============================================= Fred Lauzus, CAM Programming Coordinator High Steel Structures, Incorporated mailto:[EMAIL PROTECTED] http://www.highsteel.com ============================================= -----Original Message----- From: Wilson, Andrew [mailto:[EMAIL PROTECTED]] Sent: Monday, August 07, 2000 1:54 PM To: 'SmartCAM users group' Subject: [mfg-smartcam] how to modify canned cycle in output??? I'm running ver 11.5 of advanced machining. The reamer cycle in the Process Planner always outputs a G81... I want to change it to always output a G89 how do I do this??? Also on the Operations page, there is a selection for Cycle and you can select Cycle 1-4... no matter what I select, It will still output a G81. Is there a way to have Cycle 1 output a G81, Cycle 2 a G82 and Cycle 3 a G89?? Thanks Andrew Wilson CNC Programmer/Systems Admin ====================================================================== 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] ======================================================================
