Sorry for taking so long been real busy at work.
Here is a PDF on how to wire the motor to the Wago plug
for the 4th Axis.
Keep in mind this will only work with the motor I used it may not work with other motors check specs to be sure.
Vexta PK299-02AA stepper motor
A : black
A- : green
B : red
B- : blue
You'll need to tape off the yellow and white leads you don't use them.
SB_4th_Axis_Wiring.pdf
here is the unit values I used for the axis, again this is for the motor I used and the gears I listed .
A Unit Value: -23.80928571428572
B Unit Value: -23.80928571428572
If it turns in the wrong direction just remove the " - " from the start.
Under Speed values I use.
B move speed: 180
B jog speed : 300
these can be change to what you want I just thought I would share what works for me.