Manual Remote Technologies RPC-320

51 pages 0.47 mb
Download

Go to site of 51

Summary
  • Remote Technologies RPC-320 - page 1

    RPC-320 USER'S MANUAL REV 2 Page i RPC -320 Copyright 1997, 1999 - Remote Processing C orporation. All rights reserved. However, any part of this document may be reproduc ed with Remote Proce ssing cited as the source. The con tents of this ma nual and the sp ecifications her ein may change without not ice. TRADEMARKS RPBASIC-52™ is a tradem ...

  • Remote Technologies RPC-320 - page 2

    TABLE OF CONTENTS Page ii RPC-320 SECTI ON 1 OVERVIEW DESCRIPTION ................... 1-1 MANUAL ORGANIZATION .......... 1-1 MANUAL CONVENTI ONS ........... 1-1 Symbols and Term inology ......... 1-2 TECHNICA L SUPPORT ............. 1-2 SECTI ON 2 SETUP AND OPERATION INTRODUCTION ................. 2-1 OPERATI NG PRECAUTI ONS ......... 2-1 EQUIPMENT ...

  • Remote Technologies RPC-320 - page 3

    TABLE OF CONTENTS Page iii RPC-320 SECT ION 11 WATCHDOG TIMER DESCRIPTION ................... 11-1 EXTERNAL RES ET ................ 11-1 DESCRIPTION ................... 11-1 OPTICALLY I SOLATED I NTERRUPT ... 11-1 INTERR UPT CHARACTER IST ICS ...... 11-1 SECT ION 12 EXTERNAL INTER RUPT DESCRIPTION ................... 12-1 PROGRAMMI NG ............. ...

  • Remote Technologies RPC-320 - page 4

    SOFTWARE REVISI ON HISTORY Page iv RPC -320 V1.04 Release for RPC 320 V1.05 BSAVE retur ned a hardware er ror when ver ify was bad. In fact, save was OK. V1.06 LCD grap hic s ha rdware CS an d res et a re reversed. C ompensated in sof tware. V1.07 MTO P was useless in any system, especially a 32 K R AM. V1.08 Varia bles E and F wo uld get dro pped ...

  • Remote Technologies RPC-320 - page 5

    OVERVIEW SECTION 1 Page 1-1 RPC -320 DESCRIPTION The RP C-320 is a n embed ded contr oller with a built in Basic language. Several featur es make it suitable as a stand alone un it: Built in RPBASIC-52 programm ing language sup port s ha rdware usi ng s ing le c omman ds. On c ard flash EPROM programm er can save up to 8 progr ams to 62K , or about ...

  • Remote Technologies RPC-320 - page 6

    OVERVIEW SECTION 1 Page 1-2 RPC -320 Symbols and Term inology NOTE: Text under this heading is helpful inf ormation. It is in ten ded to act as a remi nde r of some operation or interacti on with another devi ce that may not be obvious. WARNING: Information under this heading warns you of situations which might cause catast rophic or irreversible d ...

  • Remote Technologies RPC-320 - page 7

    OVERVIEW SECTION 1 Page 1-3 RPC -320 Figure 1-1 System layout ...

  • Remote Technologies RPC-320 - page 8

    SETUP AND OPERATION SECTION 2 Page 2-1 RPC-320 Figure 2-1 Connector location and function INTRODUCTION The RPC -320 is ready to program as soon as you connect it to a ter minal or PC a nd apply pow er. This chapter describes what is needed to get a sign- on message and begin program ming. Req ui remen ts for upl oad in g an d do wnl oad in g pro gr ...

  • Remote Technologies RPC-320 - page 9

    SETUP AND OPERATION SECTION 2 Page 2-2 RPC-320 FIRST TIME OPERATION Bec ome f amil iar w it h th e lo cat ion s of con nec tors bef ore getting started. See Figure 2-1. RPC -320 jump ers have been set at the fa ctory to op erate the system immediately. F or first time operation, do not ins tal l an y con nect ors o r part s un les s sp eci fie d be ...

  • Remote Technologies RPC-320 - page 10

    SETUP AND OPERATION SECTION 2 Page 2-3 RPC-320 sending it char acters. The uploa d and dow nload file does not conta in any special c odes; th ey are sim ply ASCII cha racters. Uploading programs is simply a proces s of receiving an ASCII file. Y ou or your progr am simply need to send "LIST " to receive the entire program . The default b ...

  • Remote Technologies RPC-320 - page 11

    SETUP AND OPERATION SECTION 2 Page 2-4 RPC-320 WHERE TO GO FROM HE RE If you want to do this: Turn to Chapter Save a program 3 Run a prog ram at powe r up o r reset (autorun) 3 Know m ore abo ut serial por ts 4 Install a differ ent RAM mem ory chip 5 Using RAM to save variables 5 Run an assembly langu age program 5 Configure digital I/O lines 6 Det ...

  • Remote Technologies RPC-320 - page 12

    SAVING PROGRAMS SECTION 3 Page 3-1 RPC -320 Figure 3-1 W3 autorun jumper INTRODUCTION Program s are stored in an EPRO M in socket U6. You can store one or mor e program s, depending upon EPROM size. A BASIC program can call another when a 512K byte EPROM is used. Maxi mum pr ogra m si ze t hat can be ru n at any one ti me is about 62K, not includin ...

  • Remote Technologies RPC-320 - page 13

    SAVING PROGRAMS SECTION 3 Page 3-2 RPC -320 The time it takes save a program depends upon the len gth and c omple xit y of the progra m and f las h EPROM type. Pr ogramm ing rate is roughly 600 bytes/second. If the program is not succes sfully sa ved to EPROM, an error me ssa ge wi ll app ear. Saving a pr ogram overw rites the pr evious one. Ther e ...

  • Remote Technologies RPC-320 - page 14

    SAVING PROGRAMS SECTION 3 Page 3-3 RPC -320 29C040 512K [1-3], [2-4] To change the EPRO M in U6, remove the IC and replace it with the new one. Whe n installing a 29C256, pin 1 on t he IC g oes i nto sock et p in 3 . The to p two rows of pins are empty. ALTERNATE EPROMS Flash EPR OMs ar e more expensive than UV er asable or OTPs as of this writing. ...

  • Remote Technologies RPC-320 - page 15

    SERIAL PORTS SECTION 4 Page 4-1 RPC -320 Figure 4-1 Serial port and jumper loca tions DESCRIPTION The RPC -320 has two serial ports that interface to a printer, terminal, RS-485 network, or other serial devices. This chapter describes their char acteristics and how to use th em. Fre quent ref erence s are m ade to commands listed in the BASIC-52 Pr ...

  • Remote Technologies RPC-320 - page 16

    SERIAL PORTS SECTION 4 Page 4-2 RPC -320 Figure 4-2 Network diagram 400 LINEB 5,0,(LINEB( 5,0) .AND. 251) 500 LINEB 5,0,(LINEB( 5,0) .OR. 4) Jumper W 4 determines if COM 1 receive is RS-232 or RS-422/485. W4[1-2] RS-485 W4[2-3] RS-232 (de fault) COM1 de fau lt is RS- 232 . Use t he CON FIG B AUD statement to set the soft ware to RS-422 or RS-485. W ...

  • Remote Technologies RPC-320 - page 17

    SERIAL PORTS SECTION 4 Page 4-3 RPC -320 Figure 4-3 Data packet Two wire RS-485 The RS -48 5 po rt on the RPC-32 0 is set up f or 4 wi re mode. 2- wire mode causes transmitted data to be received. T o use the RPC-320 is this mode, your code should "flush" the received data or otherwise r emove transmitted information. Mechanically, to mak ...

  • Remote Technologies RPC-320 - page 18

    SERIAL PORTS SECTION 4 Page 4-4 RPC -320 You can access C OM0 and COM 1 buffers in three w ays: 1. INP UT sta tement. This re moves a ll charac ters in the buffer up to the term inator cha racter and puts them into a variabl e. When using the INPUT statement, program execution is susp ended until a < cr> (Enter key) is received. W hether this ...

  • Remote Technologies RPC-320 - page 19

    SERIAL PORTS SECTION 4 Page 4-5 RPC -320 5 RXD In 6 CTS Out 9 Ground 10 +5 *RTS input not in COM0. A seria l cable is ma de by simp ly taking a 10 pin fe male IDC connector and crim ping a 9 wir e ribbon c able to it. ...

  • Remote Technologies RPC-320 - page 20

    RAM MEMORY SECTION 5 Page 5-1 RPC -320 Figure 5-1 RAM and W1 ju mper location INTRODUCTION 32K, 128K, or 512K of RAM may be battery backed on the RPC-320. RA M size can be changed at an y time. RAM is in socket U5. RAM is backed up when a DS1216DM is install ed. Battery li fe depends upon RAM size, its power con sump ti on, am bi ent te mpera tu re ...

  • Remote Technologies RPC-320 - page 21

    RAM MEMORY SECTION 5 Page 5-2 RPC -320 Figure 5-2 RPBASIC-52 memory map RESERVED MEMORY Many c ont rol s yst ems u se p roce ss v aria ble s th at a re operator entered. "variables" in this context include numbers, strings, ar rays, recipes, or formulas as applied to your applicat ion. They are not a part of the variabl es use d by Bas ic ...

  • Remote Technologies RPC-320 - page 22

    RAM MEMORY SECTION 5 Page 5-3 RPC -320 510 GOSUB 2000 Retrieve variables This subroutine s tores variables CF, JC, and AC into an array starting in segment 1, address 0. 1000 POK EB1, 30*NO, JC 1010 POKEW1,30*NO+ 1,AC 102 0 POK EF1,30 *NO+ 3,CF 1030 POKE$1, 30*NO+ 9,$(0) 1040 RETURN Sub rou ti ne 2 000 - 2 040 ret rie ves dat a i nt o va ria bl es ...

  • Remote Technologies RPC-320 - page 23

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-1 RPC -320 Fig ure 6- 1 Di gi tal I/O INTRODUCTION Digital I/ O lines ar e used to inter face with op to-module rack s, swi tch es, lo w curre nt LED's, and oth er TTL dev ic es . The R PC-3 20 h as 34 of th es e l in es . 8 TTL I /O lines go to a terminal strip. Additionally, there is one high curr ent ...

  • Remote Technologies RPC-320 - page 24

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-2 RPC -320 ground through a 10K/100K resisto r packs using ju mper W7. 10K is on digital port A only. Jumper W7 for pull up or down configuration is as follows: W7[1-2] Pull up W7[2-3] Pull down Setting W7 for pull up makes interfacing to switches and "open collector" TTL devices easy . See "In ...

  • Remote Technologies RPC-320 - page 25

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-3 RPC -320 digital I/O lines 8 bits at a time . T he addr ess for po rt A is 0, B is 1, and C is 2. J3 I/O bank number is 3. Address for lines L0-L7 at P6 is 2 and I/O bank number is 5. LINE # function and statement accesses lines according to the pin number at J3. J3 lines are number ed from 101 to 125. The ...

  • Remote Technologies RPC-320 - page 26

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-4 RPC -320 Figure 6-2 Inductive load protection Protection diodes m ust be used with inductive loads. Refer to figure 6-2 Do not pa rallel outputs f or higher drive. This could result in damage since outputs will not s hare current equally. The outputs at U12 are open collector. An external dev ice must sup p ...

  • Remote Technologies RPC-320 - page 27

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-5 RPC -320 100 CON FIG LIN E 100,13, 1,1, 1 200 D = LINE #(125) 210 F = LINE (1) 220 LINE 105, 1 230 LINE #1 10,1 :REM Tu rn on LED 240 LINE # 110 ,0 :REM Tur n of f LED Line 100 con fig ured the 82C5 5 so port s A an d C are inputs while B is the o utput. Note that the LINE statement is us ed to contr ol bot ...

  • Remote Technologies RPC-320 - page 28

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-6 RPC -320 Figure 6- 3 Di gi ta l I/ O connector pin out (vi ewed from top) Table 6-1 Conne ctor pin ou t - J3 Pin # 82C55 Description Opto Channel 19 Port A, line 0 8 21 Port A, line 1 9 23 Port A, line 2 10 25 Port A, line 3 11 24 Port A, line 4 12 22 Port A, line 5 13 20 Port A, line 6 14 18 Port A, line 7 ...

  • Remote Technologies RPC-320 - page 29

    DIGITAL AND OPTO PORTS SECTION 6 Page 6-7 RPC -320 COMMANDS The following tables shows the RPBASIC-52 comm ands used for d igi tal I/O. Comm and Function CONFIG LI NE Configu res I/ O por ts COUNT Returns number of pulses at a line. LINE Function retur ns status of an opto module as a 0 or 1. LINE Statemen t turns on or off an opto module. LINE B F ...

  • Remote Technologies RPC-320 - page 30

    CALENDAR/CLOCK SECTION 7 Page 7-1 RPC-320 DESCRIPTION An optional DS1216DM calendar/clock module m ay be installed in U5. The DS1216D M also battery backs RAM. The DS1216DM from Remote Processing is a modified version of the Dallas DS1216D. An internal reset line has been cut. When a 512K RAM is install ed, an additional line is c ut and another so ...

  • Remote Technologies RPC-320 - page 31

    CALENDAR/CLOCK SECTION 7 Page 7-2 RPC-320 Figure 7-1 Calendar/Clock ...

  • Remote Technologies RPC-320 - page 32

    DISPLAY PORT SECTION 8 Page 8-1 RPC-320 Figure 8-1 Display interface INTRODUCTION RPBASIC-52 and the RP C-320 interface to a variety of displays: VF (vacuum florescent) character LCD (liquid crystal) character LCD gr aphics Character display sizes range from four lines by 20 characters to four line s by 40 characters. The graphics display supports ...

  • Remote Technologies RPC-320 - page 33

    DISPLAY PORT SECTION 8 Page 8-2 RPC-320 DISPLAY TYPES RPBASIC-52' s software driver is based upon the characteristics of the display family. Compatible VF and LCD disp lay s are s hown b elo w: Manu fact. Model Type Optrex DMC 40457 LCD 4 x 40 Optrex DMC 40202 LCD 2 x 40 IEEE 3601-90-080 VF 4 x 20 Optrex DMF 682N LCD 160W x 128D DISPLAY CONNEC ...

  • Remote Technologies RPC-320 - page 34

    KEYPAD PORT SECTION 9 Page 9-1 RPC -320 Figure 9-1 Keypad connector INTRODUCTION 16, 20, or 24 positi on keypads are plugged into keypad port J5. Keys are arra nged in a m atrix for mat. A key is recogn ized whe n a row and a colum n connect. RPBASIC-52 scans and debounces the keypad every 50 ms. Keypad pr esses are retur ned as a num ber fr om 1 t ...

  • Remote Technologies RPC-320 - page 35

    KEYPAD PORT SECTION 9 Page 9-2 RPC -320 The second example uses ON KEYPAD to generate an interrupt every time a key is pressed. 10 ON KEYPAD1000 . . . 500 GOTO 500 1000 PRINT KEYPAD(0) 1100 RETURN Line 10 sets up t he tasker for keypad int errupts to start at line 1000. Line 500 loops on itself for demonstration purposes. Line 1000 prints out the k ...

  • Remote Technologies RPC-320 - page 36

    ANALOG INPUT SECTION 10 Page 10-1 RPC -320 Fig ure 10- 1 An al og I /O DESCRIPTION The RP C-320 has 8 single ended analog input channels. These channels are used to measure voltages from transducers, 4-20ma current loops, thermistors, etc. Input voltage r ange is 0 to 5 volts or ±2.5V with 12 bit (4096 count) resolution. Signals are single ended o ...

  • Remote Technologies RPC-320 - page 37

    ANALOG INPUT SECTION 10 Page 10-2 RPC -320 following tables for differ ential inputs. When channel = odd Pol. - + - + - + - + CH # 0 1 2 3 4 5 6 7 channel 1 3 5 7 When channel = even Pol. + - + - + - + - CH # 0 1 2 3 4 5 6 7 channel 0 2 4 6 When range = 0, the input is ±2.5 v olts and a 1 = 0 to 5 volts. Differenti al Mode When d ifferential m ode ...

  • Remote Technologies RPC-320 - page 38

    ANALOG INPUT SECTION 10 Page 10-3 RPC -320 into an array which requires 6 bytes per entry. The second example takes only two byes per entry, can save to extended m emor y, b ut requir es a longer time to get a data point. The pr ogram below take s about 1. 5 ms per data point. 10 DIM A(254) 20 FOR X=0 TO 254 30 A(X) = AIN(0) 40 NEXT This next progr ...

  • Remote Technologies RPC-320 - page 39

    ANALOG INPUT SECTION 10 Page 10-4 RPC -320 The outpu t from the tempe ratur e sensor v aries fr om unit to unit. Self heating effects as well as s upply voltage will change the output. ...

  • Remote Technologies RPC-320 - page 40

    ANALOG INPUT SECTION 10 Page 10-5 RPC -320 The outpu t voltage fro m the tem peratur e sensor is doubled by jumpering H1[5-7]. While this does not change the range the unit operates at, it does change increase temperature m easurement sensitivity. Data logging on a ti mer tick Some applicati ons require that dat a is read at fi xed intervals. The O ...

  • Remote Technologies RPC-320 - page 41

    ANALOG INPUT SECTION 10 Page 10-6 RPC -320 Figure 10-2 Amplifier circuit CONVERTING ANALOG MEASUREMENTS Inputs are converted to "real numbe rs" by perfor ming scaling calculations in the program. The AIN function retu rns v alu es f rom 0 t o 40 95. To c han ge t hes e nu mbers into something more meaningful, use the following formula: va ...

  • Remote Technologies RPC-320 - page 42

    ANALOG INPUT SECTION 10 Page 10-7 RPC -320 Voltage outputs from pins 6 and 10 are generated by the RS-232 chip U8. Both of these voltages go through a 100 ohm resistor to H1-10 and H1-6. Pin 10 goes to 0 volts when operating the board in IDLE m odes 1 or 2. Pin 6 goes to about + 5 volts. These voltages may be used to supply power to very low pow er ...

  • Remote Technologies RPC-320 - page 43

    WATCHDOG TIMER SECTION 11 Page 11-1 RPC-320 DESCRIPTION The watchdog timer is used to reset the RPC -320 if the program or CPU "crashes" . The time r is built into t he 80C320 CP U. Timed access requirem ents built int o the CPU make it high ly unlikely an er rant pr ocessor would can cel a wat chd og t imer. The watchdog should not be us ...

  • Remote Technologies RPC-320 - page 44

    EXTERNAL INTERRUPT SECTION 12 Page 12-1 RPC-320 DESCRIPTION There are tw o sources of interrupts the ONITR statement respond s to: Inter nal and exter nal. Exter nal interr upts are o ff- card . Int erna l i nte rrupt s are from t he c oun ter. External interrupts are used to "w ake-up" the card from any of the IDLE modes. This feature is ...

  • Remote Technologies RPC-320 - page 45

    EXTERNAL INTERRUPT SECTION 12 Page 12-2 RPC-320 Figure 12-1 Optically isolated and TTL interrup ts enable interrup ts. ...

  • Remote Technologies RPC-320 - page 46

    MULTI-MODE COUNTER SECTION 13 Page 13-1 RPC-320 DESCRIPTION The 24 bit multimode counter is capable of up/down, binary, divide-by-n, and quadrature inputs. C ount frequency is DC to 20 M hz. The R PC-320 uses an LSI Com puter Syste ms LS 7166. Its data sheet is foun d in Appendi x C. The COU NT function and stat ement are used to read from and wr i ...

  • Remote Technologies RPC-320 - page 47

    MULTI-MODE COUNTER SECTION 13 Page 13-2 RPC-320 The following program example returns a frequency. In put si gna l i s a t "A I N". 100 LINEB 6,1,32 110 LINEB 6,1,72 : REM enable inputs 120 ONTICK 1,500 130 IDLE 140 GOTO 130 500 A=COUNT(0) : R EM get count 510 C=A-B : REM fi gure change from last time 520 PRINT "Freque ncy = ",A ...

  • Remote Technologies RPC-320 - page 48

    POWER MANAGEMENT SECTION 14 Page 14-1 RPC -320 DESCRIPTION There are thr ee power mana gement modes. Each mode affects th e way RPBASIC operates. T he IDLE command is used to cont rol how the card operates Default mode is full power. All commands, timers, and interrupts function. IDLE command is not used. There are a number of ways to exit the IDLE ...

  • Remote Technologies RPC-320 - page 49

    POWER MANAGEMENT SECTION 14 Page 14-2 RPC -320 Curr ents are maximum and minimum as specified by the manufacturer. Min-max curr ent ranges "guaranteed" by the device manufact urer have a tremendous range, often by a factor of 10 or m ore. Cur rent abov e is “ty pical” . Some current consumption is di fficult to determine. Digital outp ...

  • Remote Technologies RPC-320 - page 50

    TECHNICAL INFORMATI ON SECTION 15 Page 15-1 RPC -320 ELECTRICAL SPECIFICATIONS CPU 80C320, 22. 1184 Mhz clock Memory RPBASIC-52, 32K RO M, jumperable for 64K. Type : 27C25 6 Acc ess ti me: 80 ns o r fas ter. Program ming and data is 32K or 128K RAM standard, 512K Op tional. RAM optionally battery backed up. Battery life is 5-10 years depending upon ...

  • Remote Technologies RPC-320 - page 51

    TECHNICAL INFORMATI ON SECTION 15 Page 15-2 RPC -320 MEMORY AND I/O BANK MAP Memory Description Address RPBA SIC- 52, U4 000 0H - 7FFFH RAM , U 5, 32K 000 00H - 0 7FFFH 128K 000 00H - 1 FFFFH 512K 000 00H - 7 FFFFH I/O Bank RAM (U5) 0 EPRO M (U6) 1 not used 2 Digital I/O (U11)(J3) 3 Display & keypad (U17) 4 Control & L 0-L8 (U19) 5 Counter ...

Manufacturer Remote Technologies Category Universal Remote

Documents that we receive from a manufacturer of a Remote Technologies RPC-320 can be divided into several groups. They are, among others:
- Remote Technologies technical drawings
- RPC-320 manuals
- Remote Technologies product data sheets
- information booklets
- or energy labels Remote Technologies RPC-320
All of them are important, but the most important information from the point of view of use of the device are in the user manual Remote Technologies RPC-320.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Remote Technologies RPC-320, service manual, brief instructions and user manuals Remote Technologies RPC-320. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Remote Technologies RPC-320.

A complete manual for the device Remote Technologies RPC-320, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Remote Technologies RPC-320 by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Remote Technologies RPC-320.

A complete Remote Technologies manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Remote Technologies RPC-320 - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Remote Technologies RPC-320, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Remote Technologies RPC-320, that we can find in the current document
3. Tips how to use the basic functions of the device Remote Technologies RPC-320 - which should help us in our first steps of using Remote Technologies RPC-320
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Remote Technologies RPC-320
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Remote Technologies RPC-320 in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Remote Technologies RPC-320?

Use the form below

If you did not solve your problem by using a manual Remote Technologies RPC-320, ask a question using the form below. If a user had a similar problem with Remote Technologies RPC-320 it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)