![background image](http://html1.mh-extra.com/html/eaton/xc-cpu101-series/xc-cpu101-series_instruction-leaflet_4156730072.webp)
Creating a sample project
12/14 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
Содержание XC-CPU101 Series
Страница 18: ...II...
Страница 22: ...12 14 MN05003004Z EN 4...
Страница 42: ...12 14 MN05003004Z EN 24...
Страница 64: ...12 14 MN05003004Z EN 46...
Страница 88: ...12 14 MN05003004Z EN 70...