---
title: "Serial Settings"
id: "serial-settings"
project: "MES User Manual"
url: "https://docs.sepasoft.com/articles/user-manual/serial-settings"
updated: 2026-07-31T14:55:20Z
---

# Serial Settings

**Sepasoft MES Module Suite**
 ### Serial Settings

The Instrument Interface Module is perfect for serial devices – such as analyzers, measurement gauges, barcode readers and many more – where values are sent when the operator presses the send button or a request is sent to the device to read the values. The serial support built into the Instrument Interface Module includes polling the device for new data, receiving unsolicited data from the device, or requesting the new data from the device based on an event in Ignition. It gracefully handles timeouts and other communication issues that are common with serial communications and also includes the flexibility of controlling every byte sent or received using script.

This page configures the serial port communications settings of this Instrument Interface.

![](/resources/Storage/user-manual/serial-settings/serialsettings.zoom76.png)

Serial Settings Configuration

 #### General

| Enable Serial | If checked, these port settings will be applied to the [Serial Controller](/articles/user-manual/Serial-Controller) component when this Instrument Interface is assigned to its Instrument Interface Name property. |
| --- | --- |

#### Port Settings 

| **Baud Rate** | Serial Communication baud rate. Select from the following:<br><ul><li>Baud 110</li><li>Baud 150</li><li>Baud 300</li><li>Baud 600</li><li>Baud 1200</li><li>Baud 2400</li><li>Baud 4800</li><li>Baud 9600</li><li>Baud 19200</li><li>Baud 38400</li><li>Baud 57600</li><li>Baud 115200</li><li>Baud 230400</li><li>Baud 460800</li><li>Baud 921600</li></ul> |
| --- | --- |
| **Data Bits** | Serial communication data bits. Select from the following:<br><ul><li>DATA BITS 5</li><li>DATA BITS 6</li><li>DATA BITS 7</li><li>DATA BITS 8</li></ul> |
| **Parity** | Serial communication parity. Select from the following:<br><ul><li>NONE</li><li>EVEN</li><li>ODD</li><li>MARK</li><li>SPACE</li></ul> |
| **Stop Bits** | Serial communication number of stop bits. Select from the following:<br><ul><li>Stop Bits 1</li><li>Stop Bits 2</li></ul> |
| **Hand Shaking** | Serial communication flow control methods. Select from the following:<br><ul><li>NONE</li><li>CTS DTR</li><li>CTS RTS</li><li>DSR DTR</li><li>XON XOFF</li></ul> |
| **Timeout** | The default number of milliseconds to wait while reading data. |
| **Character Encoding** | Character encoding of the data. |
| **Clear Buffer Before Sending** | If checked, clears the receive buffer before sending data. |
| **Correct CRLF** | If checked, corrects any combination of end of line characters to carriage return (CR) and line feed (LF). |

#### Request Handling

| **Enable Polled Requests** | If checked, the port will be polled at the requested rate. |
| --- | --- |
| **Request Polling Rate** | The rate in milliseconds to poll the port. |
| **Solicited Request Script** | The script to run for each polled request.<br><br>When writing scripts you can use the "event" object to reference methods in the Serial Controller component that this Instrument Interface is assigned.<br><br><br><br>Code Snippet<br>
Code

```
import time
port = event.getSerialController()
port.clearBuffer()
port.writeString("Ar")
time.sleep(0.5)
port.writeString("As")
time.sleep(0.5)
event.setReceivedData(port.readString())
```
 |
| **Accept Unsolicited Request** | If checked, the port will can accept requests without being solicited. |
 
**Sepasoft MES Module Suite**