OK, I am really confused here. Just got done building my new printer and and testing all the movement and enstops and all works as I would expect until I send G28 command. If I do G28 X it moves the Y axis, do G28 Y it moves the X axis. Now you would think that I just have the stepper motors plugged into the wrong spots BUT, if I use the buttons in octoprint to move X, the < and > buttons, they move correctly. Move Y using ^ & v buttons Y moves correctly.
Enstops all correspond correctly when I check each one using the M119 command to see its status.
I am sure it has to be something simple but my brain is mush right now.
Here is my stepper module section in my config and I think all is correct.
- Stepper module pins ( ports, and pin numbers, appending "!" to the number will invert a pin )
alpha_step_pin 2.0 # Pin for alpha stepper step signal
alpha_dir_pin 0.5! # Pin for alpha stepper direction
alpha_en_pin 0.4 # Pin for alpha enable pin
alpha_current 1.5 # X stepper motor current
alpha_max_rate 30000.0 # mm/min
beta_step_pin 2.1 # Pin for beta stepper step signal
beta_dir_pin 0.11! # Pin for beta stepper direction
beta_en_pin 0.10 # Pin for beta enable
beta_current 1.5 # Y stepper motor current
beta_max_rate 30000.0 # mm/min
gamma_step_pin 2.2 # Pin for gamma stepper step signal
gamma_dir_pin 0.20 # Pin for gamma stepper direction
gamma_en_pin 0.19 # Pin for gamma enable
gamma_current 1.68 # Z stepper motor current
gamma_max_rate 300.0 # mm/min