Page 1 of 2

Uccnc + scananything ?

PostPosted: Sat Nov 04, 2017 9:52 am
by Robertspark
http://www.sheetcam.com/Scanything/index

Just wondering, as I saw a method posted yesterday if developing a plugin for scananything >> uccnc was a little more feasible now through the use of the method given here? (To directly control an axis)

Code: Select all
AddLinearMoveRel(int Axis, double Step, int StepCount, double Speed, bool Dir
)

viewtopic.php?f=4&t=843


Don't believe I'd seen this method / function before in the documentation

Re: Uccnc + scananything ?

PostPosted: Sun Nov 05, 2017 10:33 am
by cncdrive
Yes, this method is hidden in the plugin interface, because we did not want to make it fully public, because it directly calling the API, adding motion directly into the motion buffer without using the g-code interpreter of the UCCNC, and we were afraid that if the function prototype goes fully public then people might use it incorrectly and we will then have a hard time to debug 3rd party plugins if there will be problems with the plugin calling this function.

So, the function is in the plugin interface, but we disabled it in the Intellisense, so the C# compliler (e.g. VisualStudio) will not show you the function prototype.
But if a function call is typed correctly then it still works.

And we advice to use this function in pendant plugins for step jog movements, we used the same in the HB04 and UCR200 pendants and it works fine.

Re: Uccnc + scananything ?

PostPosted: Mon Nov 06, 2017 5:54 am
by 1JUMPER10
Robert - are you working on a plugin for scanything? If you need a beta tester I'm volunteering. :D

Re: Uccnc + scananything ?

PostPosted: Tue Nov 07, 2017 6:11 pm
by Robertspark
Hi Terry, to be fair I got quite a favourable response from Les

http://forum.sheetcam.com/viewtopic.php?t=7613

But in the meantime I also had a pondering look at how line following robots work and more specifically those that use a camera, and came across OpenCV, and it's c# wrapper Emgu CV of which OpenCV has been used with raspberry pi / beagle bone for line following robots.

I guess the concern I have is the cost of the API given scananything costs £50 I think it is which is not a lot in my mind although I'm uncertain how pricing an API would work whilst still being sufficient for the developer to obtain some remuneration for their work.

Re: Uccnc + scananything ?

PostPosted: Tue Nov 07, 2017 6:36 pm
by Robertspark
I am also aware that one of the unique features of UCCNC + UC motion controllers is the serial number + licenced to name.

Hence via field 906 and 901 it is possible within the plugin to allow for registration of plugins for remuneration (although I've never seen the need to do it / created anything that would warrent such a charging arrangement).

But there is the possibility however to use such an arrangement.

Re: Uccnc + scananything ?

PostPosted: Tue Apr 17, 2018 10:12 pm
by sngatlanta
Did anything ever develop from this? I would be very interested in the capability.

Re: Uccnc + scananything ?

PostPosted: Tue Apr 17, 2018 11:28 pm
by Robertspark
No, best use mach3 with the UC motion controllers

Re: Uccnc + scananything ?

PostPosted: Wed Apr 18, 2018 2:25 pm
by sngatlanta
It's possible to run mach3 from my 300eth/ub1 combination?

Re: Uccnc + scananything ?

PostPosted: Wed Apr 18, 2018 2:30 pm
by dezsoe
Yes. UC300ETH (the core on the UB1) works with Mach3. See http://www.cncroom.com/interface-cards/ub1.

Re: Uccnc + scananything ?

PostPosted: Wed Apr 18, 2018 2:31 pm
by Robertspark
Oh yes, most definitely.

Mach3 plugin here (+_MAch4 too)

https://www.cncdrive.com/UC300ETH.html

You'll obviously need to setup the profile with all your ports and pins etc as per normal.