Questions about Current hi/low pin on ver 1.2111

If you have a question about the software please ask it here.

Questions about Current hi/low pin on ver 1.2111

Postby GaryLa » Mon Aug 26, 2019 12:21 pm

Hello,

I have recently upgraded to version 1.2111. My prior version had one "current hi/low pin" setting on the I/O setup screen.

Now there is a "current hi/low pin" setting on each axis screen. Using my test environment -- which is a UC100 with 1.2111 in my office:

If I set the X axis "current hi/low pin" to port 1, pin 5 and apply settings it appears in all other axis screens, too. In fact, no matter which axis I configure, all axis become the same value.

This seems to follow the concept of the old single field variable 96 (and 275), instead of the new fields variables 2606 thru 2611 (and their ports 2612 thru 2617).

Interesting too, is the fact "apply settings" isn't required to keep it on the screen between axis screen changes.

Please advise.
GaryLa
 
Posts: 76
Joined: Thu May 30, 2019 11:30 pm

Re: Questions about Current hi/low pin on ver 1.2111

Postby ger21 » Mon Aug 26, 2019 1:29 pm

This seems to follow the concept of the old single field variable 96 (and 275), instead of the new fields variables 2606 thru 2611 (and their ports 2612 thru 2617).


The UC100 only uses 1 pin for all axes, due to the limited number of available pins that it has.

Not sure if you are aware, but there are actually different screens for each motion controller.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Questions about Current hi/low pin on ver 1.2111

Postby cncdrive » Mon Aug 26, 2019 2:01 pm

Yes, the UC100 has only one current hi/low setting, but you have been told about this in your previous forum thread. :)
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Questions about Current hi/low pin on ver 1.2111

Postby GaryLa » Mon Aug 26, 2019 3:09 pm

cncdrive wrote:Yes, the UC100 has only one current hi/low setting, but you have been told about this in your previous forum thread. :)


What I thought was odd was not needing to apply it as with all other settings. Any other setting is lost when changing screens without clicking "apply".

I do realize the limitations on the UC100, however I could imagine one wanting to set one output to monitor the movement of A,B,C rotary axis, and another to monitor X,Y,Z. (Given there are four total outputs on the UC100: pins 1,14,16, and 17)

Not every one looks at this software for traditional CNC machining. It has many more excellent uses. I have built many custom systems which used LinuxCNC and Gcode but were not at all CNC machines.

In doing so, it's beneficial to completely understand when I can use UCCNC, and when I must make a PCB.

Also noteworthy: it's not always clear to me when a limitation is imposed by UCCNC or by the controller itself. As mentioned, it seems there's no reason UCCNC can't allow me to utilize all four outputs to monitor current. I'm infering that this means the external controller actually drives this pin and not the motion control code within UCCNC.
GaryLa
 
Posts: 76
Joined: Thu May 30, 2019 11:30 pm

Re: Questions about Current hi/low pin on ver 1.2111

Postby ger21 » Mon Aug 26, 2019 3:23 pm

It's likely due to limitations in the firmware. (No room for more code)
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2663
Joined: Sat Sep 03, 2016 2:17 am

Re: Questions about Current hi/low pin on ver 1.2111

Postby cncdrive » Mon Aug 26, 2019 8:54 pm

You can see that only a single setting is possilbe, because the software does not allow you to set different pins for the different axes.

It is a limitation in the USB controllers (UC100, UC300USB) because they using about 100 times lower power (less memory, less computing power) microcontrollers than the ethernet controllers (UC300ETH, UC400ETH, AXBB-E).
And this is because the USB controllers are much older designs. The UC100 is about 9 years old while the ethernet controllers are much younger, so they using much more powerful newer microcontrollers.
The time when the USB controllers were designed the microcontrollers with that high speed and power what the ethernet controllers have did not even exist.
The overal computing power difference is about 1 to 100 is how much more powerful the ethernet microcontrollers are.
Just an example is that the USB controller can divide one 32bits random floating point number with another 32bits random floating point number from an avarage of 144 CPU cycles while the Ethernet controller can do that from a single CPU cycle, because it has a floating point co-processor. And the CPU is running 5 times faster (5 times higher clock frequency.) in the ethernet controllers.
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 10 guests