HI,
I am working a project without extern PLC, so control the robot only via I/O buttons.
I test this code in the OfficeLite
IF $FLAG[1]==TRUE THEN
CWRITE($CMD,STAT,MODE,"RUN/R1/test()")
$FLAG[1]=FALSE
ENDIF
the result is only select the program,but not auto run it.
I am not sure this command have the auto run function, I have to test later in the real controller.