top of page

Cobots & Robotic Arm

FR Robot As socket master station

4/4/26

Upload Date:

Duration:

PT05M02S

Video Transcript

0:03

This video shows communication tutorials

0:05

for effort robots acting as socket

0:07

master stations. First enter the

0:10

programming interface and write the

0:12

robot socket client program.

0:21

Add a continuous loop instruction.

0:25

When the FR robot communicates with the

0:27

outside world as a client, we primarily

0:30

use four commands. Sock open establishes

0:33

a communication connection with the

0:34

server. Socket close the connection to

0:38

the server.

0:47

So send string. The robot sends

0:49

characters to the server.

0:54

So red string robot reads characters

0:57

sent by the server.

1:00

Let's first examine the sock to open

1:01

command. This command requires three

1:04

parameters. The server IP address, the

1:06

server port number and socket

1:08

identifiers supporting for channels from

1:11

socket_0 to socket_3.

1:24

Enter the server IP address.

1:28

Note the server address must be on the

1:30

same network segment as the bot

1:35

input communication port.

1:45

The socket close command requires the

1:47

target channel as its sole parameter.

1:54

The first of socket send string is the

1:56

content of characters that the robot

1:57

client needs to send. The second is the

2:00

target channel.

2:02

The third parameter specifies whether

2:04

the operation is blocking. Zero for

2:06

blocking. E4 non blocking.

2:12

The first parameter of sock tread string

2:14

is the target channel.

2:18

The second indicates whether the

2:20

operation is blocking. Similarly zero

2:23

means blocking and means non blocking.

2:36

Adjust the program.

2:52

Determine the character information

2:54

received from the server.

3:03

Set the state of go one.

3:15

Set do1 output to 5 seconds.

3:36

after the dough output completes. Send a

3:39

message to the server.

3:57

Upon receiving end, terminate

3:59

communication.

4:05

After writing the program, switch to

4:07

automatic mode.

4:15

Open the network debugging assistant and

4:17

establish communication.

4:20

View communication status via the

4:22

network debugging assistant.

4:26

Click to run the program. When the robot

4:28

sends okay, it indicates that the robot

4:30

is ready to complete the task.

4:35

network debugging assistance and start.

4:41

Monitor the IO status and note that the

4:44

return value is done.

4:46

Network debugging assistant sends end

4:48

send. Observe the network debugging

4:50

assistant receiving messages. Socket

4:53

client communication terminated. That

4:55

concludes our tutorial on socket client

4:57

communication. Thank you for watching.

robotic arm
FAIRINO ROBOTIC ARMS

Contact

Location: 10637 Scripps Summit Court,

San Diego, CA. 92131
Phone: (619) 333-FAIR
Email: hello@fairino.us

© 2023 Fairino US official site Proudly created By G2T

bottom of page