Serial Port Configuration (Cortex 360)

Hardware configuration

The Cortex 360’s serial port can be configured for RS-232, RS-422 or RS-485 operation.

RS-485 is used for Modbus peripherals and allows the Cortex 360 to connect directly to these Modbus devices without using an external adapter. Note that if you are already using the serial port for connection to another device or for backhaul in RS-232 mode, you may want to use a USB to RS-485 adapter to connect to one of the Cortex 360’s USB ports.

Locate the serial port mode jumpers on the main PCB.

Set the jumper on the pins corresponding to the mode you desire.

RS-232
RS-422 (4 wire)
RS-485 (2 wire)

Next, select whether you want to use terminating resistors (sometimes required for long cable runs). Install the jumper at the position indicated for TX Termination and/or RX Termination. Use TX Termination only in 2 wire mode.

The following table shows the pin assignments on the Cortex 360’s rear-panel DB-9 connector.

PINRS-232RS-422RS-485
1TX+RX/TX+
2RXD
3TXD
4RX+
5GNDGNDGND
6TX-RX/TX-
7
8
9RX-

This connector is a male connector, which means that it is defined as a DTE (Data Terminal Equipment) device.

The Cortex unit is a DTE, which is a generator or receiver of data. In serial communications, a DTE usually connects to a DCE (Data Communications Equipment) such as a modem. The DCE usually has a female connector.

Software configuration

1- Go to the Devices drop-down menu.

2- Go to Modem & IOIOI

3- Select IOIOI and click the configuration button.

4- Enter the device name.

5- Choose the way you want to use this port. For example, if you wish to communicate with a Modbus RS-485 device, select Modbus.

6- Configure the right parameters.

7- Save the configuration

8- Exit the configuration screen.

Was this article helpful?
Dislike 0
Views: 467

Leave a Reply