When using the stop button in the visual programing an abort of the script is triggered in the script engine and for security reasons an error is created to prevent e.g. unwanted axis movement.
The actual solution is to use a system function called "exit" with handing over the value "0". So in the system an successful termination is triggered. Beware that eventual moving axis will not be stopped in this case.
When handing over an other value then "0" an exception in the script engine is created with that error code.
IDE app visual coding exit
IDE app textual coding exit
... View more