Hi Hosam, nice to meet you here.
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- 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
DO(1,1) //Air pump on, to grip the material
Move(P4,“SpeedS=100 AccelS=100 SYNC=1”) //Lift up the working point