-177-
(3) Coordinate calculation
Operation details
Search for a hole on the XY plane. If a hole is found, the XY coordinates of the center of the hole are
figured.
Program example
(Continue to the next page
→
)
Search for a hole
.
Move in X and Y direction
and calculate the center
position by contact position.
1 '----------------------------------------------
2 ' Appendix 6 Reference Case (3) Coordinate calculation
3 '----------------------------------------------
4 'Control Mode ( 0 ) setting
5 P_FsStf0=(+0.00,+0.00,+1.00,+0.00,+0.00,+0.00)(0,0)
'Stiffness coefficient (Specify Z-axis component as 1 [N/mm].)
6 P_FsDmp0=(+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0)
'Damping coefficient (Not specified.)
7 P_FsMod0=(+0.00,+0.00,+2.00,+0.00,+0.00,+0.00)(0,0) 'Force sense control type (Specify stiffness control in Z-axis
direction.)
8 M_FsCod0=1 'Force sense coordinate system (Specify XYZ coordinate system.)
9 '
10 '
Control Feature ( 0 ) setting
11 P_FsGn0=(+0.00,+0.00,+40.00,+0.00,+0.00,+0.00)(0,0)
'Gain (Specify Z-axis direction as 40 [10-3 mm/N].)
12 P_FsFLm0=(+20.00,+20.00,+5.00,+5.00,+5.00,+5.00)(0,0)
'Force detection setting value (Specify Z-axis direction as
5 [N].)
13 P_FsFCd0=(+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0)
'Force control (Not specified.)
14 '
15 Def Act 1,P_FsLmtR.Z=1 GoTo *PCEN,S
'Define so that interrupt processing is performed if the Z-axis
16 'direction becomes smaller than force detection setting value.
17 P2=P1
18 P2.X=P2.X+100
'Search for the width of 100 mm in X-direction.
19 Fsc On,0,0,1 'Enable the force sense control with control Mode=0, Control Feature =0, and offset cancel is enabled.
20 Mvs P1
'Move the axis to search start position (Move it to an approximately 10 mm lower position in the
Z-axis direction from the search plane, and then pushes in the Z-direction).
21 '
22 Spd 5
23 Act 1=1
24 For M1=1 To 10
'Search in 5 mm intervals in the Y-direction. Force is lost in the Z-axis direction if the robot axis
drops into a hole, and therefore an interrupt is entered.
25 Mvs P1
Содержание MELFA BFP-A3614
Страница 1: ...Mitsubishi Industrial Robot Robot Seminar Textbook Force Sensor Application BFP A3614 ...
Страница 2: ......
Страница 8: ... Revision History Print Date Instruction Manual No Revision content 2018 07 31 BFP A3614 First print ...
Страница 33: ... 22 b CR800 R controller CN1 connector CR800 R controller front To OPT1 connector CPU module SSCNET III cable ...
Страница 34: ... 23 2 F series a CR750 D controller ...
Страница 35: ... 24 b CR751 D controller ...
Страница 36: ... 25 c CR750 Q CR751 Q controller CPU module ...
Страница 75: ... 64 MEMO Please use this page for your memo ...
Страница 95: ... 84 MEMO Please use this page for your memo ...
Страница 103: ... 92 MEMO Please use this page for your memo ...
Страница 111: ... 100 MEMO Please use this page for your memo ...
Страница 119: ... 108 MEMO Please use this page for your memo ...
Страница 123: ... 112 MEMO Please use this page for your memo ...
Страница 129: ... 118 MEMO Please use this page for your memo ...
Страница 133: ... 122 MEMO Please use this page for your memo ...
Страница 137: ... 126 MEMO Please use this page for your memo ...
Страница 143: ... 132 MEMO Please use this page for your memo ...
Страница 149: ... 138 MEMO Please use this page for your memo ...
Страница 153: ... 142 MEMO Please use this page for your memo ...
Страница 159: ... 148 MEMO Please use this page for your memo ...
Страница 171: ... 160 MEMO Please use this page for your memo ...
Страница 183: ... 172 MEMO Please use this page for your memo ...
Страница 191: ... 180 MEMO Please use this page for your memo ...
Страница 211: ......