No rotating shaft, if you want to add a rotating shaft, how to connect it

1.Problem description:
(1). Need to connect the driver to 24V switching power supply (V+ to 24V+, V- to 24V-)
(2). The rotation axis signal control wires (red, yellow, green) of the main board are reserved in the online slot, red wire to Pul+ and dir+, yellow wire to Pul-, green wire to dir-
(3). The drive A+A-B+B- is connected to the four wires of the rotating shaft motor (connected according to the motor wire instructions)