3dprintforums logo



Results 1 to 6 of 6

Thread: Macro for FIXTURE OFFSET (mazak variaxis mazatrol matrix)

  1. #1
    Registered
    Join Date
    Dec 2006
    Location
    Indonesia
    Posts
    23
    Downloads
    0
    Uploads
    0

    Macro for FIXTURE OFFSET (mazak variaxis mazatrol matrix)

    I need to know if mazak variaxis macros program is available for fixture offset:
    (G54P1-P8). It means I only need create only one program for other same stock of same item in other different MCS origin.
    My freind did the same way with other machine(5 axis) and its run well.

    Please help me
    Maryadi
    Appl Engineer
    NSI-Indonesia
    Jakarta

    Similar Threads:


  2. #2
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    Not totally sure what you're looking for here. But with your offset references, I think you're talking about Dynamic offsets? (G54.2 P1-P8). If so, yes... there are variables to write to this if you have the Dynamic Comp II option.

    For ex:

    G54.2P1 X = #5521
    G54.2P1 Y = #5522
    G54.2P1 Z = #5523
    .
    .

    G54.2P2 X = #5541
    G54.2P2 Y = #5542
    .
    .
    etc, etc...

    It's just a part..... cutter still goes round and round....


  3. #3
    Registered
    Join Date
    Dec 2006
    Location
    Indonesia
    Posts
    23
    Downloads
    0
    Uploads
    0

    Re:Macro for FIXTURE OFFSET (dynamic offset)

    Hi,..
    Is it work if I write in G-code like this below?, please corrected if any error/wrong:
    ================================================
    O0001 ()
    G40 G17 G94 G90 G21
    G91 G28 Z0.0
    N4 T01
    M06
    M46
    M43
    M08
    M98P5000
    (G54.2P1)
    #5521
    #5522
    #5523

    G0 G90 A-45. C90. S2000 M03
    G43 X0.0 Y-228.777 H01
    Z278.877
    ..
    .
    .
    ====================================================



  4. #4
    Registered
    Join Date
    Dec 2005
    Location
    Indonesia
    Posts
    10
    Downloads
    0
    Uploads
    0
    hello,

    Those variable only to write value into dynamic offset II.
    For example, you want to input value X-315.000 Y-315.000 into G54.2P1.
    You can write as follows :
    ================================================
    O0001 ()
    G40 G17 G94 G90 G21
    G91 G28 Z0.0
    N4 T01
    M06
    M46
    M43
    M08
    #5521=-315.000
    #5522=-315.000
    G54
    G54.2P1

    G0 G90 A-45. C90. S2000 M03
    G43 X0.0 Y-228.777 H01
    Z278.877
    ..
    .



  5. #5
    Registered
    Join Date
    Mar 2005
    Location
    Silicon Valley, CA
    Posts
    988
    Downloads
    0
    Uploads
    0
    .... or you can G10 the offsets...

    G90 G10 L20 P1 X315.000 Y315.000 (G54.1 P1)
    G90 G10 L20 P2 X315.000 Y315.000 (G54.1 P2)

    It's just a part..... cutter still goes round and round....


  6. #6
    Registered
    Join Date
    Jul 2009
    Location
    UK
    Posts
    6
    Downloads
    0
    Uploads
    0

    Offset Program for MAZAK FUSION 640 (And Later) Dynamic Offsets

    We use the program that is listed below. We have numerous, up to 8 fixtures loaded on the machine at any one time.(The fixture locations never move)

    It also allows the operators to adjust individual (XYZ) of each position for minor adjustmens on size. This is done by editing the macro variables between #900#972 for the relevant XYZ values.

    For instance if the Z size on a component in POS 1 is -.5 mm.
    You would enter .5 in macro #902.

    Main program would look like this

    G65 P9990
    G00 G90 G54.1 P1

    Ie you need to call offset program every time you change datums ( This will pick up any adjustments the operator has made.


    You would need to inoput the psotions of each of your fixtures/program datums in to the values below.

    I guess this is only useful if you have fixtures that go on in the same place everytime but hope it helps

    Bill

    O00009990(OFFSET MASTER MACRO FOR --)
    (PROGRAM - 9990)
    (RUN - 002)
    (DATE - 10/04/2009)
    ( PROGRAM AND RUN NUMBER 9990)
    (WORK OFFSET SHIFT MASTER MACRO ---)
    #3003=1 (SINGLE BLOCK STOP DISABLE)
    #999=7770 (MACHINE NUMBER)
    (OFFSETS FOR PALLET 1)
    (POSITION 1)
    #1=-474.849 (P1 X)
    #2=-164.839 (P1 Y)
    #3=-386.969 (P1 Z)
    (POSITION 2)
    #4=-474.8377 (P2 X)
    #5=-390.128 (P2 Y)
    #6=-386.988 (P2 Z)
    (POSITION 3)
    #7=-194.778 (P3 X)
    #8=-390.2103 (P3 Y)
    #9=-386.955 (P3 Z)
    (POSITION 4)
    #10=-474.8377 (P4 X)
    #11=-390.128 (P4 Y)
    #12=-386.988 (P4 Z)
    (POSITION 5)
    #13=-194.778 (P5 X)
    #14=-390.2103 (P5 Y)
    #15=-386.955 (P5 Z)
    (POSITION 6)
    #16=-1236.088 (P6 X)
    #17=-144.518 (P6 Y)
    #18=-386.988 (P6 Z)
    (POSITION 7)
    #19=-1236.158 (P7 X)
    #20=-362.968 (P7 Y)
    #21=-386.991 (P7 Z)
    (POSITION 8)
    #22=-1485.187 (P8 X)
    #23=-383.171 (P8 Y)
    #24=-386.99 (P8 Z)
    (POSITION 9)
    #25=-1236.158 (P9 X)
    #26=-362.968 (P9 Y)
    #27=-386.991 (P9 Z)
    (POSITION 10)
    #28=-1485.187 (P10 X)
    #29=-383.171 (P10 Y)
    #30=-386.99 (P10 Z)
    #33=0.75 (+/- TOL LIMIT FOR ADJUSTMENT)
    (CHECK ALL WORK OFFSET ADJUSTMENTS ARE LESS THAN TOL VALUE)
    #32=0
    WHILE[#32LE48]DO1
    IF[#[900+#32]EQ#0]GOTO40
    IF[#[900+#32]GT#33]GOTO50
    IF[#[900+#32]LT[-1.0*#33]]GOTO50
    N40
    #32=#32+1
    GOTO80
    N50
    #3000=98(-WORK-OFFSET-SHIFT-#-TOO-BIG-)
    N80
    END1
    (G54.1 P1 POSITION VALUES FOR POS NO.1)
    #7001 = #1+#[900] (X PALLET)
    #7002 = #2+#[901] (Y PALLET)
    #7003 = #3+#[902] (Z PALLET)
    (G54.1 P2 POSITION VALUES FOR POS NO.2)
    #7021 = #4+#[905] (X PALLET)
    #7022 = #5+#[906] (Y PALLET)
    #7023 = #6+#[907] (Z PALLET)
    (G54.1 P3 POSITION VALUES FOR POS NO.3)
    #7041 = #7+#[910] (X PALLET)
    #7042 = #8+#[911] (Y PALLET)
    #7043 = #9+#[912] (Z PALLET)
    (G54.1 P4 POSITION VALUES FOR POS NO.4)
    #7061 = #10+#[915] (X PALLET)
    #7062 = #11+#[916] (Y PALLET)
    #7063 = #12+#[917] (Z PALLET)
    (G54.1 P5 POSITION VALUES FOR POS NO.5)
    #7081 = #13+#[920] (X PALLET)
    #7082 = #14+#[921] (Y PALLET)
    #7083 = #15+#[922] (Z PALLET)
    (G54.1 P6 POSITION VALUES FOR POS NO.6)
    #7101 = #16+#[950] (X PALLET)
    #7102 = #17+#[951] (Y PALLET)
    #7103 = #18+#[952] (Z PALLET)
    (G54.1 P7 POSITION VALUES FOR POS NO.7)
    #7121 = #19+#[955] (X PALLET)
    #7122 = #20+#[956] (Y PALLET)
    #7123 = #21+#[957] (Z PALLET)
    (G54.1 P8 POSITION VALUES FOR POS NO.8)
    #7141 = #22+#[960] (X PALLET)
    #7142 = #23+#[961] (Y PALLET)
    #7143 = #24+#[962] (Z PALLET)
    (G54.1 P9 POSITION VALUES FOR POS NO.9)
    #7161 = #25+#[965] (X PALLET)
    #7162 = #26+#[966] (Y PALLET)
    #7163 = #27+#[967] (Z PALLET)
    (G54.1 P10 POSITION VALUES FOR POS NO.10)
    #7181 = #28+#[970] (X PALLET)
    #7182 = #29+#[971] (Y PALLET)
    #7183 = #30+#[972] (Z PALLET)
    #3003=0 (SINGLE BLOCK STOP ENABLE)
    M99



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed