Skip to main content
Submitted by shyamashi on Tue, 04/12/2016 - 07:57

Hello,

I have a Galil DMC 2143 controller connected to the PC (Win XP) via Ethernet. I also have a motor which we were trying to control using Galil. The exact requirement is the following

The position control of the motor should be made possible. I have time Vs angle plots. For example

time angle

10 a.m 20 deg
wait for 10 minutes
10.11 a.m. 40 deg
wait for 15 minutes
10.27 a.m. 20 deg (from the home position)

etc

There are such 3000 values.

These 3000 values are generated using a Matlab function. So I was trying to use Matlab to connect to the controller. I have gone through the application notes #4424. When I try to run the 'HelloGalil' example, it works fine. I get the output as given in #4424.

What to do further , I'm not clear. I would also want to read data from the controller (like encoder values) and plot it in Matlab.

Kindly give me some suggestions

Comments 1

AndrewS on 08/30/2016 - 09:37

Hi shyamashi,
The GalilTools API allows you to code in Matlab essentially so that Matlab is sitting at the terminal issuing commands and gathering responses.

The example shows how to issue a Galil command and display the response. So you can write the Matlab code to issue the proper Galil commands and the right time and properly route the response to the proper variable, matrix, etc.

Regards,
Andrew