Link-up and update
12.4 Time monitoring
S7-400H
164
System Manual, 03/2012, A5E00267695-11
Check: Since T
P15
> 0, continue with
1.
T
P15_HW
= MIN (720 ms, 660 ms, 704 ms) = 660 ms
2.
Based on the formula [2]:
T
P15_OD
= 50 ms + T
PH
= 50 ms + 90 ms = 140 ms
Check: Since T
P15_OD
= 140 ms < T
P15_HW
= 660 ms, continue with
1.
Based on section Performance values for link-up and update (Page 166) with 170 KB of
user program data:
T
P15_AWP
= 194 ms
Check: Since T
P15_AWP
= 194 ms < T
P15_HW
= 660 ms, continue with
1.
Based on formula [3], we obtain the recommended max. inhibit time for priority
classes > 15:
T
P15
= MAX (194 ms, 140 ms)
T
P15
= 194 ms
This means that by setting a maximum inhibit time of 194 ms for priority classes > 15 in
STEP 7, you ensure that any signal changes during the update are detected with a signal
duration of 1250 ms or 1200 ms.
Remedies if it is not possible to calculate T
P15
If no recommendation results from calculating the maximum inhibit time for priority
classes > 15, you can remedy this by taking various measures:
●
Reduce the cyclic interrupt cycle of the configured cyclic interrupt.
●
If T
TR
times are particularly high, distribute the slaves across several DP master systems.
●
If possible, reduce the maximum update time of switched devices on the IO subsystem.
●
Increase the baud rate on the affected DP master systems.
●
Configure the DP/PA links and Y links in separate DP master systems.
●
If there is a great difference in changeover times on the DP slaves, and thus (generally)
great differences in T
PTO
, distribute the slaves involved across several DP master
systems.
●
If you do not expect any significant load caused by interrupts or parameter assignments
in the various DP master systems, you can also reduce the calculated T
TR
times by
around 20% to 30%. However, this increases the risk of a station failure in the distributed
I/O.
●
The time value T
P15_AWP
represents a guideline and depends on your program structure.
You can reduce it by taking the following measures, for example:
–
Save data that changes often in different DBs than data that does not change as
often.
–
Specify a smaller DB sizes in the work memory.
If you reduce the time T
P15_AWP
without taking the measures described, you run the risk that
the update operation will be canceled due to a monitoring timeout.