12.07.2015 Views

Part 2

Part 2

Part 2

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

604 Example 3497A ConfigurationsINTERRUPT MODECONNECTION DIAGRAMSIGNALSOURCECOLLECTORINPUT LOOUTPUT HIOUTPUT LOCOUNTER CARDLEVEL CHANGE ON OVERFLOWOR MEASUREMENT COMPLETE1 Circuit 1 To Select 1 Set INon Isolated Mode Sl to NON ISOLATED+ 5V Logic LevelInterrupt ModeJ7 toNegative True Logic J8 to NEG TRUEFigure 199. Example 12 -Counter ConfigurationSAMPLEPROGRAMSFour sample programs are shown to illustrate interrupts with the counter assembly:(a) lnterrupt on Measurement Complete - Count Down(b) lnterrupt on Measurement Complete - PeriodIPulse Width(c) lnterrupt on Overflow - Count Up(d) lnterrupt on Overflow - PeriodIPulse WidthFor each program, the procedure is the same, so we'll describe the program for thefirst example, lnterrupt on Measurement Complete - Count Down. The counter isassumed to be in slot 4 for all examples.In this program, line 20 tells the controller to go to an interrupt subroutine (startingat line 1000) ONLY when an interrupt occurs on the remote interface (HP-IB). Line30 enables the interface for interrupts. Note that the main program continues untilan interrupt occurs (in this case, when zero counts are reached in the counter).In line 40, SE2 enables the 3497A for digital interrupts, CE4,l enables the counterto interrupt the 3497A when Measurement Complete occurs and CF4,2 sets thecounter to the Count Down mode. For this set of conditions, when zero counts arereached, the counter sends an interrupt to the 3497A and the 3497A, in turn, sendsan interrupt to the controller.Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!