SMEMA RJ12 Dongle Wiring Pin Out - Industry4/SMEMA-Hermes-Adaptor GitHub Wiki

SMEMA 14 Contact Plug/Socket RJ12 Use Colour
1 1 Machine Ready + White
2 2 Machine Ready - Blue
3 3 Good Board Ready + Green
4 4 Good Board Ready - Yellow
7 5 Bad Board Ready + Red
8 6 Bad Board Ready - Black

The colour coding is not important and is not an industry standard but is used for the cables we supply:

SMEMA Schematic of RJ12 Socket

SMEMA-HAT-Schematic

SMEMA Connections

SMEMA-Warning-Web