
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
- 398 UpFeed
- 19 Tutorials
- 13 RobotApps
- 299 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 324 IRC5
- 63 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 813 RAPID Programming
- 6 AppStudio
- 3 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings