HURCO KMB-1 Control Update

More
1 year 8 months ago - 1 year 8 months ago #322945 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
sserial_port_0=001xxxxx"  works for me

Maybe the third position is the third card?

Anyway, another step on the journey.
Last edit: 1 year 8 months ago by NT4Boy.
The following user(s) said Thank You: tommylight

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

More
1 year 8 months ago - 1 year 8 months ago #322956 by PCW
Replied by PCW on topic HURCO KMB-1 Control Update
The sserial_port_0 parameter sets the modes for sserial channels 0.N in
left to right order of channels so sserial_port_0=001xxxxx means set

sserial channel 0 -> mode 0
sserial channel 1 -> mode 0
sserial channel 2 -> mode 1
sserial channels 3..7 = x = disabled

The channels used in a a particular FPGA configuration can
be determined with mesaflash's --readhmid command
Last edit: 1 year 8 months ago by PCW.

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

More
1 year 8 months ago #322958 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Peter,
Thank you. I can see the logic behind that, what I think was lost is the significance of the channel numbers and why I'd have to use the third channel for this card.
I think I see it like this. The sserial instruction is to the host card ie 0, (7i92, ) in my case. Plugged into which is a daughter, could be two of them, but only one (7i77) here, and that's therefore channel 1, and lastly, the smart serial card 7i73 that hangs off the 7i77must be channel 2

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

More
1 year 8 months ago #322967 by PCW
Replied by PCW on topic HURCO KMB-1 Control Update
They don't _have_ to be:

0 = 7i77 #1 digital I/O
1 = 7I77 #1 analog output
2 = 7I77 #1 expansion channel

Buts that's the way the standard firmware arranges them.
The following user(s) said Thank You: NT4Boy

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

More
1 year 7 months ago - 1 year 7 months ago #323009 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Page went wrong, so recreated below.
Last edit: 1 year 7 months ago by NT4Boy.

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

More
1 year 7 months ago - 1 year 7 months ago #323010 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Last bit of the puzzle?
I've now got my feed override pots, kind of working, in that I can twiddle them, and the axis gui sliders update.The full scale voltage swing is 0-3.3v. Need to tune the scaling as the gui seems to think my pots only have three steps, rather than being continuously variable, a task for later.
More importantly to me is the Jog wheel.
I'd like to duplicate the original machine button functions, as they are ingrained...but, for the moment, I'm happy just to get the wheel to move an axis.
The attached hal file is nominally as published and is called in my system by the custom.hal.
In hal show, I can see counts rising and falling with the wheel being turned, and the 5 button all light up relevant pins when they are pressed.
As the buttons are momentary contact, I reasoned that if I pressed and held down say X and span the wheel, that the X axis would move, but nothing does.
As ever missing some vital part of the plot. Thanks
Last edit: 1 year 7 months ago by NT4Boy.

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

Time to create page: 0.151 seconds
Powered by Kunena Forum