Menu

#7 execReadRequest

open
nobody
None
5
2011-01-28
2011-01-28
msramek
No

Hi,

Iam using this function to reading 20 variables by one request (CPU416-2) using ISO_TCP protocol.
When some variable have bad address specification (not exist in PLC) returned result set is filled correctly.
But when i try to set first variable in set (first variable added by "addVarToReadRequest") to invalid address (not existing DB) return code from "execReadRequest" is 10.
When i try use result set to check what is wrong, result code of function "useResult" is -127 (daveEmptyResultSetError)
What is wrong?

Thanks

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.