Setup and start the background task

When you use the background task, first check the [Enable background tasks] in the [Preferences] page of [Setup]-[System Configuration]-[Controller].

When you have already checked the box above and the Function BgMain exists in your program, it will automatically start as Task 65 as the controller starts and loads the project, it executes as a "Background task".

However in PROGRAM mode, the Function BgMain will not start automatically. Start from the [Start] button in the [Run] window. The PROGRAM mode is for creating programs and debugging. It may be more efficient if the BgMain function doesn't start.

When the controller operating mode shifts from PROGRAM to AUTO mode, the Function BgMain will start automatically.