Advertisement
programlogicpro

Practica2_Robotstudio_part2

Nov 11th, 2022 (edited)
129
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.66 KB | Software | 0 0
  1. PROC rutina3()
  2.        
  3.            
  4.         p100:=p10;
  5.        
  6.        
  7.         FOR i FROM 1 TO 3 DO
  8.            
  9.             MoveJ p40, v1000, z50, MyTool;
  10.             WaitTime i*2;
  11.            
  12.             MoveJ p100, v1000, fine, MyTool;
  13.                 MoveL Offs(p100,0,i*(-40),0), v1000, fine, MyTool;
  14.                 MoveL Offs(p100,i*(40),i*(-40),0), v1000, fine, MyTool;
  15.                 MoveL Offs(p100,i*(40),0,0), v1000, fine, MyTool;
  16.                 MoveL Offs(p100,0,0,0), v1000, fine, MyTool;
  17.            
  18.                      
  19.          p100 := Offs(p10,0,i*(-40) + (-30),0);
  20.            
  21.         ENDFOR
  22.        
  23.        
  24.        
  25.        
  26.     ENDPROC
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement