On the omnicore controller it ask to simulate waittime. How do I stop this from asking everytime?
I am using a CRB 15000 with a omnicore controller. I'm running a code to pulsedo to a motor controller with a waittime. It looks like:
PROC main()
FOR i FROM 1 TO 1000 DO
PulseDO DO10;
waittime 500;
ENDFOR
ENDPROC
ENDMODULE
Every time it hits waittime it ask if I want to simulate the waittime on the controller and stop the program until I click ok. How do I get it to stop doing this?
Every time it hits waittime it ask if I want to simulate the waittime on the controller and stop the program until I click ok. How do I get it to stop doing this?
0
Answers
-
For IRC5 there is a simulate parameter under the controller topic which can be set to 0 to disable the simulate dialog box. Poke around and see if it is still available on the omnicore.Lee Justice0
-
Go to topic Controller, General Rapid and set SimulateMenu to No.
But sometimes you might want to keep the SimulateMenu for robot task, in that case you can do multiple smaller waittimes and the menu won't show.FOR i FROM 1 TO 5000 DOwaittime 0.1;ENDFOROr you could use timer interrupt instead of locking the task in a waittime for 500 seconds.MODULE Module1VAR intnum inPulseSignal;PROC main()!Setup timer-trapCONNECT inPulseSignal WITH trapSignalPulse;ITimer 500,inPulseSignal;!Timer will now run once every 500s without locking the taskWHILE TRUE DO!Do different stuffwaittime 0.01;ENDWHILEENDPROCTRAP trapSignalPulsePulseDO DO10;ENDTRAPENDMODULE
Systemintegrator - Web / C# / Rapid / Robotstudio
If I helped, please press Vote Up
☑️2024 - RobotStudio® User Group0
Categories
- All Categories
- 5.6K RobotStudio
- 398 UpFeed
- 20 Tutorials
- 13 RobotApps
- 300 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 330 IRC5
- 66 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 826 RAPID Programming
- 9 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings