Remote-processing RPC-2350 Manuel d'utilisateur

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Ordinateurs Remote-processing RPC-2350. Remote Processing RPC-2350 User Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 83
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
RPC-2350 USER'S MANUAL
i
Copyr ight 2001 - Remote Processing Corporation. All
rights reserved. However, any part of this document
may be reproduced with Remote Processing cited as the
source.
The contents of this manual and the specifications her ein
may change without notice.
TRADEMARKS
CAM BASIC™ and PC SmartLINK™ are trademar ks of
Octagon Systems Corporation.
Microsoft® BASIC is a trademark of M icrosoft
Corporation.
Microsoft® Windows®, Windows 95® , and Windows
98® are trademarks of Microsoft Corpor ation.
Windows Terminal is registered with Microsoft
Corporation.
Hyper Term is copyr ight by Hilgr aeve Inc. and is
developed for Microsoft Cor poration.
Procomm is copyright by Datastorm Technologies, part
of Symantec Corporation
Remote Processing Corporation
7975 E. Harvard Ave.
Denver, Co 80231
Ph. : (303) 690 1588
Fax: (303) 690 1875
www. rp3.c om
NOTICE TO USER
The infor mation contained in this manual is believed to
be correct. However, Remote Pr ocessing assumes no
responsibility for any of the circuits described herein,
conveys no license under any patent or other right, and
make no representations that the circuits are free from
patent infringement. Remote Processing makes no
representation or warr anty that such applications will be
suitable for the use specified without further testing or
modification. The user must decide fitness for a
particular use.
Remote Processing Corporation' s general policy does not
recommend the use of its products in life support or
applications where the failure or malfunction of a board
may threaten life or injury. Install redundant or backup
safety systems as appropriate to the application.
FCC AND EMI NOTICE
The RPC-2350 and RPC-2350G is intended as an OEM
product in an industrial environment. It was not tested
for EMI radiation. When operated outside a suitable
enclosure, the board and any cables coming from the
board w ill radiate har mful signals that interfer e with
consumer and industrial radio frequencies. It is your
responsibility properly to shield the RPC-2350/ 2350G
and cables coming from it to prevent such interference.
P/N 1761
Revision: 1.4
Vue de la page 0
1 2 3 4 5 6 ... 82 83

Résumé du contenu

Page 1 - RPC-2350 USER'S MANUAL

RPC-2350 USER'S MANUAL iCopyr ight 2001 - Remote Processing Corporation. Allrights reserved. However, any part of this documentmay be reprodu

Page 2 - TABLE OF CONTENTS

SETUP AND OPERATION CHAPTER 22-4Figure 2-2 Power connector detailFigure 2-3 Power and jumper location detailGround is connected to “GND”“+ 5V” can be

Page 3

CHAPTER 2 SETUP AND OPERATION2-5UPLOADING AND DOWNLOADINGPROGRAMSDownloading program s means transferring them fromyour computer to RAM on the RPC -23

Page 4

SETUP AND OPERATION CHAPTER 22-6Uploading programs is simply a process of receiving anASCII file. You or your program simply needs to send"LIST&

Page 5 - CHAPTER 1 OVERVIEW

CHAPTER 2 SETUP AND OPERATION2-7You can wr ite a program in lower case characters. CAMBASIC translates them to upper case.Some program mers put &quo

Page 6 - OVERVIEW CHAPTER 1

SETUP AND OPERATION CHAPTER 22-8stops giving line numbers when two < CR> 's arereceived.3. U se labels after GO TO and G OSUB statements. D

Page 7

CHAPTER 2 SETUP AND OPERATION2-9WHERE TO GO FROM HEREIf you w ant to do th is Go tochapterSave a program 3Autorun a program 3Know m ore abo ut serial

Page 8

CHAPTER 3 SAVING AND LINKING PROGRAMS3-1Figure 3-1 Flash location and jumpersCHAPTER SYNOPSIS Saving programs to Flash Retrieving programs from F la

Page 9

SAVING AND LINKING PROGRAMS CHAPTER 33-2Where ‘program’ is 0 or 1 for 128K Flash or 0 to 7 for512K Flash installed. “SA VE” and “ SAVE 0" ar e

Page 10 - SETUP AND OPERATION CHAPTER 2

CHAPTER 3 SAVING AND LINKING PROGRAMS3-3SAVING DATA TO FLASH EPROMAdditional data, such as strings and constants, can besaved to U3 using a variation

Page 11 - CHAPTER 2 SETUP AND OPERATION

SAVING AND LINKING PROGRAMS CHAPTER 33-4..7000 IF A = 0 THEN 7100..7100 EXIT CLEAR7110 LOAD 1 RUNThe above example shows how to link to anotherprogra

Page 12

TABLE OF CONTENTS iiOVERVIEW CHAPTER 1MANUAL ORGANIZATION ...1MANUAL CONVENTIONS ...1Symbols and Terminology ...2DEM

Page 13

CHAPTER 4 SERIAL PORTS4-1Figure 4-1 Serial port connector locationCHAPTER SYNOPSISSERIAL PORTS CHAPTER 4 Overview of RPC-2350 serial capabilities

Page 14

SERIAL PORTS CHAPTER 44-2Comm unication flow controlThere are two methods to control transmission:Hardware and software. Both are discussed below.Whe

Page 15

CHAPTER 4 SERIAL PORTS4-3Figure 4-2RS-485 operates in one of two modes: 2 wire and 4wire. ( An extr a wire is actually neede d as signal reference.

Page 16 - SAVING A PROGRAM

SERIAL PORTS CHAPTER 44-4Figure 4-4 Data packetaddress, com mand, data, and a checksum. See figure 4-4. The packet is received by all devices, and

Page 17 - LOADING PROGRAMS

CHAPTER 4 SERIAL PORTS4-5is empty.In this mode, you have access to the full 256 bytes. If you don' t read the buffer an d the buffer fills, al

Page 18 - LINKING PROGRAMS

SERIAL PORTS CHAPTER 44-6The table below is the pin out for SPI port J11.Pin No. Description1 Clock output to device2 Serial data to external device3

Page 19 - COMMANDS

CHAPTER 4 SERIAL PORTS4-7SERIAL CABLE PIN OUTThe following is the pin out between the IDC connectorfor the RPC-2350 and the DB-9 connector to the PC o

Page 20 - CHAPTER 4 SERIAL PORTS

CHAPTER 5 DATA MEMORY5-1Figure 5-1 Memory locationCHAPTER SYNOPSIS Battery backup description Where and how to store variables  Saving and retrievi

Page 21 - SERIAL PORTS CHAPTER 4

DATA MEMORY CHAPTER 55-2Figure 5-2 2350 system memory mapFigure 5-3 Flash memory mapProgram s and CAMBASIC variables reside in segment0, between addre

Page 22

CHAPTER 5 DATA MEMORY5-3A CAM BASIC program number and Flash segmentwhen using SAVE are related by the following formula:SAVE segment = program + 8Ke

Page 23

RPC-2350 USER'S MANUAL iiiCALENDAR/CLO CK CHAPTER 7SETTING DATE AND TIME ...8YEAR 2000 AND BEYOND ...8CLOCK INTERRUPT

Page 24

DATA MEMORY CHAPTER 55-4structure it is 28.Next, assign variable names to the offsets in memorydata begins.Name Pointing to ValueDSET Date string 0TSE

Page 25

CHAPTER 5 DATA MEMORY5-5several things happen. Data saved at line 1000 isoverwritten by the data in line 2000, even thoughdifferent write addresses

Page 26

DATA MEMORY CHAPTER 55-6default values (from the program) should be used, sinceit is uncertain if the first or second set is corrupted. Both data set

Page 27 - CHAPTER 5 DATA MEMORY

CHAPTER 5 DATA MEMORY5-7Line 2000 calls the program listed below . It toggles J2line 13.IN A,(2)LD B,AAND 0FEHOUT (2),ALD A,BOR 1OUT (2),ARETEXAMPLE

Page 28 - DATA MEMORY CHAPTER 5

CHAPTER 6 DIGITAL LINES6-1Figure 6-1 Digital I/O connectorsCHAPTER SYNOPSIS Overview of the digital lines How to program  Using high current port

Page 29

DIGITAL LINES CHAPTER 66-2Figure 6-2 Inductive load protectionJ3, port A is shared with the LCD character display portJ6. If you are using J6, then t

Page 30

CHAPTER 6 DIGITAL LINES6-3Figure 6-3 IDC pin out viewed from toplines. The MPS-XX series boards accept OPTO-22 G4series or Grayhill G5 modules. See

Page 31

DIGITAL LINES CHAPTER 66-4Conne ctor pin ou t - J2J2Pin #82C55Port/bitDescription OptoChannel19 A/0 821 A/1 923 A/2 1025 A/3 1124 A/4 1222 A/5 1320 A/

Page 32

CHAPTER 6 DIGITAL LINES6-5COMMANDSThe following table lists CAMBASIC commands usedfor digital I/O.Command FunctionBIT Function returns status of bit a

Page 33

DIGITAL LINES CHAPTER 66-6J2Pin #82C55Port/ bitOptoChannelDescription/ use Associated CAMBASIC variable,function, or task number19 A/O ExampleStar

Page 34 - CHAPTER 6 DIGITAL LINES

TABLE OF CONTENTS ivPOWER & EXPANSION PORT CHAPTER 16POWER INPUT ...1POWER OUTPUT ...1Heat sinking ...

Page 35 - DIGITAL LINES CHAPTER 6

CHAPTER 6 DIGITAL LINES6-7J3Pin #82C55Port/ BitOther use for line OptoChannelWhat line is used for Associated CAMBASIC variable,function, or task numb

Page 36

CALENDAR/CLOCK CHAPTER 77-8CHAPTER SYNOPSIS Initializing and using the RTC Y2K and Y2.4K issues Using clock interr upts DESCRIPTIONCALENDAR/CLOCK

Page 37

CHAPTER 7 CALENDAR/CLOCK7-9Figure 7-1 RTC interrupt jumper W10Use the following table to set clock interrupt periods. “Value” is written to I/O por

Page 38

CHAPTER 8 ANALOG I/O8-1Figure 8-1 Analog connectors and jumpersCHAPTER SYNOPSIS Brief description of analog input capabilities Acquiring analog data

Page 39

ANALOG I/O CHAPTER 88-2Initializing InputsThe RPC-2350 can have up to eight single-ended inputs,four differential, or a mixture of single ended anddif

Page 40

CHAPTER 8 ANALOG I/O8-3The input range is -2.5V to + 2.5V. The result from anAIN function is 0 for -2.500V, 2048 for 0. 000V, and4095 for + 2.4998V.

Page 41 - CALENDAR/CLOCK CHAPTER 7

ANALOG I/O CHAPTER 88-4divided 5 by 4095 to obtain K.K = 5/4095K = .001221Your program could look something like:1000 C = .001221 * AIN(N)Example 2:

Page 42 - CHAPTER 7 CALENDAR/CLOCK

CHAPTER 8 ANALOG I/O8-5Figure 8-2 CalibrationFigure 8-3 Analog output IC’s, jumper, and connectorFigure 8-4 Jumper W12 detailANALOG OUTPUTTwo option

Page 43 - CHAPTER 8 ANALOG I/O

ANALOG I/O CHAPTER 88-6and can be either 0 or 1. channel 0 is on pin 17 and1 is on pin 19.value is the value to output from 0 to 4095.Use the follow

Page 44 - ANALOG I/O CHAPTER 8

CHAPTER 8 ANALOG I/O8-7Figure 8-5 Current loop IC’s & connectorCurrent loop powerThe cur rent output IC' s requir e at least 12V DC toopera

Page 45

CHAPTER 1 OVERVIEW1-1CHAPTER SYNOPSISOVERVIEW CHAPTER 1 Brief description of the RPC-2350 and RPC-2350G  How this manual is organized How to get

Page 46

CHAPTER 9 KEYPAD PORT9-1Figure 9-1 J5 keypad connector locationCHAPTER SYNOPSIS Operating information Multiple use noteDESCRIPTIONKEYPAD PORT CHAP

Page 47

KEYPAD PORT CHAPTER 99-2The following example sets up CAMBASIC to scan a 16position keypad. P orts A and B are set fo r outputs(presumably to drive th

Page 48

CHAPTER 10 DISPLAY PORT10-1Figure 10-1 LCD character connector and contrast adjustCHAPTER SYNOPSIS Differences between RPC-2350 and RPC -2350G Prog

Page 49

DISPLAY PORTS CHAPTER 1010-2It is possible to write a LCD character driver in Basic. This routine will be slow and take up some space.DISPLAY CONNECTO

Page 50 - CHAPTER 9 KEYPAD PORT

CHAPTER 11 SOUND/TIMER OUTPUT11-1Figure 11-1 Sound/pulse output connectorFigure 10-2 Speaker interfaceCHAPTER SYNOPSIS Uses and limitations of sound/

Page 51 - KEYPAD PORT CHAPTER 9

CHAPTER 12 WATCHDOG TIMER12-1Figure 11-1 Watchdog timer jumperCHAPTER SYNOPSIS Uses for a watchdog timer Cautions using watchdogDESCRIPTIONWATCHDOG

Page 52 - CHAPTER 10 DISPLAY PORT

CHAPTER 13 INTERRUPTS13-1Figure 13-1 J10 and INT 1 locationCHAPTER SYNOPSIS Discusses types of interrupts Interrupt prior ityDESCRIPTIONINTERRUPT S

Page 53 - DISPLAY PORTS CHAPTER 10

INTERRUPTS CHAPTER 1313-2jumper s from W7 if using external interrupts. IN T1 istied to a 10K ohm pull up resistor.The O N ITR n GO SUB line/label t

Page 54 - CHAPTER 11 SOUND/TIMER OUTPUT

CHAPTER 14 MULTI-MODE COUNTER14-3Figure 14-1 Counter and jumper locationCHAPTER SYNOPSIS Brief description of the counter High voltage input and lev

Page 55 - CHAPTER 12 WATCHDOG TIMER

MULTI-MODE COUNTER CHAPTER 1414-4Figure 14-2 W7 and W9 jumper detailHIGH VOLTAGE INPUTConnector J10, pin 10 can accept a ±15V signal. Asshipped from

Page 56 - CHAPTER 13 INTERRUPTS

OVERVIEW CHAPTER 11-2Information appearing on your screen is shown in adifferent type.Example:CAM BASIC (tm) V1.4© 1985-94 Octagon Systems Corporatio

Page 57 - INTERRUPTS CHAPTER 13

CHAPTER 14 MULTI-MODE COUNTER14-5inputs to count130 on tick 0,1 gosub 1000140 c = 1 :'initialize loop counter200 bit 0,0,0210 bit 0,0,1 :'ri

Page 58 - CHAPTER 14 MULTI-MODE COUNTER

MULTI-MODE COUNTER CHAPTER 1414-6Signal levels are all TTL logic (0 to 5V).The following signals at J10 are used to measur e pulsewidths:J10 pin Descr

Page 59 - MULTI-MODE COUNTER CHAPTER 14

CHAPTER 15 GRAPHIC DISPLAY PORT15-1Figure 15-1 LCD and EL connector locationCHAPTER SYNOPSISGRAPHIC DISPLAY PORT CHAP TER 15 General displ

Page 60

GRAPHIC DISPLAY PORT CHAPTER 1515-2POKE SYS(15),0,0 :'Slow- no sparkleThere is an unfor tunate par adox beca use of this. Sparkleis most notice

Page 61

CHAPTER 15 GRAPHIC DISPLAY PORT15-3Figure 15-2 Jumper W3 detaillighted pixel (or block) on one layer can obliterateanother.This CAM BASIC can display

Page 62 - DISPLAY INFORMATION

GRAPHIC DISPLAY PORT CHAPTER 1515-4largest font is 32 pixels wide by 48 tall.Small characters are pr inted on its own plane. Thus,small text can be

Page 63 - DISPLAY LAYERS

CHAPTER 15 GRAPHIC DISPLAY PORT15-5Scroll up time may be an important factor. It takesabout 65 mS to move all 1160 characters of the text upone line.

Page 64 - PRINTING TEXT

GRAPHIC DISPLAY PORT CHAPTER 1515-6Figure 15-3LOAD AND SAVE SCREENSTwo com mands load and save screen graphics.DISPLAY LOAD (x1,y1),(x2,y2),seg,addres

Page 65

CHAPTER 15 GRAPHIC DISPLAY PORT15-7graphics. When saving to Flash, you m ust round UP the amountstored to the next Flash sector size. A 128K flash

Page 66 - CLEAR, FILL, AND XOR AREAS

GRAPHIC DISPLAY PORT CHAPTER 1515-8command. The command byte value is &59.3.3.1.2 FCFC1 and FC 0 set the character cursor flash rate.3.3.1.3 FPS

Page 67 - LOAD AND SAVE SCREENS

CHAPTER 2 SETUP AND OPERATION2-1CHAPTER SYNOPSISSETUP AND OPERATION CHAPTER 2 Running the RPC-2350 for the first time  How to run und er D OS and

Page 68 - ADDITIONAL SCREEN CONTROLS

CHAPTER 15 GRAPHIC DISPLAY PORT15-9PRINT AND DISPLAY TIMESExecution times for a command (not character) shownbelow.Command Time (inmilli-Sec)Condition

Page 69

GRAPHIC DISPLAY PORT CHAPTER 1515-10CABLE PIN OUTSThe following tables are cable pin outs for LCD and ELdisplays. J9 is the 20 pin display connector

Page 70 - EL DISPLAY

CHAPTER 15 GRAPHIC DISPLAY PORT15-11COMMANDSThe following commands are used with the graphicsdisplay:Command DescriptionCLEAR DISPLAY Clear graphics a

Page 71 - CABLE PIN OUTS

GRAPHIC DISPLAY PORT CHAPTER 1515-12Command DescriptionDISPLAYF(x1, y1),(x2, y2)Fill area bounded by(x1,y1) to (x2,y2)DISPLAYF,C(x1,y1),(x2, y2)Clear

Page 72

CHAPTER 16 POWER & EXPANSION PORT16-1Figure 16-1 Power, Expansion, and jumper locationsCHAPTER SYNOPSISPOWER & EXPAN SION PO RT CH APTE

Page 73

POWER AND EXPANSION PORT CHAPTER 1616-2Figure 16-2 Power connector detailPOWER OUTPUTThere are several pow er outputs available from bothRPC-2350 and

Page 74 - POWER INPUT

CHAPTER 16 POWER & EXPANSION PORT16-3Expansion port connector pin out is listed below.P1 pin # Description1 Data 02 Expansion port address select3

Page 75 - EXPANSION PORT P1

CHAPTER 17 RESOURCES17-1CHAPTER SYNOPSISRESOURCES CHAPTER 17 List sources of accessory com ponentsThe RPC-2350 can be used in a number of app

Page 76

RESOURCES CHAPTER 1717-2Opto-22 G4 modules are available from AlliedElectronics.Grayhill G5 modules are available from D igi-key.Isolated RS-485 and

Page 77 - CHAPTER 17 RESOURCES

TECHNICAL INFORMATION18-1ELECTRICALTECHNICAL INF ORMATION CHAPTER 18CPUZ8S180, 18. 432 MHZ clockELECTRICALMemoryCAMBASIC, 32K ROM (U1). Mapped pe

Page 78 - RESOURCES CHAPTER 17

SETUP AND OPERATION CHAPTER 22-2Requirements for uploading and downloading programsare discussed. A " Where to go from here" sectiondirects

Page 79 - TECHNICAL INFORMATION

TECHNICAL INFORMATION18-2EnvironmentalTemperature range: -20°C to 70°C. Temperature cango slightly higher if air flows across board.Humidity: 0% to 9

Page 80

TECHNICAL INFORMATION18-3JUMPER DESCRIPTIONSA * after a jumper position indicates factory default andis jumpered.Jumper DescriptionW1[2-3]* Watchdog t

Page 81

TECHNICAL INFORMATION18-4CONNECTOR DESCRIPTIONThe following table provides a brief function descriptionfor each connector and the chapter number where

Page 82

TECHNICAL INFORMATION18-5RPC-2350 board outline and mounting hole locationsBOARD OUTLINE

Page 83

CHAPTER 2 SETUP AND OPERATION2-3board. All programm ing and initial communicationbetween the RPC-2350 and outside world is donethrough RS-232.The ter

Commentaires sur ces manuels

Pas de commentaire