SIMATIC Instructions
9-56
S7-200 Programmable Controller System Manual
A5E00066097-02
The duration of a given profile segment can be useful in the process of determining
correct profile table values. The length of time to complete a given profile segment
can be calculated using the following formula:
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
Á
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
duration of segment = Q * ( ICT + ( ( DEL/2 ) * ( Q-1 ) ) )
where, Q = quantity of pulses in this segment
ICT = initial cycle time for this segment
DEL = delta cycle time for this segment
PTO/PWM Control Registers
Table 9-17 describes the registers used to control the PTO/PWM operation. You
can use Table 9-18 as a quick reference to determine the value to place in the
PTO/PWM control register to invoke the desired operation. Use SMB67 for
PTO/PWM 0, and SMB77 for PTO/PWM 1. If you are going to load the new pulse
count (SMD72 or SMD82), pulse width (SMW70 or SMW80), or cycle time
(SMW68 or SMW78), you should load these values as well as the control register
before you execute the PLS instruction. If you are using the multiple segment
pulse train operation, you also need to load the starting offset (SMW168 or
SMW178) of the profile table and the profile table values before you execute the
PLS instruction.