点击或拖拽改变大小

AllenBradleyHelperPackRequestHeader 方法 (UInt16, UInt32, Byte, Byte)

将CommandSpecificData的命令,打包成可发送的数据指令

命名空间:  HslCommunication.Profinet.AllenBradley
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public static byte[] PackRequestHeader(
	ushort command,
	uint session,
	byte[] commandSpecificData,
	byte[] senderContext = null
)

参数

command
类型:SystemUInt16
实际的命令暗号
session
类型:SystemUInt32
当前会话的id
commandSpecificData
类型:SystemByte
CommandSpecificData命令
senderContext (Optional)
类型:SystemByte

[缺少 "M:HslCommunication.Profinet.AllenBradley.AllenBradleyHelper.PackRequestHeader(System.UInt16,System.UInt32,System.Byte[],System.Byte[])" 的 <param name="senderContext"/> 文档]

返回值

类型:Byte
最终可发送的数据命令
参见