omron — BSTATUS real-valued function

BSTATUS real-valued function BSTATUS real-valued function Syntax BSTATUS Function Return information about the status of the conveyor tracking system. Usage Considerations This option is available only if your system is equipped with the eV+ Extensions option. The BSTATUS function returns information for the robot selected by the task executing the function. The word "bstatus" cannot be used as a program name or variable name. Details This function is normally used when BELT.MODE bit 4 is set. This function returns a value that is equivalent to the binary value represented by a set of bit flags, which indicate the following conditions of the conveyor tracking software:

Bit 1 (LSB) Tracking belt (mask value = 1) When this bit is set, the robot is currently tracking a belt. Bit 2 Destination upstream (mask value = 2) When this bit is set, the destination location was found to be upstream of the belt window during the planning of the last motion. Bit 3 Destination downstream (mask value = 4) When this bit is set, the destination location was found to be downstream of the belt window during the planning of the last motion. Bit 4 Window violation (mask value = 8) When this bit is set, a window violation occurred while the robot was tracking a belt during the last belt-relative motion.

(This flag is cleared at the start of each belt-relative motion.) Related Keywords BELT real-valued function BELT system switch eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 100