New Timers In The Ff Mode - Siemens SIMATIC NET SPC 4-2 LF Manual

Profibus controller
Table of Contents

Advertisement

The timeout timer (9-bit) is a one-shot-timer that increments at the slot interval rate
(TO
). The controller takes the XSlot/Syni status bit. If the Syni-timer is running
CLK
(XSlot/Syni = 1), the timeout timer is locked. With the change from Syni to Slot
(XSlot/Syni = 0), the timeout timer is cleared, enabled, and incremented at each
TOCLK (slot interval). If there is activity again on the serial bus before the timeout
timer elapses (XSlot/Syni = 1), the controller stops the timer again.
When the timer elapses, the timeout status flag is set and the timer is stopped.
RxD/XRxA
XSlot/Syni
Load TOT
TOCLK
Timeout
TIMEOUT stop
Figure 7-28
Control of the Timeout Timer

7.11.6 New Timers in the FF Mode

Description
The SPC 4-2 contains 4 new 16-bit timers. These can be used only in the FF mode
since they use interrupt bits that are only free in the FF mode. They all run at the
baud rate speed.
In the timer type register, the user can set the timers either as "one-shot" or as
"cyclic" timers.
The timers are started, stopped, and resumed using the new timer control register.
A timer can only be started when its start value has been entered in the timer
register. When it starts, each timer loads the start value from its start value register
and counts down until it reaches the value 0. It then triggers an interrupt. The
"cyclic" timer then goes back to its start value immediately and starts counting
again, while the "one-shot" timer remains at 0.
104
T
ID
0
T
Timeout
TIMEOUT START
TIMEOUT elapsed
PROFIBUS Controller SPC 4®-2 LF
C79000-G8976-C157-3

Advertisement

Table of Contents
loading

Table of Contents