313c-2dp sf錯誤提示
林慧玲
發(fā)布于2014-03-31 17:44
63
0
標(biāo)簽:
313c-2dpsf錯誤提示診斷提示如下:
event1of10:eventid16#2523
arealengtherrorwhenwriting
globaldb,double-wordaccess,accessaddress:204
requestedob:programmingerrorob(ob121)
priorityclass:12
internalerror,incomingevent
04:08:15.958pm04/05/1994
event2of10:eventid16#2523
arealengtherrorwhenwriting
globaldb,double-wordaccess,accessaddress:200
requestedob:programmingerrorob(ob121)
priorityclass:12
internalerror,incomingevent
04:08:15.958pm04/05/1994
如何找到這個是哪個db塊中200地址呢?
問題補(bǔ)充:
診斷緩沖區(qū)下面的openblock是灰色的?怎么使用?
tosmilewe:選options-->reference-->display,打開交叉索引。
選擇view-->programstructure,很方便找到調(diào)用出錯的地方
如何找到錯誤的地方?
佳答案
1、arealengtherrorwhenwriting
globaldb,double-wordaccess,accessaddress:204
從上述信息看是程序中可能有向全局的db的雙字地址200,204寫入的指令,在執(zhí)行該指令時發(fā)生錯誤??赡艿脑颍?br />全局的db數(shù)據(jù)塊定義的長度過小,當(dāng)引用雙字地址200,204時則發(fā)生長度錯誤。
或,所引用的db數(shù)據(jù)塊沒有下載到cpu中。
2、應(yīng)用step7的交叉索引功能,可以了解一個db所涉及的程序塊。