
Startup and validation
108580_en_02
PHOENIX CONTACT
109 / 272
4.9.3
Creating a program
Non-safety-related
example program
The example program in
involves logical ANDing of two input variables. The
result of the ANDing is connected to an output variable. The input variables are connected
to input process data in due course. The output variable is not connected further. Its value
is considered online in PLCnext Engineer.
Creating a program
To create a program, proceed as follows:
•
Select the program editor.
The program editor is referred to as “Code” by default. You can change the designation of
the program editor as desired.
•
Create the program.
Figure 4-26
Example program in FBD
Adding worksheets
The program for a POU can consist of several worksheets and different programming lan-
guages. For each required programming language, add a corresponding worksheet (Code
Worksheet) to the POU. Each worksheet is inserted in the POU editor group as an additional
“Code” editor.
To add additional worksheets to a POU, proceed as follows:
•
Select a worksheet in the program editor (in
: “Code” editor).
•
Click on the arrow on the right next to the designation of the program editor.
•
From the drop-down list that opens, select the desired code worksheet.
Figure 4-27
Adding a code worksheet to a POU
Содержание RFC 4072S
Страница 22: ...RFC 4072S 22 272 PHOENIX CONTACT 108580_en_02...
Страница 68: ...RFC 4072S 68 272 PHOENIX CONTACT 108580_en_02...
Страница 82: ...RFC 4072S 82 272 PHOENIX CONTACT 108580_en_02...
Страница 138: ...RFC 4072S 138 272 PHOENIX CONTACT 108580_en_02 Figure 4 62 Code editor S_Main online values of the variables used...
Страница 142: ...RFC 4072S 142 272 PHOENIX CONTACT 108580_en_02...
Страница 154: ...RFC 4072S 154 272 PHOENIX CONTACT 108580_en_02...
Страница 222: ...RFC 4072S 222 272 PHOENIX CONTACT 108580_en_02...
Страница 234: ...RFC 4072S 234 272 PHOENIX CONTACT 108580_en_02...
Страница 254: ...RFC 4072S 254 272 PHOENIX CONTACT 108580_en_02...
Страница 263: ...List of tables 108580_en_02 PHOENIX CONTACT 263 272 Appendix B Appendix C Appendix D Appendix E...
Страница 264: ...RFC 4072S 264 272 PHOENIX CONTACT 108580_en_02...
Страница 268: ...RFC 4072S 268 272 PHOENIX CONTACT 108580_en_02...
Страница 271: ......