RobotStudio event

How can I send position/joint angles from MATLAB to ABB IRB 1600?

Options

Hello everybody,

First, I'm sorry about my english.

I'm working in a project, in it i have a set of coordinates/ joint angles in my matlab and i want to send these datas to my ABB IRB 1600 manipulator one by one, I am stuck in this phase.

Help me, please!!

Thank you!!

Regards.

Comments

  • John_Verheij
    Options
    I think the easiest solution is to use sockets.

    Here you can see an example between Python and Robotstudio: https://forums.robotstudio.com/discussion/comment/25528/#Comment_25528

  • SteveMob
    Options
    Hi,

    Sorry to jump in, but I am trying to do the same thing, set up socket communication using MatLab and RobotStudio. Does anybody have the MatLab code for socket communication as well as how to send target data from MatLab?

    Thanks,
    SM
  • John_Verheij
    Options
    In Matlab you have the 'tcpip' function to create a socket. The return value can be used as file-descriptor (e.g. used with the fopen/fclose, fwrite/fread functions). 
    Does this not work?

    I have no Matlab on my machine, so unfortunately I cannot test it... 
  • SteveMob
    Options
    Thanks John!