DragonFrame Motor Only going one way

Hi everyone:) I'm trying to set up an Arduino to use with dragon frames arc moco software. I'm new to Arduino for this project and so far pretty blown away by all the possibilities of Arduino's so have been trying to learn it all myself so I can use it again in the future.

However, I'm having issues and after trying everything I can think of have come to a problem. I managed to modify the default arc moco script to get my motor working, however, it's only one motor of the 3 I set up, and plus the only motor in working is going in one direction even when the software tells it to move in the other direction (It keeps moving but in the same direction)

I have been trying to work out what the problem might be and thought it might be something to do with the fact I have no jumpers on the board? (On the step/ direction pins, enable/ ground pin or any of the other pins) Or might it be something in the script, like the direction pin not being set up correctly?

I’m using an Arduino Uno, CNC shield and a Nema 17 Stepper motor.

Thank you for looking at this post, any advice or pointers in the right direction would be greatly appreciated:)

Read the forum guidelines.

Use the IDE autoformat tool (ctrl-t or Tools, Auto Format) to indent the code for readability before posting code.

Post your code in code tags.

First step is posting full info(*) on all the hardware and your code. We can only do anything once we have the details.

Explain clearly what you are intending to happen v. what actually happens.

(*) this means links to datasheet or product pages.