John,

You are outputting the initial X, Y and Z coordinates (#XPOS, #YPOS and
#ZPOS) for the first move in your @START section. The @STPROF section is
called next, but the coordinate values are unchanged and are not output
again because of the use of brackets < >. The (0) is a literal and is output
every time the @STPROF section is called.

        @START
        %
        #ONBLK(9)M41E01
        (9)T#TOOLM06D#DOFFH#LOFF
        (T)(#TDESC)
        (9)#SPNDLS#SPEED
        (0)X#XPOS#ABSIY#YPOS#ABSI<Z#ZPOS>   <= initial rapid

        @STPROF
        (0)<#FXD><X#XPOS><Y#YPOS><Z#ZPOS>

You probably encounter the same problem after the @TOOLCHG section. 

        @TOOLCHG
        (T#LTOOL CYCLE TIME = #TLTIME MIN.)
        <(0)#FXD>
        (9)M09
        (9)M05
        (9)M01
        (9)T#TOOLM06D#DOFFH#LOFF
        (T)(#TDESC)
        #ONBLK(9)#SPNDLS#SPEED
        (0)X#XPOS#ABSIY#YPOS#ABSI<Z#ZPOS>   <= initial rapid

        @STPROF
        (0)<#FXD><X#XPOS><Y#YPOS><Z#ZPOS>

There are numerous solution, I will offer you a simple one.

Remove the initial rapid move from the @START and @TOOLCHG sections.

        @START
        %
        #ONBLK(9)M41E01
        (9)T#TOOLM06D#DOFFH#LOFF
        (T)(#TDESC)
        (9)#SPNDLS#SPEED

        @TOOLCHG
        (T#LTOOL CYCLE TIME = #TLTIME MIN.)
        <(0)#FXD>
        (9)M09
        (9)M05
        (9)M01
        (9)T#TOOLM06D#DOFFH#LOFF
        (T)(#TDESC)
        #ONBLK(9)#SPNDLS#SPEED

        @STPROF
        (0)<#FXD><X#XPOS><Y#YPOS><Z#ZPOS>   <= initial rapid

The initial move will now be output by the @STPROF section.

By the way, if you ever intend to use create an incremental program or sub
you may have major problems. I worked with Dynapath System 10 and your use
of the word #ABSI appears to be inconsistent. Some sections have them, some
don't.

============================================= 
 Fred Lauzus, CAM Programming Coordinator 
 High Steel Structures, Incorporated 
 mailto:[EMAIL PROTECTED] http://www.highsteel.com 
============================================= 
  
-----Original Message-----
From: John Evans [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 11:09 AM
To: Smartcam user group (E-mail)
Subject: [mfg-smartcam] code generator


        Can any one tell me my I get the extra blank rapid line with these
generators. This is a Dynapath machine and in conversational programming a
line starts with (0) if it is a rapid line. At the start of profiles after
tool change I get a line with only block#,(0),$. I have included tmp, smf,
and an example code file. <<center core TOOL 1.dpt>> <<dmc1000.SMF>>
<<dmc1000.TMP>> 
John Evans 
Engineer 
Stanhope Products and Flow-dry Desiccant Packages 
Read about our latest news at: 
http://www.stanhope.com/news_main.html 
http://www.flowdry.com/news.html 





*********************************** 
This email is confidential and may be privileged. It may be read,copied and
used only by the intended recipient. If you believe you have received it in
error, please contact the sender immediately, by return email or by
telephoning 800-533-0077. Please then delete the email and do not disclose
its contents to any person.
While all email sent from Stanhope is scanned for viral infections, no
warranty is expressed or implied that this email or attachments are virus
free.  If you believe that this email or attachment may contain a virus,
please notify the sender or [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