First time here?
Back again?


 
 

How do I discard the RAPID motion Catia outputs before each Tool Change?

CATEGORY: PROGRAMMING
TYPE: MACRO
IMS VERSION: ALL
PLATFORM: ALL

To ignore the rapid motion that Catia outputs before each tool change, one solution is to modify the RAPID/ macro as follows:

RAPID/
*
* read ahead for CUTTER statement in next 2 lines
CRGOTO=CLREAD("CUTTER/*",1,1,2)
IF (CRGOTO = 2)
* if there is a CUTTER statement found, then jump over GOTO and exit out of RAPID
JG=CLREAD(0,1,0,1)
BREAK
ENDIF
* end of modification
*
IF(GLOBAL.TLCHNG=0)
SYSTEM.MOTION = GLOBAL.RAPID_TYPE
ENDIF
IF (GLOBAL.RAPID_RESTORE_FEED)
SYSTEM.SURFACE=0
ENDIF
RETURN

Back to Frequently Asked Questions