Skip to main content


On a Makito X Series encoder with serial ports (such as the Makito X with SDI, the Makito X1 Rugged, or the the Makito X4 Rugged), you can enable bi-directional serial passthrough for controlling serially attached devices such as PTZ controlled cameras. Both RS-232 and RS-422 are supported. The passthrough command is used to manage passthrough settings.


passthrough start
passthrough stop
passthrough set parameter=value [parameter=value...]
passthrough get [config, stats, all]
passthrough clear




Starts listening for passthrough clients.


Stops passthrough and disconnects any clients that were connected.


Configures passthrough settings. A series of one or more parameter=value pairs can be specified at once. See Parameters below.


Displays passthrough information. You can specify configuration, statistics, or all information.


To display a summary of all the encoders in a table format, you can use passthrough all get table.


Clears passthrough statistics.


Displays usage information for the passthrough command.


Enables passthrough from the serial port.



Specifies the transceiver mode for the passthrough:

  • RS232
  • RS422

Specifies the baud rate for the passthrough:

  • 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200

Specifies the number of data bits in each character.

  • 8, 7

Specifies the number of stop bits sent at the end of every character.

  • 1, 2

The flow control for the serial port:

  • none, xonxoff

Xon/Xoff is a protocol for controlling the flow of data between devices on an asynchronous serial connection.


Flow control is useful in atypical cases such as when the remote controlling device's serial port is set to a much higher baud rate than the encoder's serial port.

7777The TCP port on which to listen for passthrough clients.
0 (no timeout)

Specifies the amount of time in seconds a TCP connection will be kept open when no data is being received from the remote client. The timeout can be up to 10 minutes (0..600 seconds). The idle timeout is important when you have more than one remote end point controlling the serial port: if a remote application is left running with the TCP connection active, no one else will be able to control the COM port.


You can use 0 for an infinite timeout to keep the connection open until the client closes it.


This example shows how to use TCP port 8888 to listen for passthrough clients. The camera has an RS232 COM port running at 9600 bps:

# passthrough set port=8888 baudrate=9600 standard=rs232
Passthrough configured successfully.
# passthrough get
TCP Port : 8888
Standard : RS-232
Baud Rate : 9600
Flow Control : None
Disconnect Timeout : None

If passthrough is not started, you will have to start it:

# passthrough get stats
# passthrough start
Passthrough started successfully.
# passthrough get stats
Caller Address :
Rx Bytes : 0
Tx Bytes : 0
Rx Bytes : 0
Tx Bytes : 0

Passthrough Statistics

When a remote client is connected, the state will show up as CONNECTED and the IP address of the client will be displayed.

The statistics are divided in two sections: network and serial.

  • The network stats show what is going in terms of the TCP connection with the remote controller, i.e., how many bytes were received from and sent to the remote controller.
  • The serial stats show how many bytes were sent to the serial device connected to the encoder and how many were received from it.

In normal operation the number of bytes received on the TCP connection would match the number of bytes sent on the serial port and the number of bytes received on the serial port would match the number sent on TCP. However, if the device connected to the Makito X sends serial data when no client is connected, these numbers won't match.

Additional stats can show up under special conditions, as explained below:

Network dropped bytesThis counter shows the number of bytes received on the encoder's serial port that could not be sent over the TCP link. The network connection will always be orders of magnitude faster than the serial port connection so this statistic is seldom seen
Serial Dropped bytesThis counter shows the number of bytes received on the network connection that could not be sent on the serial link. Again if the controlling remote device and the encoder are set to the same baud rate, it is unlikely that the encoder would receive data at a rate that can’t be accommodated. If, however, the baud rates don’t match and the remote device is set to a higher value, this could occur. In that case, it is a good idea to reconfigure the remote device or use flow control.
Flow Control StatsWhen flow control is used, the network section of the stats will display the number of XON and XOFF control bytes sent to the remote device over TCP. This indicates whether or not data from the controlling device was sent too fast to be forwarded to the encoder’s serial port. When flow control is used, the Makito X will queue up to 2 seconds of serial data at 115,200 bps locally from the remote device. If the remote device also supports XON XOFF (otherwise, do not use flow control), this ensures that no data is ever lost from it.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.