Working documentation
This page is generated from the project's working notes. It records a real retrofit in progress, corrections included. Anything marked 🔴 or ⚠️ is unresolved or carries a caveat - read those before acting.
SGDH drive reference — Pn000.1 and the CN1 pinout¶
Extracted 31 Aug 2026 from XYZ Axis yaskawa_sigma_II_manual.pdf (Drive ID 17wNFtjvOU5Q65fVuuYsop6vcGR2X1Heq), the Sigma II User's Manual.
⚠️ Scope of this extract: the text layer covered pages 1–131 only. Appendix B, which holds the complete switches table, sits beyond that and was not read. Everything below is marked for where it came from.
Pn000.1 — Control Method Selection¶
Confirmed from the manual: Pn000.1 is "Function Selection Basic Switches: Control Mode Selection", default setting 0.
Values confirmed directly in this manual¶
| Value | Meaning |
|---|---|
| 2 | Torque control (dedicated). Torque reference on T-REF (CN1-9) |
| 6 | Speed control (contact reference) ⇔ torque control. Switched by /P-CL (CN1-45) and /N-CL (CN1-46) |
| 8 | Position control ⇔ torque control. Switched by /P-CON (CN1-41) |
| 9 | Torque control ⇔ speed control (analog reference). V-REF gives speed, T-REF gives torque |
The two values that matter here — high confidence, not read directly¶
| Value | Meaning |
|---|---|
| 0 | Speed control (analog reference) → Option B, the 7I77 |
| 1 | Position control (pulse train reference) → Option A, the 7I76EU alone |
These come from the standard SGDH table rather than from the pages extracted. Confidence is high because all four values that were read (2, 6, 8, 9) match that standard table exactly, and because the manual's own cross-references are consistent with it — Pn200.0 sets the position reference pulse form, Pn202/Pn203 set the electronic gear, and Pn300 sets the speed reference gain. Worth a glance at Appendix B when someone has the full manual open, but do not hold up work for it.
⛔ Do not open or disturb the CN1 connectors (Grant, 31 Aug 2026)¶
The CN1 looms are professionally made, with 50-pin connectors and fine crimps. They are not to be opened, unplugged or probed to answer questions that can be answered another way. Disturbing a working servo connection on a healthy machine, to confirm something the drive panel or the drawing will tell you for free, is a bad trade.
Answer CN1 questions in this order:
1. Read the parameter on the drive's front panel - Pn000.1. Nothing unplugged, no covers off, definitive.
2. Read the wiring diagram - the AZIONAMENTO ASSE X/Y/Z sheets show the CN1 pin usage directly. They sit near the encoder sheets at 29-32.
3. Only if both fail, and with a specific reason, consider anything physical - and then plan it properly rather than opening a loom to look.
This also fits the retrofit boundary (CLAUDE.md §5.4): the drive end stays as built. Where the Tecnos is replaced, the change happens at the Tecnos end of that cable, not at the drive.
The pin groups, for reading off the drawing¶
The two candidate modes use different CN1 pins, so the drawing distinguishes them without any hardware being touched:
The two modes use different CN1 pins, so the connector answers the question independently of the parameter:
| If these are wired | Mode | Meaning |
|---|---|---|
CN1-5 and CN1-6 (V-REF, SG) |
Analog speed reference | Option B — 7I77 |
CN1-7, 8, 11, 12 (PULS, /PULS, SIGN, /SIGN) |
Position reference pulse train | Option A — 7I76EU alone |
The wiring diagram already shows REFERENCE and 0V against each drive's 1CN (see wiring-diagram-index.md), which is CN1-5/6 - consistent with analog speed reference. Confirm it from the drawing and the drive panel, not by opening the connector.
CN1 pinout — the pins this retrofit cares about¶
| Signal | Pin(s) | Function |
|---|---|---|
V-REF, SG |
1-5, 1-6 | Speed reference input (analog) and its ground |
T-REF, SG |
1-9, 1-10 | Torque reference input and ground |
PULS, /PULS, SIGN, /SIGN |
1-7, 1-8, 1-11, 1-12 | Position reference pulse train (step/direction) |
PAO, /PAO |
1-33, 1-34 | Encoder output, A phase (differential) |
PBO, /PBO |
1-35, 1-36 | Encoder output, B phase (differential) |
PCO, /PCO |
1-19, 1-20 | Encoder output, C phase / index (differential) |
SG |
1-1 | Signal ground |
PSO, /PSO |
1-48, 1-49 | Absolute encoder S phase (absolute encoders only) |
BAT(+), BAT(-) |
1-21, 1-50 | Absolute encoder battery |
SEN |
1-4 | Absolute encoder SEN signal |
/S-ON |
1-40 | Servo ON |
/P-CON (/C-SEL) |
1-41 | Control mode switching |
P-OT |
1-42 | Forward run prohibited (overtravel) |
N-OT |
1-43 | Reverse run prohibited (overtravel) |
CN2 (2CN) is the motor encoder input to the drive — PG5V/PG0V on 2-1/2-2, phases on 2-5/2-6 etc. This is what the wiring diagram's sheets 29–32 show. It is not a source of position for LinuxCNC.
What this means for the retrofit¶
If Pn000.1 reads 0 and Option B is chosen, LinuxCNC closes the position loop and needs the drive's encoder output, which is on CN1 pins 33/34, 35/36 and 19/20 — differential line-driver outputs, exactly what the Mesa 7I77's encoder inputs expect.
So the question is: are CN1-33/34/35/36/19/20 already wired to the Tecnos? Answer it from the wiring diagram, not by opening the loom. - If yes, the position feedback Mesa needs is already run and terminated — a large saving. - If no, three differential pairs per axis must be added at the drive end. Not difficult, but it is work and connector pins that should be planned for.
Related parameters worth knowing when the time comes: Pn201 sets the encoder output dividing ratio, Pn300 the speed reference input gain, Pn202/Pn203 the electronic gear ratio (only relevant under position control).