UCCNC halted - need help

If you have a question about the software please ask it here.

UCCNC halted - need help

Postby shad » Thu Jan 17, 2019 12:56 pm

Hello Dezsoe!
May be you can help me...
I am try to run gcode from desired position and I need to enable M10 laser output for enable THC.
Without M10 all work fine:

Code: Select all
UC.Setfield(true, (double)(line_number), 866); //set line number
UC.Validatefield(true, 866);
UC.Callbutton(169); //Sets the G-code execution pointer to the line defined in the 866 field
UC.Wait(100);
UC.Codesync("M3"); // M3 issue
UC.RemoveRunfromhere();
UC.Callbutton(128); // call START button


But if I am try to add M10 code for enabling laser output - code halted.

Code: Select all
UC.Setfield(true, (double)(line_number), 866); //set line number
UC.Validatefield(true, 866);
UC.Callbutton(169); //Sets the G-code execution pointer to the line defined in the 866 field
UC.Wait(100);
UC.Codesync("M3"); // M3 issue
UC.Codesync("M10"); //-> insert M10 to activate laser output
UC.RemoveRunfromhere();
UC.Callbutton(128); // call START button


Do you have any things about this?
Thank you!!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: UCCNC halted - need help

Postby dezsoe » Thu Jan 17, 2019 2:08 pm

Hello Andrew,

Which UCCNC and .Net version do you use? (Just to try the same.)
dezsoe
 
Posts: 2049
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: UCCNC halted - need help

Postby shad » Thu Jan 17, 2019 6:12 pm

We use 1.2047 and net 2.0
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: UCCNC halted - need help

Postby dezsoe » Thu Jan 17, 2019 10:18 pm

OK, thanks, I'll test it.
dezsoe
 
Posts: 2049
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: UCCNC halted - need help

Postby dezsoe » Mon Jan 21, 2019 5:29 pm

Hi Andrew, I've just sent a PM.
dezsoe
 
Posts: 2049
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: UCCNC halted - need help

Postby shad » Tue Jan 22, 2019 2:30 pm

Hi Dezsoe!
Sorry, looks like all works fine now.
I guess it was my fult :oops:
Just now I am use this code
Code: Select all
List<string> codelist = new List<string>
{
      "M205",
      "M3",
      "M10"
};
UC.Codelist(codelist);
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 331
Joined: Thu Sep 15, 2016 5:23 pm

Re: UCCNC halted - need help

Postby dezsoe » Tue Jan 22, 2019 2:40 pm

OK, fine! :)
dezsoe
 
Posts: 2049
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 8 guests