PCI Express Board User’s Manual

Serial Programming Tools

Terminal Emulator

Use Terminal Emulator to connect to your PC’s serial ports to check if data is being transmitted correctly. Terminal Emulator features multi-windows, and supports VT100 and ANSI terminal types. You can transfer data interactively, send patterns periodically, and transfer files using ASCII, XMODEM, YMODEM, ZMODEM, and KERMIT protocols.

To run Terminal Emulator, click Start Æ Program Æ PComm Lite Æ Terminal Emulator.

RS-485 Programming

If you are using your CP-118EL Series board for RS-485 applications, in addition to reading this section, you should also refer to the “Connection Cables and Cable Wiring” chapter for more details about using RS-485.

The CP-118EL Series supports 2-wire half-duplex RS-485 and 4-wire full duplex RS-485 communication. Ports configured for 2-wire RS-485 use the Data+ and Data- pins for both transmitting and receiving data. MOXA’s own ADDC™ (Automatic Data Direction Control) technology is used to switch between transmission and reception.

ADDC™

ADDC™ is the best method for switching between transmission and reception when using 2-wire RS-485.

When using ADDC™, additional code is not required to switch between data transmission and reception, since the board’s built-in intelligent hardware mechanism automatically manages the switching mechanism. RS-485 programming using ADDC™ mode is just as simple and straightforward as RS-232 or RS-422 programming.

4-4