Denso RC5 Dokumentacja Strona 440

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 692
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 439
14-16
Related Terms
GIVEARM, TAKEVIS, GIVEVIS
Example
Example 1:
PROGRAM PRO1 '
TAKEARM 'Executes TAKEARM on the first line of the program which
'instructs the robot motion.
MOVE P, P1 '
MOVE P, P2 '
GIVEARM 1 '
Releases robot control priority with GIVEARM when this is
'
finished.
'
This is not always required since the priority is automatically
'
released with END just after this
statement.
END '
Example 2:
PROGRAM PRO2 '
MOVE P, P3 '×: If a MOVE instruction is executed without execution of
'TAKEARM, an error occurs.
'
END '
Example 3:
PROGRAM PRO3 '
TAKEARM '
MOVE P, P4 '
CALL SUB1 '
END '
PROGRAM SUB1 '
MOVE P, P5 '
An error does not occur since TAKEARM has already been executed
'by PRO3.
END '
Example 4:
PROGRAM PRO4 '
TAKEARM '
SPEED 50 '
CHANGEWORK 3 '
CHANGETOOL 1 '
MOVE P, P5 '
CALL PRO5 '
END '
PROGRAM PRO5 '
TAKEARM 'An error does not occur even if TAKEARM is instructed
twice
'by PRO4 since this is called as a subroutine of PRO4.
MOVE P, P6 '
However, the tool coordinates and the work coordinates are 0 and the
internal
'
speed is 100.
END '
Przeglądanie stron 439
1 2 ... 435 436 437 438 439 440 441 442 443 444 445 ... 691 692

Komentarze do niniejszej Instrukcji

Brak uwag