When I create code for our 4th axis, I set a user cmd at a safe z level and my tmp file is set to use a #zhome variable. The user cmd has to be the 1st element with the 1st tool/step. you can do the same by setting up your tmp file to use all home positions x,y, and z home. kinda vague but the tmp file reference will help. bob
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Clark Sent: Tuesday, April 24, 2001 7:40 AM To: SmartCam Fourm Subject: [mfg-smartcam] User Event ? I am trying to make the points for my user events a SAFE START location so that it can put a set point for safe start and the appropriate offset each time a rotation or tool change occurs. Here is a section of the macro I use to draw a specific event. WITH_STEP[ST=#RGHEM, OF=2, LV=#LV, CL=1.0, PT=#PT] #EL = SEQEL() POINT[XE=-1.0, YE=-1.0, LV=0] UEVENT[XS=1, YS=1, LV=0, TX=STRTMP("@RMFACE")] I would like the safe start to be a that can be called out for each different machine. Example: Machine A has safe start position of X15.00 Y6.00 Z10.00 . Machine B is X12.00 Y10.00 Z8.00 Can I set it up in the Macro file or do I have to do this in a specific template file for each machine? -- Kevin M. Clark Programmer Abbott Workholding Inc. ====================================================================== 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] ======================================================================
