Page 2 of 3

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

PostPosted: Fri Jun 15, 2018 11:37 am
by Robertspark
UC400ETH screenshots below:

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

PostPosted: Fri Jun 15, 2018 12:18 pm
by Robertspark
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?

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

PostPosted: Fri Jun 15, 2018 12:28 pm
by cncdrive
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?

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

PostPosted: Fri Jun 15, 2018 12:59 pm
by dezsoe
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;
}

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

PostPosted: Fri Jun 15, 2018 2:28 pm
by shad
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!

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

PostPosted: Fri Jun 15, 2018 2:39 pm
by cncdrive
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...

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

PostPosted: Fri Jun 15, 2018 7:28 pm
by beefy
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.

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

PostPosted: Fri Jun 15, 2018 9:24 pm
by cncdrive
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.

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

PostPosted: Thu Aug 23, 2018 2:38 pm
by Redlunn
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

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

PostPosted: Thu Aug 23, 2018 11:04 pm
by beefy
Are you directly controlling Torch On/Off with the M10.1/M11.1 ??