FanucInterfaceNetReadRDIAsync 方法 |
读取机器人的RDI信息
命名空间:
HslCommunication.Robot.FANUC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<bool[]>> ReadRDIAsync(
ushort address,
ushort length
)
Public Function ReadRDIAsync (
address As UShort,
length As UShort
) As Task(Of OperateResult(Of Boolean()))
public:
Task<OperateResult<array<bool>^>^>^ ReadRDIAsync(
unsigned short address,
unsigned short length
)
member ReadRDIAsync :
address : uint16 *
length : uint16 -> Task<OperateResult<bool[]>>
参数
- address
- 类型:SystemUInt16
偏移地址 - length
- 类型:SystemUInt16
读取长度
返回值
类型:
TaskOperateResultBoolean结果信息
参见