Title: RE: [mfg-smartcam] POST HELP?
Your #IF's should be replaced by #IFSTR's as H1 is a string.
----- Original Message -----
From: Mike Sharp
Sent: Tuesday, October 21, 2003 9:40 PM
Subject: RE: [mfg-smartcam] POST HELP?

I think this will do it

     -----Original Message-----
    From:   Steve Nelson [mailto:[EMAIL PROTECTED]]
    Sent:   Tuesday, October 21, 2003 11:45 AM
    To:     Smartcam
    Subject:        [mfg-smartcam] POST HELP?

    Hello Smartcam Users,
    Im trying to write a post for a Cincinnati a950mc control I am programming off the centerline of the pallet and its a horizontal machine so I have three tubes 33.0" long six different surfaces I named them H1,H2,H3,H4,H5,H6. and H1,H2,H3 are at zero deg. H4,H5,H6 are at 180 deg.



    This is what my post looks like:
    @DECLARE
    #IF(WKPLN=H1)<#INDXB=B0>
    #IF(WKPLN=H2)<#INDXB=B0>
    #IF(WKPLN=H3)<#INDXB=B0>
    #IF(WKPLN=H4)<#INDXB=B180>
    #IF(WKPLN=H5)<#INDXB=B180>
    #IF(WKPLN=H6)<#INDXB=B180>


    @START
    #EVAL(#U0=0)
    #IF(#U0=1)< START>
    %
    :G0 G70 G90 T#TOOL M6
    (MSG,#TDESC)
    X#XPOS Y#YPOS B#INDXB #SPEED #SPNDL T#NTOOL #WKPLN
    <#MOV>Z#ZPOS M8

    @TOOLCHG
    #IF(#U0=1)< TOOLCHANGE SECTION>
    G0 Z20 H0
    <#FXD>
    :G0 G70 G90 T#TOOL M6
    (MSG,#TDESC)
    G0 Z#ZPOS
    X#XPOS Y#YPOS B#INDXB S#SPEED #SPNDL T#NTOOL #WKPLN
    <#MOV>Z#ZPOS M8

    How can I get my output to show B0 or B180 at these  #INDXB areas.

    This is what I'm getting so far:
    %
    :G0 G70 G90 T270 M6
    (MSG,6.000 DIA. FACE MILL)
    X-6.0 Y5.8 0.0 350 M3 T240 H4
    Z18.0 M8
    Z16.6
    G1Z-16.5F7.5

    Any help would be greatly appreciated.

Reply via email to