Measurement Specialties USB-1616HS-2 manual Detection on an analog input, timer output updates

Page 39

USB-1616HS-2 User's Guide

Functional Details

Figure 26. Analog inputs with setpoints update on True and False

In the channel 5 example, the setpoint placed on analog Channel 5 updated DAC1 with 0.0 V. The update occurred when channel 5's input was less than the setpoint (limit A). When the value of channel 5's input was above setpoint limit A, the condition of <A was false and DAC1 was then updated with -1.0 V.

You can program control outputs programmed on each setpoint, and use the detection for channel 4 to update the FIRSTPORTC digital output port with one value (70 h in the example) when the analog input voltage is within the shaded region and a different value when the analog input voltage is outside the shaded region (30 h in the example).

Detection on an analog input, timer output updates

Update Mode: Update on True and False

Criteria Used: Inside window

Figure 27 shows how a setpoint can be used to update a timer output. Channel 3 is an analog input channel. A setpoint is applied using update on True and False, with a criteria of inside-the-window,where the signal value is inside the window when simultaneously less than Limit A but greater than Limit B.

Whenever the channel 3 analog input voltage is inside the setpoint window (condition True), Timer0 is updated with one value; and whenever the channel 3 analog input voltage is outside the setpoint window (condition False) timer0 will be updated with a second output value.

39

Image 39
Contents Page USB-1616HS-2 Management committed to your satisfaction Trademark and Copyright Information Table of Contents USB-1616HS-2 Users Guide Conventions used in this users guide Where to find more informationAbout this Users Guide What you will learn from this users guideChapter Overview USB-1616HS-2 featuresSoftware features Introducing the USB-1616HS-2Hardware Installing the USB-1616HS-2TR-2U power supply and CA-1* line cord What comes with your USB-1616HS-2 shipment?CA-96A expansion cable Installing the softwareUnpacking the USB-1616HS-2 Additional documentationInstalling the hardware Information on signal connections Configuring the hardwareConnecting the board for I/O operations Connectors, cables main I/O connectorUSB-1616HS-2 screw terminal pin out single-ended connections Screw terminal pin outsDSUB25 expansion connector pin out DSUB25F expansion connectorCA-96A expansion cable CablingUSB-1616HS-2 components Functional DetailsUSB-1616HS-2 components rear view External power connectorUSB-1616HS-2 functional block diagram USB-1616HS-2 block diagramExample Analog channel scanning of voltage inputs Analog inputAnalog input scanning Settling timeAnalog and digital scanning, once per scan mode example Example Analog and digital scanning, once per scan modeAnalog and digital scanning, once per scan mode example Averaging Tips for making accurate temperature measurementsThermocouple input ShieldingAnalog output Digital outputs and pattern generation Digital I/OTriggering Digital input scanningHardware analog triggering Digital triggeringSoftware-based triggering Counter inputs Stop trigger modesPre-triggering and post-triggering modes Counter modes Totalize modeTips for making high-speed counter measurements 1 MHz Mapped channelsDebounce modes Trigger before stable mode Trigger after stable modeDebounce module Trigger before stable mode Debounce mode comparisonsOptimal debounce time for trigger before stable mode Encoder modeRepresentation of rotary shaft quadrature encoder Maximizing encoder accuracy Connecting the USB-1616HS-2 to an encoderTimer outputs Example Timer outputsTimer output frequency examples Detection setpoint overview Using multiple USB-1616HS-2s per PCCriteria input signal is equal to Action driven by condition Using the setpoint status register Setpoint configurationExamples of control outputs Detecting on analog input, DAC, and Firstportc updatesAnalog inputs with setpoints update on True and False Detection on an analog input, timer output updatesTimer output update on True and False Using the hysteresis functionDetecting setpoints on a totalizing counter Using multiple inputs to control one DAC outputFIRSTPORTC, DAC, or timer update latency Controlling analog, digital, and timer outputsDetection setpoint details Firstportc Calibrating the USB-1616HS-2 Accuracy SpecificationsAnalog input specifications Analog input accuracy specificationsThermocouple TC types and accuracy Note Analog output specificationsAnalog outputs ThermocouplesDigital input/output Digital input/output specificationsInput sequencer Counter specificationsInput sequencer specifications CountersFrequency/pulse generators Power consumptionFrequency/pulse generator specifications Power consumption specifications NoteEnvironmental External powerUSB specifications Signal I/O connectors and pin outUSB-1616HS-2 screw terminal pin out single-ended connections USB-1616HS-2 screw terminal pin out differential connections USA Declaration of ConformityMailinfo@mccdaq.com