How does ABB robot communicate with the camera ?

日期: 2019-08-16
浏览次数: 10

How does ABB robot communicate with the camera ?

1)Robots and cameras generally use socket communication (TCP/IP). So the robot needs to have the pc-interface option. 

How does ABB robot communicate with the camera ?


2)The robot generally does the client, find the Socket Create in the teach pendant-program editor and adding the command -communicate, as shown below:

How does ABB robot communicate with the camera ?


3The following figure shows the general steps for the robot to communicate between the client and the camera:

How does ABB robot communicate with the camera ?


SocketCreate socket1; //Create a socket

SocketConnect socket1,'192.168.0.2',8005; //Connect to the server, here you need to set the ip and port of the server.

TPWrite 'connected success' ;//Output information after successful connection

WHILE TRUE DO

!routine

SocketSend socket1Str:='Hello server';//Send a request to the server

SocketReceivesocket1Str:=received_string;//serverReceive a data string and store it in a received string.

TPWrite 'Server wrote- '+received_string;// write screen received string.

END WHILE

4)If the communication is successful, the robot can receive the string sent by the camera. For example, the x offset is 1.23, the y offset is 4.56, and the angle is 7.89. 

How does ABB robot communicate with the camera ?


Go and try your robot if it can connect to the camera!

http://www.sohu.com/a/223950967_202023 


Related News / 热点新闻
2020 - 05 - 11
点击次数: 37
We use HDMI device every day, such as DVD, TV, STB, Projector, Laptop, Computer, etc. Sometimes, we find that the HDMI cable is too short to connect these HDMI devices.  And if you google th...
2020 - 05 - 04
点击次数: 44
The importance of DDC in HDMI,do you know?     Most of us, when we start to use one piece of HDMI cable, we are facing a risk, that is compatibility issue! No matter what kind of HDMI c...
2020 - 04 - 29
点击次数: 32
HDMI AOC is become so popular today, a lot of people start to use HDMI AOC from 5m to 100m, to instead of traditional long HDMI cable and HDBaseT extenders. The HDMI AOC have its own advantage, such a...
GET IN TOUCH
Shenzhen Euroway Technology Co.,Ltd.
2-3/F, No.1, Dawei Third Road, Xinqiao Street, Shajing Town, Bao'an, Shenzhen, China 518125
86 0755-2320 0789
SITE GUIDE
Copyright ©2019 - 2024 Shenzhen Euroway Technology Co.,Ltd.
犀牛云提供企业云服务