FanucHelperBuildWriteData 方法 |
构建写入的数据报文,需要指定相关的参数信息
命名空间:
HslCommunication.Robot.FANUC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static byte[] BuildWriteData(
byte sel,
ushort address,
byte[] value,
int length
)
Public Shared Function BuildWriteData (
sel As Byte,
address As UShort,
value As Byte(),
length As Integer
) As Byte()
public:
static array<unsigned char>^ BuildWriteData(
unsigned char sel,
unsigned short address,
array<unsigned char>^ value,
int length
)
static member BuildWriteData :
sel : byte *
address : uint16 *
value : byte[] *
length : int -> byte[]
参数
- sel
- 类型:SystemByte
数据类别 - address
- 类型:SystemUInt16
偏移地址 - value
- 类型:SystemByte
原始数据内容 - length
- 类型:SystemInt32
写入的数据长度
返回值
类型:
Byte报文内容
参见