Industrologic RC51

8 Relay Programmable Relay Controller

Reference Manual

version 3/18/03



Industrologic, Inc.
3201 Highgate Lane
St. Charles, MO
63301
USA

Phone: (636) 723-4000
WWW: http://www.industrologic.com
Email: info@industrologic.com




Trademark and Copyright Information

RC51 is a Trademark of Industrologic, Inc. 2002

This document is Copyright (c) 2002 by Industrologic, Inc.
All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying or scanning, for any purpose other than the personal use by the purchaser of this product. Industrologic, Inc. reserves the right to revise this document at any time without obligation to notify any person of such revision. Industrologic, Inc. assumes no responsibility for any errors that may appear in this document.

The software distributed with and the firmware contained in this product is Copyright (c) 2002 by Industrologic, Inc.


Warning/Disclaimer

Whereas effort has been made to make the information in this document as useful and accurate as possible, Industrologic, Inc. assumes no responsibility for the application, usefulness, or completeness, of the information contained herein. Under no circumstance will Industrologic, Inc. be responsible or liable for any damages or losses including indirect or consequential damages or losses arising from either the use of any information contained within this manual or the use of any products or services referenced within this manual.

Industrologic, Inc. reserves the right to change any product's features, specifications, documentation, warranties, fee schedules, and conditions at any time and without notice.

Industrologic products are provided as printed circuit board level assemblies. Some Industrologic products may include mechanical packaging assessories which are provide for the purchaser's convenience, and are not intended to be final assembly enclosures.

Industrologic products are provided with the understanding that the purchaser will determine fitness for any particular application as well as achieve compliance with any particular specifications or regulations as required or desired for that application.


Warranty

Industrologic, Inc. products are warranted to be free from defects in workmanship or material under normal use and service for a period of one year from date of purchase. Industrologic's warranty is to the original purchaser only, but is extended to you by the Distributor or OEM from whom you purchased the product.

Industrologic's obligation under this Warranty is limited to replacement with a new or repaired unit to the original purchaser. The unit must be returned, and replacements obtained from Industrologic, Inc. or the Distributor or OEM from whom it was purchased.

This warranty will not apply if, in the judgment of Industrologic, Inc., damage or failure of the product has resulted from accident, alteration, misuse, abuse, connection to or operation with incompatible signals or power sources, or improper installation.

Under no circumstances shall Industrologic, Inc. be liable to purchaser or any third party for any loss of profits or other direct or indirect costs, expenses, losses, or consequential damages arising out of or as a result of any defects in or failure of Industrologic products or any part or parts thereof.

THIS WARRANTY IS IN LIEU OF ANY OTHER WARRANTY, EITHER EXPRESSED OR IMPLIED, AS TO DESCRIPTION, QUALITY, MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE OR USE, OR ANY OTHER MATTER.


Return and Repair Policy

Products purchased in single piece quantities may be returned, if in resellable condition, for a full refund of the purchase price only, to the original purchaser, within 30 days of purchase.

Products must be returned by original purchaser with a Return Materials Authorization (RMA) number issued by Industrologic, Inc. or the Distributor or OEM from whom it was purchased, authorizing its return. Current repair or replacement fees and procedures will be related during the issue of the RMA number.

Warranty or repair units must be returned with postage and insurance paid by purchaser. Industrologic, Inc. is not responsible for damages or loss during shipment.





Industrologic RC51

8 Relay Programmable Relay Controller

The Industrologic RC51 is an Atmel AT89C4051 microcontroller based board designed to be a complete industrial controller assembly that is easy to program and to connect to external signals. In addition to eight high current Form "C" relays, it includes four digital logic level signals, a general purpose software readable pushbutton switch, and a software controllable LED.

The RC51 includes, pre-programmed into the microcontroller, a special version of Industrologic's simple programming language Tiny Machine Basic written for the hardware on the RC51, and the microcontroller chip can be re-programmed using any number of software development tools available for similar Atmel microcontrollers.



picture of RC51


Summary of Features



Mechanical Specifications

Double-sided .062" FR-4 glass epoxy printed circuit board.
P.C. Board assembly has holes available for mounting to enclosure or #6 standoffs.
P.C. Board dimensions: 3.50 inches by 6.25 inches


mechanical drawing of RC51



Electrical Specifications

Power supply requirements-
Power supply voltage: 10 to 12 volts AC, 11 to 14 volts DC, regulated or unregulated
Power supply current: 30 ma at 12VDC with no relays activated and test LED not activated
(plus any external load on the +5 terminal block connectors)
Relay current: approximately 60 ma per relay/relay LED indicator
LED current: approximately 20 ma
Power supply connector: 5.5 mm outside diameter, 2.1 mm inside diameter

Operating environment:
Temperature: 0-50 degrees Celsius (32-122 Fahrenheit)
Humidity: 30 to 80 percent, non-condensing

Logic level I/O signals (DI1, DI2, DI3, INT)-
(10K pull-up resistor to +5, 0.01uf capacitor to ground)
Source current: 0.5 ma
Sink current: 20ma maximum each pin

Form "C" Relay Contacts-
Maximum voltage: 30 volts, AC or DC
Maximum current: 10 amps
Manufacturer's type: Omron G5LE-14 series or equivalent



RC51 Serial Port

The RC51 serial port connector and its pin out matches the 9-pin seria l port of IBM PC compatible computers and can be easily connected to these computers using a pin-to-pin male-to-female cable. The RC51 does not require hardware handshake signals and can be used with only the transmit, receive, and ground signals connected. However, some programs that run on a PC require that some of the input handshake signals be asserted going into the PC. In order to make this easier, the RC51 has the common PC handshake signals looped back on the board, so that when a 9-wire cable is used, the signals are asserted without further connection.

To facilitate the connection of devices requiring power to the RC51, the +5 volt signal from the on-board regulator has been connected to pin 9 of the serial connector. This connection will not affect normal serial ports since +5 volts is within the range of allowable voltages on RS-232 input pins.

The following is a pin out of the serial port signals:

RC51 signal   -    TX   RX   -    GND  -    -    -    +5 OUT
pin           1    2    3    4    5    6    7    8    9
PC signal     DCD  RX   TX   DTR  GND  DSR  RTS  CTS  RI

diagram of RC51 serial connector



RC51 Digital Signals

Four digital logic level I/O signals are available at screw terminal block connectors of the RC51, which are all pins on the microcontroller. Each of the signals is "pulled up" to +5 volts with a 10K resistor for easy interfacing to switches or contact closures that connect the signal to ground. DI1, DI2, and DI3 are connected to port P0 bits 2, 3, and 4 respectively, and INT is connected to External Interrupt 0.

The limitations of the digital logic level signals are the same as those of the microcontroller chip installed. They can "sink" 20 milliamperes each with a total current of 80 milliamperes (steady state) for all signals. The addition of the 10K pullup resistors allows the signals to "source" 0.5 milliamperes each. For more information on the limitations of these signals, see the data sheet.



I/O Interfacing Examples

The following diagrams show how the RC51 can be connected to external devices and how to connect multiple RC51's through their serial ports and their digital I/O signals. The RC51 with its screw terminal block connections makes some of these connections extremely easy and fast.


diagram of RC51 I/O connections


diagram of dual RC51 cables


The following wiring diagram and Tiny Machine Basic programs show how to use one RC51 as a "slave" relay board to another RC51 acting as a "master" device. The master device can receive commands from its serial port and operate the slave board's relays from the digital I/O. The two programs form a simple digital I/O and pulse counter protocol to send a message from the master to the slave.


diagram of RC51 master/slave connections

Program for "Master"                 Program for "Slave"

1 INPUT A                            1 IF DI1=1 1
2 DO1=0                              2 LED=1
3 LOOP A                             3 IF DI1=0 3
4 INT=0                              4 RELAYS=INT
5 INT=1                              5 LED=0
6 ENDLOOP                            6 GOTO 1
7 DO1=1
8 GOTO 1

Wait for a number to be entered,     Wait until Digital I/O #1 is low,
set the Digital I/O #1 low to        then turn on LED. (INT will start
signal that pulses are coming,       counting pulses at this point.)
pulse INT low for the number of      Wait until Digital I/O #1 is high
times specified by the number,       again, then set relays to the
set Digital I/O #1 high again.       number of pulses, and turn off LED.



Powering the RC51 and External Devices

Apply power to the RC51 only through the wall block supply connector or the "Power" screw terminal connections. The on-board bridge rectifier allows the polarity of the supply voltage to be either direction. Do not attempt to power the RC51 with 5 volts at the +5 screw terminal connection.

The +5 signal on the screw terminal connector is the same power supply that is used by the circuitry on the RC51, and can be used to power external devices. The current drawn from this signal should be limited to 100 milliamperes.

diagram of RC51 power connections




end of manual
log file