請(qǐng)教各位前輩。小弟最近在 proface 的 d-script 寫(xiě)了以下程序:
[w:[PLC1]D0000] = 1
[w:[PLC1]D0001] = [w:[PLC1]D0000] + 5
而gp-pro ex寫(xiě)了以下警告:
An operation result has not been assigned to the address: . This may causes errors. Please assign a result. [w:[PLC1]D0000].The execution expression is valid.
請(qǐng)問(wèn)這警告是什么意思? 應(yīng)該如何避免呢?
文中程序是實(shí)際問(wèn)題簡(jiǎn)化后的形式,請(qǐng)不要以 [w:[PLC1]D0001] = 6 回答。