产品标题:英维思-3511通讯模块使用说明
型号:英维思-3511
质保:七天验收期,质保期一年
品牌:穆格
产品图片展示
产品详情资料:
您的应用程序可以通过读取DP主全局状态寄存器来监视所有配置的从设备的状态。
应用程序可以使用主状态交叉参考表快速检查每个从设备的状态,并确定与每个从设备关联的主控制块。应用程序可以通过读取从机主控制块中的从机状态寄存器来检查单个从机的状态。它可以使用
主控制块中的从属错误寄存器,用于确定
从属错误的原因.DP主全局状态寄存器
PROFI_USR结构中的DP主机全局状态寄存器vmeMasSts显示作为DP主机的卡的整体操作状态。
卡将位0 VME_MAS_STS_ALL_OK设置为1,表示所有
已配置的从属服务器正在扫描,没有问题。如果该位为0,则一个或多个从设备存在问题。检查每个从设备的状态
确定问题所在。如果低字节为FFh,则未配置从机。
产品英文详情资料:
Your application can monitor the status of all configured slaves by reading the DP master global status register.
The application can use the master status cross reference table to quickly check the status of each slave and to determine the master control block associated with each slave. The application can check the status of an individual slave by reading the slave status register in the master control block for the slave. It can use the
slave error register in the master control block for the slave to determine the
cause of slave errors.DP Master Global Status Register
The DP master global status register, vmeMasSts in the PROFI_USR structure, shows the status of the overall operation of the card as a DP master.
The card sets bit 0, VME_MAS_STS_ALL_OK, to 1 to indicate that all
configured slaves are being scanned with no problems. If this bit is 0, there are problems with one or more slaves. Check the status of each slave to
determine where the problems are.If the low byte is FFh, the slave is not configured.