ClearCollisionForce
[Ver. 2.61 or later]

Clear the maximum external force.

ClearCollisionForce

This library initializes the maximum external force stored in a joint variable to "0" (default).

-
This library initializes the maximum external forces calculated both in Manual and Auto modes.
-
The collision detection function works with the corresponding controller software versions.When using project data older than the controller versions below, see "collision detection functions" in the PROGRAMMER'S MANUAL I.
-
VS-G series: Version 2.61 or later
-
VS-*** series: Version 3.20 or later
-
VM-G, VP-G series: Version 2.70 or later
-
HM-G, HS-G series: Version 2.80 or later
-
The collision detection function does not work on an old engine board.

TAKEARM
|
'Get robot control priority
|
CALL SetCollisionJnt(2)
|
'Enable collision detection for joint 2
|
MOVE P, P1, P2
|
'Move from point P1 to P2 in PTP motion
|
CALL ClearCollisionForce
|
'Initialize maximum external force stored
|
MOVE P, P2, P3
|
'Move from point P2 to P3 in PTP motion
|
CALL GetCollisionForce(J2)
|
'Assign maximum external force calculated
'during move from P2 to P3 to variable J2
|