3.2 RS-485 communication

This page explains how to connect to a controller over RS-485 through a serial (COM) port.

Applies to: controllers with an RS-485 interface.

Tool bar in RS-485 mode

Tool bar settings

Click File > Communication > RS-485. The tool bar shows:

Button / Display

Description

Related commands

Refresh button

Reads the list of COM ports again.


Ports

The COM port of the RS-485 adapter.


Baud

Baud rate: 9600, 19200, 38400, 57600 or 115200. It must match the controller's setting.

DB

ID

Device number of the controller, 01 to 99. Every command is sent as @<ID><command>.

ID

Connect / Disconnect

Opens the port (8 data bits, no parity, 1 stop bit, no handshake) and sends VER.

VER

Return to Top

Connect

  1. Connect the RS-485 adapter and the controller, and switch the controller on.
  2. Click File > Communication > RS-485.
  3. Select the Ports, Baud and ID of the controller.
  4. Click Connect. If the port cannot be opened, a message shows the reason.

To return to USB, click File > Communication > USB.

Return to Top

Baud rate and the windows

RS-485 is slower than USB. Below 57600 baud:

  • Buffer Control, Manual Pulse Generator (MPG) Control and Joystick Control are not available.
  • The advanced (expanded) settings of Motor Status, Encoder Status, Axis Control, Digital IO and Configurable IO, and the Standalone variable view, do not open. The gear button's tooltip says that the baud rate must be 57600 or larger.

Error replies and a lost connection are handled as for USB (see Error replies and Lost connection).

Return to Top

Related commands and see also

Related commands: DB, ID, VER

See also: 3.2 Serial Communication, 3.2.1 Communication Port Settings, 3.2.2 ASCII Protocol

Return to Top