State.run: onlineapp.start() # wait [...] ChangeOption.Try, True) # start PLC if [...] State.run: online_application.start