omron — WINDOW program instruction

WINDOW program instruction WINDOW program instruction Syntax WINDOW %belt_var = location, location, program, priority Function Set the boundaries of the operating region of the specified belt variable for conveyor tracking. Usage Considerations This option is available only if your system is equipped with the eV+ Extensions option. The BELT switch must be enabled for this instruction to be executed. The belt variable referenced must have already been defined using a DEFBELT instruction. Parameters %belt_var Name of the belt variable whose window is being established.

location Compound transformation that, together with the direction of the belt, defines one boundary of the operating window along the belt. The window boundaries are planes that are perpendicular to the direction of belt travel and include the positions specified by the two transformations. The order of the transformations is not important- this instruction automatically determines which transformation represents the upstream boundary and which is for the downstream boundary. program Optional program that is called if a window violation occurs while tracking the belt, subject to the specified priority level and the current priority level of the system.

priority Optional priority level of the window violation program. If no priority is specified, a priority of 1 is set. Details The operating window defined by this instruction is used both at motion planning time and motion execution time to determine if the destination of the motion is within acceptable limits. eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 567