Getting started
2.2 Creating the sample program
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
31
To enter the timer instruction for T33:
1. Double-click the "Timers" icon to display the timer instructions.
2. Select the "TON" (on-delay timer) instruction.
3. Hold down the left mouse button and drag the timer onto the first network.
4. Enter the following timer number for the timer: T33
5. Press the Return key to enter the timer number and to move the focus to the preset time
(PT) parameter.
6. Enter the following value for the preset time: +100.
7. Press the Return key to enter the value.
Network 2: Turning the output on
Network 2: Turning the output on
When the timer value for T33 is grea
t-
er than or equal to 40 (40 times
10
milliseconds, or 0.4 seconds), the
contact provides power flow to turn on
output M10.0 of the CPU.
To enter the Compare instruction:
1. Double-click the Compare icon to display the compare instructions. Select the ">=I"
instruction (greater-than-or-equal-to-integer).
2. Hold down the left mouse button and drag the compare instruction onto the second
network.
3. Click "???" above the contact and enter the address for the timer value: T33
4. Press the Return key to enter the timer number and to move the focus to the other value
to be compared with the timer value.
5. Enter the following value to be compared with the timer value: +40
6. Press the Return key to enter the value.