Using RobotStudio have defined a simulated digital output signal “Do_MoveComplete”. Using the Current Station I/O system control panel I am able to set/clear the output signal as expected. In PC SDK I have a set up a watch event on that signal and also get the signal changed event each time the signal changes. When I execute the RAPID command Set(Do_MoveComplete) the RAPID program terminates with 40223:Execution Error followed by 10020:Execution error state, The program execution in task T_ROB1 has been stopped due to a spontaneous error.
Because I can control the output using RobotStudio I/O control panel, I believe I have the signal setup correctly. Why am I having trouble setting using the RAPID Set() command? Any ideas?
Thanks for your help.