EasyManua.ls Logo

Eaton XC-303 Series - Creating a Cyclical Task

Eaton XC-303 Series
193 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
4 PLC configuration
4.1 Task configuration
74 Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com
4.1.1 Creating a cyclical task
In the project's configuration tree, select the "Device (XC-303)" device ->
"PLC Logic" -> "Application".
Select "Task configuration" in the configuration tree.
Select the "Add object" and "Task" options in the context menu.
Enter in the Name field a name such as “Basic”.
Set the task in the dialog as in Figure 49.
Define the program call
With the program call you define which program is to be called with the task
“Basic”.
Right-click on the icon for the "Basic" task you created previously and
select the "Add object" ->"Program call" option in the context menu.
Enter "Basic_prog" as a name into the "Add call" pane.
Confirm the program name with "Add."
3.
Figure 49: Configuring the cyclical task with a program call
Writing a program
Open the editor for the "Basic_prog" POU by double-clicking on it.
You can now enter a program. In the program example the variable
“bCount” is incremented.
If the count = 20, global tag a will be set to TRUE.

Table of Contents

Related product manuals