Closed acrippa closed 6 years ago
Hey, as far as I remember the S7 Protocol does not allow reading more than one bit at a time. If you want to do this you have to read the whole byte and extract your bits.
Another option would be to use the MultiVars functions. But I think you got a solution for your issue, so I'll close this. If you still got problems, feel free to reopen.
Hello, I'm having problems writing and reading multiple bits with one call of "ReadArea".
I get the error ">> DBRead failed. Code #10485760 - CPU : Invalid Transport size". Tested with a CPU S7-314C-2 PN/DP and a CPU S7-1511-1 PN.
I get the same error trying to write multiple bits using WriteArea. Everything goes fine if I read(write) those bits one by one with multiple calls of "ReadArea"("WriteArea").
I have no problems reading and writing multiple bytes or words.
What could be the cause of that error?