Novakon Mill Conversion - Getting Started

More
02 Mar 2024 00:37 #294877 by PCW
comment out line 24 in the hal file
(and probably the next line as well)
 

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

More
03 Mar 2024 14:23 #295049 by Whizbang
THANK YOU! I have finally gotten LCNC to open!

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

More
03 Mar 2024 14:54 #295054 by Whizbang
So now that I have LCNC opening, I want to confirm the pin call outs are correct for my board before I connect the computer to the machine and potentially burn something out.

The only location I can see all the pins definitively listed is the 5i25_c11gx2 file, which matches the pins I have confirmed for the motors and spindle. What is not clear to me is the pin for the charge pump (pin17) should that be a step?

And then there are several pins in the file that don't appear to be assigned, however my current board uses them for EStop, ZHome, Probe and a worklight.


In PNCConfig I could assign pins 13, 14, 15 & 16. 14 I didn't touch because it is listed correctly in the pin file. 13 I assigned to Z home, 15 I assigned to the probe and 16 I left alone but it should be for a worklight.

I should note that pin 10 for me is currently E Stop, Pin 11 is X home and Pin 12 is Y home.

My question becomes - does PNCConfig override pin settings from the firmware file? Is there somewhere I can see the pin settings for a specific LCNC configuration, I looked through the hal and ini files and nothing was obvious to me. When I viewed the hal config through LCNC and selected pins, explicit pin #s were not listed.

I greatly appreciate everyone's patience with me and all the support thus far.
Attachments:

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

More
05 Mar 2024 12:16 #295220 by andypugh
Pins not associated with a function (PWM, stepgen etc) are available for GPIO, soo are appropriate for probe etc.

Stepgen 4 on pin 17 has only a step and no dir pin, so that does seem like a reasonable thing to use for a charge pump.

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

More
05 Mar 2024 19:48 #295252 by PCW
Yes, typically stepgens are used for charge pump drivers
(Being a bit wasteful with FPGA resources is a slight disadvantage)

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

More
06 Mar 2024 21:10 #295348 by Whizbang
Thank you for confirming the charge pump oin makes sense, but there there a location where I can confirm which pins are assigned in my current configuration since I attempted to set the additional pins for homing?

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

More
06 Mar 2024 21:30 #295351 by PCW
The available input pins on the C11 bob are:

DB25  GPIO
10       13
11       14
12       15
13       16
15       03
 

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

More
11 Mar 2024 22:31 #295695 by Whizbang
I went to "show hal config" under machine in LCNC but there are no pins listed for anything (see below). Based on what I found on the LCNC website for HAL basics, I expect to see pin assignments listed like the online examples, but that is not the case. What am I missing or misunderstanding? How can I see the pin configuration in LCNC?
 
Attachments:

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

More
11 Mar 2024 22:44 #295698 by PCW
GPIO input hal pins  would be named:

DB25  GPIO         HAL NAME (True)             HAL NAME (inverted) 
10       13  hm2_5i25.0.gpio.013.in or hm2_5i25.0.gpio.013.in_not
11       14  hm2_5i25.0.gpio.014.in or hm2_5i25.0.gpio.014.in_not
12       15  hm2_5i25.0.gpio.015.in or hm2_5i25.0.gpio.015.in_not
13       16  hm2_5i25.0.gpio.016.in or hm2_5i25.0.gpio.016.in_not
15       03  hm2_5i25.0.gpio.003.in or hm2_5i25.0.gpio.003.in_not

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

More
14 Mar 2024 21:00 #295919 by Whizbang
So I was able to read the hal show under hm2_5i25 saw my pin assignments for 13 (Z home) and 15 (probe) but beyond that it looks like there is no assignment to pin 14 which should have been assigned by the c11gx2 firmware, right?

I guess I still don't understand how to read the hal file to confirm motor set-up (the step-gens), E stop and X & Y home (QCounts?)

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

Moderators: cncbasher
Time to create page: 0.219 seconds
Powered by Kunena Forum