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.6K RobotStudio
- 399 UpFeed
- 20 Tutorials
- 14 RobotApps
- 300 PowerPacs
- 406 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 336 IRC5
- 67 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 828 RAPID Programming
- 12 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 107 Collaborative Robots
- 5 Job listings