点击或拖拽改变大小

InovanceH3UTcpReadBoolAsync 方法 (String, UInt16)

按位读取汇川PLC的数据信息,对于H3U情况,可以输入M0,SM0,S0,T0,C0,X0,Y0类型地址,对于XP系列而言,可以输入M0,S0,T0,C0,X0,Y0
Read the data information of Huichuan PLC bit by bit. For H3U, you can enter M0, SM0, S0, T0, C0, X0, Y0 type addresses. For XP series, you can enter M0, S0, T0, C0, X0. , Y0

命名空间:  HslCommunication.Profinet.Inovance
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:10.0.0.0 (10.0.0.0)
语法
public override Task<OperateResult<bool[]>> ReadBoolAsync(
	string address,
	ushort length
)

参数

address
类型:SystemString
汇川PLC的真实的位地址信息,对于H3U情况,可以输入M0,SM0,S0,T0,C0,X0,Y0类型地址,对于XP系列而言,可以输入M0,S0,T0,C0,X0,Y0
length
类型:SystemUInt16
等待读取的长度,按照位为单位

返回值

类型:TaskOperateResultBoolean
包含是否成功的结果对象

实现

IReadWriteNetReadBoolAsync(String, UInt16)
IReadWriteNetReadBoolAsync(String, UInt16)
参见