产品标题:艾默生-1C31166G02工业显示屏配置教程
型号:艾默生-1C31166G02
质保:七天验收期,质保期一年
品牌:艾默生
产品图片展示




产品详情资料:
从设备可以向主设备发送多达25字节的扩展诊断数据。这些数据都是用户定义的。通常使用扩展诊断数据
用于设备特定的故障信息,但也可以用于其他目的。主机必须将扩展诊断数据的长度写入slvDiagLen。
只有在配置从设备时才能设置诊断长度。从设备总是向主设备发送包含扩展诊断长度的字节。
长度值包括长度字节本身。例如,如果要向主设备发送10字节的诊断数据,请将slvDiagLen设置为11。如果
长度为1,从设备不向主设备发送扩展诊断数据,只发送长度本身。
主机将扩展诊断数据写入阵列slvDiag。主机应用程序通过清除slvContentCfg寄存器中的SLV_CTL_DIAG_UPD位(因此
卡可以识别来自主机的新请求以更新诊断),并将slvDiagEvent寄存器清除为0。
产品英文详情资料:
The slave can send up to 25 bytes of extended diagnostic data to the master. This data is all user-defined. The extended diagnostic data is typically used
for device-specific fault information but can be used for other purposes as well. The host must write the length of the extended diagnostic data to slvDiagLen.
The diagnostic length can be set only when configuring the slave. The slave always sends the byte that contains the length of the extended diagnostics to the master.
The value of the length includes the length byte itself. For example, if you want to send 10 bytes of diagnostic data to the master, set slvDiagLen to 11. If
the length is 1, the slave sends no extended diagnostic data to the master, just the length itself.
The host writes the extended diagnostic data to the array slvDiag.The host application acknowledges that the master has read the diagnostic data by clearing the SLV_CTL_DIAG_UPD bit in the slvCntCfg register (so
that the card can recognize a new request from the host to update the diagnostics) and by clearing the slvDiagEvent register to 0.
