db25 Connector Pinout

PIN DIR FUNCTION PIN DIR FUNCTION
1 - Uncommitted 14 - Uncommitted
2 In Overtravel 15 Out Auxiliary
3 Out Step + 16 Out Step -
4 Out Direction + 17 Out Direction -
5 In CW (+) Limit N.C. 18 In CW (+) Limit N.O.
6 In CCW (-) Limit N.C. 19 In CCW (-) Limit N.O.
7 In Encoder Phase A + 20 In Encoder Phase A -
8 In Encoder Phase B + 21 In Encoder Phase B -
9 In Encoder Index + 22 In Encoder Index -
10 In Home 1 (motor conn.) 23 In Home 2 (encoder conn.)
11 - Ground/Shield 24 - Ground/Shield
12 In Driver Fault 25 - Uncommitted
13 - Uncommitted

Note: "Overtravel" and "Driver Fault" should be high-true, so that a cut or disconnected cable is reported as a fault.