Creating a Program in OB1
4-8
STEP 7 Getting Started
A5E00171228-01
4.3 Programming OB1 in Statement List
In the following section, you will program an AND instruction, an OR instruction,
and the memory instruction set/reset in Statement List (STL).
Programming an AND Instruction in Statement List
If necessary, set STL as the
programming language in the View
menu.
Check whether symbolic
representation is activated.
Click in the title area of OB1 and enter
"Cyclically processed main program,"
for example.
Select the area for your first statement.
Type an A (AND) in the first program
line, a space, and then the symbolic
name "Key_1" (in quotation marks).
Complete the line with Enter. The
cursor jumps to the next line.
Содержание SIMATIC STEP 7 V5.2
Страница 4: ...Welcome to STEP 7 STEP 7 Getting Started iv A5E00171228 01 ...
Страница 12: ...Introduction to STEP 7 1 6 STEP 7 Getting Started A5E00171228 01 ...
Страница 22: ...Programming with Symbols 3 4 STEP 7 Getting Started A5E00171228 01 ...
Страница 60: ...Creating a Program with Function Blocks and Data Blocks 5 24 STEP 7 Getting Started A5E00171228 01 ...
Страница 76: ...Downloading and Debugging the Program 7 14 STEP 7 Getting Started A5E00171228 01 ...
Страница 88: ...Programming a Shared Data Block 9 4 STEP 7 Getting Started A5E00171228 01 ...
Страница 100: ...Programming a Multiple Instance 10 12 STEP 7 Getting Started A5E00171228 01 ...
Страница 110: ...Appendix A STEP 7 Getting Started A 2 A5E00171228 01 ...