Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Frequency of socket reading and buffer length of socket in robotstudio

HI,

I'm a starter in RAPID programming and I'm currently doing a project using model IRB120 in Robotstudio. It's about reading message sent from Visual Studio through socket. My sending frequency is set to 1 KHZ and I don't know anything about socket read frequency in Robotstudio. I use command "SocketReceive client,\Str:=str_data_px1\ReadNoOfBytes:=7;" in a while loop in my program.  Another question is what is the buffer length of socket in robotstudio.
Any help is appreciated, thanks!
Tagged:

Answers

  • Do you have problems by sending with 1 KHz?
  • Hi, EricH

    Thanks for your reply. Yes, I found RobotStudio receives data at a very low speed and it is much lower than 1 KHz. Therefore I'm trying to find the exact frequency of socket reading in RobotStudio to reach synchronisation between VS and RobotStudio. Do you know what the exact frequency is?
  • No I don't, this must be an internal parameter of the controller (not robotstudio itself). I guess one of the moderators here should know about it. Johannes Weiman or Henrik Berlin.

  • Thanks for your help! Hope other professionals could answer our question.