-150-
Exercise 3-1 Program example
(Continue to the next page
→
)
1 '---------------------------------------------------------------
2 ' Exercise 3) Interrupt processing, data latch
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 = (+0.00,+0.00,+1.00,+0.00,+0.00,+0.00)(0,0)
'Force control mode (Z-axis
enabled)
8 M_FsCod0 = 0
'Force sense control coordinate
system (tool)
9 '[Control Feature (0)]
10 P_FsGn0 = (+0.00,+0.00,+10.00,+0.00,+0.00,+0.00)(0,0)
' Force control gain [µm/N]
11 P_FsFLm0 = (+20.00,+20.00,+25.00,+1.00,+1.00,+1.00)(0,0)
'Force detection setting
value [N]
12 P_FsFCd0 = (+0.00,+0.00,+4.90,+0.00,+0.00,+0.00)(0,0)
'Force command
13 P_FsSpd0 = (+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0)
'Set the speed of the speed
control mode
14 P_FsSwF0 = (+0.00,+0.00,+0.00,+0.00,+0.00,+0.00)(0,0)
'Set the force/speed judgment
value
15 '*** <Control> ***
16 Tool (+0.00,+0.00,+185.00,+0.00,+0.00,+0.00)
17 GoSub *INIT
18 *Main
19 '----- 1st Try -----
20 Fsc On,0,0,1
21 *Loop_001:If P_FsCurD.Z <= 5 Then *Loop_001
22 Dly 0.2
23 If P_FsCurD.Z <5 Then *Loop_001
24 Fsc Off
25 Dly 0.2
26 P2=P_Fbc
27 '-------------------
28 Mvs P1
29 Dly 0.2
30 '-------------------
31 P_FsFCd0 = (+0.00,+0.00,+9.80,+0.00,+0.00,+0.00)(0,0)
'Force command
32 '-------------------
33 M3=0
Содержание 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: ......