描述:诊断错误
图片:
描述:LED 灯情况
图片:
描述:IP设置情况
图片:
FX3U-ENET-L 上位机 TCP MC 协议报错
手册上的例子
TcpClient tc = new TcpClient();
tc.Connect("172.16.3.113", 9999);
String TxCommand = "01ff000a4420000000000500";
byte[] buf = System.Text.Encoding.Default.GetBytes(TxCommand);
tc.GetStream().Write(buf, 0, buf.Length);
byte[] InBuff = new byte[1024];
while (tc.GetStream().DataAvailable)
{
tc.GetStream().Read(InBuff, 0, InBuff.Length);
String RxResponse = System.Text.Encoding.Default.GetString(InBuff);
}
tc.Close();
写入就ERR LED 红色
ERR end code 0050 sub Header 0030