Skip to main content
1-Visitor
October 29, 2011
Question

Fill routines for Fixture Offset and Tool length offset

  • October 29, 2011
  • 1 reply
  • 1023 views
Dear Pro/Gurus I need your expert help.



I need two fill routines,

First to add the line G0 X0 Y0 C0 B0 after the fixture offset (set / ofsetl,
54)

and the second to read the tool number of Loadtl / 1
and put it along with Spindle command with the format G43.4 H1 S...M3



Before

T1

M6

G54

S1100M3

G1G94X241.131Y0.0Z-66.0C0.0F9999B90.0

X162.0

X158.0F100



After

T1

M6

G54

G0X0Y0C0B0

G43.4H1S1100M3

G1G94X241.131Y0.0Z-66.0C0.0F9999B90.0

X162.0

X158.0F100



T.I.A



Georgios Lambouras



C.N.C programmer



    1 reply

    1-Visitor
    October 30, 2011
    Dear Pro/Gurus I need your expert help.

    Gpost forces tool length offset number (G43.4) along with (H) register
    to be output with the next Z value.



    Is there a fill routine that reads the tool number (LOADTLl / 1) put it
    together with spindle command
    composing the following format?



    G43.4 H1 S1100 M3



    Or it can be output right after the spindle command.

    S1100 M3

    G43.4 H1



    Before

    T1

    M6

    G091 G28 Z0.0

    G090

    G54

    G0X0.0Y0.0C0.0B0.0

    S1100M3

    G1G94G43.4X241.131Y0.0Z-66.0C0.0F9999H1M8B90.0

    X162.0

    X158.0F100

    X241.131F9999



    After

    T1

    M6

    G091 G28 Z0.0

    G090

    G54

    G0X0.0Y0.0C0.0B0.0

    G43.4H1S1100M3

    G1G94X241.131Y0.0Z-66.0C0.0F9999M8B90.0

    X162.0

    X158.0F100

    X241.131F9999



    NCL FILE



    $$* Pro/CLfile

    $$-> MFGNO / T15_MFG

    PARTNO / T15_MFG

    $$-> FEATNO / 148

    MACHIN / UNCX01, 32

    $$-> CUTCOM_GEOMETRY_TYPE / OUTPUT_ON_CENTER

    UNITS / MM

    LOADTL / 1 $$-> CENTER DRILL 6MM 90DEG

    $$-> CUTTER / 6.000000

    SET / OFSETL, 54

    $$-> CSYS / 1.0000000000, 0.0000000000, 0.0000000000, 0.0000000000, $

    0.0000000000, 1.0000000000, 0.0000000000, 0.0000000000, $

    0.0000000000, 0.0000000000, 1.0000000000, 0.0000000000

    MULTAX / ON

    INSERT/G0 X0.0 Y0.0 C0.0 B0.0$

    SPINDL / RPM, 1100.000000, CLW

    COOLNT / ON

    FEDRAT / 9999.000000, MMPM

    GOTO / 241.1307, 0.0000, -66.0000, $

    1.00000000, 0.00000000, 0.00000000

    GOTO / 162.0000, 0.0000, -66.0000, $

    1.00000000, 0.00000000, 0.00000000

    FEDRAT / 100.000000, MMPM

    GOTO / 158.0000, 0.0000, -66.0000, $

    1.00000000, 0.00000000, 0.00000000



    T.I.A



    Georgios Lambouras



    C.N.C programmer



    _____