WINDOW real-valued function WINDOW real-valued function Syntax WINDOW (transformation, time, mode ) Function Return a value that indicates where the location described by the belt-relative transformation value is relative to the predefined boundaries of the working range on a moving conveyor belt. Usage Considerations This option is available only if your system is equipped with the eV+ Extensions option. The BELT system switch must be enabled before this function can be used. The belt variable referenced in the compound transformation must have already been defined using a DEFBELT instruction. Parameters transformation Compound transformation value that is defined relative to a belt.
That is, the compound transformation must begin with a belt variable. time Optional real-valued expression that specifies the time to look ahead when the transformation is evaluated. That is, the result of the function is the value predicted to apply time seconds in the future, based on the current belt position and speed. This parameter is used to test whether a motion can be correctly completed within an anticipated time period. A time of zero (the default value) tests the instantaneous value of the location. Negative times are converted to 0 and times greater than 32,768/60 seconds are set equal to 32,768/60.
mode Optional real-valued expression that specifies whether the result of the function represents a distance inside or outside the belt window (see below). Details The value returned, which is a distance in millimeters, should be interpreted as described below. (Note that the definitions of upstream and downstream depend on the value of the eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 569