I have a DMC 4123 Box and am using it to drive a large linear actuator ( long movement times ).
My problem is this; Using Java, I am able to load programs ( move point A to point B ) and a small dmc program that interrogates the controller to find where the actuator is ( runs @IN[1..5] statements).
When I run the small program (location program), Java returns the result message quickly and accurately.
When I run a move program, I get a message on the java console "-1100 device timed out" - The following is my code before and after the "XQ" command;
gclib.GTimeout((short) 10000);
gclib.GCommand("XQ"); //execute program that was just downloaded
System.out.println("Executing program");
gclib.GSleep(1000);
I did include "UI" in the dmc code just before "EN"
andriys on 10/04/2017 - 14:26
Hello tangentem1,
Java support was recently added to gclib platform. I would like to get more details on your application and program execution to better assist you.
Please email this question to support@galil.com and ask to forward your email to Andriy so I can get more information on this issue.
Thank you,
Andriy
tangentem1 on 10/04/2017 - 14:41
I will send you an email and share all of the code.