Weird direction issue with XYZY PrintNC
- galmiklos
- Away
- New Member
-
Less
More
- Posts: 3
- Thank you received: 1
10 May 2026 10:56 #346303
by galmiklos
Weird direction issue with XYZY PrintNC was created by galmiklos
My configuration is a PrintNC (a dual Y ganged CNC machine) with a FlexiHAL board with a uFlexiNET Ethernet board, and I am connecting it directly with an Ethernet cable to a Dell Optiplex 780 , running the latest LinuxCNC image (linuxcnc_2.9.8-amd64.hybrid.iso).
I flashed the board with remora-eth, and uploaded the attached configuration (FlexiHAL-config.txt). I also attached the hal and ini files.
What happens is, that I can home and move X and Z correctly, but not Y. The gantry goes back to the endstops, and I can see the homing sequence almost completing successfully, but at the end, one side starts moving to the opposite direction, towards the front.
The wiring and driver setting are identical on both Y sides, and the same hardware works perfectly with grblHAL, so I don't think it's a wiring or driver issue.
Any help is greatly appreciated.
I flashed the board with remora-eth, and uploaded the attached configuration (FlexiHAL-config.txt). I also attached the hal and ini files.
What happens is, that I can home and move X and Z correctly, but not Y. The gantry goes back to the endstops, and I can see the homing sequence almost completing successfully, but at the end, one side starts moving to the opposite direction, towards the front.
The wiring and driver setting are identical on both Y sides, and the same hardware works perfectly with grblHAL, so I don't think it's a wiring or driver issue.
Any help is greatly appreciated.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21544
- Thank you received: 7344
10 May 2026 11:42 #346305
by tommylight
Replied by tommylight on topic Weird direction issue with XYZY PrintNC
No attachments, and how are the Y joints driven?
Chances are you have one Y joint reversed, so adding a - in front of the SCALE value should fix it.
Chances are you have one Y joint reversed, so adding a - in front of the SCALE value should fix it.
Please Log in or Create an account to join the conversation.
- galmiklos
- Away
- New Member
-
Less
More
- Posts: 3
- Thank you received: 1
10 May 2026 13:38 - 10 May 2026 13:55 #346306
by galmiklos
Replied by galmiklos on topic Weird direction issue with XYZY PrintNC
Yes, the moment I pressed submit I realized I forgot the attachments, please see them attached now.
The joints are for sure not reversed, I have the exact same wiring and driver settings on both sides, and as I mentioned, it works perfectly with grblHAL.
The weirdness is actually exactly it. I did try reversing one of the Y joints by inverting the scale parameter and the gantry moved correctly in axis mode when jogging (before homing), but then, when I started homing, the joints started to move the opposite directions, starting to tear the machine apart. Like it had a split mind. When jogging, wants to move reversed, when homing, straight. Perhaps one side starting to move the opposite direction at the end of the homing is a result of that, as the final position is taken, the move is using the same "method", as jogging.
I am now compiling the remora-eth firmware in debug mode (USE_DEBUG=1), perhaps I will see something in the debug terminal (PC connected through USB)?
The joints are for sure not reversed, I have the exact same wiring and driver settings on both sides, and as I mentioned, it works perfectly with grblHAL.
The weirdness is actually exactly it. I did try reversing one of the Y joints by inverting the scale parameter and the gantry moved correctly in axis mode when jogging (before homing), but then, when I started homing, the joints started to move the opposite directions, starting to tear the machine apart. Like it had a split mind. When jogging, wants to move reversed, when homing, straight. Perhaps one side starting to move the opposite direction at the end of the homing is a result of that, as the final position is taken, the move is using the same "method", as jogging.
I am now compiling the remora-eth firmware in debug mode (USE_DEBUG=1), perhaps I will see something in the debug terminal (PC connected through USB)?
Attachments:
Last edit: 10 May 2026 13:55 by galmiklos.
Please Log in or Create an account to join the conversation.
- galmiklos
- Away
- New Member
-
Less
More
- Posts: 3
- Thank you received: 1
10 May 2026 19:20 - 10 May 2026 19:21 #346315
by galmiklos
Replied by galmiklos on topic Weird direction issue with XYZY PrintNC
I posted the question on the linuxcnc channel on the PrintNC Discord server too, and mikemacwillie pointed out the problem in my FlexiHAL-config.txt file. The Y limit input was inverted, so the machine thought it was already triggered when the carriage was nowhere near.
After changing it from True to False, I also had to revise the HOME and HOME_OFFSET parameters, as I interpreted them incorrectly.
Please, see my correct config files attached.
After changing it from True to False, I also had to revise the HOME and HOME_OFFSET parameters, as I interpreted them incorrectly.
Please, see my correct config files attached.
Attachments:
Last edit: 10 May 2026 19:21 by galmiklos.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.070 seconds