execReadRequest
Status: Beta
Brought to you by:
lettoz
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