RPC-210 USER'S MANUAL REV 1Page iCopyr ight 2000 - Remote Processing Corporation. Allrights reserved. However, any part of this documentmay b
SETUP AND OPERATION SECTION 2Page 2-4Figure 2-3 W7 & W8 detailPower supplyvoltage P1 TerminaldesignationW7 & W8positions+5V 5 W7[OFF],W8[OFF]+
SETUP AND OPERATION SECTION 2Page 2-5Downloading a program requires transmitting an ASCIIfile. As you type in (or download) a line, RPBASIC-52tokeni
SETUP AND OPERATION SECTION 2Page 2-6WHERE TO GO FROM HEREIf you want to do this: Turn toSectionSave a program 3Run a program at power up or reset(Aut
SETUP AND OPERATION SECTION 2Page 2-75. Receiving a sign on message and can't entercharacters.Check U9, pin 14 for at least -6 volts with the se
SAVING CODE AND DATA BASIC SECTION 3Page 3-1Figure 3-1 Flash EPROM locationINTRODUCTION SAVING CODE AND DATA IN BASIC SECTION 3Code and data are sa
SAVING CODE AND DATA BASIC SECTION 3Page 3-2WARNING:Be careful using the BSAVE command. RPBASICresides at addresses 0.7000H, segment 0. If youoverw
SAVING CODE AND DATA BASIC SECTION 3Page 3-3Using HIDE with RTC serial numberEach real time clock (RTC) has a unique serial numberassociated with it.
SAVING CODE AND DATA BASIC SECTION 3Page 3-4UPDATING OR REPLACING RPBASIC-52RPBASIC-52 program may be update d or replaced w hilein circuit. A curren
SAVING CODE AND DATA BASIC SECTION 3Page 3-5RPBASIC-52 Programming manual differencesThe limits for the commands listed below are differentthan shown
SERIAL & SPI PORTS BASIC SECTION 4Page 4-1Figure 4-1 Serial Com munication PortsDESCRIPTIONSERIAL PORTS SECTION 4The RP C-210 has two ser ial port
TABLE OF CONTENTSPage iiOVERVIEW SECTION 1MANUAL ORGANIZATION ...1ADUC-812 INFORMATION ...1RTC INFORMATION ...1MAN
SERIAL & SPI PORTS BASIC SECTION 4Page 4-2Figure 4-2 COM 1 jumper locationsBe aware that when continuously printing at this rate,interrupt process
SERIAL & SPI PORTS BASIC SECTION 4Page 4-3Figure 4-3 RS-485 topologyRS-422/485 OPERATING INFORMATIONJ6 is the RS-422/485 port. There are several
SERIAL & SPI PORTS BASIC SECTION 4Page 4-4Figure 4-4 Data packetRS-422/485 Termination networkW10 enables the network terminator. When the RPC-2
SERIAL & SPI PORTS BASIC SECTION 4Page 4-5Line 20 sets up ON COM$ to interrupt on a < CR> andbranch to line 1000. Line 30 sets up this ca
SERIAL & SPI PORTS BASIC SECTION 4Page 4-6SPI PORTSignals to communicate write to SPI compatible devicesare available at J7. Relevant signals are
SERIAL & SPI PORTS BASIC SECTION 4Page 4-7COMMANDSThe following is a list of RPBASIC-52 commands usedfor serial I/O. These commands and functions
RAM BASIC SECTION 5Page 5-1Figure 5-1 RPBASIC-52 Memory MapINTRODUCTIONRAM SECTION 5512K of RAM is battery backed on the RPC-210. RAMsize is determin
RAM BASIC SECTION 5Page 5-2For this example, suppose there are 20 of these arraysthat need to be set up. A program fragment is asfollows:100 STRING
RAM BASIC SECTION 5Page 5-3RPBASIC-52 Programming manual differencesThe limits for the commands listed below are differentthan shown in the RPBA SIC-5
DIGITAL LINES BASIC SECTION 6Page 6-1Figure 6-1 Digital Input - Output connectorsINTRODUCTIONDIGITAL LINES SECTION 6Digital I/O lines ar e used to int
TABLE OF CONTENTSPage iiiCOUNTER/TIMERS SECTION 8COUNTER/ENCODER ...1J11 CONNECTOR PIN OUT ...1PULSE OUTPUTS ...
DIGITAL LINES BASIC SECTION 6Page 6-2Figure 6-2 Connectornumbering schemeWhen an input line is brought low, that linewill stay low until or unless pul
DIGITAL LINES BASIC SECTION 6Page 6-3J3 Port group AddressA - Digital I/O & display (J4) 0A200HB - Digital I/O 0A201HC - Digital I/O 0A202H82C55 c
DIGITAL LINES BASIC SECTION 6Page 6-4to a more powerful processor such as the RPC-320.There are no firm guidelines for what constitutes a“long” progr
DIGITAL LINES BASIC SECTION 6Page 6-5LINEB,0A307H,1Inputs are read as follows:A = LINEB(0A400H) .AND. 0F0HUSING ANALOG INPUTSAnalog inputs may be used
DIGITAL LINES BASIC SECTION 6Page 6-6Pin out for J7 is shown below.J7 PinNo.Description AlternateFunction1 Real time clock interruptsource2 Digital in
REAL TIME CLOCK BASIC SECTION 7Page 7-1INTRODUCTIONREAL TIME CLOCK SECTION 7A real time clock (RTC) incorporates an industrystandard DS1287 with sever
REAL TIME CLOCK BASIC SECTION 7Page 7-2STABILITY AND TEMPERATUREReal time clock's crystal initial tolerance is ±20 ppm. (Tolerance is specified a
REAL TIME CLOCK BASIC SECTION 7Page 7-3Other software type interrupts that require CPUprocessing such as ONTICK, ON LINE, ON COUNT,or ON KEYPAD are NO
COUNTER/TIMERS BASIC SECTION 8Page 8-1Figure 8-1INTRODUCTIONCOUNTER/TIMERS SECTION 8There is one counter input and two pulse ouputsavailable on the R
COUNTER/TIMERS BASIC SECTION 8Page 8-2Figure 8-2 Pulse Width MeasurementUSING INTERRUPT 0Interrupt 0 (INT 0) may be used for COM 1 serialcommunicatio
OVERVIEW SECTION 1Page 1-1DESCRIPTIONOVERVIEW SECTION 1The RPC-210 is a small embedded controllerprogrammable in BASIC, C or assembly. This versionin
COUNTER/TIMERS BASIC SECTION 8Page 8-3Figure 8-3 Fr equency Measurem entProgram COUNT5A.BAS is a multi-tasking version ofthe frequency counter. It
EXTERNAL INTERRUPTS SECTION 9Page 9-1Figure 9-1 Interrupt inputs at ConnectorsINTRODUCTIONEXTERNAL INTERRUPTS SECTION 9External CPU interrupt INT 0 is
EXTERNAL INTERRUPTS SECTION 9Page 9-2Line 10 sets up the operating system to process interrupt0. Lines 20 and 30 increment a counter used by theinter
ANALOG I/O BASIC SECTION 10Page 10-1Figure 10-1 Analog IO Connector and JumpersINTRODUCTIONANALOG I/O SECTION 10There are eight single ended analog to
ANALOG I/O BASIC SECTION 10Page 10-2When I/O range is 5V max., set W12[1-2]. If the I/Orange is 2.5V max. , set W12[2-3].When W 12 is set to [1-2],
ANALOG I/O BASIC SECTION 10Page 10-3A problem with offset and gain errors is that, at theextreme ranges, readings are probably unreliable. Theupper
ANALOG I/O BASIC SECTION 10Page 10-4K = 200 / 4095K = .0488The result is in PSI w hen used as follows:1000 B = .0488*AIN(0)The constant can be store
ANALOG I/O BASIC SECTION 10Page 10-5Figure 10-2 5V Analog IO calibrationyou should use the 2.5V range instead.To calibrate or otherwise adjust the ref
ANALOG I/O BASIC SECTION 10Page 10-6Gener ally, y ou have a fe w milli-am ps for your circ uit. You may be able to get more than this in yourcircumsta
DISPLAY & KEYPAD PORTS BASIC SECTION 11Page 11-1Figure 11-1 Keypad and Display ConnectorsINTRODUCTIONDISPLAY PORT SECTION 11Port J4 supports 4 x 2
OVERVIEW SECTION 1Page 1-226 Pin Connector Pin Out< xxx> Paired angle brackets are used to indicate aspecific function key on your PC keyboard.
DISPLAY & KEYPAD PORTS BASIC SECTION 11Page 11-2Next, display type is set using the CONFIG DISPLAYcommand. Functional display types are 0 for the
DISPLAY & KEYPAD PORTS BASIC SECTION 11Page 11-3DISPLAY CONNECTOR PIN OUTThe display port uses port A of the 82C55 for data andcontrol. The tabl
EXPANSION PORT & POWER BASIC SECTION 12Page 12-1Figure 12-1 Power input and Expansion PortINTRODUCTIONEXPANSION PORT & POWER SECTION 12Expans
EXPANSION PORT & POWER BASIC SECTION 12Page 12-2No heat sink is necessary if power( P (MAX ) ) is lessthan 1. 7W and the board operate s at 25°C
ACCESSING I/O BASIC SECTION 13Page 13-1INTRODUCTIONACCESSING I/O SECTION 13I/O on the RPC-210 is defined here as devices that arenot memory. These i
RESOURCES SECTION 14Page 14-1INTRODUCTIONRESOURCES SECTION 14The RPC-210 can be used in a number of applications.We provide comm on accessories. Howe
RESOURCES SECTION 14Page 14-2Haydon Switch & Instrument Inc. Stepper motors anddrivers. 203 756 7441 www. hsi-inc.comOPTO modules The MPS-XX seri
BASIC COMMAND CHANGES SECTION 15Page 15-1Some commands listed in “RPBASIC-52 SoftwareManual” have different syntax or limits on the RPC-210. Differenc
TECHNICAL SPECIFICATIONS SECTION 16Page 16-1CPU Analog Devices ADU C812 operating at 11.0592MHZTECHNICAL SPECIFICATIONS SECTION 16Power Supply Inputs:
TECHNICAL SPECIFICATIONS SECTION 16Page 16-2between the battery and IC under it to keep the batteryfrom rocking. Bear in mind that the clock and RAMd
OVERVIEW SECTION 1Page 1-3Figure 2-1 Connector Locationsnumbered 0 - 7, are available. The 8051 CPU seriesaccesses RAM in 64K blocks. The RPC -210 ban
TECHNICAL SPECIFICATIONS SECTION 16Page 16-3Figure 16-1Figure 16-2 Mounting hole locationsCONNECTOR POSITIONConnectors shown above are on 0.1" s
SETUP AND OPERATION SECTION 2Page 2-1INTRODUCTIONSETUP AND OPERATION SECTION 2The RPC -210 is ready to program as soon as youconnect it to a PC and ap
SETUP AND OPERATION SECTION 2Page 2-2Programs are saved in ASC II file form at. Terraterm m ay be used to insert small code changeswithout having to d
SETUP AND OPERATION SECTION 2Page 2-3Figure 2-1 Power and Serial Progr ammingFigure 2-2 Power input locationsFIRST TIME OPERATIONBecome familiar with
Commentaires sur ces manuels