点击或拖拽改变大小

FanucInterfaceNetRead 方法 (String, UInt16)

按照字为单位批量读取设备的原始数据,需要指定地址及长度,地址示例:D1,AI1,AQ1,共计3个区的数据,注意地址的起始为1
Read the raw data of the device in batches in units of words. You need to specify the address and length. Example addresses: D1, AI1, AQ1, 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<byte[]> Read(
	string address,
	ushort length
)

参数

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

返回值

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

实现

IReadWriteNetRead(String, UInt16)
IReadWriteNetRead(String, UInt16)
备注
地址也支持直接使用 GO100, GI100
参见