Page 119
PROFIBUS-Specification-Normative-Parts-4:1997
Copyright by PNO 1997 - all rights reserved
requests, the initiator transmits the request to this station without retry
(retries), until the station acknowledges or responds correctly again. After
positive acknowledgement the initiator marks again the addressed station as
"operational". When processing the next request, the initiator continues the
original mode of operation with this station.
4.4 Timers and Counters
In order to measure the token rotation time and to realize the supervisory times
the following timers are necessary:
Token Rotation Timer, Idle Timer, Slot Timer, Time-out Timer, Syn Interval Timer
and GAP Update Timer.
Token Rotation Timer: When a master station receives the token, this timer is
loaded with the Target Rotation Time T
TR
and decremented each bit time. When the
station again receives the token, the timer value, the remaining time or Token
Holding Time T
TH
, is read and the timer reloaded with T
TR
. The Real Rotation
Time T
RR
results from the difference T
TR
- T
TH
. Low priority message cycles may
be processed if at the instant of processing T
RR
< T
TR
.
Idle Timer: This timer monitors the idle state (binary "1"), the Syn Time, imme-
diately on the bus line. The Syn Time preceding each request is necessary for
unambiguous receiver synchronization. The Idle Timer of slave stations and
master stations "without token" is loaded with T
SYN
after the transmission or
receipt of a frame's last bit and then decremented each bit time. The receiver
shall be enabled immediately after the timer has expired. The timer of a master
station "with token" is loaded according to the data transmission service with
T
ID1
or T
ID2
(see subclause 4.1.7). A new request or token frame may only be
transmitted after expiration of the timer. When the signalling level is binary
"0", the timer is always reloaded.
Slot Timer: This timer in a master station monitors after a request or token
pass whether the receiving station responds or becomes active within the prede-
fined time T
SL
, the Slot Time. After transmission of a frame's last bit this
timer is loaded with T
SL
and decremented each bit time as soon as the receiver
is enabled. If the timer expires before a frame's first bit is received, an er-
ror has occurred. Then a retry or a new message cycle is initiated.
Time-out Timer: This timer monitors bus activity in master and slave stations.
After the transmission or receipt of a frame's last bit the timer is loaded with
a multiple of the Slot Time (see subclause 4.1.7) and decremented each bit time
as long as no new frame is received. If the timer expires, a fatal error has
occurred, which for the master station causes a (re)initialization. The FMA1/2
User of the slave and master station receives a time-out notification (see
Part 3, subclause 4.2.3.3).
Syn Interval Timer: Master and slave stations use this timer to monitor the
transmission medium as to whether a receiver synchronizing (T
SYN
, idle state,
idle = binary "1") occurs within T
SYNI
. Each time the receiver is synchronized,
the timer is loaded with T
SYNI
(see subclause 4.1.7). From the beginning of a
frame (first start bit) the timer is decremented each bit time as long as no new
T
SYN
is detected. If the timer expires, an error has occurred on the
transmission medium, e.g. stuck at "0" or permanent "0" / "1" edges. The FMA1/2
User is notified accordingly (see Part 3, subclause 4.2.3.3).