Skip to main content
Submitted by datronica on Mon, 05/15/2017 - 08:37

Hi, how can I assign a value from a simple program in c ++ to a variable in a galile controller (dmc 4133)?

Can you provide me an simple example?

Comments 1

troym_galil on 06/19/2017 - 08:15

You can use the GCommand() function to send commands to the controller from C++. This allows you to send command in the same way the Terminal in GDK sends commands. Assigning a variable is as simple as sending the variable assignment as a command such as GCommmand("var1=12345").

See the gclib API documentation for help installing it. http://galil.com/downloads/api

Also look at the user manual for the DMC-41x3 for controller commands.
http://galil.com/motion-controllers/multi-axis/dmc-41x3