Serial port parameters

In some protocol configurations it is not possible to specify one or more basic serial port parameters like parity or data bits. The reason is that the protocol is designed for a specific type of control, where you cannot, or it is not recommended to change the factory settings.

If you do need to change a parameter that is not available in the protocol configuration, you will have to modify the port configuration file manually.

The port configuration files are located in Machines\Portname.mch.

First stop the port from the DNC-Max Client. Then open the configuration file in a text editor like CIMCO Edit or Notepad, and locate the section [COMPORTSETTINGS] as shown below:

Then change the parameters as specified below, save the file and start the port again.

COMPORT: Serial port name: COM1, COM2, ...

BAUDRATE: Baud rate: 110, 300, 600, 1200, 2400, 4800, ...

PARITY: Parity: NONE, EVEN, ODD, MARK or SPACE

STOPBITS: Stop bits: 1 or 2

DATABITS: Data bits: 5, 6, 7 or 8

FLOWCONTROL: Flow control: NONE, SOFTWARE, HARDWARE or BOTH

HWFLOWTYPE: Hardware flow type: RTSCTS or DTRDSR

XONCHAR: XOn character: 0 - 255

XOFFCHAR: XOff character: 0 - 255

PARITYINSERT: Insert character on parity error: YES or NO

USEPARITY: Check parity: YES or NO

DTR_ENABLED: Set DTR high if hardware handshake is disabled: YES or NO

RTS_ENABLED: Set RTS high if hardware handshake is disabled: YES or NO

IGNOREERRORS: Ignore errors: YES or NO

PORTMODE: Port mode: 0=ASCII, 1=EIA and 2=ISO