How to read IOs with C#.

Hi, everyone.
I'm wondering - How can I read IO from IRC5 controller with C#? Example - when di1 is changed I would like to make some actions. This is my pseudo code:

"
    // Cn = new Controller;
   Cn.?? += SignalChangedEven;
   private void SignalChangedEven(Object sender, SignalChangedEventArgs e)
        {
            if (cn.? == true)
            {

            }

            if (true)
            {
                 do something;
            }
        }
"
Thank you.

Best Answer

Answers

Sign In or Register to comment.