EGM Path Correction - Rate of outgoing messages UdpUc
larsenc
✭
Hi everyone!
I'm trying to figure out how the sample rate works when running a sequence of EGMoveL instructions.
I'm running a C++ application communicating with the controller using the UdpUc protocol. The fastest rate that I have been able to receive outgoing messages from the controller using the UdpUc protocol when simulating with a IRB6640 in RobotStudio is 144 ms. Reading the documentation for the EGMActMove instruction, it seems like the input data is read in multiples of 24 ms. I'm therefore a bit confused about at what rate the data is exchanged. Is the controller reading the incoming data faster than it is sending out readings? I would like to recive messages from the controller at a faster rate than 144 ms if it is possible.
Extract for my RAPID code:
EGMSetupUC ROB_1, egmId, "pathCorr", "EGMsensor"\PathCorr\APTR\CommTimeout:=5;
EGMActMove egmId, tool0.tframe\SampleRate:=24;
EGMMoveL egmId, p1,v200,z10,NoName;
EGMMoveL egmId, p2,v200,z10,NoName;
EGMMoveL egmId, p3,v200,fine,NoName;
Am I missing something? Have anyone else had a similar issue?
Thank you in advance.
larsenc
I'm trying to figure out how the sample rate works when running a sequence of EGMoveL instructions.
I'm running a C++ application communicating with the controller using the UdpUc protocol. The fastest rate that I have been able to receive outgoing messages from the controller using the UdpUc protocol when simulating with a IRB6640 in RobotStudio is 144 ms. Reading the documentation for the EGMActMove instruction, it seems like the input data is read in multiples of 24 ms. I'm therefore a bit confused about at what rate the data is exchanged. Is the controller reading the incoming data faster than it is sending out readings? I would like to recive messages from the controller at a faster rate than 144 ms if it is possible.
Extract for my RAPID code:
EGMSetupUC ROB_1, egmId, "pathCorr", "EGMsensor"\PathCorr\APTR\CommTimeout:=5;
EGMActMove egmId, tool0.tframe\SampleRate:=24;
EGMMoveL egmId, p1,v200,z10,NoName;
EGMMoveL egmId, p2,v200,z10,NoName;
EGMMoveL egmId, p3,v200,fine,NoName;
Am I missing something? Have anyone else had a similar issue?
Thank you in advance.
larsenc
0
Categories
- All Categories
- 5.4K RobotStudio
- 383 UpFeed
- 15 Tutorials
- 12 RobotApps
- 290 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 241 ScreenMaker
- 2.7K Robot Controller
- 282 IRC5
- 43 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 745 RAPID Programming
- 15 Wizard Easy Programming
- 110 Collaborative Robots
- 3 Job listings