请教各位前辈。小弟最近在 proface 的 d-script 写了以下程序:
[w:[PLC1]D0000] = 1
[w:[PLC1]D0001] = [w:[PLC1]D0000] + 5
而gp-pro ex写了以下警告:
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.
请问这警告是什么意思? 应该如何避免呢?
文中程序是实际问题简化后的形式,请不要以 [w:[PLC1]D0001] = 6 回答。