ResetEralw (Library) [Version1.2 or later]


Resets the allowable deviation value of the specified axis to the initial value.


ResetEralw(<AxisNumber>)


Resets the allowable deviation value of the axis specified by <AxisNumber> to the initial value.
If <AxisNumber> is specified to "0," the allowable deviation values of all the axes will be reset.
[For Ver. 1.4 or earlier]
If you set "0" to <JntNumber>, the positioning error allowance set for all joints will revert to the default.
[For Ver.1.5 or later]
If you set "0" to <JntNumber>, the positioning error allowance set for all joints involved in an arm group semaphore held by the current task running ResetEralw, will revert to the default.


Requires <pacman.h> file.



  • Run this command in a TAKEARMed task that has obtained arm-semaphore. If this command is executed without arm-semaphore obtained, Error 21F7 will result.
  • Like this command, execution of ResetCurLmt will also reset the allowable deviation values to the initial values.
[For Ver. 1.4 or earlier]
Write this library in a TAKEARMed task that has got robot arm semaphore. If you specify any joints not in the arm semaphore to <JntNumber>, then error [21F7 Cannot take arm semaphore] will result.
[For Ver. 1.5 or later]
Write this library in a TAKEARMed task that has got an arm group. If you specify any joints not included in the arm group to <JntNumber>, then error [27D* Cannot take J* semaphore] will result.


CALL ResetEralw(0)
'Returns the allowable deviation values of all axes
'to initial values.


Top