YRCHighEthernetWriteByteVariable 方法 (UInt16, Byte) |
将多个字节的变量的数据写入到指定的地址,最大个数为 474 个,仅可指定2的倍数
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult WriteByteVariable(
ushort address,
byte[] vaule
)
Public Function WriteByteVariable (
address As UShort,
vaule As Byte()
) As OperateResult
public:
OperateResult^ WriteByteVariable(
unsigned short address,
array<unsigned char>^ vaule
)
member WriteByteVariable :
address : uint16 *
vaule : byte[] -> OperateResult
参数
- address
- 类型:SystemUInt16
标准地址范围为 0 ~ 99 - vaule
- 类型:SystemByte
写入的值,最大个数为 474 个,仅可指定2的倍数
返回值
类型:
OperateResult是否写入成功
参见