Stepper Motors, wiring and encoders

Just replying to my own post to add info:

Need to get:
Stainless rod for joining rails / extrusions
SS 5mm connectors and nuts
Silicone tubing

Connections for original motor and encoder supplied by Farmbot
LDO-42STH47-1684BC
Configuration Bipolar (4 coil leads) A Black Green C (A-?) B Red D (B-?) Blue
However, the cables supplied by farmbot have the following colours
Yellow White Red Black

My Stepper motor (17HS8402BEC) details:
Configuration Bipolar (4 coil leads) A+ Black A- Green B+ Red B- Blue

So I will try using the following wiring for the motor coils:
Farmbot Motor cable to my motors My motor Black to farmbot cable Black, My motor Green to farmbot cable Red, My motor Blue to farmbot cable White, My motor Red to farmbot cable Yellow.

Encoder on my motors

Connections for my motor (17HS8402BEC):

Shielded cable wiring definition

Signal

A

A/

B

B/

Z

Z/

Vcc

0V

L circuits

Green

Brown

White

Grey

Yellow

Orange

Red

Black

T/C circuits

Green

White

Yellow

Red

Black

Output channels

Flat cable connection definition

A 、B

0V A Vcc B

A、B、Z

0V Z A Vcc B
*Note, no Yellow wire or Orange wire Z phase on encoder

Connections for original motor encoder supplied by Farmbot
Red = VCC (+5V) Black = GND White = A Green = B Yellow = Z

I will try connections to A+ and B+ on the encoders that I have. I will ignore the - lines and the missing Z line.
So…

Regards
David