Open FHS1959 opened 5 months ago
Dual Y motors with CoreXY. Is that even possible?
Is even in the wiki described. Search on squaring axes
Please tell me exactly where in the wiki you found a mention of dual-motor corexy kinematics with squaring. I don't see it.
That page does not contain the word "corexy".
Based on the fact that your config file starts with name: "Fysetc Ant CoreXY"
, I suspect that you started with the example config file on the page http://wiki.fluidnc.com/en/hardware/3rd-party/fysetc_e4 and started modifying it without understanding everything. CoreXY is a special kind of machine setup that uses a complicated cable arrangement as shown at https://corexy.com/theory.html . With CoreXY, there are exactly two motors. In order to move in the X direction only, both motors must turn at the same time, and to move in Y only, both motors also turn, but one turns in the opposite direction from the other. CoreXY has no provision for multiple motors on one axis. There are only two motors that work in tandem to accomplish X and Y motion.
Please understand that I wrote the homing code, so I think I know what I am talking about.
You need to remove the kinematics: corexy: section. Either leave it out completely, or change "corexy" to "cartesian".
That page does not contain the word "corexy".
Thank you very much MitchBradle, that is the solution. You where completely right about the basis I started from. One motor is now homing and stops at the end switch. As soon as the other motor hits the end switch they both pull back and are simultaneous homing again and pulling back. PERFECT
Wiki Search Terms
I am using FYSETC E4 board, dual Y-axis motor with 2 end switches. the $limits reports that the switches are working correctly Motor0 is reported as Lower y and motor1 as upper Y, so far so good. If homing Y-axis and the end switch of motor0 is triggered motor0 and motor1 are working simultaneous (stop, pull back, home again and pull back), even if end switch of motor1 is not triggered, If I trigger motor1 end switch, the motor stops, if the end switch is released, motor1 continues running in the same direction. Motor0 does not respond on the end switch of motor1. I switched the 2 GPIO ports in the config file but the behaviour switched between the 2 end switches. Switched later the connectors on the board and as expected the response was the same as before the changes
Controller Board
FYSETC E4
Machine Description
Building my own laser engraver, now testing Y-axis. X-axis is in the config file not yet included.
Input Circuits
No response
Configuration file
Startup Messages
User Interface Software
WebUI and fluidterm
What happened?
each motor of the Y-axis should perform his own homing procedure and squaring
GCode File
No response
Other Information
Homing debug info [MSG:DBG: Homing Cycle Y] [MSG:DBG: Y Axis Stallguard] [MSG:DBG: Y2 Axis Stallguard] [MSG:DBG: Homing nextPhase FastApproach] [MSG:DBG: Starting from 0.000,100.000,0.000] [MSG:DBG: Planned move to 0.000,-950.000,0.000 @ 800.000] [MSG:DBG: Y Neg Limit 1] [MSG:DBG: Homing limited Y] [MSG:DBG: Homing nextPhase Pulloff0] [MSG:DBG: Starting from 0.000,-0.738,0.000] [MSG:DBG: Planned move to 0.000,0.262,0.000 @ 100.000] [MSG:DBG: Y Neg Limit 0] [MSG:DBG: CycleStop Pulloff0] [MSG:DBG: Homing nextPhase SlowApproach] [MSG:DBG: Starting from -0.125,0.137,0.000] [MSG:DBG: Planned move to -0.125,-3.362,0.000 @ 100.000] [MSG:DBG: Y Neg Limit 1] [MSG:DBG: Homing limited Y] [MSG:DBG: Y Neg Limit 0] [MSG:DBG: Homing nextPhase Pulloff1] [MSG:DBG: Starting from -0.125,-0.762,0.000] [MSG:DBG: Planned move to -0.125,0.238,0.000 @ 100.000] [MSG:DBG: CycleStop Pulloff1] [MSG:DBG: Homing nextPhase Pulloff2] [MSG:DBG: mpos was -0.125,0.238,0.000] [MSG:Homed:Y] [MSG:DBG: mpos becomes -0.125,1.000,0.000] [MSG:DBG: mpos transformed -0.125,1.000,0.000] [MSG:DBG: Y Axis Stallguard] [MSG:DBG: Y2 Axis Stallguard] [MSG:DBG: Homing done]