YRC1000TcpNetIOReadAsync 方法 |
读取I/O 信号。 I/O 数据是每8个点输出,所以读出接点数是8的倍数。
Read I/O signal. I/O data is output every 8 points, so the number of read contacts is a multiple of 8.
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<bool[]>> IOReadAsync(
int address,
int length
)
Public Function IOReadAsync (
address As Integer,
length As Integer
) As Task(Of OperateResult(Of Boolean()))
public:
Task<OperateResult<array<bool>^>^>^ IOReadAsync(
int address,
int length
)
member IOReadAsync :
address : int *
length : int -> Task<OperateResult<bool[]>>
参数
- address
- 类型:SystemInt32
读出开始点编号 - length
- 类型:SystemInt32
读出的接点数
返回值
类型:
TaskOperateResultBoolean读取的结果点位信息
参见