User`s manual

iNspect Express User’s Manual405-00026-00
89Rev 1600; 12 July 2010
Defined Variables
A complete list of pre-defined variables is available in the online help. Here are just a few of the
defined variables. Refer to the On-line Help for more information.
Result.0 – the value of Result, before it is output. This allows equations to evaluate Result, be-
fore sending it to the output mechanisms. Result.0 has 3 values: 1=Pass, 2=Recycle, 3=Reject.
Result – the result of all measurements and all camera views (the “composite decision”). This
result is sent to the decision I/O and other communications. Result has 3 values: 1=Pass, 2=Re-
cycle, 3=Reject.
SOLUTION – load the Solution ID equal to SOLUTION at the end of the current equation eval-
uation. For example, if SOLUTION=6, Solution 06 is loaded when the equation/statement is
evaluated (if the condition is true).
Global.SolutionIndex – a value added to the Solution ID input bits, when a change solution
occurs. For example, if Global.SolutionIndex = 5 and the SLN(0–2) = 3, when a Solution change
is triggered (by ACC or SolutionPollRate) Solution 08 is loaded.
Global.SolutionPollRate – (Hz) If this variable is set to a non-zero value, The Solution ID bits
are polled at a rate equal to the value of Global.SolutionPollRate, in Hertz. For example, if Glo-
bal.SolutionPollRate = 5, the inputs are polled at 5 Hz or 200 ms.
RelearnIndex – assign to a General Purpose Input (GPI or IN) for example, RelearnIndex = 3 for
GPI3 or IN3. The Locator, Barcode, 2-D Code and Match tools can be retrained, by creating a
new Relearn variable. For Example, if Relearn.Barcode1=1, the Barcode1 tool will be retrained
when the assigned RelearnIndex input is asserted (assigned GPI or IN).
RunMode – the current run-state or running mode. 0=running, 1=stopped.