Creating a sample project
10/10 MN05003004Z-EN
54
Writing a program
As described in the description of the task on Page 47, a logical
AND combination is to be made between input I0.0 and input I2.7.
The result of this logical operation is to be presented at output
Q0.3.
X
Select the “POUs” tab and double click on the “PLC-PRG”
element. The declaration and program window will be opened.
X
Create the declaration and the program, as shown in the
following diagram, and then compile the project.
X
Load the project into the controller.
X
Test the project.
I0.0
AND
Q0.3
I2.7
Figure 74: Program and declaration window
Figure 75: Compiled program
Содержание XC200 Series
Страница 4: ...II ...
Страница 8: ...10 10 MN05003004Z EN 4 ...
Страница 28: ...10 10 MN05003004Z EN 24 ...
Страница 50: ...10 10 MN05003004Z EN 46 ...
Страница 74: ...10 10 MN05003004Z EN 70 ...