点击或拖拽改变大小

PipeSocketSetMultiPorts 方法

设置多个可选的端口号信息,例如在三菱的PLC里,支持配置多个端口号,当一个网络发生异常时,立即切换端口号连接读写,提升系统的稳定性
Set multiple optional port number information. For example, in Mitsubishi PLC, it supports to configure multiple port numbers. When an abnormality occurs in a network, the port number is immediately switched to connect to read and write to improve the stability of the system.

命名空间:  HslCommunication.Core.Pipe
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public void SetMultiPorts(
	int[] ports
)

参数

ports
类型:SystemInt32
端口号数组信息
参见