Difference between revisions of "Matlab Fanuc Robot Control"
From ESE497 Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
Example of moving the robot to a specific location from Matlab: | Example of moving the robot to a specific location from Matlab: | ||
+ | |||
[[File:IMG_1188.JPG|400px]] | [[File:IMG_1188.JPG|400px]] | ||
* Place marker and metal can exactly as shown above | * Place marker and metal can exactly as shown above |
Revision as of 18:42, 27 October 2015
Example of moving the robot to a specific location from Matlab:
- 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
- Select -> LV_COM_FRM to select the Teaching Pendant Program to run the robot to PC communication program
- Turn Teaching Pendant to OFF
- 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
- Menu -> Setup -> Frames
- Download and extract MatlabLabVIEWFanuc.zip
- 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>