Remote Technologies RPC-320 manual Alternate Eproms, Commands, Bload, Bsave

Page 14

SAVING PROGRAMS

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 the IC goes into socket pin 3. The top 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. Large volume OEM' s may wish to use lower cost EPRO Ms.

Program development must use flash EPROM s. Whe n a program is finished, the flash EP ROM is used as a master. Use an exter nal progra m to duplicate progr ams.

Jumper W2 is normally configured for flash EPROM (W2[3-5 ] and W2 [4-6]). For non-flash E PRO Ms, W2 is configured for [1 - 3] and [2- 4]. Large volume OEM's should contact Remote Processing regarding pre- configuring W2 and W3 for your application.

SECTION 3

COMMANDS

The following is a list of RPBASIC-52 commands used for saving, loading, and executing programs and data. These comm ands and functions are explained in the Software Supplement in this manua l.

Comm and

Function

BLOAD

Transfers binary data from

 

EPROM to RAM

BSAVE

Transfers binary data from RAM

 

to flash EPROM

EXECUTE

Loads, clear s memory, then runs

 

a program from w ithin a program

LOAD n

Loads a program from EPROM

SAVE n

Saves a program to flash EPROM

Page 3-3 RPC -320

Image 14
Contents Revision REVTrademarks Table of Contents Interrupt Characteristics Sect ION 11 Watchdog Timer DescriptionExternal Reset Sect ION 13 Multi Mode Counter DescriptionSoftware Revision History Description OverviewSection Manual OrganizationSymbols and Term inology Technical SupportOverview Section System layoutEquipment Operating PrecautionsIntroduction First Time Operation Using a PCUsing a Terminal Uploading and Downloading ProgramsEditing programs and program ming hints Where to GO from Here TroubleshootingEprom Saving ProgramsSaving a Program W3 autorun jumperLoading a Program AutorunningPreventing Autorun Changing Eprom SizeBload CommandsAlternate Eproms BsaveCOM1 Serial Port Serial PortsCOM0 Serial Port RS-422/485 Termination network Serial Ports SectionRS-422/485 Operating Information Multidrop Network Accessing Serial BuffersTwo wire RS-485 Serial Port PIN OUT Accessing COM0 and COM1Disabling CONTROL-C RXD CTS RAM Memory Battery BackupChecking the battery Changing MemoryReserved Memory Storing Variables in RAMAssembly Language Interface Block Data TransferDigital Por t J3 Digital and Opto PortsDigital I/O Ports High Current Port L8 Digital I/O CommandsDigital Port P6 Optically Isolated InputHigh Current Output Digital I/ O prog ramm ing exam ple Interfacing to switches and other devicesInterfacing Digital I/O to an opto-module rack Ls e Width Modulation PWM Digital and Opto Ports Section Conne ctor pin ou t J3Line Config LineCount Line BM E Setting Date and TimeDate Section Programming Example Connecting DisplaysWriting to the Display Display Connector PIN OUT Display TypesKeypad Port Program explanationKeypad Port PIN OUT J5 Initialization Connecting Analog InputsAnalog Input Overvoltage conditionsAcquiring Analog Data Differential ModeExamples u sing CON FIG AIN Temperature Measurement Noise NotesAnalog Input Section Data logging on a timer tick Measuring Higher VoltagesMeasuring 4-20 mA current loops Converting Analog MeasurementsAmplifiers Calibration Watchdog Timer External ResetProgram Example Interrupt CharacteristicsOptically Isolated Interrupt Optically isolated and TTL interrup ts Load ProgrammingGND GateCOU NT0 Power Management Further Power ReductionPower Management Section Program Examp leElectrical Specifications Technical InformationJumper Descriptions Mechanical SpecificationsMemory and I/O Bank MAP Bank