Thank you John for your responses on the #ROT1 and #ROT2 code words. I
understand the purpose of the code words my question I was trying to ask was
were in the TMP does it get used. And most of all there has to be a G code
outputted to tell my OM control the plane has rotated. If I program my subs
in incremental moves and my first move would only be a X+. At #ROT1 I rotate
my sub +45^ the control now has to move X+ and Y+ with the same sub program.
To better under stand my thought if I would generate a sub at 0^ then rotate
the same sub call at 180^ the same sub would read X+ but my machine would be
moving X- something would have to tell my control to reverse the plane moves
and same would hold true for radius moves.

Dave Wolfgang
CNC Programmer/Supervisor
www.hrindustries.net

----- Original Message ----- 
From: "John Gent" <[EMAIL PROTECTED]>
To: "'SmartCam Forum'" <[EMAIL PROTECTED]>
Sent: Wednesday, March 17, 2004 11:32 AM
Subject: RE: [mfg-smartcam] SUB ROTATION


> Hi Dave, all.
>
> #ROT1 is how much to rotate the first call to your sub (absolute). (#ROT2
is
> for incremental rotations of multiple calls)
>
> To cut a diamond shape with a single line sub, for example.
>
> The sub consists of a single line 1 long at zero degrees from X0Y0. The
> handle is at X.5Y.5 (also the point to rotate around).
>
> The sub call will rotate repeats 3 times (4 total) rotated 45 degrees (the
> initial rotation). Note that the repeat angle is given at 90 degrees,
based
> on the handle of the sub - it is the only angle that will make the end of
> one meet the start of the next.
>
> So code will set $ROT1 = 45 and #ROT2 = 90 ($SREPT = 3)
>
> Sub is called and the initial rotates the first line 45 degrees (around
the
> handle) - cuts - incrementally rotates 90 degrees - cuts - and repeats the
> incremental thing 2 more times.
>
> I tried to keep this simple, but something tells me the murk may be
> defeating my intent <grin>. Still, I hope this helps.
>
> - John Gent
> McKenzie River Software
> Your Exclusive Source for SmartCAM
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Dave Wolfgang
> Sent: Monday, March 15, 2004 8:54 AM
> To: SmartCam Forum
> Subject: [mfg-smartcam] SUB ROTATION
>
>
> I do sub programming and when I define a sub, I would like to do a #ROT1
> (rotation). Can someone explain how and where #ROT1 is used.
>
>
> Dave Wolfgang
> CNC Programmer/Supervisor
> www.hrindustries.net
>
>
>
> ======================================================================
> 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]
======================================================================

Reply via email to