YRCHighEthernetWriteIO 方法 (UInt16, Byte) |
写入多个IO数据的命令,写入的字节长度需要是2的倍数
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult WriteIO(
ushort address,
byte[] value
)
Public Function WriteIO (
address As UShort,
value As Byte()
) As OperateResult
public:
OperateResult^ WriteIO(
unsigned short address,
array<unsigned char>^ value
)
member WriteIO :
address : uint16 *
value : byte[] -> OperateResult
参数
- address
- 类型:SystemUInt16
网络输入信号,也即地址是 2701~2956 - value
- 类型:SystemByte
连续的字数据
返回值
类型:
OperateResult是否写入成功
参见