Remote Technologies RPC-320 manual Power Management Section, Program Examp le

Page 49

POWER MANAGEMENT

SECTION 14

Curr ents are maximum and minimum as specified by the manufacturer. Min-max curr ent ranges "guaranteed" by the device manufacturer have a tremendous range, often by a factor of 10 or m ore. Cur rent abov e is “ty pical” .

Some current consumption is difficult to determine. Digital outputs, for example, will draw virtually no current under no load conditions, but can supply 15 ma to each outpu t if requir ed. Ther efore, inputs and outpu ts connected to the card will affect its current consumption. Some chips, such as U 9, will not draw m uch current unless ther e is activity on the R S-485 por t.

Board current consumption may be affected by the setting of jump er W 7. T his jumper determ ines if inputs at J3 are pulled up or down. When set to pull up inputs, each line forced low increases current consumption by 50 uA. If all inputs are tied to + 5V or ground,

rem oving jump er W 7 may dr aw less cur rent.

The application program IC in U6 may be changed to a 29C040. This 512K byte memory draws 200 uA less current than a 32K byte one.

Any contr ol line from P2 to gr ound dra ws 500 uA due to the 10K pull-ups. Lines at P6 are pulled to + 5V through a 10K resistor. Each low line draws 500 uA.

The contrast adjustment (R18) can be removed or adjusted for minim um cur rent.

Program Examp le

This examp le makes the RP C-320 go into its lowest power mode.

10ONITR 500

.

.

other code

.

 

100IDLE 2

200GOTO 100

500PRINT "In interrupt"

510RETI

Page 14-2 RPC -320

Image 49
Contents Trademarks REVRevision Table of Contents External Reset Sect ION 11 Watchdog Timer DescriptionInterrupt Characteristics Sect ION 13 Multi Mode Counter DescriptionSoftware Revision History Section OverviewDescription Manual OrganizationTechnical Support Symbols and Term inologySystem layout Overview SectionIntroduction Operating PrecautionsEquipment Using a Terminal Using a PCFirst Time Operation Uploading and Downloading ProgramsEditing programs and program ming hints Troubleshooting Where to GO from HereSaving a Program Saving ProgramsEprom W3 autorun jumperPreventing Autorun AutorunningLoading a Program Changing Eprom SizeAlternate Eproms CommandsBload BsaveCOM0 Serial Port Serial PortsCOM1 Serial Port RS-422/485 Operating Information Serial Ports SectionRS-422/485 Termination network Two wire RS-485 Accessing Serial BuffersMultidrop Network Disabling CONTROL-C Accessing COM0 and COM1Serial Port PIN OUT RXD CTS Checking the battery Battery BackupRAM Memory Changing MemoryStoring Variables in RAM Reserved MemoryBlock Data Transfer Assembly Language InterfaceDigital I/O Ports Digital and Opto PortsDigital Por t J3 Digital Port P6 Digital I/O CommandsHigh Current Port L8 Optically Isolated InputHigh Current Output Interfacing Digital I/O to an opto-module rack Interfacing to switches and other devicesDigital I/ O prog ramm ing exam ple Ls e Width Modulation PWM Conne ctor pin ou t J3 Digital and Opto Ports SectionCount Config LineLine Line BDate Setting Date and TimeM E Section Writing to the Display Connecting DisplaysProgramming Example Display Types Display Connector PIN OUTProgram explanation Keypad PortKeypad Port PIN OUT J5 Analog Input Connecting Analog InputsInitialization Overvoltage conditionsExamples u sing CON FIG AIN Differential ModeAcquiring Analog Data Noise Notes Temperature MeasurementAnalog Input Section Measuring Higher Voltages Data logging on a timer tickAmplifiers Converting Analog MeasurementsMeasuring 4-20 mA current loops Calibration External Reset Watchdog TimerOptically Isolated Interrupt Interrupt CharacteristicsProgram Example Optically isolated and TTL interrup ts GND ProgrammingLoad GateCOU NT0 Further Power Reduction Power ManagementProgram Examp le Power Management SectionTechnical Information Electrical SpecificationsMemory and I/O Bank MAP Mechanical SpecificationsJumper Descriptions Bank