Home› Robotiq Products
Discussion
Back to discussions page
Malai_R_Prog
Posts: 7 Apprentice
how to communicate Cognex vision using TCP/IP ( SOCKET ) |
167 views
|
Answered | |
/ Most recent by Malai_R_Prog |
2 comments |
hi @matthewd92 ,

In Cognex side,
1) I am using a nattive command communication via TCP/IP.
2) I checked via the telnet portal on PC it's working.
3) I send a command via typing the portal.
like that, I plan to send and receive a string to cognex via socket programming
in UR side
1) I opened a port
2) receive a string it's coming
3) I send a string it's not received on the camera side
what is the problem I don't know so I will share a picture of my program

In Cognex side,
1) I am using a nattive command communication via TCP/IP.
2) I checked via the telnet portal on PC it's working.
3) I send a command via typing the portal.
like that, I plan to send and receive a string to cognex via socket programming
in UR side
1) I opened a port
2) receive a string it's coming
3) I send a string it's not received on the camera side
what is the problem I don't know so I will share a picture of my program
Thanks,
Matt
In Cognex it's working sir we use telnet portal for sending instructions to insight software.
in the UR robot side I received a value but I send the string but it not received in camera side
Socket_ send_string("admin")
var_1:= Socket_ send_string("admin")
variables :
var_1:= True