EPSON码垛and程序
Function main
Move P0
Pallet 1, P1, P2, P3, P4, 5, 5
Pallet 2, P5, P6, P7, P8, 5, 5
Integer a, b, c
b = 0
c = 0
For a = 1 To 12
b = b + 1
c = c + 1
Do Until b = 1 Or b = 2 Or b = 3 Or b = 6 Or b = 7 Or b = 8 Or b = 11 Or b = 12 Or b = 13 Or b = 16 Or b = 17 Or b = 18
b = b + 1
Loop
Do While c <> 1 And c <> 2 And c <> 3 And c <> 4 And c <> 6 And c <> 7 And c <> 8 And c <> 9 And c <> 11 And c <> 12 And c <> 13 And c <> 14
c = c + 1
Loop
Go Pallet(1, b) +Z(50)
Move Pallet(1, b)
On 8
Wait 0.5
Move Pallet(1, b) +Z(50)
Go Pallet(2, c) +Z(50)
Move Pallet(2, c)
Off 8
Wait 0.5
Move Pallet(2, c) +Z(50)
Next a
Move P0
Fend
了解更多机器人资讯点击:EPSON机器人、爱普生机器人、爱普生SCARA机器人
- 下一篇:EPSON码垛OR程序
- 上一篇:使用DeviceNet 的好处?