omron — INRANGE real-valued function

INRANGE real-valued function If the motion system is configured to return motor-limit as well as joint-limit errors, bit 16 indicates whether a joint or motor would limit motion to location. If bit 16 is set, all the joints passed their limit checks, and the indicated motor is limiting. Otherwise, the indicated joint is limiting. The mask values indicated above can be used with the BAND operator to determine if a corresponding bit is set.

eV+Language Reference Guide, v2.x, 18319-000 Rev A Page 295 Mask Value Bit # Hex Decimal Indication if bit set 5 10 16 Joint or motor 5 is limiting 6 20 32 Joint or motor 6 is limiting 7 40 64 Joint or motor 7 is limiting 8 80 128 Joint or motor 8 is limiting 9 100 256 Joint or motor 9 is limiting 10 200 512 Joint or motor 10 is limiting 11 400 1024 Joint or motor 11 is limiting 12 800 2048 Joint or motor 12 is limiting 13 1000 4096 Collision detected 14 2000 8192 Location is too close in 15 4000 16384 Location is too far out 16 8000 32768 Motor is limiting, rather than joint (see below) 17 10000 65536 Orientation is out of range for the Quattro platform 18 20000 131072 Kinematic solution not found