Configure the serial interface (N03x)

This chapter explains how to configure a CX51x0 with serial interface (N03x) in TwinCAT.

The procedure for commissioning the CX51x0-N03x with serial interface under TwinCAT differs from that for other Embedded PCs. In order to avoid configuration errors, the procedure for adding and configuring the CX51x0 in TwinCAT is described below.

Prerequisites for this step:

Configure the CX51x0-N03x as follows:

1. In the tree view on the left, right-click on Devices.
2. In the context menu click on Scan.
Configure the serial interface (N03x) 1:

The window new I/O devices found appears.
3. Select the device with a COM port and confirm the selection with OK.
Configure the serial interface (N03x) 2:

The CX51x0-N03x is added in TwinCAT as Device (COM Port) in the tree view on the left.
4. Click on Device (COM Port) and then on the Serial Port tab.
Configure the serial interface (N03x) 3:
5. Under the Serial Port tab, select the option PCI/PCIe Device.
Configure the serial interface (N03x) 4:

The serial interface of the CX51x0 is shown under Port:.

If the option Onboard/ISA device is already selected, the option PCI/PCIe device is grayed out and cannot be selected.
Configure the serial interface (N03x) 5:

The option PCI/PCIe device can be re-enabled as follows:
6. Click on Search.
The window Device Found At appears.
Configure the serial interface (N03x) 6:
7. Click on the COM port, then on OK.
The option PCI/PCIe device is enabled again.
You have successfully added and configured the CX51x0 with serial interface (N031x) in TwinCAT. You can now add further devices to the device and continue with the configuration as usual.