5SXE05-0151集成模塊,5SXE05-0151使用手冊
6.2.2 DP主統(tǒng)計
這些計數(shù)器與掃描儀作為DP主機的操作有關(guān)。
以下是DP主統(tǒng)計信息列表:
?DiagMasterUpdate計數(shù)器register Local:Slot:S.Data[13]是主控數(shù)輸入/輸出更新周期已完成
?ErrMasErr計數(shù)器是寄存器Local:Slot:S.Data【14】的低位字節(jié),位00-07,是DP主從通信錯誤數(shù)。無論何時消息因超過重試次數(shù)而失敗,等等。

5SXE05-0151集成模塊?ErrMasReConfig計數(shù)器,寄存器Local的高位字節(jié):插槽:S.Data[14],位08-15,是DP從機脫機并必須重新配置的次數(shù),即掃描儀正在主動更新節(jié)點,并收到錯誤消息
?DiagMasScanTime寄存器,寄存器本地:插槽:S.Data[15](LSW)和
本地:插槽:S.Data[16](MSW)。它包含以微秒為單位的瞬時主掃描時間,即掃描分配給該主設(shè)備的所有從設(shè)備的時間。掃描儀添加
測量時間的100微秒,以考慮啟動計時器的開銷,以及等等。
請參閱SST PROFIBUS主設(shè)備中給出的典型掃描時間
配置作為安全裕度,RPI應(yīng)為典型值的2倍掃描時間。因此,如果DiagMasMaxScanTime高于RPI時間,您將錯過每次PROFIBUS掃描的從屬更新。對于例如,如果典型掃描時間為1.5ms,則RPI應(yīng)為3ms或更高。
6.2.2 DP Master Statistics
These counters relate to the operation of the scanner as a DP master.
The following is a list of DP Master Statistics:
?
The DiagMasterUpdate counter, register Local:Slot:S.Data[13], is the number of Master
I/O update cycles completed
?
The ErrMasErr counter, the low byte of register Local:Slot:S.Data[14], bits 00-07, is the
number of DP master to DP slave communication errors. It increments anytime the
message failed because of retries exceeded, and so on.
?
The ErrMasReConfig counter, the high byte of register Local:Slot:S.Data[14], bits 08-15,
is the number of times a DP slave went offline and had to be reconfigured, that is, the
scanner was actively updating a node and got a faulty message
?
The DiagMasScanTime register, registers Local:Slot:S.Data[15](LSW) and
Local:Slot:S.Data[16](MSW). It contains the instantaneous master scan time in micro
seconds, that is, the time to scan all the slaves assigned to this master. The scanner adds
100 micro-seconds to the measured time to allow for overhead in starting the timer, and
so on.
Note
See the typical scan time given in your SST PROFIBUS Master
configuration. As a safety margin, the RPI should be 2 times the typical
scan time. Therefore, if the DiagMasMaxScanTime is higher than your
RPI time, you will miss slave updates each PROFIBUS scan. For
example if your typical scan time is 1.5ms then your RPI should be 3ms
or higher.