Professional Documents
Culture Documents
GNGHMHGM
GNGHMHGM
Table 6-33 Pulse Count and Cycle Time in the PTO function
The PTO function allows the “chaining” or “pipelining” of pulse trains. When the active pulse train
is complete, the output of a new pulse train begins immediately. This allows continuity between
subsequent output pulse trains.
Smooth transitions between pulse trains occur unless there is a change in the time base or the
active pulse train completes before a new pulse train setup is captured by the execution of the
PLS instruction.
134
S7-200 Instruction Set Chapter 6
Each segment entry is 8 bytes in length, and is composed of a 16-bit cycle time value, a 16-bit
cycle time delta value, and a 32-bit pulse count value. Table 6-34 shows the format of the profile
table. You can increase or decrease the cycle time automatically by programming a specified
amount for each pulse. A positive value in the cycle time delta field increases cycle time, a
negative value in the cycle time delta field decreases cycle time, and 0 results in an unchanging
cycle time.
While the PTO profile is operating, the number of the currently active segment is available in
SMB166 (or SMB176).
1 Entering a value of 0 for the number of segments generates a non-fatal error. No PTO output is generated.
Table 6-35 Pulse Width Time and Cycle Time and Reactions in the PWM Function
135