HURCO KMB-1 Control Update

More
1 year 9 months ago #319779 by PCW
Replied by PCW on topic HURCO KMB-1 Control Update
For a 7I77 and a 7I92:
7i92_7i77x2D.bit

For a 7I77 and a 7I92T:
7i92t_7i77x2d.bin

7I77 digital I/O pins will now appear without field power.
Sserial expansion card (like the 7I73 or 7I84) do not require specific
firmware.
 
The following user(s) said Thank You: NT4Boy

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

More
1 year 9 months ago #319781 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Marvellous, all present and correct now.
(I've a 7i92T)

Many thanks

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

More
1 year 9 months ago - 1 year 9 months ago #319821 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
I've failed to work out how to use a spare encoder input on the 7i77 as a Limit switch input.
I've started out by telling PNCConf that the switches are connected to the I/O Field inputs so I can see the syntax, for instance 
net min-x     <=  hm2_7i92.0.7i77.0.0.input-00     for the X limit minus.
Was planning then to edit this line to match an encoder.

But when I study the hal file posted here, I cannot see how the encoder input pins are called. I was expecting there to be similar 7i92..7i77 references in the Joint 0 section for instance and there are for the analogue outputs, but not against the encoders.
Can you help please.
Thanks
Last edit: 1 year 9 months ago by NT4Boy.

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

More
1 year 9 months ago #319825 by PCW
Replied by PCW on topic HURCO KMB-1 Control Update
The raw encoder pins have names like:

hm2_7i92.0.encoder.03.input-a
hm2_7i92.0.encoder.03.input-b
hm2_7i92.0.encoder.03.input-index

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

More
1 year 9 months ago #319826 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
I guess that's the bit I am missing.
In the hal file, there are no "input-a" anything for the X,Y and Z encoders so I don't get how lcnc knows what anything is connected to.

Sorry.

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

More
1 year 9 months ago - 1 year 9 months ago #319828 by PCW
Replied by PCW on topic HURCO KMB-1 Control Update
The hal file is what connects things (it does not show all possible pins) ,
so to use an encoder input, you would do something like this:

net min-x <= hm2_7i92.0.encoder.01.input-a

You can use halshow to browse pins and parameters:

 


or list all pins/parameters by running this command:

halcmd show all

from a terminal window when LinuxCNC is running.

You can also

halcmd show all > all.txt

to create a copy/paste donor file when editing hal files

if you just want hardware pins/parameters

halcmd show all hm2

will do

If you just want encoder pins/parameters.

halcmd show all *encoder*

or

halcmd show pin *encoder*

if you just want to see encoder pins.
Last edit: 1 year 9 months ago by PCW.

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

Time to create page: 0.078 seconds
Powered by Kunena Forum