The cable length is 700 mm, from the 4-pin PC2510 connector to the 6-pin JST-XH6 connector.
This cable is wired by default for the Nema17 motor with 40 mm gears.
The specified wiring of this cable is shown below:
Controller side Motor side
PIN 1 ---------------- PIN 1
PIN 2 ----------------- PIN 4 PIN
3
----------------- PIN 4 ----------------- PIN 6