点击或拖拽改变大小

MelsecFxLinksHelperPackCommandWithHeader 方法

将当前的报文进行打包,根据和校验的方式以及格式信息来实现打包操作

命名空间:  HslCommunication.Profinet.Melsec.Helper
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static byte[] PackCommandWithHeader(
	IReadWriteFxLinks plc,
	byte[] command
)

参数

plc
类型:HslCommunication.Profinet.Melsec.HelperIReadWriteFxLinks
PLC通信对象
command
类型:SystemByte
原始的命令数据

返回值

类型:Byte
打包后的命令
参见