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