I'm connecting an STP-58D2017 motor to a 1062. It works, but very slowly. 28 rotation per minutes even with acceleration set to the max (8859.375)

Could attaching the wires the wrong way explain that behavior? It goes forward and backward as expected.

I found a phase table for that motor that shows the following sequence:

They have a diagram that shows that 1 coil is AB and the other A'B'

step A B A' B'

1: 1 1 - -

2: - 1 1 -

3: - - 1 1

4: 1 - - 1

Trying to map this to the 1062 table I came up with the following wiring

(I took all the entries in the 1062 table that had 2 powered poles, and offset the starting point until I found a sequence where the next full step had one pole in common with the previous one)

motor 1062

A D

B B

A' C

B' A

As I said, it works, but slow. Any idea?

The motor data shows that A A' is one coil, and B B' the other.