-173-
Appendix 6 Reference Case
Appendix 6.1Program Example
(1) Part Assembly Work (Force Control)
Operation details
Assembles parts so that no unnecessary force acts on the parts when following the part fitting shape.
The robot is controlled using force control so that the force acting in the X- and Y- directions is 0.0 N.
The work complete condition is defined in the Mo trigger, and work is completed by interrupt
processing.
Program example
(Continue to the next page
→
)
1 '-----------------------------------------------------------
2 ' Appendix 6 Reference Case (1) Part assembly work (force control)
3 '-----------------------------------------------------------
4 '[Control mode (0)]
5 P_FsStf0=(+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0)
'Stiffness coefficient [N/mm]
6 P_FsDmp0=(+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0)
'Damping coefficient
7 P_FsMod0=(+1.00,+1.00,+1.00,+0.00,+0.00,+0.00)(0,0)
'Force control mode (X,Y,Z-axis force control)
8 M_FsCod0=0
'Force sense control coordinate system (tool)
9 '[Control Feature (0)]
10 P_FsGn0 =(+3.00,+3.00,+3.00,+0.00,+0.00,+0.00)(0,0)
'Force control gain [
μ
m/N]
11 P_FsFLm0=(+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0) 'Force detection setting value [N]
12 P_FsFCd0=(+0.00,+0.00,+5.00,+0.00,+0.00,+0.00)(0,0) 'Force control (X,Y-axis: 0.0 N, Z-axis: 5.0 N)
13 P_FsSpd0=(+0.00,+0.00,+10.00,+0.00,+0.00,+0.00)(0,0) 'Sets speed control mode speed. (Z-axis: 10 mm/s)
14 P_FsSwF0=(+0.00,+0.00,+4.00,+0.00,+0.00,+0.00)(0,0) 'Sets force/speed judgment value.
15 '*** <Assembly work> ***
16 Def MoTrg 1, ((P_Fbc.Z <= 151) AND (P_FsCurD.Z > 4.8)) 'Work complete conditions defined for Mo trigger 1.
17 Def Act 1,M_MoTrg(1)=1 GoTo *XOK,F
'Mo trigger 1 defined as interrupt condition.
18 Mvs PStart 'The robot moves to just above the insertion position.
19 SetMoTrg 1 'Enables Mo trigger #1.
20 Fsc On, 0, 0, 1
'Force sense control is enabled. (Insertion started with
force control.)
21 Act 1=1
'Interrupt processing 1 is enabled.
Содержание 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: ......