Interrupt to send/receive data - TCP/IP
VsaMpaio
✭
in RobotStudio
Hi everyone,
I'm currently working on this project where I need to connect MATLAB and IRC5 via TCP/IP.
I need the IRC5 to send and receive data every 0.01s.
I tried to use iTimer but it doens't go faster than 0.1s.
Also tried to have two tasks: 1 task with send and receive commands and another with a waittime=0.009. both have a waitsynctask with a defined TimeOut=0.001s . This worked fine in Robotstudio, however when I uploaded it to the IRC5, maximum resolution for a Timeout is 1s.
Could someone give me a clue how to get such a fast interrupt.
Thank you in advance!
I'm currently working on this project where I need to connect MATLAB and IRC5 via TCP/IP.
I need the IRC5 to send and receive data every 0.01s.
I tried to use iTimer but it doens't go faster than 0.1s.
Also tried to have two tasks: 1 task with send and receive commands and another with a waittime=0.009. both have a waitsynctask with a defined TimeOut=0.001s . This worked fine in Robotstudio, however when I uploaded it to the IRC5, maximum resolution for a Timeout is 1s.
Could someone give me a clue how to get such a fast interrupt.
Thank you in advance!
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings