res = dc.readBytes(libnodave.daveOutputs, 4, 0, 1, null);
if (res == 0)
{
IOvalue = dc.getU8();
}
IOValue is allways 0 ?
I have changed value to true too in my PLC but libnodave returns 0 ??
Reading M or I addresses works fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2013-10-24
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2016-04-12
Post awaiting moderation.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Trying to read output address Q4.0 following way.
res = dc.readBytes(libnodave.daveOutputs, 4, 0, 1, null);
if (res == 0)
{
IOvalue = dc.getU8();
}
IOValue is allways 0 ?
I have changed value to true too in my PLC but libnodave returns 0 ??
Reading M or I addresses works fine.