Wegener Communications 4422 DVR User Manual


 
Page 34
UTY4422-002 Page 34 of 72
3.7 SERIAL PORT - COMMAND SYNTAX
The UNITY4422 contains two serial ports. These are labeled Serial Port 1 and Serial Port 2.
Each can support a printer, a terminal, a modem, or an auxiliary data device. However, there are
restrictions as to what device combinations can be used at one time. There are only 2 rules for
this, and they are shown below. (Also, see Table 13, below.)
1. The same device type (Printer, terminal/modem, or aux. data) cannot be configured
on both ports at the same time. (Terminals and modems are considered the same
device type. See Rule 2.)
2. The combination of a terminal on one port and a modem on the other is not allowed.
The statements on the second line of Table 16 tell which devices can be connected to Serial Port
2 when the device on the top line is connected to Serial Port 1.
Table 13. Serial Port Device Combinations
Serial Port 1 Printer Aux. Data Terminal Modem
Serial Port 2 Any but Printer Any but Aux. Data Any but Terminal
or Modem
Any but Terminal
or Modem
Port Communication is fixed at 1 stop bit and 8 data bits, and there is no handshaking. The
serial port’s behavior for each of its device types is shown in the following table.
Table 14. Serial Port Settings
Device Serial Port Behavior
Printer Configured to B, N, 8, 1 (* see note 1 below.).
Aux. Data Configured to B, N (* See note 2 below.).
Terminal Configured to 19200, N, 8, 1. The unit responds to the terminal/modem
commands described in Sections 3.6.1 & 3.6.3, and APPENDIX A.
Modem Configured to B, N, 8, 1 (* see note 3 below.). The unit responds to the
terminal/modem commands described in Sections 3.6.1, 3.6.3, and
APPENDIX A.
Note 1. For Printer: ‘B’ may be 1200, 2400, 4800, 9600, or 19.2k baud; ‘P’ may be ‘O’ for Odd, ‘E’ for
Even, or ‘N’ for No parity.
Note 2. For Aux Data: ‘B’ may be 1200, 2400, 4800, 9600, 19.2k, or 38.4k baud. ‘P’ may be ‘O’ for
Odd, ‘E’ for Even, or ‘N’ for No parity.
Note 3. For Modem: ‘B’ may be 9600 or 19.2k baud; parity is always ‘N’ for No parity.
* Note: Baud rate and parity are configurable for the Printer, but the serial ports do not
support parity for modem applications.
Supported baud rates are 1200, 2400, 4800, 9600, 19200, and 38400, while supported parity
types are None, Odd, and Even. When a serial port configuration command is received from any