YRCHighEthernetWriteRegisterVariable 方法 (UInt16, UInt16) |
写入多个数据到寄存器,地址范围 0 ~ 999,指定读取的数据长度,最大不超过237 个
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult WriteRegisterVariable(
ushort address,
ushort[] value
)
Public Function WriteRegisterVariable (
address As UShort,
value As UShort()
) As OperateResult
public:
OperateResult^ WriteRegisterVariable(
unsigned short address,
array<unsigned short>^ value
)
member WriteRegisterVariable :
address : uint16 *
value : uint16[] -> OperateResult
参数
- address
- 类型:SystemUInt16
地址索引 - value
- 类型:SystemUInt16
等待写入的数据,最大不超过237 个长度
返回值
类型:
OperateResult是否写入成功
参见