- International LinuxCNC Users
- Deutsch
- Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
- Jensner
- Away
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 24
19 Nov 2025 17:17 #338739
by Jensner
Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern was created by Jensner
Hallo Leute,
Ich habe in den letzten 2 Wochen meine Portalfräse mit einer neuen, sauberen LinuxCNC-Installation incl. Probe Basic versehen.
Die 3 Achsen laufen hervorragend auf JMC Closed Loop iHSS60-36-30-21-38.
Als Steuerungskarte lief eine MESA 7i96s.
Nun wollte ich die Genauigkeit nochmals verbessern und habe meine Achsen mit Magnet-Linear Encodern versehen.
Zur Signalverarbeitung kam eine 7i85s dazu und die 7i96s wurde mit der entsprechenden Firmware geflasht.
Nach etwas testen und Jumper setzen, erhalte ich nun auf allen 3 Achsen saubere Signale über die ersten 3 Encoder-Eingänge der 7i85s.
Soweit so gut.
Nun zum Problem.
Ich habe die HAL nun testweise nur mal für die X-Achse entsprechend angepasst.
Sobald ich nun die Maschine aktiviere beginnt die X-Achse selbstständig, sich ganz langsam sich aufzuschaukeln bis sie in einen Positionsfehler fällt. Nun habe gibt es 2 Optionen.
1. ich bin zu blöd die Pins in der HAL korrekt zu verbinden (was durchaus möglich ist)
2. Der Closed Loop versucht ständig zu korrigieren und der Messwert (PID) arbeitet dagegen.
Ich komme hier irgendwie nicht wirklich weiter.
Könnt Ihr mir hier bitte helfen.
Hier mal die HAL und INI (wie gesagt, ich habe erst mal nur X zum Test umgestellt)
Vielen Dank und viele Grüße
Jens
Ich habe in den letzten 2 Wochen meine Portalfräse mit einer neuen, sauberen LinuxCNC-Installation incl. Probe Basic versehen.
Die 3 Achsen laufen hervorragend auf JMC Closed Loop iHSS60-36-30-21-38.
Als Steuerungskarte lief eine MESA 7i96s.
Nun wollte ich die Genauigkeit nochmals verbessern und habe meine Achsen mit Magnet-Linear Encodern versehen.
Zur Signalverarbeitung kam eine 7i85s dazu und die 7i96s wurde mit der entsprechenden Firmware geflasht.
Nach etwas testen und Jumper setzen, erhalte ich nun auf allen 3 Achsen saubere Signale über die ersten 3 Encoder-Eingänge der 7i85s.
Soweit so gut.
Nun zum Problem.
Ich habe die HAL nun testweise nur mal für die X-Achse entsprechend angepasst.
Sobald ich nun die Maschine aktiviere beginnt die X-Achse selbstständig, sich ganz langsam sich aufzuschaukeln bis sie in einen Positionsfehler fällt. Nun habe gibt es 2 Optionen.
1. ich bin zu blöd die Pins in der HAL korrekt zu verbinden (was durchaus möglich ist)
2. Der Closed Loop versucht ständig zu korrigieren und der Messwert (PID) arbeitet dagegen.
Ich komme hier irgendwie nicht wirklich weiter.
Könnt Ihr mir hier bitte helfen.
Hier mal die HAL und INI (wie gesagt, ich habe erst mal nur X zum Test umgestellt)
Vielen Dank und viele Grüße
Jens
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20947
- Thank you received: 7136
19 Nov 2025 17:26 #338740
by tommylight
Replied by tommylight on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
Schau mal an das:
forum.linuxcnc.org/10-advanced-configura...glass-scale-feedback
forum.linuxcnc.org/10-advanced-configura...glass-scale-feedback
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17420
- Thank you received: 5071
19 Nov 2025 17:42 #338742
by PCW
Replied by PCW on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
My first guesses as to what is wrong are these:
1. P term too high (1000 is way too high for encoder feedback)
2. either stepgen scale and encoder scale (or both) are not correct
1. P term too high (1000 is way too high for encoder feedback)
2. either stepgen scale and encoder scale (or both) are not correct
Please Log in or Create an account to join the conversation.
- Jensner
- Away
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 24
19 Nov 2025 17:53 - 19 Nov 2025 18:00 #338743
by Jensner
HI,
I did some testing before i conected it in the HAL to make sure that die Signal of the Encoder incl. Scale is correct. These are Encoders with 0.005mm, so "ENCODER_SCALE = -200" are correct.
I tested it with HAL Show and it was identic with X shown in the GUI.
Further more I did some testing too with the PID-Config, but P=1000 and FF1=1 works the best.
Every other (for example P=50-100 or FF1=0.1-0.5) leeds to errors.
Best regards
Replied by Jensner on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
My first guesses as to what is wrong are these:
1. P term too high (1000 is way too high for encoder feedback)
2. either stepgen scale and encoder scale (or both) are not correct
HI,
I did some testing before i conected it in the HAL to make sure that die Signal of the Encoder incl. Scale is correct. These are Encoders with 0.005mm, so "ENCODER_SCALE = -200" are correct.
I tested it with HAL Show and it was identic with X shown in the GUI.
Further more I did some testing too with the PID-Config, but P=1000 and FF1=1 works the best.
Every other (for example P=50-100 or FF1=0.1-0.5) leeds to errors.
Best regards
Last edit: 19 Nov 2025 18:00 by Jensner.
Please Log in or Create an account to join the conversation.
- Jensner
- Away
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 24
19 Nov 2025 18:03 #338744
by Jensner
What do you think?
Replied by Jensner on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
I Think my config sadly is exactliy what you mentioned with "THIS IS NOT FOR CLOSED LOOP stepper systems with encoder wired to their drives."Schau mal an das:
forum.linuxcnc.org/10-advanced-configura...glass-scale-feedback
What do you think?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20947
- Thank you received: 7136
19 Nov 2025 18:13 #338745
by tommylight
Or are the encoders wired to JMC ?
Or, i really hope not, did you remove the encoders from JMC and wired to Mesa? This will not work without changing the drive config so the JMC are set to work with no encoders.
I assume this is the case as you mention the motor moves slowly when enabled, and this is exactly what will happen when encoders are detached from JMC.
Replied by tommylight on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
Are the encoders wired to Mesa 7i85S?Zur Signalverarbeitung kam eine 7i85s dazu und die 7i96s wurde mit der entsprechenden Firmware geflasht.
Nach etwas testen und Jumper setzen, erhalte ich nun auf allen 3 Achsen saubere Signale über die ersten 3 Encoder-Eingänge der 7i85s.
Or are the encoders wired to JMC ?
Or, i really hope not, did you remove the encoders from JMC and wired to Mesa? This will not work without changing the drive config so the JMC are set to work with no encoders.
I assume this is the case as you mention the motor moves slowly when enabled, and this is exactly what will happen when encoders are detached from JMC.
Please Log in or Create an account to join the conversation.
- Jensner
- Away
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 24
19 Nov 2025 18:50 - 19 Nov 2025 19:03 #338746
by Jensner
Yes, the 3 Linear-encoders are wired to the Encoder-Ports at the MESA 7i95s.
But the iHSS60 itself are Closed Loop and i thought, that the internal controller maybe tries to correct the position.
Than the linear-Encoder gets the signal to the PID to correct and this leads to the growing shaking.
Do you know what i mean?
Has someone maybe a similar config? Closed Loop Stepper together with Linear-Encoder on Mesa?
Replied by Jensner on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
Zur Signalverarbeitung kam eine 7i85s dazu und die 7i96s wurde mit der entsprechenden Firmware geflasht.
Nach etwas testen und Jumper setzen, erhalte ich nun auf allen 3 Achsen saubere Signale über die ersten 3 Encoder-Eingänge der 7i85s.
Are the encoders wired to Mesa 7i85S?
Or are the encoders wired to JMC ?
Or, i really hope not, did you remove the encoders from JMC and wired to Mesa? This will not work without changing the drive config so the JMC are set to work with no encoders.
I assume this is the case as you mention the motor moves slowly when enabled, and this is exactly what will happen when encoders are detached from JMC.
Yes, the 3 Linear-encoders are wired to the Encoder-Ports at the MESA 7i95s.
But the iHSS60 itself are Closed Loop and i thought, that the internal controller maybe tries to correct the position.
Than the linear-Encoder gets the signal to the PID to correct and this leads to the growing shaking.
Do you know what i mean?
Has someone maybe a similar config? Closed Loop Stepper together with Linear-Encoder on Mesa?
Last edit: 19 Nov 2025 19:03 by Jensner.
Please Log in or Create an account to join the conversation.
- Jensner
- Away
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 24
19 Nov 2025 19:31 #338748
by Jensner
Do you know how to config this in the JMC?
I did some investigation, but could not find how to do this...
Replied by Jensner on topic Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
This will not work without changing the drive config so the JMC are set to work with no encoders.
Do you know how to config this in the JMC?
I did some investigation, but could not find how to do this...
Please Log in or Create an account to join the conversation.
- International LinuxCNC Users
- Deutsch
- Aufschaukeln mit JMC iHSS60-36-30-21-38 in Verbindung mit Linear Encodern
Time to create page: 0.075 seconds