大神,你上面VS2017示例的EXCEL界面的软件在哪里下载,有的话发我邮箱wchangm215@163.com,多谢,例子换欧姆龙的读的值不变,总是0,写入其他值了,也不变
OmronFinsNet Omronnet1 = new OmronFinsNet("192.168.250.1", 9600);
//label42.Text = Omronnet1.ReadInt16("D1000").Content.ToString();
while (true)
{
short data = Omronnet1.ReadInt16("D1000").Content;
Invoke(new Action(() =>
{
label42.Text = data.ToString();
}));
System.Threading.Thread.Sleep(1000);
19-05-13 02:16