YRCHighEthernetReadStringVariable 方法 (UInt16, Int32) |
读取多个的字符串变量数据,地址范围:0 ~ 99( 标准设定时)
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<string[]> ReadStringVariable(
ushort address,
int length
)
Public Function ReadStringVariable (
address As UShort,
length As Integer
) As OperateResult(Of String())
public:
OperateResult<array<String^>^>^ ReadStringVariable(
unsigned short address,
int length
)
member ReadStringVariable :
address : uint16 *
length : int -> OperateResult<string[]>
参数
- address
- 类型:SystemUInt16
地址范围:0 ~ 99( 标准设定时) - length
- 类型:SystemInt32
读取的字符串个数,最大个数为 29
返回值
类型:
OperateResultString读取的结果对象
参见