# Interrupt to send/receive data - TCP/IP

**URL:** <https://tech-community.robotics.abb.com/t/interrupt-to-send-receive-data-tcp-ip/7474>\
**Category:** RobotStudio\
**Created:** [December 8, 2016, 9:06am UTC](https://tech-community.robotics.abb.com/t/interrupt-to-send-receive-data-tcp-ip/7474 "2016-12-08T09:06:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VsaMpaio](https://avatars.discourse-cdn.com/v4/letter/v/cc9497/32.png) [@VsaMpaio](https://tech-community.robotics.abb.com/u/VsaMpaio)\
**Post date:** [December 8, 2016, 9:06am UTC](https://tech-community.robotics.abb.com/t/interrupt-to-send-receive-data-tcp-ip/7474/1 "2016-12-08T09:06:41Z")

</div>

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!

 ![image.jpg](https://europe1.discourse-cdn.com/flex005/uploads/robotics1/original/1X/8326b99633d2cd22901e4bde3fb496c1a3daef67.jpeg)
