5Analog Wait

The Analog Wait Tool waits for a predetermined change or value in an Analog IO before running the rest of the program.  The Analog Wait Tool can have a time out as well.

Using the Analog Wait Tool

The main setup for the Analog Wait tool is its "Read Until" page.  Once the Analog IO meets the criteria setup on the Read Until page it will advance to the next tool on the sequence.  

The IO dropdown menu lists all of the available Analog IO in the system.  All the IO will be listed by their current name.  Use this menu to select an IO to watch.

By default the Reference By Name (else Index) check box is checked.  This causes the tool to search for the name selected in the IO dropdown menu.  If this box is unselected it will use the Index number of the selected item in the IO list as a reference instead of its name.  If it is the third Analog IO in the list then this tool will always use the third IO, instead of looking for the specific name of the tool.

The Operation dropdown menu lets the user select the type of operation it is looking for.  This menu is related to the upper and lower tolerances.  
    Absolute - The tool will advance when the IO gives a reading within the Upper and Lower Tolerances.
    Relative - The tool will advance when the IO reads a change that is within the Upper and Lower Tolerance.  If the Lower Tolerance is set to positive 5 then the IO needs only to change positive 5 units to advance.
    Relative Input - The Input is the Nominal value that can be entered on the tools Inputs page.  When Relative Input is selected the tool considers the Nominal value the starting point and the measurements are made relative to that point.
    RelativeABS - This takes the absolute value of any motion.  If the IO changes negative five units it will still register as positive five units.

The Offset adjusts the Lower/Upper Tolerance values.

The Lower/Upper Tolerance set the range the IO must be within before advancing to the next tool.

The Units sets the units of measure.  The Units can be set to Raw (the figures exactly as they come back from the IO), Calibrated (based on a specified calibration) or as a Percent.

The Time Out controls how long in milliseconds the tool will wait for the IO.  If the tool times out the program will continue to run without receiving the appropriate IO input.  If the Time Out is set to 0 the tool will wait for the IO indefinitely.