Spot Welding Robot, Manufacturer-TURIN Robot

TURIN Robot

HOME > SOLUTION > Handling Solution

A+ | Reset | A-

Handling Solution

Robot Assembling Spring With Vision

Robot Assembling Spring With Vision(图1)

Action description:

The manipulator takes photos from the material tray to the top of the lower camera. Correct the position deviation and press in the spring coil.

Demo code.jpg

Demo code.jpg

Demo code.jpg

Demo code.jpg

Demo code.jpg

Robot as server, vision as client. The overall structure of the communication script is as follows

WHIIE(1)

Set up the server to wait for the client to connect. The connection successfully enters the next level of circulation. Block the function. If it fails, wait all the time.

WHILE(1)

while(1)

Wait for receiving the visual data unconditionally, the receiving successfully jumps out of the cycle, and the data is stored in S1

endwhile

Send data to the client through the setting of variable V101. The value of V100 determines what data to send.

ENDWHILE

Disconnect client

Shut down the server

ENDWHILE

Once the return value of the communication related function is less than 0, it indicates the communication failure. Will jump to shut down the server and automatically reconnect.

sotrobot whatsapp Whatsapp sotrobot skype Skype sotrobot email Email sotrobot message Message

Contact Us

Tel:+86 28 86623586
Online:+86 13551010933(WhatsApp/Wechat)
Add:#169 Li Fa Avenue, Hai An City, Nan Tong City, Jiang Su Province, China
Copyright © 2018-2020 TURIN Robot

+86 28 86623586

info@sotrobot.com

Copyright © 2018-2020 TURIN Robot