Professional Documents
Culture Documents
BUS TIMING
37
Example: One master and 5 slaves are connected via ProfiBus DP. Ten bytes of output data and 20 bytes of input data are to be transferred per slave at 12Mbps. Each slave utilizes an SPC3 ASIC. Calculate the relative bus cycle time for this network. Let TMC = Time of 1 telegram cycle (request telegram + TSDR + slave response). Let TBC = Time of 1 bus cycle (the sum of all telegram cycles). Given: TSYN = 33 TBits (Bus idle time or ProfiBus Sync-Time) TID1 = 75 TBits (SPC3 bus idle time, at 1.5MB Tid1 = 36 TBit). TSDR = 30 TBits typical for baud rates .5MB (SPC3 ASIC). Min_Slave_Interval = 1 (100us, from slave GSD file). Calculate: 1 Tbit (Bit Time) at 12MB = 1/12000000bps = 83ns/bit In data exchange mode, a telegram header consists of only 9 character bytes. If we include the bits of the character frame, there are 11 bits for every character byte (Start Bit + 8bits/char + Stop Bit + Parity). Since only 1 master is present, we can ignore the token hold time of token telegrams. Thus, the basic time required by one telegram cycle (not including data) is obtained by adding the relevant bus times and the time to transmit the telegram header as follows: TMC (in TBits) = 2 * 9(header byte length) * 11bits/byte + TSDR + TSYN + Tid1 TMC = 198 bits + 30 bits + 33 bits + 75 bits = 336 Tbits TMC (us) = 336Tbits * 83ns/Tbit = 28us
38
DP SLAVE
(11-255 Tbit)
TID1
33Tbits+
TA/R
TSDR