beautypg.com

Remote Processing CX-10 User Manual

Page 7

background image

SETUP AND OPERATION - MODBUS and BASIC

SECTION 2

Page 2-2

two ways to do this: Through the programming port or
the modbus port.

Using the programming port means accessing the Basic
operating system. You will be able to download and run
Basic programs through this port. You will need a
terminal program such as Terraterm, Windows Hyper
terminal, or RPTERM to do this. RPTERM is included
on the CD or download from www.rpc.com/downloads.

Using modbus requires modbus network communication
software. Project 3 MM, which is included on the CD,
may be used for this purpose.

In both cases, you will need an RS-232 serial port. If you
know your available PC serial port, then go to the next
section

If you don’t know, or are not sure of an available PC
serial port, follow the next set of guidelines.

If you have a serial port built into your PC, this is usually
COM1 or COM2. If you are using a USB serial adapter,
this can be any number from 4 to 16 (or possibly higher).

To figure out what serial ports are available, go to the
“Control Panel” on your PC. Since Windows operating
systems and configurations vary widely, the following
method hopefully will work in your situation. The
objective is to get to the Windows Device Manager. If
you can get there without the following instructions, so
much the better.

Select “Start” for Windows 95, 98, ME, and XP.
Windows Vista users click on the Windows logo, usually
in the lower left corner of the screen. If you mouse over
this icon, a little text box should say “Start”. Find the
“Control Panel”. You may need to first select
“Settings”.

XP users select “System”. Then select the “Hardware”
tab, then “Device Manager”

Vista users select “Hardware and Sound”, then Device
Manager.

For all Windows OS, select “Ports (COM and LPT).
You should set a list of COM ports available on your PC
system.

MODBUS OPERATION

You will need a modbus program to read and write to the
CX-10. The program PROJECT3 MM is included on the

CD. It is also available at our website:

www.rp3.com/downloads

If you do not have a modbus program, install PROJECT
3 MM on your PC.

You will also need a VTC-9 serial cable.

You may, optionally, connect modbus to the RS-485
port. However, your PC must have an RS-485 port on it.
RS-485 ports on a PC are rare. Usually you will have to
have an RS-232 to RS-485 adapter. Adapters are
available from these sources.

B-B Electronics

www.bb-elec.com

JDR microdevices.

www.jdr.com

Generally, RS-485 is used over very long distances and
between CX-10 boards. Its implementation will not be
discussed in this section. See Section 4 for more info.

Connect the VTC-9 serial cable to the modbus port as
shown above in Figure 2-1. Note that the key notch on
the VTC-9 cable faces to the inside of the board.

Connect the DB-9 end to a PC RS-232 serial port
(determined from “Communication Setup”)

Apply power to the CX-10 (if you have not done so
already).

When you first start up Project 3 MM, site ID should
default to 11. See Figure 2-2 below.