- 06/11/2019 at 13:54 #18367
if try to execute a specific robot-routine via C#. -> Thereby the Simulation is already running.
The following code is already working, but the robot “jumps” to the statement…
What is the most efficient way to do this? The robot should execute the routine with no jumps:
Thank you & Best Regards
Feature007/11/2019 at 11:47 #18396
See these methods in IStatementExecutor
void SetProgramPointer(int statementIndex, IStatementScope scope);
void JumpToScope(IStatementScope scope);
bool ExecuteStep(bool immediate);1+07/11/2019 at 13:22 #18398
Saves my day! 😎
Thx TSy007/11/2019 at 17:24 #18407
another queston in this context.
If I Execute a Statement via “ExecuteStep(bool immediate)” the Events like:C#12rExecutor.StatementExecuted += RExecutor_StatementExecuted;rExecutor.StatementExecuting += RExecutor_StatementExecuting;
fire emideatly not when the robot reaches his new position.
For recomendations I would be happy.
Thx & Best Regards
Feature011/11/2019 at 16:33 #18459
That might be related to the need to execute few motion statements ahead of the actual motion for motion planning.
You may need to add “Set Binary Output” statements for signaling and use ISignalMap to get connected ISignal, which provides a SignalTrigger event.0
You must be logged in to reply to this topic.