PULSEDO

  • In the next program, the robot stops betwen two LIN movements. I think that the problem is the PULSE instruction.


    ¿ Replacing the "PULSE(...)" instruction for"TRIGGER WHEN DISTANCE=0 DELAY=0 DO PULSE(...)" can solve this problem ?



    LIN {X 156.37, Y 259.36, Z -104.68, A 85.29, B 18.29, C -93.82} C_VEL
    ApplyPastePistol()
    LIN {X 153.85, Y 272.3, Z -104.62, A 90.4, B -10.07, C -94.16} C_VEL


    DEF ApplyPastePistol()
    IF (m_iTimeApplyPasteU3 == 0)THEN
    PULSE(m_BXdo_bU3ApplyPasteD1,TRUE,0.5)
    ELSE
    PULSE(m_BXdo_bU3ApplyPasteD1,TRUE,m_iTimeApplyPasteU3/1000)
    ENDIF
    END


    I can't try with the robot, because it's in the customer home.


    Thanks so much to all.


    DAMIA

  • Schritt für Schritt zum Roboterprofi!
  • Thats correct, if the robot choos a underprogramm the prewiewpointer stops, the mainpointer stops and the movements allthough.


    $Advance=5


    LIN {X 156.37, Y 259.36, Z -104.68, A 85.29, B 18.29, C -93.82} C_VEL


    IF (m_iTimeApplyPasteU3 == 0)THEN
    CONTINUE ;Attention, no empty Lines after the Continue command
    PULSE(m_BXdo_bU3ApplyPasteD1,TRUE,0.5)
    ELSE
    CONTINUE
    PULSE(m_BXdo_bU3ApplyPasteD1,TRUE,m_iTimeApplyPasteU3/1000)
    ENDIF


    LIN {X 153.85, Y 272.3, Z -104.62, A 90.4, B -10.07, C -94.16} C_VEL

    Die Abnahme von GOTO Anweisungen verhält sich reziprok zur Qualität einer Programmierung

Erstelle ein Benutzerkonto oder melde dich an um zu kommentieren

Du musst ein Benutzerkonto haben um einen Kommentar hinterlassen zu können

Benutzerkonto erstellen
Neues Benutzerkonto für unsere Community erstellen. Geht einfach!
Neues Benutzerkonto erstellen
Anmelden
Du hast bereits ein Benutzerkonto? Melde dich hier an.
Jetzt anmelden