点击或拖拽改变大小

FanucInterfaceNetReadBool 方法 (String, UInt16)

按照位为单位批量读取设备的原始数据,需要指定地址及长度,地址示例:M1,I1,Q1,共计3个区的数据,注意地址的起始为1
Read the raw data of the device in batches in units of boolean. You need to specify the address and length. Example addresses: M1,I1,Q1, a total of 3 areas of data. Note that the start of the address is 1.

命名空间:  HslCommunication.Robot.FANUC
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public override OperateResult<bool[]> ReadBool(
	string address,
	ushort length
)

参数

address
类型:SystemString
起始地址,地址示例:M1,I1,Q1,共计3个区的数据,注意地址的起始为1
length
类型:SystemUInt16
读取的长度,位为单位

返回值

类型:OperateResultBoolean
返回的数据信息结果

实现

IReadWriteNetReadBool(String, UInt16)
IReadWriteNetReadBool(String, UInt16)
备注
地址也支持直接使用 SDO100, SDI100, RDI100, RDO100, UI100, UO100, SI100, SO100
参见