ABB MSR04X1模块优势备货
ABB MSR04X1模块优势备货该卡将诊断的当前总长度存储在masDiagLen和
以masDiagMaxLen为单位的最大可能诊断长度。如果
最大诊断长度小于32,卡存储扩展的
masDiagData数组中的诊断数据,最后两个字节存储在
masDiagExtOfs。如果最大长度大于32,则前24个字节
的扩展数据存储在masDiagData中,而masDiagExtOfs包含
偏移到masCntrlExt区域(masCntll页面中的3000h-3FFFh),其中
找到诊断数据的其余部分。读取诊断之前,务必检查masDiagLen中的当前长度,因为从设备发送的诊断数据的长度可能会改变。主机可以为每个从机分配最多12个字符的指定字符串。
主机将其存储在主控制块的masDesig数组中
奴隶该数据不会在网络上发送到从属设备。主持人
应用程序可以使用它将特定的从设备与配置块关联,
然后通过名称而不是块编号访问从机。例如
即使块号或站号更改,您的应用程序也可能仍然扫描块列表以查找与中的名称关联的块从机指定数据区。ABB MSR04X1模块优势备货
ABB MSR04X1模块优势备货The card stores the total current length of the diagnostics in masDiagLen and
the maximum possible diagnostics length in masDiagMaxLen.If the
maximum diagnostic length is less than 32,the card stores the extended
diagnostic data in the masDiagData array with the final two bytes stored in
masDiagExtOfs.If the maximum length is greater than 32,the first 24 bytes
of extended data are stored in masDiagData and masDiagExtOfs contains the
offset into the masCntrlExt area(3000h-3FFFh in the masCntrl page)where
the remainder of the diagnostic data is found.Always check the current length in masDiagLen before reading the diagnostics since the length of the diagnostic data sent by the slave may change.The host can assign a designation string of up to 12 characters to each slave.
ABB MSR04X1模块优势备货The host stores it in the masDesig array in the master control block for the
slave.This data is not sent out on the network to the slave.The host
application can use it to associate a specific slave with a configuration block,
then access the slave by name rather than by block number.For example,
even if block numbers or station numbers changed,your application could
still scan through the block list to find the block associated with the name in
the slave designation data area.ABB MSR04X1模块优势备货