Page 1 of 1

Setting analog output

PostPosted: Sun Jul 08, 2018 2:47 pm
by Battwell
Setting analog output- pointers?
I need to set the output from a macro
Increasing until movement is detected by a sensor on spindle motor. Then zeroed again as fast as possible
Tried Setanalogoutput(1);

Re: Setting analog output

PostPosted: Sun Jul 08, 2018 5:54 pm
by cncdrive
If it is a controller with an analog output (UC300ETH) then you can attach a #var to the analog output channel.
There is an option for that on the Configuration-I/O setup page, the "#var -> analog out x" setting is that.
You select the #var number to attach to and then when you set the value of that variable the analog output will go to the voltage level proportional to the value.

Re: Setting analog output

PostPosted: Sun Jul 08, 2018 6:37 pm
by Battwell
It’s a Uc300eth
That makes it easier than the way I’ve done it today!

Re: Setting analog output

PostPosted: Sun Jul 08, 2018 8:32 pm
by cncdrive
We've tried to make it as simple as possible. :)