Advertisement
programlogicpro

Practica2_Robotstudio

Nov 11th, 2022
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.13 KB | Software | 0 0
  1. PROC rutina1()
  2.         ! Quadrat 40x40
  3.                 ! Quadrat 40x40
  4.                 MoveJ p10, v1000, fine, MyTool;
  5.                 MoveL Offs(p10,0,-40,0), v1000, fine, MyTool;
  6.                 MoveL Offs(p10,40,-40,0), v1000, fine, MyTool;
  7.                 MoveL Offs(p10,40,0,0), v1000, fine, MyTool;
  8.                 MoveL Offs(p10,0,0,0), v1000, fine, MyTool;
  9.                 MoveJ p40, v1000, z50, MyTool;
  10.                 WaitTime 2;
  11.         ! Quadrat 80x80
  12.                 MoveL Offs(p10,0,-70,0), v1000, fine, MyTool;
  13.                 MoveL Offs(p10,0,-150,0), v1000, fine, MyTool;
  14.                 MoveL Offs(p10,80,-150,0), v1000, fine, MyTool;
  15.                 MoveL Offs(p10,80,-70,0), v1000, fine, MyTool;
  16.                 MoveL Offs(p10,0,-70,0), v1000, fine, MyTool;
  17.                 MoveJ p40, v1000, z50, MyTool;
  18.                 WaitTime 4;
  19.         ! Quadrat 120x120
  20.                 MoveL Offs(p10,0,-180,0), v1000, fine, MyTool;
  21.                 MoveL Offs(p10,0,-300,0), v1000, fine, MyTool;
  22.                 MoveL Offs(p10,120,-300,0), v1000, fine, MyTool;
  23.                 MoveL Offs(p10,120,-180,0), v1000, fine, MyTool;
  24.                 MoveL Offs(p10,0,-180,0), v1000, fine, MyTool;
  25.                 MoveJ p40, v1000, z50, MyTool;
  26.     ENDPROC
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement