Discussion
Communication between UR and Cognex |
23 views
|
Answered | |
/ Most recent by matthewd92
in Programming
|
1 comment |

Hi all,
I’m having some issues to create a communication between cognex camera and UR10 robot. Please see the same code in below:
Connected:=socket_open(“192.168.1.124”,30008,"socket0)
Wait:1.0
socket_send_string(“admin”,“socket0)
socket_send_byte([13,10],“socket0”)
wait:0.01
ustat2=socket_read_line(“socket0)
wait:0.01
socket_send_string(””,"socket0)
socket_send_byte([13,10],“socket0”)
wait:0.01
pstat=socket_read_line("socket0)
wait:0.01
but not able to login the camera. Please see attached screenshot of UR teachpendant screen. After the communication is established, cognex doesn't ask for user name. Bu I still send the "admin" comment. But response is "User: Password: Invalid Password" on the same line. Do you have any suggestions?
Thanks!
Comments
-
matthewd92 Founding Pro, Tactile Sensor Beta Testers Posts: 1,267 Handy
is the camera able to interpret the array of bytes you are sending after the command? I’ve never needed to send a user name and password to a Cognex camera for communication with it so not sure0 · TwitterFacebook