Difference between revisions of "Matlab Fanuc Robot Control"

From ESE497 Wiki
Jump to navigationJump to search
Line 9: Line 9:
 
** Launch LV_COM_FRM on Teaching Pendant following instructions at [[Fanuc_How_Tos,_FAQ,_etc.#FAQ|Fanuc_How_Tos,_FAQ,_etc.#FAQ]]
 
** Launch LV_COM_FRM on Teaching Pendant following instructions at [[Fanuc_How_Tos,_FAQ,_etc.#FAQ|Fanuc_How_Tos,_FAQ,_etc.#FAQ]]
 
** Download FanucLabviewKinect.zip from [[Matlab Fanuc Kinect|Matlab Fanuc Kinect]]
 
** Download FanucLabviewKinect.zip from [[Matlab Fanuc Kinect|Matlab Fanuc Kinect]]
* Open and run LabVIEW\MatlabLabVIEWFanuc.vi
+
* Run Matlab2Fanuc.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:52, 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 Matlab Fanuc Kinect
  • Run Matlab2Fanuc.m

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