HURCO KMB-1 Control Update

More
11 months 4 days ago #339392 by andypugh
Replied by andypugh on topic HURCO KMB-1 Control Update
You don't _need_ ladder for spindle orient, but you will need, at the least, some HAL logic and a second PID controller for position mode.

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

More
11 months 4 days ago #339407 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
Andy, just found your orient.svg  which has encouraged me to have another go. Especially as I realise the function could be useful when probing.
Thanks for your clarification.

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

More
10 months 1 week ago - 10 months 1 week ago #340391 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
I've been distracted by configuring a CAM post for this machine, and kind of blown away, that after months of learning, I can decide on a strategy, select tools speeds feed etc, and output the NC code from the CAM system and linuxcnc, parses it without comment. Not only that the machine runs the code and the the part is to drawing. Just excellent.

The orient.svg chart, while I get some of what it is telling me, i cannot understand how I need to convert it into hal statements. I thought by now I would get this stuff but I don't. which ones are loadrt, addf, setp and net ?

Sorry to be a dunce.

Could I ask for some pointers please?
Last edit: 10 months 1 week ago by NT4Boy.

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

More
9 months 2 days ago - 9 months 2 days ago #342223 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
I understand that for Orient to work, you need two PIDs and a MUX to switch the PID output from Velocity to Position.
I think some of it works for instance the Spindle will fire up with and M3 command and in HalShow the MUX2 light goes from red to yellow, and back to RED with M5.
However M19 R90 registers in the pid.so.angle but doesn't move the spindle. 

Could another pair of eyes look at the attached please.
Thanks

 

File Attachment:

File Name: Hurco_7i92...1-30.ini
File Size:4.06 KB

File Attachment:

File Name: spindlecontrol.hal
File Size:4.36 KB
Last edit: 9 months 2 days ago by NT4Boy.

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

More
9 months 1 day ago #342248 by NT4Boy
Replied by NT4Boy on topic HURCO KMB-1 Control Update
After some more studying, I realise that the mux2 doesn't have an output.
Not sure even now I have done that correctly.
I think I am now closer. After issuing M19 R45, the mux switches, but the spindle-output  isn't being populated.
Odd as the spindle still runs with M3 command. 

 

File Attachment:

File Name: spindlecon...1-31.hal
File Size:4.4 KB

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

More
8 months 3 weeks ago #342573 by andypugh
Replied by andypugh on topic HURCO KMB-1 Control Update
The first surprise I see is in the INI file where all the P, I and D parameters are set to zero.

Try increasing P to see if that helps.
(You can do this interactively in Halshow, though that won't save to the INI file)

linuxcnc.org/docs/html/man/man1/emccalib.1.html will save to the INI and is a menu option in the Axis GUI. I don't know if there is a way to run it from the other GUIs.

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

Time to create page: 0.296 seconds
Powered by Kunena Forum