RPC-330
|
Features
- +5V only operation
- Interface to opto racks and other TTL devices using 34 digital I/O lines
- CPU watchdog timer protects against program crashes-all necessary voltages generated on card
- Operator interface using keypad and display ports
- 1M memory for large program and data storage
- Fast and convenient program development using the on card EPROM programmer
- Program in assembly, C, or RPBASIC
- RS-422/485 with terminator
- 2 RS-232 serial ports
- Interface and measure transducers using 8 analog inputs with gain
- Control position/speed with 2 analog outputs
- Optically isolated input/interrupt
- High speed counter/encoder inputs
- Switch heavy duty relays, lamps, and LEDs using the 2A port
General Description
The RPC-330 combines analog and digital I/O, memory, keypad, display, serial ports, and counters on one card. Interface to opto racks, sensors, character displays, scales, and quadrature encoders. Network using the RS-485 port. 512 K bytes of RAM can be battery backed to log data. For more secure data storage, use 512K of flash.
Program in assembly, C, or BASIC. Use the RP-10 card and a compiler for C development. Drivers are included for all I/O functions. RPBASIC is included for fast, easy program development. RPBASIC includes commands to read analog inputs, keypad, and digital I/O.
Function Description
Programmable Analog Inputs
Eight channels are programmable for mode and input voltage ranges. Each channel's input mode is configurable as single-ended or adjacent channels can be differential. Input ranges are software programmable as either 0-5V or +/-2.5V. Resolution is 12 bits in any mode or range.
Conversion time is approximately 1mS using the "AIN" function in RPBASIC. Conversion time is about 120uS in assembly. Inputs are over-voltage protected to 16V. Impedance is 100K ohms within the
input voltage range. Inputs are routed to a terminal strip on the card for easy hookup.
Two amplifiers allow you to signal condition a variety of inputs. You can amplify, filter, or buffer two signals. +/-12V power is available for external circuits.
A temperature dependent voltage output is available. Connecting this output to an input allows ambient temperature measurement.
High Resolution Analog Output
The RPC-330 has two optional analog outputs. Resolution is 12 bits and output ranges are hardware jumperable for 0-5V, 0-10V, and +/-5V. Each output has its own range. Maximum output current is 3 mA per channel. Order #1454 for each channel.
Digital I/O Lines
34 digital I/O lines interface with 0-5V switch and sensor inputs, provide logic level outputs, or drive opto racks. Each line is addressed individually or in groups of eight using "LINE" or "LINEB" commands in RPBASIC.
Ten lines connect to a terminal strip on the RPC-330. A CMA-26 cable connects another 24 digital lines to a MPS series opto rack or STB-26 terminal board. Eight of these 24 lines can drive relays, lamps, and other loads rated to 50V at 250 mA.
One line can be used as an optically isolated input or interrupt. This input is nominally a 5-12V input, but can accept up to 115V using a series resistor.
The last line switches a 2A load through a power FET. It is intended to control back light power for the LCD display, but can be used for other purposes. It is accessed through a two position screw terminal.
Opto Modules
When high power loads and inputs are required (up to 3A and 260V AC or DC), the RPC-330 interfaces with the MPS series opto-isolator racks using G4 series modules. These modules provide a minimum of 4,000V of isolation between the system and the card.
Keypad and Display Operator Interface
LCD character displays connect directly to the RPC-330 card. The BASIC "DISPLAY" command writes characters to the display. Up to 320 characters and 160 x 128 pixels are displayed using the LCD 320. Lower cost 4 x 20 and 4 x 40 character displays are also supported. Backlighting can be switched on or off under software control.
The operator can input data through a 16 position KP-3 keypad. RPBASIC or C driver does all scanning, debouncing, and buffering. The "KEYPAD" function returns a keypress position. Up to 24 keys can be read.
Watchdog Timer
A watchdog timer resets the card unless it is triggered in software. This is a safety feature should the program become stuck in an infinite loop or otherwise "crash."
Buffered Serial Ports
Two RS-232 serial ports interface with modems, displays, scales, printers, terminals and other serial devices. One of these ports is configurable for RS-422/485 multidrop networking. Input characters are automatically buffered by RPBASIC while a program is running so none are missed. Output characters are transmitted while the program continues, effectively increasing program speed. +5V is available at the connectors to power hand-held terminals.
Networking is supported using the "STR" and "ON COM" commands. These new commands quickly determine station ID and command parameters for fast parsing.
Optically Isolated External Interrupt
RPBASIC supports external or internal interrupts using the "ONINT " command. An external interrupt is fed into an opto coupler or a non-isolated TTL input. A second interrupt is a non-isolated TTL input. Both interrupts can be external or internal and are accessible in C. Internal interrupts are from multimode counters.
24 Bit Multimode Counters
Both multimode counters are programmable to read a quadrature output or a 20 MHz signal input. They can be programmed to interrupt when a specific count is reached. RPBASIC reads and writes to a counter using the "COUNT" and "LINEB" commands. The LSI 7166 multimode chip is programmable as an up/down, binary, BCD, divide-by-n, or an X1, X2, or X4 quadrature counter. Maximum counting speed is 5 MHz.
Inputs include 'A' and 'B' quadrature, load, reset, enable, and count. Functions are programmable in software.
5V Only Power
An on-card power inverter supplies power for RS-232 and analog I/O. You can switch this inverter on and off via a jumper connector. This point can be connected to the high current port to control the inverter's power. Board power consumption is approximately 225 mA if analog output is installed and RS-232 is
loaded. Unregulated +/-12 V power is available to power external circuits through a header.
Fast and Easy Programming and Setup
There are no programs to install. RPBASIC is built into the board.
Simply run a terminal program (such as Windows Terminal, Hyperterm(r), Procomm(r), ect). Windows Terminal and Hyper Terminal are included with Windows.
Set the baud rate and port and your PC is set up. Connect a cable from the card to the PC. Apply power to the board. You will get a sign on message like the one shown below.
You can begin to program immediately. Run the sample programs supplied with the card. Begin scanning a keypad, opto module, control a motor, read a voltage, or do calculations as desired right away. In less than 5 minutes you can begin programming.
C Programming Support
Writing in C can substantially speed up program execution. Drivers for the keypad, LCD display, analog input, counter input, digital I/O, serial ports, and memory are available in C and assembly language.
Drivers are supplied with the RP-10 card. Program up to 32K of code on card or 64K using an external programmer.
Large Program Capacity
You can use two flash EPROM sizes with the RPC-330. 32K is standard. It stores approximately 800 lines of BASIC code. 512K byte flash EPROM is available. Maximum program running size at any one time is about 60K, or about 1500 lines of code, using 128K or larger RAM. Additional programs can be loaded to replace an existing one during run time. Using a 512K flash, approximately 12,000 lines (or 200 pages) of code can be stored.
EPROMs can also store program constants, text messages, recipes, etc. This information can be read by the BASIC during run time. RPBASIC has two commands to facilitate data transfer. "BSAVE" and "BLOAD" transfers binary information to and from RAM and EPROM.
Datalogging Memory
The RPC-330 comes with 32K bytes of memory standard. About 1K is used by RPBASIC. 128K or 512K RAM can be installed for data logging. Strings and numbers are saved and retrieved using "PEEK" and "POKE" statements. Battery backup RAM with DS1216DM series modules.
Auto run on Power-Up
On power-up and reset, RPBASIC checks the autorun jumper. If set, the system will load the first program into RAM and run it.
Real Time Clock
An optional DS1251Y calendar/clock module (order #2084)is supported via "DATE" and "TIME" commands. Time stamp data, set control schedules, etc. The 24 hour clock has a resolution of 0.01 seconds. The calendar/clock lithium battery keeps time and backs up RAM for five years or longer.
Technical Specifications
Processor
80C320 (8031 compatible, from Dallas Semiconductor), operating at 22.1184 MHz.
Memory
RPBASIC is in a 32K ROM. Address 7000H to 7FFFH is available for custom programs. Space from 7000H to FFFFH available if 27C512 EPROM used.
Program and data is 32K RAM standard, 128K and 512K optional. Battery backup is DS1251Y (order #2804).
RAM, flash and other I/O occupy data space on 8051. A bank switching scheme accesses devices.
Digital I/O
The RPC-330 has 34 digital I/O lines divided into 3 groups: 8 are from screw terminals, 24 are from a 26 pin connector at J1, 1 is high current output only from a screw terminal. One input is either an optically isolated input or interrupt. This line is used with either a counter input or external input. Specifications below are for digital lines except high current. Digital I/O are TTL compatible. An 82C55 is used.
Output Voltage
Low: 0.45 V max. at 2.5 mA, 1V max. at 15 mA for opto rack.
High: 2.4V min., sink or source at 2.5 mA.
High Current Output
8 Of the 24 lines sink up to 500 mA at 50V. When all 8 lines are ON, max. is 80 mA/line. Output is disabled by substituting a dip shunt jumper for the driver IC. This allows lines to be used as inputs. One
line switches from 2 amperes to ground through a 'zero' ohm FET.
Keypad Input
10 Lines accept a 16-24 position matrix keypad. Scanning, debounce, and 8 key buffering performed in RPBASIC.
Display Port
Digital and power lines are used to control LCD character displays. Displays supported in RPBASIC.
Serial Ports
Two RS-232D serial ports. All have RxD, TxD, and control lines. COM1 configurable for RS-232 or RS-422/485. Termination network for RS-485 available. Baud rates programmable from 300 to 38.4K. Data fixed at 8 bits, no parity, 1 stop.
Watchdog Timer, Reset
Watchdog timer resets card for 100 mS min. when enabled. Time between resets programmable for 0.4 or 2.5 seconds.
Analog Input
Resolution: 12 Bits
Accuracy: 11 bits( +/-2 counts)
Range: 0-5V, +/-2.5V
Input imped: 100K
Modes: Single-ended or differential
Overvoltage: +/-12V min.
Overvoltage reduced in IDLE 2 mode.
Analog Output (optional)
Resolution: 12 Bits
Range: 0-5V, 0-10V, +/-5V, jumper selectable
Channels: 2
Order #1454 for each channel.
Multimode Counters
Range: 24 bits
Max. freq: 20 MHz
Inputs: Quadrature X1, X2, or X4, single ended. TTL level compatible
Type: LSI/CSI LS7166
Interrupts: Carry or borrow.
Power Requirements
+5V, +/-5% at 350 mA max. operating. RS-232 voltages generated on card.
Operating Temperature Range
-20C to +70C
Mechanical
Size: 6.9" x 5.025"
Mounting: 0.156" holes, 0.25" from edges
Options
#1084 BASIC-52 software manual
#2804 DS1251Y battery back calendar/clock and RAM module
#1041 VTC-9F serial cable
#1454 12 Bit D/A converter (1 channel)
Ordering Information:
|