SetSingularAvoid (Library) [Ver. 2.61 or later]


Enable or disable the singular point avoiding function. (for 6-axis robots)


SetSingularAvoid(<ON·OFF>)


If <ON·OFF> is 1, the singular point avoiding function becomes enabled; if it is 0, the function becomes disabled.
Enabling the function suppresses a large 4-axis rotation that is caused when the 5 axis passes through the vicinity of 0 degree in linear, arc or free-curve motion under CP interpolation control.


Requires a <pacman.h> file.


  • This function does not take effect in 4- and 5-axis robots.
  • This function does not take effect under PTP interpolation control.
  • When this function is enabled, the robot arm may greatly go out of the original path depending on the motion conditions.
  • The singular point avoiding function does not work on older engine boards.


PROGRAM PRO1
TakeArm
'Obtain the control priority.
MOVE P, P1
'Move to P1 in PTP motion.
CALL SetSingularAvoid (1)
'Enable singular point avoiding function.
MOVE L, P2
'Move to P2 under linear interpolation
'control.
CALL SetSingularAvoid (0)
'Disable singular point avoiding function.
·
·
·
END


Top