YRCHighEthernetWriteRegisterVariable 方法 (UInt16, UInt16) |
将数据写入到寄存器,支持写入的地址范围为 0 ~ 599
命名空间:
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,
unsigned short value
)
member WriteRegisterVariable :
address : uint16 *
value : uint16 -> OperateResult
参数
- address
- 类型:SystemUInt16
地址索引 - value
- 类型:SystemUInt16
等待写入的值
返回值
类型:
OperateResult是否写入成功
参见