What would you like to happen?
recently i implemented plc communication using S7 put/get-protocol. After some fumbling the adress syntax was correct and reading/writing worked. Then i needed to write value 0x8000 into an "%DB123.DBW96:INT", which failed. Lengthy probing revealed, that 0x8000 is not an Integer in S7, so that WORD format needs to be used instead of INT.
I ask for better error message when communication detects this. All we have now is some NPE when accessing the result-status.
Programming Languages
Protocols
What would you like to happen?
recently i implemented plc communication using S7 put/get-protocol. After some fumbling the adress syntax was correct and reading/writing worked. Then i needed to write value 0x8000 into an
"%DB123.DBW96:INT", which failed. Lengthy probing revealed, that0x8000is not an Integer in S7, so thatWORDformat needs to be used instead ofINT.I ask for better error message when communication detects this. All we have now is some NPE when accessing the result-status.
Programming Languages
Protocols