Академический Документы
Профессиональный Документы
Культура Документы
61
Application Example
62
Analog Outputs
63
Timers
64
S7-200 Timers
On-Delay (TON)
65
I0.3
T37
IN
150
T37
66
TON
PT
Q0.1
I0.3
T37
IN
150
T37
TON
PT
Q0.1
67
I0.2
I0.3
T5
IN
150
PT
68
PT
Q0.1
T5
Off-Delay (TOF)
TONR
TOF
S7-200 Timers
Timer Example
69
Review 5
70
1.
2.
Three types of timers available in the S7-200 are OnDelay, ____________ On-Delay, and ____________Delay.
3.
4.
5.
Counters
71
XXX
XXX
CTU
CTD
CTUD
CU
CD
LD
PV
PV
CD
CU
R
PV
Count Up
Count Down
Count Up/Down
S7-200 Counters
Up Counter
R
PV
72
Down Counter
The down counter counts down from the preset value (PV) each
time CD transitions from a logic 0 to a logic 1. When the current
value is equal to zero the counter output bit (Q) turns on (not
shown). The counter resets and loads the current value with the
preset value (PV) when the load input (LD) is enabled.
XXX
CTD
CD
LD
PV
Up/Down Counter
73
Counter Example
74
High-Speed Instructions
High-Speed Counters
75
Positioning
Interrupts
76
PTO
Q0.0
4 Pulses
1000 milliseconds Each
4 Pulses
500 milliseconds Each
Interrupt
Occurs
PWM
On
Off
On
Off
Q0.0
10%
Duty Cycle
50%
Duty Cycle
77
78
EM 277
79
PROFIBUS DP
AS-i
80
EM 253
81
EM 253 Features
Web Site
82
Continuous operation
For more information and sales support on the S7-200 visit our
web site at http://www.siemens.com/s7-200.
Review 6
1.
2.
3.
4.
5.
6.
7.
83
Review Answers
Review 1
Review 2
Review 3
Review 4
Review 5
Review 6
84
Final Exam
2.
b.
d.
8 bits
32 bits
11
101
b.
d.
100
111
analog
high-speed
b.
d.
discrete
normally open
6.
2 bits
16 bits
5.
Input module
Operator interface
4.
b.
d.
3.
CPU
Programming device
b.
d.
statement list
PLC scan
RAM
firmware
b.
d.
ROM
K memory
85
7.
8.
b.
d.
parallel
MPI
9.
PC/PPI
serial
none
10
b.
d.
7
30
4
2
b.
d.
8
5
Read Inputs
Force Interrupts
b.
d.
Execute Program
Update Outputs
I0.4
Q0.3
b.
d.
I0.3
Q0.4
0.37 s
20 kHz
b.
d.
10 kHz
1 ms
3.2767
327.67
b.
d.
32.767
3276.7
3.2767
327.67
b.
d.
32.767
3276.7
.1
1
b.
d.
10
100
32,767
98,301
b.
d.
65,534
1,000,000
toggle switch
PLC scan
b.
d.
interrupt
definition box
Transmit
High-speed counters
b.
d.
Interrupt
High-speed outputs
Transmit
Interrupt
b.
d.
Forcing
PLC scan
87
88