Menu

ReadDiscreteInputs all was returns False

Anonymous
2018-01-09
2018-01-12
  • Anonymous

    Anonymous - 2018-01-09

    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]);
    
     
    • Rossmann Engineering

      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

       
      • Anonymous

        Anonymous - 2018-01-12

        Thanks, I got it to work using ReadDiscreteInputs and one other twek.

         

Anonymous
Anonymous

Add attachments
Cancel