HW-VX IP Protocol
These devices:
- HW-VX6346KL
- HW-VX6330K have TCP/IP interface that can be set, and queried by sending UDP packet to the device.
A command frame has this format: Command Letter + Command Parameter + Parameter.
Command
Command code | Description |
---|---|
L | Login Device Command |
O | Exit setup command |
E | Device restart command |
I | Device initialization command |
S | Set device command |
G | Get a parameter of the current device command |
P | Temporary parameter setting command |
X - Echo | Detect all device status commands |
U | Detect device attached status command |
B | Lock / Point Device Command |
R | Reset Overflow Command |
A | Set IP address command |
W | Select broadcast mode |
V | Get current version command |
N | Detect network port command |
Response
Response code | Description |
---|---|
A | Command executed successfully |
C | Command error |
R | Device refuses to execute command |
D | Can’t connect to the device |
F | Command execution failed |
Command parameter
Network command parameter
- ON: Username
- DN: Device name
- FE: MAC address
- DH: DHCP
- 0: disabled
- 1: enabled
- IP: IP Address
- PN: Port number
- TP: Transmission protocol
- 0: UDP
- 1: TCP
- BU: Accepts broadcast packets
- 0: Doesn’t accept
- 1: Accepts
- IB: Support inband
- 0: Doesn’t accept
- 1: Accept
- CT: Connection timeout
- RM: Working mode
- 0: Server
- 1: Server or Client
- 2: Client
- CM: The way the device is connected to the server when the device is a client Or connect when the command arrives,
- 0: Connect immediately when the device is powered on
- 1: Connect when data or commands arrive
- 2: Connect when commands arrive
- 3: Connect when there is a command or DSR is high
- DP: destination port number
- GI: gateway IP address
- NM: network mask
- ND: Device information return port (0—the last port used by the device, 1—65535)
Serial command parameter
- SI: Serial working mode
- 0—full duplex
- 1—half duplex
- 2—automatic identification
- FC: flow direction control (RTS / CTS signal setting)
- 0—not used
- 1—used
- DT: DTR setting
- 0—not used
- 1—used
- BR: Baud rate setting (
- 0 (1200bps)
- 1 (2400bps)
- 2 (4800bps)
- 3 (9600bps) - 4 (19200bps) - 5 (38400bps) - 6 (57600bps) - 7 (115200bps)
- 8 (150bps)
- 9 (300bps)
- 10 (600bps)
- 11 (28800bps)
- PR: parity bit setting
- 0—no parity
- 1—even
- 2—odd
- 3—mark
- 4—space)
- BB: Bit setting (0-7 bits, 1-8 bits)
- SE: Whether to set the device through the network port data channel
- 0—forbidden
- 1—through intercharacter time
- 2—Do not pass the time between characters)
- RC: serial port adaptive function
- 0—not used
- 1—used
- OP: Set the password for the On-the-Fly function
- 0—Do not use secret
- 1—Use password
- NB: Set the signal of the monitored I / O
Data packaging settings
- ML: Maximum data packet length
- MD: Minimum inter-character delay
- SA: Whether to use a start character
- 0—any character is a start character
- 1—use one character as a start character
- F1: Use a start character
- 0—not used
- 1—used
- S1: Select a character as the start character
- U1: Use a stop character
- 0—not used
- 1—used
- E1: Choose one as a stop character