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 #250 background imageLoading...
Page #250 background image
Program instructions
7.7 Pulse output
S7-200 SMART
250 System Manual, 09/2015, A5E03822230-AC
Smooth transitions between pulse trains occur unless the active pulse train completes before
a new pulse train setup is captured by the execution of the PLS instruction.
Note
In single
-segment pipelining, the frequency has an upper limit of 65,535 Hz. If a higher
frequency is needed (up to 100,000 Hz), multiple
-segment pipelining must be used.
Multiple-Segment pipelining of PTO pulses
In multiple-segment pipelining, the S7-200 SMART automatically reads the characteristics of
each pulse train segment from a profile table located in V memory. The SM locations used in
this mode are the control byte, the status byte, and the starting V memory offset of the profile
table (SMW168, SMW178, or SMW578). Execution of the PLS instruction starts the multiple
segment operation.
Each segment entry is 12 bytes in length and is composed of a 32 bit starting frequency, a
32 bit ending frequency, and a 32-bit pulse count value. The table below shows the format of
the profile table configured in V memory.
The PTO generator automatically increases or decreases the frequency linearly from the
starting frequency to the ending frequency. The frequency is increased or decreased by a
constant value at a constant rate. Once the number of pulses reaches the specified pulse
count, the next PTO segment is loaded. This sequence repeats until it reaches the end of the
profile. If a segment's time duration is less than 500 microseconds, the PTO pipeline
underflow bit (SM66.6, SM76.6, and SM566.6) can be set to 1 and the PTO operation
terminated. This indicates that the CPU does not have enough time to calculate the PTO
segment values.
While the PTO profile is operating, the number of the currently active segment is available in
SMB166, SMB176, or SMB576.
Table 7- 9 Profile table format for multiple-segment PTO operation
1
Byte offset
Segment
Description of table entries
0
Number of segments: 1 to 255
2
1
#1
Starting Frequency (1 to 100,000 Hz)
5
Ending Frequency (1 to 100,000 Hz)
9
Pulse count (1 to 2,147,483,647)
13
#2
Starting Frequency (1 to 100,000 Hz)
17
Ending Frequency (1 to 100,000 Hz)
21
Pulse count (1 to 2,147,483,647)
(Continues)
#3
(Continues)
1
Entering a profile offset and number of segments that places any part of the profile table outside of
V memory generates a non-fatal error. The PTO function does not generate a PTO output.
2
Entering a value of 0 for the number of segments generates a non-fatal error. No PTO output is
generated.

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