Discussion

Left ArrowBack to discussions page
SweiskittelSweiskittel Posts: 3 Apprentice
I am trying to get a UR5e to receive input from GageMAte software. The software is simulating an I/O board over TCP/IP. I am able to connect by opening a socket (socket_open("192.168.1.2",6000,socket_name="gagemate")). Commands that are sent (socket_send_line("NextEvent",socket_name="gagemate")) are received by GageMate and will be processed. When I try to get an input by sending a string (socket_send_line("Dio 2 ?",socket_name="gagemate")) I get no return, which I realize is because the robot is not expecting a response. Is there a script or command that will allow me to send a string/command and wait for a string to be returned?

Comments

Sign In or Register to comment.
Left ArrowBack to discussions page