
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
Summary of Contents for RFC 4072S
Page 22: ...RFC 4072S 22 272 PHOENIX CONTACT 108580_en_02...
Page 68: ...RFC 4072S 68 272 PHOENIX CONTACT 108580_en_02...
Page 82: ...RFC 4072S 82 272 PHOENIX CONTACT 108580_en_02...
Page 142: ...RFC 4072S 142 272 PHOENIX CONTACT 108580_en_02...
Page 154: ...RFC 4072S 154 272 PHOENIX CONTACT 108580_en_02...
Page 222: ...RFC 4072S 222 272 PHOENIX CONTACT 108580_en_02...
Page 234: ...RFC 4072S 234 272 PHOENIX CONTACT 108580_en_02...
Page 254: ...RFC 4072S 254 272 PHOENIX CONTACT 108580_en_02...
Page 264: ...RFC 4072S 264 272 PHOENIX CONTACT 108580_en_02...
Page 268: ...RFC 4072S 268 272 PHOENIX CONTACT 108580_en_02...
Page 271: ......