Program instructions
7.7 Pulse output
S7-200 SMART
296
System Manual, V2.3, 07/2017, A5E03822230-AF
If the frequency difference (Δf) between the end of a segment and the beginning of the next
is not acceptable, try adjusting the ending frequency to compensate for the difference. This
adjustment might be an iterative process to get the output within an acceptable frequency
range.
Note that changes in segment parameters affect the time it takes the PTO to complete. You
can use the equation for the time duration of the segment, found later in this section of the
manual, to see what effect this has on the timing. An accurate segment duration time can
require some flexibility in the value of the ending frequency or the number of pulses for a
given segment.
While the simplified example above is useful as an introduction, real applications can require
more complicated waveform profiles. Remember that you can only assign frequencies as an
integer number of Hz and perform the frequency modification at a constant rate. The
S7-200 SMART CPU selects that constant rate and that rate can be different for each
segment.
For legacy projects that were developed in terms of cycle time, instead of frequency, you can
use the following formulas to convert to frequency:
CT
Final
= CT
Initial
+ (
ΔCT * PC)
F
Initial
= 1 / CT
Initial
F
Final
= 1 / CT
Final
where:
CT
Initial
Starting cycle time (s) for this segment
ΔCT
Delta cycle time (s) of this segment
PC
Quantity of pulses in this segment
CT
Final
Ending cycle time (s) for this segment
F
Initial
Starting frequency (Hz) for this segment
F
Final
Ending frequency (Hz) for this segment
The acceleration (or deceleration) and time duration of a given PTO profile segment can be
useful in the process of determining correct profile table values. Use the following formulas
to calculate the length of time, as well as the acceleration for a given profile:
ΔF = F
Final
- F
Initial
T
s
= PC / (F
min
+ ( | ΔF | / 2 ) )
A
s
= ΔF / T
s
where:
T
s
Time duration (s) of this segment
A
s
Frequency acceleration (Hz/s) of this segment
PC
Quantity of pulses in this segment
F
min
Minimum frequency (Hz) for this segment
ΔF
Delta (total change in) frequency (Hz) for this segment
Содержание SIMATIC S7-200
Страница 30: ...Product overview 1 7 Programming software S7 200 SMART 30 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 267: ...Program instructions 7 6 Counters S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 267 HSC modes 3 and 4 ...
Страница 394: ...Program instructions 7 18 Subroutine S7 200 SMART 394 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 425: ...Communication 8 5 PROFIBUS S7 200 SMART System Manual V2 3 07 2017 A5E03822230 AF 425 ...
Страница 786: ...Technical specifications A 11 S7 200 SMART cables S7 200 SMART 786 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 798: ...Error codes C 4 PLC fatal error codes S7 200 SMART 798 System Manual V2 3 07 2017 A5E03822230 AF ...
Страница 848: ...Ordering information F 6 Human Machine Interface devices S7 200 SMART 848 System Manual V2 3 07 2017 A5E03822230 AF ...