Hurco BMC 30 AP
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 1
11 Feb 2026 20:48 #342814
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Hi,
we worked with the hal scope today.
we worked with the hal scope today.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17813
- Thank you received: 5212
11 Feb 2026 22:37 - 11 Feb 2026 22:37 #342826
by PCW
Replied by PCW on topic Hurco BMC 30 AP
OK that looks like exponential runaway which is an indication that the
feedback loop is backwards (positive rather than the desired negative feedback)
If the encoder feedback is in the correct direction, the fix is to change the sign
of the PWM scale value:
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10
MIN_FERROR = 5.0
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 1250.0
P = 1
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = -0.0105
############-0.0105 vorher Bias
DEADBAND = 0
MAX_OUTPUT = 10
ENCODER_SCALE = -4000
OUTPUT_SCALE = -10
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
feedback loop is backwards (positive rather than the desired negative feedback)
If the encoder feedback is in the correct direction, the fix is to change the sign
of the PWM scale value:
[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10
MIN_FERROR = 5.0
MAX_VELOCITY = 200.0
MAX_ACCELERATION = 1250.0
P = 1
I = 0
D = 0
FF0 = 0
FF1 = 0
FF2 = 0
BIAS = -0.0105
############-0.0105 vorher Bias
DEADBAND = 0
MAX_OUTPUT = 10
ENCODER_SCALE = -4000
OUTPUT_SCALE = -10
OUTPUT_MIN_LIMIT = -10.0
OUTPUT_MAX_LIMIT = 10.0
Last edit: 11 Feb 2026 22:37 by PCW.
Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 1
12 Feb 2026 20:35 #342858
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
I changed the prefix today, and now the machine no longer moves automatically.
I'd like to know why this is happening. The Debian version and the Linux CNC version have changed. I haven't made any changes to the INI file itself.
I'd like to know why this is happening. The Debian version and the Linux CNC version have changed. I haven't made any changes to the INI file itself.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17813
- Thank you received: 5212
12 Feb 2026 20:58 #342862
by PCW
Replied by PCW on topic Hurco BMC 30 AP
I don't think LinuxCNC has changed anything basic like this
it's more likely a hardware, wiring, hal, or ini file change.
it's more likely a hardware, wiring, hal, or ini file change.
Please Log in or Create an account to join the conversation.
- NWE
-
- Offline
- Elite Member
-
Less
More
- Posts: 181
- Thank you received: 46
13 Feb 2026 02:56 #342876
by NWE
We assume a logic fault somewhere in the computer's many circuit boards caused the mysterious fault.
Replied by NWE on topic Hurco BMC 30 AP
For what it's worth, I once worked on a machine that did a similar thing. I my case it was encoder counts. The entire system was Seimens brand electronics from the 1980's. One day they switched it on and one axis experienced runaway until following error stopped it (nearly instantaneously). We had no documentation for that machine and nothing was labeled. I ended up swapping A and B from the axis feedback glass scale encoder then everything worked again.I'd like to know why this is happening.
We assume a logic fault somewhere in the computer's many circuit boards caused the mysterious fault.
Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 1
14 Feb 2026 15:09 #342940
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Thanks for your feedback.
The last time the machine was running (the video is a few pages back), I only updated the firmware of the 7I97, from Debian10 to Debian13, and the LinuxCNC software. There were no changes to the wiring, hardware, or the HAL/INI files.
In any case, the handwheel on the machine works, for example.
However, there's still a problem with the homing function, and that also worked the last time the machine was running. The Z-axis moves correctly. The limit switch moves to the cam and then releases itself, reporting a successful homing. Unfortunately, this isn't the case with the X and Y axes. As soon as the limit switch moves to the cam, the axis stops, and after a few seconds, an error message appears. The X, Y, and Z home contacts are displayed correctly.
I then tried manually homing the X and Y axes. I manually pressed the switch, and the machine recognized the command and performed the referencing by moving freely and reporting a successful referencing.
The settings for all three axes are the same; you can see them in my latest .ini file.
Does anyone have any other suggestions?
The last time the machine was running (the video is a few pages back), I only updated the firmware of the 7I97, from Debian10 to Debian13, and the LinuxCNC software. There were no changes to the wiring, hardware, or the HAL/INI files.
In any case, the handwheel on the machine works, for example.
However, there's still a problem with the homing function, and that also worked the last time the machine was running. The Z-axis moves correctly. The limit switch moves to the cam and then releases itself, reporting a successful homing. Unfortunately, this isn't the case with the X and Y axes. As soon as the limit switch moves to the cam, the axis stops, and after a few seconds, an error message appears. The X, Y, and Z home contacts are displayed correctly.
I then tried manually homing the X and Y axes. I manually pressed the switch, and the machine recognized the command and performed the referencing by moving freely and reporting a successful referencing.
The settings for all three axes are the same; you can see them in my latest .ini file.
Does anyone have any other suggestions?
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17813
- Thank you received: 5212
14 Feb 2026 16:12 #342945
by PCW
Replied by PCW on topic Hurco BMC 30 AP
As soon as the limit switch moves to the cam, the axis stops, and after a few seconds, an error message appears. The X, Y, and Z home contacts are displayed correctly.
What error message?
Do the drives have any direct connection to the limit/home switches?
(some systems disable the drives directly when limits are reached)
Can you do a halscope plot of the say X position and X home switch state while homing?
What error message?
Do the drives have any direct connection to the limit/home switches?
(some systems disable the drives directly when limits are reached)
Can you do a halscope plot of the say X position and X home switch state while homing?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21445
- Thank you received: 7309
14 Feb 2026 16:19 #342946
by tommylight
Replied by tommylight on topic Hurco BMC 30 AP
Yet it always, always ends up something was changed.The last time the machine was running (the video is a few pages back), I only updated the firmware of the 7I97, from Debian10 to Debian13, and the LinuxCNC software. There were no changes to the wiring, hardware, or the HAL/INI files.
What error? We can not help you if you keep holding important information from us.As soon as the limit switch moves to the cam, the axis stops, and after a few seconds, an error message appears.
They can NOT be the same, Z axis is almost always moving in negative space, not in positive as X and Y.The settings for all three axes are the same; you can see them in my latest .ini file.
Please Log in or Create an account to join the conversation.
- 5_Zylinder
- Offline
- Senior Member
-
Less
More
- Posts: 48
- Thank you received: 1
15 Feb 2026 19:44 - 15 Feb 2026 19:47 #343017
by 5_Zylinder
Replied by 5_Zylinder on topic Hurco BMC 30 AP
Hello everyone,
Today I recorded data from the Z-axis, which is functioning correctly, and then I tested the X-axis.
The X-axis limit switch moves onto the cam and then simply stops instead of moving freely.
After a few seconds, the following error message appears: joint 0 following error
Today I recorded data from the Z-axis, which is functioning correctly, and then I tested the X-axis.
The X-axis limit switch moves onto the cam and then simply stops instead of moving freely.
After a few seconds, the following error message appears: joint 0 following error
Last edit: 15 Feb 2026 19:47 by 5_Zylinder.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17813
- Thank you received: 5212
15 Feb 2026 20:02 #343018
by PCW
Replied by PCW on topic Hurco BMC 30 AP
Unfortunately neither plot shows any motion so it hard to tell what's going on.
Can you post your current hal/ini files?
Can you post your current hal/ini files?
Please Log in or Create an account to join the conversation.
Time to create page: 0.212 seconds