| OmronHostLinkHelperPackCommand 方法  | 
 
            将 fins 命令的报文打包成 HostLink 格式的报文信息,打包之后的结果可以直接发送给PLC
            Pack the message of the fins command into the message information in the HostLink format, and the packaged result can be sent directly to the PLC
            
 
        命名空间: 
     HslCommunication.Profinet.Omron.Helper
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static byte[] PackCommand(
	IHostLink hostLink,
	byte station,
	byte[] cmd
)
Public Shared Function PackCommand ( 
	hostLink As IHostLink,
	station As Byte,
	cmd As Byte()
) As Byte()
public:
static array<unsigned char>^ PackCommand(
	IHostLink^ hostLink, 
	unsigned char station, 
	array<unsigned char>^ cmd
)
static member PackCommand : 
        hostLink : IHostLink * 
        station : byte * 
        cmd : byte[] -> byte[] 
参数
- hostLink
- 类型:HslCommunication.Profinet.Omron.HelperIHostLink
 HostLink协议的plc通信对象
- station
- 类型:SystemByte
 站号信息
- cmd
- 类型:SystemByte
 fins命令
返回值
类型:
Byte可发送PLC的完整的报文信息
 参见
参见