I'm creating a custom HMI screen to the TP. I have a dropdown list to select from the TP programs available. This sets the currently active program to the selected.
Then I can run the program from the controllers CYCLE START button.
Instead I want to control the start from the HMI screen, using KAREL, without OUP mapping. So I want the CYCLE START button on the HMI screen.
Could the CONTINUE karel action work? This gives me a lot of errors at compilation.
PROGRAM STARTPROG %NOLOCKGROUP VAR entry : INTEGER status, sts : INTEGER task_no : INTEGER attribute : INTEGER value_int: INTEGER dummy : STRING task_name: STRING BEGIN GET_TSK_INFO (task_name, task_no, attribute, value_int, dummy, status) CONTINUE PROGRAM[task_no] END STARTPROG
Is there any way in KAREL to just start the currently active program?