beautypg.com

Remote Processing CX-10 User Manual

Page 3

background image

OVERVIEW

SECTION 1

Page 1-1

DESCRIPTION

OVERVIEW

SECTION 1

The CX-10 is a intelligent IO controller programmable in
BASIC and controlled using modbus. The BASIC is a
variation of the original INTEL BASIC-52.

Programming is usually done on a PC with a serial port.
Additional hardware features include:

!

Flash EPROM allows program updates in the field
without removing any parts.

!

Eight 125VAC relays

!

Eight optically buffered inputs

!

Modbus communication through RF, RS485, or RS-
232

!

Temperature compensated 12V battery charger

!

Non volatile EEPROM stores configuration

!

Battery and charge voltage monitor

!

Two pulse counters

Part

Number

Description

2470

2471

IO board with 8 relays, 8 opto buffered
inputs, 12V battery charger, One RS-232
programming /display port, One RF, RS-
232, or RS-485 port programmable for
ASCII or modbus.

As above with 900 Mhz spread spectrum
modem.

MANUAL ORGANIZATION

Most users initially relate to a device based on what it
does physically. Initial concerns are “how do I turn
on/off relays” and “how do I get an input”? This manual
is organized by input-output functions.

The CX-10 can be thought of as having two independent
operating modes: Modbus and Basic. The board will
operate in either mode and both modes can operate
simultaneously. For example, modbus can be used to
control relays and monitor opto status. A Basic program
can do the same. Neither mode is dependent upon the
other. However, interactions can occur. For example, a
Modbus command may turn a relay on while a Basic
command may turn it off. The status of a relay depends
upon which mode got to it last.

Basic can act as a watchdog, actinag as a failsafe if
modbus communications should stop.

Basic can also organize IO status and voltages in a way

that is more suitable to a Modbus IO program. For
example, if a specified input were to go low, this could
signal a critical condition. The basic could set a flag in a
register so that a Modbus IO program could easily
recognize a fault condition.

This manual presents modbus and basic as two separate
operating modes within each hardware description.

MANUAL CONVENTIONS

Information appearing on your screen is shown in a
different type. Example:

*MCS-51(tm) BASIC V2.0
Version: CX-10
Portions Copyright(c)2008 Control
Design and

(c) 2009 Remote Processing Corp.

Build:Feb 02 2009

16:41:10

NOTE:
Text under this heading is helpful information. It is
intended to act as a reminder of some operation or
interaction with another device that may not be obvious.

WARNING:

Information under this heading warns you of situations
which might cause catastrophic or irreversible damage.

Wx[a-b]

Denotes jumper block pins. [a-b] are
the pins to connect.

Paired angle brackets are used to indicate a
specific function key on your PC keyboard. For
example means the escape key.

Jx-N

Designates a pin number on a connector.

BASIC Statement types
There are 4 generic types of BASIC statements: The first
type is a command. A command does something,
generally an output. Examples of commands are PRINT,
CLEAR, and REGWRITE.

A function returns a value. Examples are REGREAD,
SIN, and GET.

The third types are control statements. These include IF-
THEN-ELSE, GOTO, GOSUB, and DIM. As such they
control or set up the system.

The final type are multi-tasking statements. When multi-
tasking is in effect, the operating system monitors for