MG400 Suction cup over TCP/IP


#1

Hi there

I have few questions regarding the suction cup of MG400:

1- Do I need to have an air pump to be able to use the suction cup delivered with the Robot? Or is there an air pump embedded in the Robot body?
2- Which API functions I need to control the suction cup via TCP/IP in C++? And if there are such functions, where can I find the source code?

greetings,
Hosam


#2

Hi Hosam, nice to meet you here.

  1. Do I need to have an air pump to be able to use the suction cup delivered with the Robot? Or is there an air pump embedded in the Robot body?
    ------Yes, you will need external air pump to use the suction cup. There’s an internal pipe in MG400 from the base to the end that you can use, so there’s no need for external air pipe. But still you need prepare the air pump box by yourself.

  2. 2- Which API functions I need to control the suction cup via TCP/IP in C++? And if there are such functions, where can I find the source code?
    ------You can use the DI to trigger the air pump. There’s a little part of example program:

Move(P2,“SpeedS=100 AccelS=100”) //Move to the higher position of the material

Move(P3,“SpeedS=100 AccelS=100”) //Move to the point to grip the material

Wait(100)

DO(1,1) //Air pump on, to grip the material

DO(2,1)

Wait(100)

Move(P4,“SpeedS=100 AccelS=100 SYNC=1”) //Lift up the working point

StopSyncCnv()