Post-Editing Comparison: gemini-flash-latest
This is the text edited by gemini-flash-latest. The submitted document was Post-Editing Comparison: Submitted Document. Both runs were requested in the polite desu/masu style (--tone desu). The edited text has not been incorporated into the original page. [Trial]
- First run (original prompt): It took 97 seconds. There was one place where the meaning shifted: "入力のフィルタを残す" (keep the input filter) became "残しておくと安心です" (it is safer to keep it), weakening a decision into a recommendation.
- Second run (prompt with two added rules): It took 101 seconds. No shifts in meaning were found. "入力のフィルタを残します" (We keep the input filter) remained a definitive statement.
- The added rules were "Do not weaken decisions into recommendations" and "Do not add reasons or causal links not present in the original."
First Run (Original Prompt)
For control, we use LinuxCNC and a Mesa Ethernet card. The deciding factor was that rigid tapping (G33.1) is available. The candidate card is the 7I76EU (surveyed 2026-11). The values were gathered from manuals and sales pages, so we will verify the combination on the actual machine.
Control Software Comparison
| Item | LinuxCNC + Mesa | grblHAL |
|---|---|---|
| Rigid tapping | G33.1 available | No G33.1 in feature list |
| Canned drilling cycles | Available | G73, G81–G89 available |
| Required hardware | PC, display, Mesa | Board and sender PC |
Card Selection
| Item | 7I76EU (Candidate) | 7I96S (Runner-up) | 7I95T |
|---|---|---|---|
| Price, stock (2026-11-02) | US$219, in stock | US$149, in stock | US$249, out of stock |
| FPGA | T20F256C4 | Same | Same |
| Differential step | 5 channels | 5 channels | 6 channels |
| Spindle encoder (differential, with index) | 1 channel | 1 channel | 6 channels, default 3 MHz with multiplexing |
| Isolated inputs | 32 | 11 | 24 |
| Isolated outputs | 16 (500 mA, with short-circuit protection) | 6 (2 A × 4, 100 mA × 2, no protection) | 6 (2 A) |
| Analog spindle | Available (isolated) | Available (isolated) | None |
| RS-422 | 1 channel (remains free) | 1 channel (occupied by I/O expansion) | 2 channels |
- Spindle-related performance is the same between the 7I76EU and 7I96S. The only difference is the number of I/O points.
- This machine requires 11 or more inputs, so the 7I96S would be maxed out from day one. The 7I84U expansion card (US$79) is out of stock, and adding it makes it more expensive than the 7I76EU.
- Looking at newer cards, nothing was found that would change this decision. The "T" in the name indicates an updated version of an existing card, not a higher generation.
- The 7I96S is suitable if you want to use 2 A outputs directly. However, the 500 mA output of the 7I76EU is expected to be sufficient for solenoid valves and the brake (0.18 A).
Notes on the 7I76EU
- LinuxCNC 2.9.3 or higher is required. A newer version of mesaflash is also used. There are reports of versions where PnCConf is not supported, so we assume the configuration files will need to be edited by hand.
- To maintain isolation, keep the 24 V and logic power supplies separate (sharing them eliminates the isolation).
- What is isolated are the general-purpose I/O and the analog spindle; step, direction, encoder, and RS-422 are designed to withstand noise differentially. Near a welding machine, chassis grounding of the board and shielding are important.
- The inputs are sinking only. Therefore, NPN sensors require pull-up resistors (2.2 kΩ).
- The board dimensions are unverified. We will verify them before deciding on the enclosure layout.
Spindle Command
- First plan: Drive the A6 servo via step/dir. Dual ±10 V supplies are not needed, and the issue of the analog output pinning on startup does not occur.
- LinuxCNC's stepgen is used in velocity mode. When orienting, switch to the PID output using a mux.
- Actual rotation is read by the card's encoder input after dividing the servo's A/B outputs. Setting it to 1250 lines gives 500 kHz at 6000 rpm. Near a welding machine, do not get greedy with the line count; it is safer to leave the input filter on.
- For the index, we add a 1-pulse-per-revolution sensor to the spindle. With a 2:1 ratio, the servo's Z pulse occurs twice per spindle revolution. The combination of A/B from the servo and Z from a spindle sensor is recommended by Mesa engineers on the LinuxCNC forum, and there are working examples (7I76 + 7I83, 1:1.8 reduction, M3–M6). Feed the signal into a 5 V circuit.
- There are reports that stopping pulses abruptly caused the machine to shake and resulted in overvoltage errors. Therefore, set the stepgen acceleration and test this first together with the A6's regenerative resistor.
- Set the servo torque limit to approximately 6 N·m. This is to prevent momentary belt forces from exceeding the allowable shaft load (Purchased Parts Specifications and Dimensions).
- Unverified: No direct reports were found of successful rigid tapping with a servo spindle using the combination of 7I76EU, 7I96S, and A6-RS. Reports exist for the older 7I76 family, and since the spindle features share the same specifications, it is expected to work. It is safer to ask on the LinuxCNC forum before ordering.
- How to use G33.1, signal wiring, holders, and setup procedures are compiled in How to Use Rigid Tapping.
I/O
| Input | Points |
|---|---|
| Limits, home (separate left and right for X) | 4 |
| Emergency stop | 1 |
| Clamp detection, unclamp detection | 2 |
| Air pressure | 1 |
| Servo alarm, orientation complete | 2 |
| Tool length probe | 1 |
| Spindle 1-pulse sensor is separate (encoder Z) | |
| Total | 11 points. With the 7I76EU, 21 points remain. |
The outputs are servo enable, tool release solenoid valve, air blow, orientation command, and coolant, for a total of 5 points. Driver alarms, rack sensors, and operation buttons can be added using the spares.
Power Supply and Safety
- The power supply is single-phase 200 V. According to the manual, the A6-1000RS requires an input of 9.6 A, a 20 A fuse, a 16 A circuit breaker, and a 12 A contactor.
- For the earth leakage circuit breaker, the manual specifies a Type B breaker with a sensitivity of 100 mA or higher. We will check this with a licensed electrician. We will place a dedicated branch circuit breaker just before the machine.
- Ensure reliable grounding. This forms the foundation for servo leakage current and noise countermeasures.
- Since it will be used near a welding machine, install a noise filter, keep the signal lines separate, and shield them. Also, do not weld on workpieces clamped in the machine. There is a risk that welding current could flow through the bearings or encoders.
- For the emergency stop, we primarily use a contactor to physically shut off power. The circuit is not designed yet.
Future Ideas
There is also an idea to make the human-written layer use custom commands and convert them to G-code. This is suited for repetitive operations like hole patterns, pilot holes, and tapping. We will decide on this after the machine is completed.
Second Attempt (Instructions with Two Added Rules)
For control, we use LinuxCNC and a Mesa Ethernet card. The deciding factor was that rigid tapping (G33.1) is available. Our candidate card is the 7I76EU (surveyed in 2026-11). Values are read from manuals and sales pages, and we will verify the combination on the actual machine.
Comparison of Control Software
| Item | LinuxCNC + Mesa | grblHAL |
|---|---|---|
| Rigid tapping | G33.1 supported | No G33.1 in feature list |
| Canned drilling cycles | Supported | G73, G81 to G89 supported |
| Required equipment | PC, monitor, Mesa | Board and sending PC |
Card Selection
| Item | 7I76EU (Candidate) | 7I96S (Runner-up) | 7I95T |
|---|---|---|---|
| Price, stock (2026-11-02) | US$219, in stock | US$149, in stock | US$249, out of stock |
| FPGA | T20F256C4 | Same | Same |
| Differential step | 5 channels | 5 channels | 6 channels |
| Spindle encoder (differential, with index) | 1 channel | 1 channel | 6 channels, 3 MHz default multiplexed |
| Isolated inputs | 32 | 11 | 24 |
| Isolated outputs | 16 (500 mA, short-circuit protected) | 6 (2 A x 4, 100 mA x 2, unprotected) | 6 (2 A) |
| Analog spindle | Available (isolated) | Available (isolated) | None |
| RS-422 | 1 channel (free) | 1 channel (used up by I/O expansion) | 2 channels |
- Spindle-related performance is identical between the 7I76EU and 7I96S. The only difference is the I/O point count.
- Because this machine requires at least 11 inputs, the 7I96S would be completely full on day one. The 7I84U expansion card (US$79) is out of stock, and adding it would cost more than the 7I76EU.
- We found no new cards that would change our decision. The "T" in the name indicates an improved version of an existing card, not a higher generation.
- If you want to drive 2 A outputs directly, the 7I96S is a good fit. However, the 7I76EU's 500 mA output is expected to be sufficient for the solenoid valves and the brake (0.18 A).
Points to Note for the 7I76EU
- LinuxCNC 2.9.3 or higher is required. Use a newer version of mesaflash as well. Since there are reports of PnCConf versions that do not support it, we assume we will edit the configuration files by hand.
- To maintain isolation, keep the 24 V power supply separate from the logic-side power supply (sharing them eliminates isolation).
- Isolation applies to general-purpose I/O and the analog spindle; step, direction, encoder, and RS-422 are designed to withstand noise via differential signals. Near a welding machine, chassis grounding of the board and shielding become critical.
- Inputs are sinking type only. NPN sensors require a pull-up resistor (2.2 kΩ).
- Board dimensions are unverified. We will confirm them before laying out the electrical cabinet.
Spindle Commands
- Primary plan: Drive the A6 servo via step/direction. This avoids needing a ±10 V dual power supply and eliminates the issue where the analog output sticks at startup.
- LinuxCNC's stepgen is used in velocity mode. Orienting switches to the PID output using a mux.
- Actual rotation is read by dividing the servo's A/B output and feeding it into the card's encoder input. Setting it to 1250 lines yields 500 kHz at 6000 rpm. Near a welding machine, do not get greedy with the line count, and leave the input filter active.
- Add a 1-pulse-per-revolution sensor to the spindle for the index. At a 2:1 ratio, the servo's Z pulse occurs twice per spindle revolution. Combining A/B from the servo and Z from a spindle sensor is recommended by Mesa engineers on the LinuxCNC forum, and real-world examples exist (7I76 + 7I83, 1:1.8 reduction, M3 to M6). Supply the signal using a 5 V system.
- There are reports that stopping pulses abruptly caused the machine to shake and resulted in overvoltage errors. Set the stepgen acceleration, and test this first along with the A6's regenerative resistor.
- Set the servo's torque limit to approximately 6 N·m. This prevents instantaneous belt force from exceeding the shaft's allowable load (Purchased Part Specifications and Dimensions).
- Unverified: We found no direct reports of successfully rigid tapping with a servo spindle using the combination of 7I76EU, 7I96S, and A6-RS. There are reports with the older 7I76 family, and since spindle functions have the same specifications, it is expected to work. Asking on the LinuxCNC forum before ordering is effective.
- How to use G33.1, signal wiring, holders, and bring-up procedures are compiled in How to Use Rigid Tapping.
I/O
| Input | Points |
|---|---|
| Limit, home (X separated into left and right) | 4 |
| Emergency stop | 1 |
| Clamp detection, unclamp detection | 2 |
| Air pressure | 1 |
| Servo alarm, orient complete | 2 |
| Tool length probe | 1 |
| Spindle 1-pulse sensor is separate (encoder Z) | |
| Total | 11 points. With the 7I76EU, 21 points remain. |
Outputs use 5 points: servo enable, tool release solenoid valve, air blow, orient command, and coolant. Driver alarms, rack sensors, and operation buttons can be added using the spares.
Power Supply and Safety
- The power supply is single-phase 200 V. According to the manual, the A6-1000RS requires an input of 9.6 A, a 20 A fuse, a 16 A breaker, and a 12 A contactor.
- The manual specifies a Type B earth leakage circuit breaker with a sensitivity of 100 mA or higher. We will check this with a licensed electrician. We will place a dedicated branch breaker upstream of the machine.
- Be sure to ground the machine reliably. This is the foundation for handling servo leakage current and electrical noise.
- Since it will be used near a welding machine, we will add a noise filter, keep signal lines separate, and use shielding. Do not weld on workpieces mounted to the machine, as welding current could flow through the bearings or encoders.
- For the emergency stop, physical disconnection via a contactor will be the main method. We have not designed the circuit yet.
Future ideas
There is an idea to write custom commands for the layer written by humans and convert them into G-code. This is well-suited for repetitive tasks like hole patterns, pilot holes, and tapping. We will decide on this after the machine is completed.
QR code for this page
https://robo100.jp/en/000029
No comments yet.