Blocking for MG400 TCP/IP


#1

Is it possible to use blocking in TCP-IP-python?

This was available in the previous DobotSDK1.4.1 with an ‘isBlock’ argument in movL etc.

I have been trying to use socket_feedback.recv to check the robot state, then block while a move is underway. However, the recv data is not updated during a move, so I can’t see how to do it.

thanks
Nathan


#2

Dear Nathan,

Our TCP-IP protocol has the “Sync” command to block

Best regards,


#3

Great, thanks, I see: Sync() pauses until execution is complete.