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
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 774
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

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?
Rob
Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2105, Neuron Lite
UCCNC v1.2105 Macro Manual
Robertspark
 
Posts: 774
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

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: 2000
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: 477
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: 264
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: 2000
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: 185
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: 2000
Joined: Tue Aug 12, 2014 11:17 pm

Previous

Return to CNC Plasma

Who is online

Users browsing this forum: No registered users and 1 guest