Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Integer index
Pallet 1, 1P6x2, 2P6x2, 3P6x2, 2, 6
Pallet 2, 1P4x3, 2P4x3, 3P4x3, 3, 4
InitRobot
For index = 1 to 12
Jump Pallet(1, index)
ClampClose 1
Wait 0.5
Jump Pallet(2, index)
ClampOpen 1
Wait 0.5
Next I
'declare points 1 to 12
'move to pallet 1
'close clamp to pick up object
'waits for .5 seconds before next step
'move to pallet 2
'drop object
'waits for .5 second before next step
'next integer
Fend
Function IntRobot
Reset
Motor On
Power Low
'turns motor on
'keeps motor speed low
on
Fend