| ModbusInfoPackCommandToRtu 方法  | 
 
            将modbus指令打包成Modbus-Rtu指令,在报文的末尾添加CRC16的校验码
            Pack the modbus instruction into Modbus-Rtu instruction, add CRC16 check code at the end of the message
            
 
        命名空间: 
     HslCommunication.ModBus
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static byte[] PackCommandToRtu(
	byte[] modbus
)
Public Shared Function PackCommandToRtu ( 
	modbus As Byte()
) As Byte()
public:
static array<unsigned char>^ PackCommandToRtu(
	array<unsigned char>^ modbus
)
static member PackCommandToRtu : 
        modbus : byte[] -> byte[] 
参数
- modbus
- 类型:SystemByte
 Modbus指令
返回值
类型:
ByteModbus-Rtu指令
 参见
参见