FanucInterfaceNetReadBoolAsync 方法 (Byte, UInt16, UInt16) |
按照位为单位批量读取设备的原始数据,需要指定数据块地址,偏移地址及长度,主要针对70, 72, 76的数据块,注意地址的起始为1
命名空间:
HslCommunication.Robot.FANUC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<bool[]>> ReadBoolAsync(
byte select,
ushort address,
ushort length
)
Public Function ReadBoolAsync (
select As Byte,
address As UShort,
length As UShort
) As Task(Of OperateResult(Of Boolean()))
public:
Task<OperateResult<array<bool>^>^>^ ReadBoolAsync(
unsigned char select,
unsigned short address,
unsigned short length
)
member ReadBoolAsync :
select : byte *
address : uint16 *
length : uint16 -> Task<OperateResult<bool[]>>
参数
- select
- 类型:SystemByte
数据块信息 - address
- 类型:SystemUInt16
偏移地址 - length
- 类型:SystemUInt16
读取的长度,字为单位
返回值
类型:
TaskOperateResultBoolean[缺少 "M:HslCommunication.Robot.FANUC.FanucInterfaceNet.ReadBoolAsync(System.Byte,System.UInt16,System.UInt16)" 的 <returns> 文档]
参见