I am trying to read a discrete inputs from a SCADA Controller by ICL (http://www.iclinks.com/Pinnacle/) but it all was returns false even though our SCADA software it as True.
//Read Discrete Inputs
bool[] data = new bool[0];
data = modbusClient.ReadCoils(20810, 1);
Console.WriteLine(data[0]);
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I am trying to read a discrete inputs from a SCADA Controller by ICL (http://www.iclinks.com/Pinnacle/) but it all was returns false even though our SCADA software it as True.
Hi,
I tried the Method and it worked. Use the Method "ReadDiscreteInputs" to read the discrete inputs. You are trying to read coils.
Regards
Stefan
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Thanks, I got it to work using ReadDiscreteInputs and one other twek.