Getting started
2.2 Creating the sample program
S7-200 SMART
30 System Manual, 09/2015, A5E03822230-AC
Notice the project tree and the pr
o-
gram editor. You use the project tree
to insert instructions into the networks
of the program editor by dragging and
dropping the instructions from the
"Instructions" portion of the Proj
ect
The Program Block folder in the pr
o-
ject tree contains all of the blocks of
your program.
The program editor toolbar icons pr
o-
vide shortcuts to PLC commands and
programming operation.
After you enter and save the program, you can download the program to the CPU.
Network 1: Starting the timer
Network 1: Starting the timer
When M0.0 is off (0), this contact turns
on and provides power flow to start
the timer.
To enter the contact for M0.0:
1. Either double-click the "Bit Logic" icon or click the plus sign (+) to display the bit logic
instructions.
2. Select the "Normally Closed" contact.
3. Hold down the left mouse button and drag the contact onto the first network.
4. Enter the following address for the contact: M0.0
5. Press the Return key to enter the address for the contact.