YRC1000TcpNetReadStringVariableAsync 方法 |
读取机器人的字符串变量的数据,需要传入变量的编号
To read the data of the string variable of the robot, the number of the variable needs to be passed in
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<string>> ReadStringVariableAsync(
string variableAdderss
)
Public Function ReadStringVariableAsync (
variableAdderss As String
) As Task(Of OperateResult(Of String))
public:
Task<OperateResult<String^>^>^ ReadStringVariableAsync(
String^ variableAdderss
)
member ReadStringVariableAsync :
variableAdderss : string -> Task<OperateResult<string>>
参数
- variableAdderss
- 类型:SystemString
变量的编号
返回值
类型:
TaskOperateResultString包含是否成功的结果数据
参见