EPSON码垛OR程序
Pallet 1, P1, P2, P3, P4, 5, 5
Pallet 2, P5, P6, P7, P8, 3, 9
Integer a, b, c
b = 0
c = 0
For a = 1 To 16
b = b + 1
c = c + 1
Do Until b = 6 Or b = 7 Or b = 8 Or b = 9 Or b = 11 Or b = 12 Or b = 13 Or b = 14 Or b = 16 Or b = 17 Or b = 18 Or b = 18 Or b = 19 Or b = 21 Or b = 22 Or b = 23 Or b = 24
b = b + 1
Loop
Do While c = 1 Or c = 2 Or c = 3 Or c = 6 Or c = 9 Or c = 12 Or c = 15 Or c = 18 Or c = 21 Or c = 24 Or c = 27 And c < 28
c = c + 1
Loop
Go Pallet(1, b) +Z(20)
Move Pallet(1, b)
Wait 0.5
Move Pallet(1, b) +Z(20)
Go Pallet(2, c) +Z(20)
Move Pallet(2, c)
Wait 0.5
Move Pallet(2, c) +Z(20)
Next a
Fend
了解更多机器人资讯点击:EPSON机器人、爱普生机器人、爱普生SCARA机器人