7I96S wiring
Every 7I96S connection this config uses, drawn from the HAL. It's laid out like the real card, with the Ethernet jack pointing left. On each terminal block, pin 1 is at the bottom.
Pin by pin
| Terminal | What’s on it | Wire it | In HAL |
|---|---|---|---|
| Power and network | |||
| P4-1 | +5 V logic power (top, square pad) | 5 V supply + | 5 V only |
| P4-2 | Ground | 5 V supply − | — |
| J1 | Ethernet to the host computer | Straight CAT5 to the host's network port (card at 10.10.10.10) | hm2_eth, board_ip 10.10.10.10 |
| P1 | Smart serial port 1 (7I84 ch 0, 7I83 ch 1) | Ribbon or DB25 to an RS-422 breakout, then CAT5 to the 7I84 (ch 0) and the 7I83 (ch 1) | hm2_7i96s.0.7i84.1.0 · hm2_7i96s.0.7i83.1.1 |
| TB1 · step and direction (5 V differential) | |||
| TB1-2 to 5 | X driver644 steps/unit · velocity | 3 STEP0+ → PUL+ · 2 STEP0− → PUL− · 5 DIR0+ → DIR+ · 4 DIR0− → DIR− | stepgen.00 ← joint.0 · x-output, x-pos-fb, x-enable |
| TB1-1, 6 | GND and +5VP for channel 0 | Not used with differential wiring (available for single-ended wiring) | — |
| TB1-8 to 11 | Y driver-646 steps/unit · velocity | 9 STEP1+ → PUL+ · 8 STEP1− → PUL− · 11 DIR1+ → DIR+ · 10 DIR1− → DIR− | stepgen.01 ← joint.1 · y-output, y-pos-fb, y-enable |
| TB1-7, 12 | GND and +5VP for channel 1 | Not used with differential wiring (available for single-ended wiring) | — |
| TB1-14 to 17 | Z driver644 steps/unit · velocity | 15 STEP2+ → PUL+ · 14 STEP2− → PUL− · 17 DIR2+ → DIR+ · 16 DIR2− → DIR− | stepgen.02 ← joint.2 · z-output, z-pos-fb, z-enable |
| TB1-13, 18 | GND and +5VP for channel 2 | Not used with differential wiring (available for single-ended wiring) | — |
| TB1-20 to 23 | A driver4.444 steps/unit · velocity | 21 STEP3+ → PUL+ · 20 STEP3− → PUL− · 23 DIR3+ → DIR+ · 22 DIR3− → DIR− | stepgen.03 ← joint.3 · a-output, a-pos-fb, a-enable |
| TB1-19, 24 | GND and +5VP for channel 3 | Not used with differential wiring (available for single-ended wiring) | — |
| TB2 · step/dir 4, encoder, serial, analog | |||
| TB2-1 to 6 | STEP/DIR 4 | Free | num_stepgens=4 |
| TB2-7 · ENCA+ | Spindle encoder A+ | Encoder A+ | encoder-velocity-in ← velocity → scale.2 → scale.3 → pid.s.feedback, spindle.0.speed-in |
| TB2-8 · ENCA− | Spindle encoder A− | Encoder A− | encoder-velocity-in ← velocity → scale.2 → scale.3 → pid.s.feedback, spindle.0.speed-in |
| TB2-9 · GND | Spindle encoder 0 V | Encoder ground | encoder-velocity-in ← velocity → scale.2 → scale.3 → pid.s.feedback, spindle.0.speed-in |
| TB2-10 · ENCB+ | Spindle encoder B+ | Encoder B+ | encoder-velocity-in ← velocity → scale.2 → scale.3 → pid.s.feedback, spindle.0.speed-in |
| TB2-11 · ENCB− | Spindle encoder B− | Encoder B− | encoder-velocity-in ← velocity → scale.2 → scale.3 → pid.s.feedback, spindle.0.speed-in |
| TB2-12 · +5VP | Spindle encoder +5 V | Encoder +5 V supply | encoder-velocity-in ← velocity → scale.2 → scale.3 → pid.s.feedback, spindle.0.speed-in |
| TB2-13 to 15 | IDX+, IDX−, GND | Leave empty: the config doesn't use the index | — |
| TB2-16 to 20 | RS-422 serial (smart serial port 0) | Free: the smart-serial cards are on P1 | — |
| TB2-22 to 24 | Analog spindle output | Free | pwmgen loaded, not connected |
| TB3 · isolated I/O | |||
| TB3 inputs | IN0–10: free | — | not in any HAL file |
| TB3 outputs | OUT0–5: free (OUT0–3 DC SSR 36 V 2 A, OUT4–5 AC SSR 100 mA) | — | — |
How the 7I96S side behaves
Step and direction are 5 V
- Each STEP and DIR is a 5 V differential pair that can drive 24 mA. Wired as drawn, the + side goes to the driver's + input and the − side to its − input.
- The other way, which Mesa suggests for drives that need more current: PUL+ and DIR+ to +5VP, PUL− to STEP−, DIR− to DIR−.
- Drivers that ship set for 24 V signals need their selector moved to 5 V.
Encoder and isolated I/O
- The encoder takes 5 V from TB2-12 and returns to TB2-9. Jumpers W1–W3 choose differential (right) or single-ended TTL (left).
- IN0–10 are isolated inputs sharing IN COM (TB3-12), for either polarity of field supply.
- OUT0–3 are floating DC solid-state relays (36 V, 2 A); OUT4–5 are AC (100 mA). Each is a contact, not a voltage source.
Power and smart serial
- P4 takes 5 V only: pin 1 (top, square pad) is +5 V and pin 2 is ground. Any other voltage damages the card.
- The +5VP pins on TB1 and TB2 are 5 V outputs with resettable fuses (PTCs), for field wiring.
- Smart-serial port 0 is on TB2-16 to 19. Firmware with a second port puts it on P1, the 26-pin header, with channels 0–7 through an RS-422 breakout.
Check these before relying on it
- IP address jumpers. The config talks to 10.10.10.10. That needs W4 down and W5 up, so the card uses the address stored in its EEPROM. Both down gives 192.168.1.121; the EEPROM address is set with
mesaflash --set ip=…. - Driver signal voltage. STEP and DIR are 5 V differential. Many drivers (the CL57T and CL86T among them) ship set for 24 V signals: set their 5V/24V selector to 5 V or they can miss steps.
- Encoder mode. Jumpers W1–W3 must match the encoder: right for differential, left for single-ended TTL. With a single-ended encoder, wire only A+ and B+.
- P1 breakout power. W6 up sends 5 V out on DB25 pins 22–25 to power the breakout. Use it only with a Mesa breakout that expects it (for example a 7I44).
- Frame ground. Connect the top-left mounting hole, beside the Ethernet jack, to the machine's earth.
