5SXE05-0151集成模块,5SXE05-0151使用手册
6.2.2 DP主统计
这些计数器与扫描仪作为DP主机的操作有关。
以下是DP主统计信息列表:
•DiagMasterUpdate计数器register Local:Slot:S.Data[13]是主控数输入/输出更新周期已完成
•ErrMasErr计数器是寄存器Local:Slot:S.Data【14】的低位字节,位00-07,是DP主从通信错误数。无论何时消息因超过重试次数而失败,等等。

5SXE05-0151集成模块•ErrMasReConfig计数器,寄存器Local的高位字节:插槽:S.Data[14],位08-15,是DP从机脱机并必须重新配置的次数,即扫描仪正在主动更新节点,并收到错误消息
•DiagMasScanTime寄存器,寄存器本地:插槽:S.Data[15](LSW)和
本地:插槽:S.Data[16](MSW)。它包含以微秒为单位的瞬时主扫描时间,即扫描分配给该主设备的所有从设备的时间。扫描仪添加
测量时间的100微秒,以考虑启动计时器的开销,以及等等。
请参阅SST PROFIBUS主设备中给出的典型扫描时间
配置作为安全裕度,RPI应为典型值的2倍扫描时间。因此,如果DiagMasMaxScanTime高于RPI时间,您将错过每次PROFIBUS扫描的从属更新。对于例如,如果典型扫描时间为1.5ms,则RPI应为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.