12.07.2015 Views

Part 2

Part 2

Part 2

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

596 Example 3497A ConfigurationsPERIOD MODECONNECTION DIAGRAM100Hz~~vm 4 OPEN COLLECTORUSERSIGNALSOURCENPNINPUT LOOUTPUT HI --OUTPUT LOLEVEL CHANGE ON OVERFLOWOR MEASUREMENT COMPLETECOUNTER CARD-I Circuit I To Select I Set IOutput1 1Non Isolated Mode Sl to NON ISOLATEDInternal Pullup 11 to+ 12V Logic Level J5 to 12V ONInterrupt ModeIsolated PullupPositive True LogicJ7 toJ 1 ,J2 toJ8 toINTRISOLATEDPOS TRUEFigure 197. Example 10 - Option 060 Connection Diagram (Period Mode)SAMPLEPROGRAMWhen the read without wait (CR slot#,l) command is used, the counter can be readwithout disturbing data flow into the counter and thus interim answers can bedisplayed. This is useful when you are making a long measurement and want toknow how far the measurement has progressed.A sample program is shown to average 1000 periods of a 100 Hz input to a counterin slot 4 and read the results without wait. Since the counter requires over 10seconds to average 1000 periods of the input, the program prints out the currentdata after 5 seconds to show interim results. In the printout, the minus (-1 sign infront of the PARTIAL MEASUREMENT result indicates an incomplete measurement.CLEAR 709OUTPUT 709;"CF4,3"WAlT 5000OUTPUT 709;"CR4,1"ENTER 709;APRlNT "PARTIAL MEASUREMENT"PRlNT "PERIOD = ";A;"SEC"WAlT 6000OUTPUT 709;"CR4,1"ENTER 709;APRlNTPRlNT "COMPLETED MEASUREMENT"PRlNT "PERIOD = ";A;"SECHENDArtisan 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!