How does ABB robot communicate with the camera ?

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

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 / 热点新闻
2019 - 09 - 06
点击次数: 9
The towline cable can be divided into different types according to different functions: high flexible data towline cable, high flexible power supply towline cable, and high flexible control cable. Now...
2019 - 09 - 05
点击次数: 7
In every corner of the earth, there is a butterfly effect on the revolution of AI. Even small changes will create a huge storm around us. Everyone knows that this is a technological innovation about t...
2019 - 09 - 04
点击次数: 17
Precautions for purchasing industrial camerasHow to choose industrial cameras in practical applications such as machine vision and industrial imaging?1、Analog Camera & Digital CameraThe analog cam...
GET IN TOUCH
Shenzhen Euroway Technology Co.,Ltd.
5F,Avatar Xinqiao Innovation Park, No 6-8 Xinhe Street,Xinqiao, ShaJing Town, Bao'an District, Shenzhen 518125 PRC
86 0755-2320 0789
SITE GUIDE
Copyright ©2019 - 2024 Shenzhen Euroway Technology Co.,Ltd.
犀牛云提供企业云服务