Difference between revisions of "Matlab Fanuc Robot Control"

From ESE497 Wiki
Jump to navigationJump to search
Line 7: Line 7:
 
*** Verify Tool Frame 1 is set to [0,0,0]
 
*** Verify Tool Frame 1 is set to [0,0,0]
 
*** Verify Tool Frame 2 is set to [0,0,95.3] so that the TCP is at the end of the gripper
 
*** Verify Tool Frame 2 is set to [0,0,95.3] so that the TCP is at the end of the gripper
** Select -> LV_COM_FRM to select the Teaching Pendant Program to run the robot to PC communication program
+
** Launch LV_COM_FRM on Teaching Pendant following instructions at [[Fanuc_How_Tos,_FAQ,_etc.#FAQ|Fanuc_How_Tos,_FAQ,_etc.#FAQ]]
** Turn Teaching Pendant to OFF
+
** Download FanucLabviewKinect.zip from [[]]
** Insert key into Controller and turn to T1 position
 
** Press Shift -> Reset on Teaching Pendant to clear any errors
 
** Press Green Start button on Controller
 
* Download and extract [[media:MatlabLabVIEWFanuc.zip|MatlabLabVIEWFanuc.zip]]
 
 
* Open and run LabVIEW\MatlabLabVIEWFanuc.vi
 
* Open and run LabVIEW\MatlabLabVIEWFanuc.vi
 
* Open and run matlab\MatlabLabVIEWFanuc.m
 
* Open and run matlab\MatlabLabVIEWFanuc.m
 
<mediaplayer width=720 height=504>FILE:2015-10-02_16.53.54.flv</mediaplayer>
 
<mediaplayer width=720 height=504>FILE:2015-10-02_16.53.54.flv</mediaplayer>
 
* [[media:LV_COM_FRM.ls|Teaching Pendant Source]]
 
* [[media:LV_COM_FRM.ls|Teaching Pendant Source]]

Revision as of 18:49, 27 October 2015

Example of moving the robot to a specific location from Matlab:

IMG 1188.JPG

  • Place marker and metal can exactly as shown above
  • Turn on Robot
    • Menu -> Setup -> Frames
      • Verify Tool Frame 1 is set to [0,0,0]
      • Verify Tool Frame 2 is set to [0,0,95.3] so that the TCP is at the end of the gripper
    • Launch LV_COM_FRM on Teaching Pendant following instructions at Fanuc_How_Tos,_FAQ,_etc.#FAQ
    • Download FanucLabviewKinect.zip from [[]]
  • Open and run LabVIEW\MatlabLabVIEWFanuc.vi
  • Open and run matlab\MatlabLabVIEWFanuc.m

<mediaplayer width=720 height=504>FILE:2015-10-02_16.53.54.flv</mediaplayer>