HURCO KMB-1 Control Update

More
1 year 4 months ago #330255 by tommylight
Not my forte, but probably missing "spindle at speed" signal in hal ???

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330256 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Thanks Tommy,
Looks like my constant playing with speeds up and down the range has had something over as it won't now swap directions without the spindle enable relay dropping out.
Worked this morning.
Poor old thing. It, not me, or maybe me as well.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330261 by tommylight

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330262 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Sorry, dead of night here.
Last test is that the VFD shear pin circuit is being tripped, oddly could coincide with the tensioned belt.
Need to sleep on it and investigate further.
Could be I need to introduce the limit2 and ramp these decels, assuming that limit2 does accels and decels?
Thanks for worrying.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago - 1 year 4 months ago #330555 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
I'm still addressing some old school electronics that needed updating in the VFD, so turned my attention back to the override potentiometers.
When the spindle runs and I read the pot via the 3.3volt Analogue pin 7i92.0.7i71.0.2.input_03, there is a notable hunting in the spindle speed. Not much, but it just doesn't sound steady.
This is down I think to the ADC hopping between bits which is also normal.
I looked at the original Hurco control use of the pots and how the analogue values were read, and note that the conversion to digital was done in a 12 bit ADC. so the increment between bits is tiny in comparison.
In the 7i73 manual. it states:
"OPERATION
ANALOG INPUTS
Inputs 0 through 7 can read analog signal values however only inputs 0 through 3 are supported for analog input by available interface modes. Analog inputs have a range of 0 to 3.3V. Normal resolution is 8 bits. All bits are readable as digital inputs. Note: analog inputs are only accessible in some software modes."

Does this mean I could configure an analogue input to use a increased resolution of 12 bits?
If so How would I do that?
Thanks
 
Last edit: 1 year 4 months ago by NT4Boy. Reason: typo

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #330585 by PCW
Replied by PCW on topic HURCO KMB-1 Control Update
The 7I73 does not currently support any higher resolution  A-D modes,
(I think the issue was exceeded the total serial data available) but
one simple thing to try is to low-pass filter the 8 bit data from the 7I73
in hal before using it to control the spindle speed.

If the flicker is greater than 1 LSB it may also be that you are picking
up some noise in the potentiometer wiper line. You could reduce this
by adding a small (say 1 uF) capacitor from the potentiometer wiper
terminal to 7I73 GND.
The following user(s) said Thank You: NT4Boy

Please Log in or Create an account to join the conversation.

Time to create page: 0.275 seconds
Powered by Kunena Forum