Remote Technologies RPC-320 manual Power Management, Further Power Reduction

Page 48

POWER MANAGEMENT

DESCRIPTION

There are thr ee power mana gement modes. Each mode affects the way RPBASIC operates. T he IDLE command is used to control 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 mode in conjunction with ONITR. Refer to Chapter 12, External Interrupt and Chapter 13, Multi-mode Counter for ways to generate interr upts. IDLE 2 is restricted on the type of interrupt. T he signal at P2-INT must return to a high state befor e the next IDLE 2 command is executed. (P2- INT is also controlled by the multi-mode counter and optically isolated interrupt, described in Cha pter 12 and 13.) If it does not go high, IDLE 2 mode w ill exit in approximately 3 ms. This is due to a characteristic of the A6 mask revision in the Dallas 80C320 CPU . A general rule is to keep the negative pulse at P2- INT greater than 50 ns but less than 3 ms.

IDLE or IDLE 0 waits until an ONTICK or ONITR interr upt occur s. Se rial I/ O oper ates norm ally. U se this comm and whe n you wan t your pr ogram to "hang out" until something happens. The RPC-320 operates under full power .

IDLE 1 reduce s power by 30% . H ere the C PU " shuts down" but the internal timers are still operating.

ONT ICK and ON ITR will cause the card to come out of power down m ode. Howe ver, the RS-232 se rial por ts are disabled. C haracters in the transmitter buffer are not sent out and incoming characters are ignored.

IDLE 2 is the lowest power mode. T he CPU, internal timers , ser ial ports, and oscillator are tur ned off. Only interrupts responding to ONITR wake up the processor . Cur rent cons umption is less than 5 ma with no signals going into or coming from the RPC -320.

IDLE 2 also has a number of operating restr ictions. This mode shuts dow n the RS-232 rece iver/dr iver IC, so no character s can come in or go out. T his IC also supplies current for the amplifiers and analog to digital converter. Do not apply negative voltages to the analog input in this mode . The tick timer is shut off . However, the real tim e clock m odule, if installed, continues to operate.

NOTE: The RS- 232 receiver is shut down in IDLE modes 1 and 2. A ny characters sent to the RPC-320 dur ing this time are ignored or

SECTION 14

grossly distorted.

NOTE: Delay printing out the R S-232 ports for at least 20 ms (20 instructions) after exiting IDLE 1 or IDLE 2. These chips generate RS-232 voltages and require a "pow er up" time. Failure to do so could result in garbled ch aracters.

NOTE: The < Ctl> -C break char acter is not recognized in any of the IDLE modes.

Norm ally this is not a problem except during progr am deve lopment. If the prog ram is executing an IDLE statement and it won' t respond to any interrupts, pressing the reset button is the only w ay to exit.

Exit IDLE 2 by applying a low going pulse at the INT input at P2 . The pulse width should be 50 ns minimum . The other IDLE modes re quire a pulse width of at least 1 micro-second. Optical interrupt ISOA/B may also be used to exit any of the IDLE modes. The pulse w idth needs to be at least 10 micr o-seconds.

FURTHER POWER REDUCTION

Some applications require the least amount of power possible. You m ay rem ove cer tain IC' s from the card to do this. The table below lists the IC 'U' number, approximate curr ent consumption (in shutdown and run mode), and function.

Un

 

Curr ent

 

Function

 

Run

Shutdown

 

U9

10

mA

 

400 uA RS-485 interface

U14

100 uA

 

1 . 2 ma

Reference for U 15,

 

 

 

 

 

temperature reference.

U15

5 ma

 

10 uA

Analog to digital

 

 

 

 

 

converter

U11

10

mA

 

1 ua

Digital I/O at J3

U17

10

mA

 

1 ua

Display output, keypad

 

 

 

 

 

scanner .

U8

30

mA

 

10 uA

RS - 232 driver/receiver,

 

 

 

 

 

power supply for analog

to digital converter, amplifiers

Page 14-1 RPC -320

Image 48
Contents REV TrademarksRevision Table of Contents Sect ION 11 Watchdog Timer Description External ResetInterrupt Characteristics Sect ION 13 Multi Mode Counter DescriptionSoftware Revision History Overview SectionDescription Manual OrganizationSymbols and Term inology Technical SupportOverview Section System layoutOperating Precautions IntroductionEquipment Using a PC Using a TerminalFirst Time Operation Uploading and Downloading ProgramsEditing programs and program ming hints Where to GO from Here TroubleshootingSaving Programs Saving a ProgramEprom W3 autorun jumperAutorunning Preventing AutorunLoading a Program Changing Eprom SizeCommands Alternate EpromsBload BsaveSerial Ports COM0 Serial PortCOM1 Serial Port Serial Ports Section RS-422/485 Operating InformationRS-422/485 Termination network Accessing Serial Buffers Two wire RS-485Multidrop Network Accessing COM0 and COM1 Disabling CONTROL-CSerial Port PIN OUT RXD CTS Battery Backup Checking the batteryRAM Memory Changing MemoryReserved Memory Storing Variables in RAMAssembly Language Interface Block Data TransferDigital and Opto Ports Digital I/O PortsDigital Por t J3 Digital I/O Commands Digital Port P6High Current Port L8 Optically Isolated InputHigh Current Output Interfacing to switches and other devices Interfacing Digital I/O to an opto-module rackDigital I/ O prog ramm ing exam ple Ls e Width Modulation PWM Digital and Opto Ports Section Conne ctor pin ou t J3Config Line CountLine Line BSetting Date and Time DateM E Section Connecting Displays Writing to the DisplayProgramming Example Display Connector PIN OUT Display TypesKeypad Port Program explanationKeypad Port PIN OUT J5 Connecting Analog Inputs Analog InputInitialization Overvoltage conditionsDifferential Mode Examples u sing CON FIG AINAcquiring Analog Data Temperature Measurement Noise NotesAnalog Input Section Data logging on a timer tick Measuring Higher VoltagesConverting Analog Measurements AmplifiersMeasuring 4-20 mA current loops Calibration Watchdog Timer External ResetInterrupt Characteristics Optically Isolated InterruptProgram Example Optically isolated and TTL interrup ts Programming GNDLoad GateCOU NT0 Power Management Further Power ReductionPower Management Section Program Examp leElectrical Specifications Technical InformationMechanical Specifications Memory and I/O Bank MAPJumper Descriptions Bank