Pulse Width Modulation (Pwm) - Siemens SIMATIC S7 System Manual

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

While the PTO profile is operating, the number of the currently active segment is available in
SMB166, SMB176, or SMB576.
Table 7- 16
Entering a profile offset and number of segments that places any part of the profile table outside of
1
V memory generates a non-fatal error. The PTO function does not generate a PTO output.
Entering a value of 0 for the number of segments generates a non-fatal error. No PTO output is
2
generated.
7.7.3

Pulse width modulation (PWM)

PWM provides three channels that allow a fixed cycle time output with a variable duty cycle.
Refer to the figure below. You can specify the cycle time and the pulse width in either
microsecond or millisecond increments:
As shown in the following table, setting the pulse width equal to the cycle time (which makes
the duty cycle 100 percent) turns the output on continuously. Setting the pulse width to 0
(which makes the duty cycle 0 percent) turns the output off.
Note
When using a PWM with very short cycle times, you should take into account the switching
delay specifications for the output points and how the switching delay can affect the pulse
width time. See Appendix A for the digital output switching delay for your CPU.
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
Profile table format for multiple-segment PTO operation
Byte offset
Segment
0
1
#1
5
9
13
#2
17
21
(Continues)
#3
Description of table entries
Number of segments: 1 to 255
Starting Frequency (1 to 100,000 Hz)
Ending Frequency (1 to 100,000 Hz)
Pulse count (1 to 2,147,483,647)
Starting Frequency (1 to 100,000 Hz)
Ending Frequency (1 to 100,000 Hz)
Pulse count (1 to 2,147,483,647)
(Continues)
• Cycle time: 10 µs to 65,535 µs or 2 ms to
65,535 ms
• Pulse width time: 0 µs to 65,535 µs or
0 ms to 65,535 ms
Program instructions
7.7 Pulse output
1
2
289

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents