Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
05 Sep 2025 20:44

Troubles to get started with SD240 Retrofit

Category: Turning

No, the actual index pin is not typically used by LinuxCNC

What interface card are you using for the encoder interface?

Is the encoder single ended or differential?

Is  the interface card jumpered to match the encoder type?

Another way to check the low level hardware is to set the index input to
single ended mode, and then watch hm2_7i80.0.encoder.00.input-index
in halshow as you ground the index input on the interface card.
hm2_7i80.0.encoder.00.input-index  should change state when you ground
the +index input pin

(with the encoder unplugged of course)

 
  • PCW
  • PCW's Avatar
05 Sep 2025 20:36 - 05 Sep 2025 20:37
Replied by PCW on topic orient spindle with ethercat EL5101

orient spindle with ethercat EL5101

Category: EtherCAT

FF0,FF1,FF2 are feed forward terms

FF0 adds a proportion of the PID command to the PID output
FF1 adds a proportion of the PID commands first derivative to the PID output
FF2 adds a proportion of the PID commands second derivative to the PID output

For a simple example imagine a spindle control PID loop
This would have a PID loop with velocity command and velocity output.
Setting FF0 to 1 means that at a say commanded RPM of 3000,  means
that the PID output would be 3000 without any correction from the PID error
term. You can think of the FF terms as a way of centering the operating
point of the PID loop around the current state (rather than having
feedback have to do all the heavy lifting)

 
  • ziggi
  • ziggi's Avatar
05 Sep 2025 20:34 - 05 Sep 2025 20:36

Troubles to get started with SD240 Retrofit

Category: Turning

No, it does not.
I scrolled through the HAl and could not find the hm2_7i80.0.encoder.00.input-index pin linked anywhere. So I assume Linuxcnc does not get this signal- can this be the reason?
  • PCW
  • PCW's Avatar
05 Sep 2025 20:17

Troubles to get started with SD240 Retrofit

Category: Turning

If you set x-index-enable high manually, does it get cleared if you jog the axis? 
(enough for one full turn of the encoder)

Beware, this may trigger a following error
  • Aciera
  • Aciera's Avatar
05 Sep 2025 19:58 - 05 Sep 2025 20:01
Replied by Aciera on topic Speed in jog use

Speed in jog use

Category: General LinuxCNC Questions

Works for me. I use the same potentiometer for jog and feed rate (changes are immediate during jogging and running commands):

#*******************************************************************
# --- FEED/SPEED OVERRIDES BY PANEL POTENTIOMETERS ---
#*******************************************************************
# --- POTENTIOMETER FEED OVERRIDE ---
setp gmoccapy.jog.jog-velocity.analog-enable 1
setp gmoccapy.feed.feed-override.analog-enable 1
net rapid-override-enable => gmoccapy.rapid.rapid-override.analog-enable
net poti-feed-scaled => gmoccapy.jog.jog-velocity.direct-value
net poti-feed-scaled => gmoccapy.feed.feed-override.direct-value
net poti-feed-scaled => gmoccapy.rapid.rapid-override.direct-value
  • ziggi
  • ziggi's Avatar
05 Sep 2025 19:58 - 05 Sep 2025 20:15

Troubles to get started with SD240 Retrofit

Category: Turning

I can set it high in HAL-show by pressing the SET button on the right side, but not by homing/tripping the switch.
Also with 1ms division I can not see the index rush by...
Displaying 13576 - 13581 out of 13581 results.
Time to create page: 0.632 seconds
Powered by Kunena Forum