May 26, 2019, 10:14:15 AM
Robotforum | Industrial Robots Community

 Melfa RV-2aj matlab control using Rs-232 communiacation

normal_post Author Topic:  Melfa RV-2aj matlab control using Rs-232 communiacation  (Read 1307 times)

0 Members and 1 Guest are viewing this topic.

September 09, 2017, 06:58:50 AM
Read 1307 times
Offline

theyolo


Hello everyone...!!! I am currently working on robot(RV-2AJ)... I am trying to connect this robot RV-2AJ with matlab(version 2015) using Rs-232 communication.But i am unable to communicate with the robot(does not respond to any command)..The robot is fully functional with default software(Cosirop) ...Below is the code.. I would be very thankful for the help..
 

    t=serial('COM8')
    set(t,'BaudRate',9600);
    fopen(t)
    fwrite(t,['1;1;EXECJOVRD 50.0']); %  Set the robot speed 50%
    fwrite(t,'1;1;RSTALRM');          % reset alarm   
    pause(0.2);
    fwrite(t,'1;1;CNTLON');             
    pause(0.2);
    fwrite(t,'1;1;SRVON');            %turn the servo on of the robot
    pause(10);

Today at 10:14:15 AM
Reply #1

Advertisement

Guest


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
Melfa rv-2aj PC control

Started by petar.rckn on Mitsubishi Robot Forum

2 Replies
1420 Views
Last post September 24, 2018, 04:11:16 AM
by NHaman
xx
MELFA MVS without posture control

Started by NHaman on Mitsubishi Robot Forum

0 Replies
602 Views
Last post September 28, 2018, 02:05:15 AM
by NHaman
xx
Melfa rv-2aj PC control using rs232 communication

Started by bogdan.sarealba on Mitsubishi Robot Forum

7 Replies
8327 Views
Last post July 03, 2016, 11:05:17 PM
by kensh
xx
Can the Matlab/simulink or other simulation software control the real Kuka Robot

Started by xuyang on KUKA Robot Forum

4 Replies
2758 Views
Last post May 06, 2018, 08:12:58 PM
by Mohammad SAFEEA