- Posts: 1850
- Thank you received: 0
Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
Please Log in to join the conversation.
tecno wrote: Tests done
#1 7i76e board for lathe is busted as regards pin 13, A/B flickers when shorting.
#2 7i76e board for milling machine seems to be OK so maybe it is so that I have watched wrong encoder like 00
So now edits have to be done to HAL and INI.
As regards the use of #1 I only need 3 encoders so 7i85S will fix this.
How do I setup HAL?
setp hm2_7i76e.0.encoder.00.scale [AXIS_0] ENCODER_SCALE
setp hm2_7i76e.0.encoder.01.scale [AXIS_1] ENCODER_SCALE
setp hm2_7i76e.0.encoder.04.scale [SPINDLE_9] ENCODER_SCALE
And then where do I connect the spindle encoder 3rd or 4th encoder input on 7i85S
Attachment not found
I will have to pre-wire everything on this board before I put it in the cabinet, all connections will be with shielded rj45 cables.
Will go quad on step and A/B/Z on encoders so 1 RJ45 handles each axis. So 3x8 pins left over for 2xMPG Estop and combined home/limit, coolant.
Please Log in to join the conversation.
num_encoders = 2 enables encoder.00 and encoder.01
if you want encoder.04 active then you need to have num_encoders=5.
But you can connect any encoder in any active position. It is perfectly OK to use encoder.00 for the spindle and encoder.04 for the X axis if that is, for some reason, more convenient for you.
Please Log in to join the conversation.
Please Log in to join the conversation.
Where each encoder appears on the screw terminals is set by the firmware, and the only way to change that is by changing the firmware.
You can look at the manual for the card in conjunction with (I _think_ the contents of linuxcnc_print.txt in your home directory. (I don't currently have a machine running uspace).
Can you start linuxcnc then attach the contents of ~/linuxcnc_print.txt?
Please Log in to join the conversation.
Please Log in to join the conversation.
From what I'm seeing you've used setp to set the encoder scale from your ini file but you also need to connect the hm2_7i76e.0.encoder.00.* encoder outputs to the right pins in hal so LCNC knows whats going on at the joint/motion/axis level
Promise me you will NEVER use pncconf from this day forth. The Mesa environment has become far too complex and it has never kept up.
Please Log in to join the conversation.
Please Log in to join the conversation.
andypugh wrote: If you have sensors then it's all rather easier and motor-speed selection can be made before the spindle starts.
This HAL component that I wrote some years ago should be a good start.
It doesn't handle the 2-speed motor case, but that should be a fairly simple modification.
Have been on the road today so no play with my milling machine.
But, I have now got hold of a handful of these PNP sensors.
www.smc.eu/smc/Net/EMC_DDBB/ce_documenta...Px-588_TFI65GB-C.pdf
So I will have one for each position as I have the space that just suits this type of selector arrangement.
Magnet on the rotating selector, each position 12.5° apart = 5 positions + 2 Hi/Lo gearbox + 2 Hi/Lo motor rpm.
Please Log in to join the conversation.
From what I'm seeing you've used setp to set the encoder scale from your ini file but you also need to connect the hm2_7i76e.0.encoder.00.* encoder outputs to the right pins in hal so LCNC knows whats going on at the joint/motion/axis level
[/quote]
Would you be kind and give more detailed example as I don't get this what to write here.
How to *connect* below examples
Spindle encoder Index is pin 13 TB3 on 7i76e
X-axis Index is pin 7 TB3 on 7i85S
Please Log in to join the conversation.
