EasyManuals Logo

Siemens Simatic S7 Series System Manual

Siemens Simatic S7 Series
726 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #483 background imageLoading...
Page #483 background image
Open loop motion control
12.1 Using the PWM output
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
483
Use one of the following methods to open the PWM wizard:
Click the "PWM" button from the Wizards area of the Tools menu.
Open the Wizards folder in the project tree and double-click "PWM", or select "PWM" and
press the Enter key.
1. Select a pulse generator.
2. Change the name of a PWM channel, if required.
3. Configure the PWM channel output time base.
4. Generate project components.
5. Use the PWMx_RUN subroutine to control the duty cycle of your PWM output.
Note
PWM channels are hard
-coded to specific outputs:
PWM0 is assigned to Q0.0.
PWM1 is assigned to Q0.1.
PWM2 is assigned to Q0.3.
12.1.2
PWMx_RUN subroutine
To simplify the use of Pulse Width Modulation (PWM) control in your application,
STEP 7-Micro/WIN SMART provides a PWM wizard (Page 482) to configure your on-board
PWM generators and control the duty cycle of a PWM output.
The PWMx_RUN subroutine is used to execute PWM under program control.
LAD / FBD
STL
Description
CALL PWMx_RUN, Cycle, Pulse, Error
The PWMx_RUN subroutine allows you to
control the duty cycle of the output by vary-
ing the pulse width from 0 to the pulse
width of the cycle time.

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals