Home > Net >  Batch write register problem HslCommunication control group
Batch write register problem HslCommunication control group

Time:10-04

HslCommunication for two registers in the control group together to write the write way below

Value=https://bbs.csdn.net/topics/new short short [] [] {- 1234, 467};
HslCommunication. OperateResult write=busTcpClient. Write (" 0 ", value);
If (write. IsSuccess)
{
//write success
TextBox1. Text="written to success";
}
The else
{
MessageBox. Show (write) ToMessageShowString ());
}
But every time is called a timeout error, a great god pass by to help

CodePudding user response:

Where is the great god

CodePudding user response:

Try using hexadecimal address
  •  Tags:  
  • C#
  • Related