help with welding loop

  • :help:
    Hello everyone
    I use the DX200 controller
    And I want to make a loop that the robot will reach a certain point, make a 20 mm weld and move 30 mm on the Y axis and do the same welding operation for 26 times.
    How do you do this?


    Thanks in advance


    ADI,

  • I would teach regular command positions for your start, approach and weld start points and then use IMOV commands to incremental linear moves for your weld duration and your 20mm move. You will need to set these up in P variables.


  • I would teach regular command positions for your start, approach and weld start points and then use IMOV commands to incremental linear moves for your weld duration and your 20mm move. You will need to set these up in P variables.


    What is your spacing?

  • I do it like this...


    I typed from memory syntax may not be correct...


    MOVJ VJ=100.00 Home


    SETE P000 (2) 20 Sets Y to 20 mm
    *LOOP
    SFTON P001


    MOVJ VJ=100.00 Approach
    MOVJ VJ=100.00 At weld start
    ARCON
    MOVL P007 V=100.00 Move to weld end
    ARCOF
    MOVJ VJ=100.00 Depart


    SFTOF


    INC I001
    ADD P001 P000 Adds Shift distance for next pass
    JUMP *LOOP IF I001>5 Loops if less than 5 passes
    SUB P001 P001 Clears shift amount
    SUB P000 P000 Clears shift distance
    SUB I001 I001 Clears pass counter


    MOVJ VJ=100.00 Home


    I edited to add SFTOF

    Oh, well

    Edited once, last by tony gast ().

Advertising from our partners