2.4.1. Auto Termination
2.4.1. Auto Termination
When the END statement is executed in the subtask program, the subtask will be automatically terminated. Note that even when the main task program encounters the END statement causing the main task to end, if the subtask is being executed and the END statement of the subtask program is not reached yet, the subtask will continue to operate.