ABB MSR04X1模塊優(yōu)勢(shì)備貨




ABB MSR04X1模塊優(yōu)勢(shì)備貨該卡將診斷的當(dāng)前總長(zhǎng)度存儲(chǔ)在masDiagLen和
以masDiagMaxLen為單位的最大可能診斷長(zhǎng)度。如果
最大診斷長(zhǎng)度小于32,卡存儲(chǔ)擴(kuò)展的
masDiagData數(shù)組中的診斷數(shù)據(jù),最后兩個(gè)字節(jié)存儲(chǔ)在
masDiagExtOfs。如果最大長(zhǎng)度大于32,則前24個(gè)字節(jié)
的擴(kuò)展數(shù)據(jù)存儲(chǔ)在masDiagData中,而masDiagExtOfs包含
偏移到masCntrlExt區(qū)域(masCntll頁(yè)面中的3000h-3FFFh),其中
找到診斷數(shù)據(jù)的其余部分。讀取診斷之前,務(wù)必檢查masDiagLen中的當(dāng)前長(zhǎng)度,因?yàn)閺脑O(shè)備發(fā)送的診斷數(shù)據(jù)的長(zhǎng)度可能會(huì)改變。主機(jī)可以為每個(gè)從機(jī)分配最多12個(gè)字符的指定字符串。
主機(jī)將其存儲(chǔ)在主控制塊的masDesig數(shù)組中
奴隸該數(shù)據(jù)不會(huì)在網(wǎng)絡(luò)上發(fā)送到從屬設(shè)備。主持人
應(yīng)用程序可以使用它將特定的從設(shè)備與配置塊關(guān)聯(lián),
然后通過(guò)名稱而不是塊編號(hào)訪問(wèn)從機(jī)。例如
即使塊號(hào)或站號(hào)更改,您的應(yīng)用程序也可能 仍然掃描塊列表以查找與中的名稱關(guān)聯(lián)的塊 從機(jī)指定數(shù)據(jù)區(qū)。ABB MSR04X1模塊優(yōu)勢(shì)備貨
ABB MSR04X1模塊優(yōu)勢(shì)備貨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模塊優(yōu)勢(shì)備貨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模塊優(yōu)勢(shì)備貨
