Synchronous O/P M10.1 still under development ???

This is the place to talk about and share things related to CNC plasma machines using UCCNC

Re: Synchronous O/P M10.1 still under development ???

Postby Robertspark » Fri Jun 15, 2018 11:37 am

UC400ETH screenshots below:
Attachments
2018-06-15 12_34_09-UCCNC software _ Running in demo mode....png
2018-06-15 12_34_37-UCCNC software _ Running in demo mode....png
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Synchronous O/P M10.1 still under development ???

Postby Robertspark » Fri Jun 15, 2018 12:18 pm

What is the chances of adding LED's for M10 + M10.1 > 10 to indicate their status?

At the moment there is no way to check if these outputs / M codes are active via Macro / Plugin / Macroloop?
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: Synchronous O/P M10.1 still under development ???

Postby cncdrive » Fri Jun 15, 2018 12:28 pm

It seems we really forgot to add those codes to the help screen of the UC400ETH, will add them in the next release.
The M10.x status can be checked on the assigned output LED, I mean the output LED can be read. Is that not good enough?
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Synchronous O/P M10.1 still under development ???

Postby dezsoe » Fri Jun 15, 2018 12:59 pm

I use this code to display a status LED (or do anything) for laser. You can use the same with any other output/input if it has no dedicated LED. You can also check for the Active low setting if needed.

Code: Select all
int LaserLED = GetLEDNumber(AS3.Getfieldint(915), AS3.Getfieldint(914));

// Do what you want with it

#Events

int GetLEDNumber(int port, int pin)
{
  int LED = -1;
  switch (port)
  {
    case 1:
      LED = pin;
      break;
    case 2:
      LED = 68 + pin;
      break;
    case 3:
      LED = 85 + pin;
      break;
    case 4:
      LED = 102 + pin;
      break;
    case 5:
      LED = 119 + pin;
      break;
  }
  return LED;
}
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Synchronous O/P M10.1 still under development ???

Postby shad » Fri Jun 15, 2018 2:28 pm

Hello!
Great news about M10.x/M11.x commands.
I am make test and it working. Even if this commands are not between M3/M5.
Can make more tests and report soon.
Thank you CNCdrive!
-- Andrew
UC400ETH
UC300ETH-5LPT
NEURON Lite THC
http://neuroncnc.com/
shad
 
Posts: 332
Joined: Thu Sep 15, 2016 5:23 pm

Re: Synchronous O/P M10.1 still under development ???

Postby cncdrive » Fri Jun 15, 2018 2:39 pm

Hi Andrew,

Yes, the M10.x commands work standalone, furthermore the pins configured for M10.x are not masked out from the pinmap,
so you can even mix non syncronous Setoutpin and Clearoutpin and M10.x and M11.x commands,
because both can set and reset the same pin even if the pin is configured to the M10.x it will still work. :)

Glad to hear you tested it already and again sorry for the long development time...
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Synchronous O/P M10.1 still under development ???

Postby beefy » Fri Jun 15, 2018 7:28 pm

Wow, absolutely fantastic. Great stuff Balazs.

I thought we were going to get ONE of these synchronous outputs and we end up getting TEN :shock:

I'm glad Terry Parker pushed Cncdrive products to me all that time ago.

Keith.
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

Re: Synchronous O/P M10.1 still under development ???

Postby cncdrive » Fri Jun 15, 2018 9:24 pm

Hi Keith,

Thank you and thanks for Terry too. :)
Our thinking was that however now only one more sync outputs were needed, but probably somebody will ask for one more a few months later and maybe another one next time and so on.
And the firmware of the ethernet UCs was already prepared to handle 10 of these, so we thought to add all of them now on the API and UCCNC side and then there will be no more work with this later.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: Synchronous O/P M10.1 still under development ???

Postby Redlunn » Thu Aug 23, 2018 2:38 pm

I have M10.1/M11.1 working well on my plasma table but I have one question. When cutting, occasionally I need to cycle stop the machine, when this happens the torch output remains on. How can I turn off the output with a cycle stop? I have tried a macro that checks for machine not running and output on then issues an "M11.1" but it does not have the desired effect.
Thanks,
Redlunn
Redlunn
 
Posts: 7
Joined: Sat Jul 01, 2017 5:28 pm

Re: Synchronous O/P M10.1 still under development ???

Postby beefy » Thu Aug 23, 2018 11:04 pm

Are you directly controlling Torch On/Off with the M10.1/M11.1 ??
beefy
 
Posts: 449
Joined: Mon Sep 05, 2016 10:34 am

PreviousNext

Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 4 guests