Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
08 Jun 2025 10:07
Replied by Aciera on topic CNC lathe to grinder.

CNC lathe to grinder.

Category: Basic Configuration

You have set your limits to:
MIN_LIMIT = -30.0
MAX_LIMIT = 0.25

Try inverting your limits in [AXIS_Z] and [JOINT_1] sections:
MIN_LIMIT = -0.25
MAX_LIMIT =  30.0
  • jg
  • jg
08 Jun 2025 07:31 - 08 Jun 2025 07:38

Mesa 7i92T - compiling firmware

Category: Driver Boards

Afternoon,
I'm having a bit of trouble compiling a custom firmware for a new 7i92TF. What I'm after is a config for a G540 on P1 and a Mesa 7i76U on P2 (or vice versa really, not fussed). I have been attempting to build a custom firmware that fits this config, but cannot get the Field I/O via SmartSerial to resolve correctly.

Where I'm at:
  1. Have the latest source+fimware from Mesa (www.mesanet.com/software/parallel/7i92t.zip)
  2. 7i92T connected to a machine w/ new install of LinuxCNC (2.9.4 + all apt updates),
     - 7i76U on P2, +5v from the parent card and 12v applied to the field power.
     - mesaflash connects to 7i92T, write the supplied 7i92t_7i76x2d.bin firmware and reload
     - get the SmartSerial info w/ mesaflash ... --sserial, finds the 7i76: ...7I76 GPIO+SPINDLE (unit 0x1000E070)..
     - check w/ hal: can load the hostmot2 driver, connect to the 7i92T, ss finds 7i76, test I/O, can detect inputs high/low
     - hardware thus seems to be ok, and behaving as expected using the prebuilt firmware.
  3.  Running Efinity v2021.2.323.4.6 on WSL Ubuntu 24.04 (this appears to be the version the seveni92t project was last compiled in, have also tried the latest Efinity version w/ same outcome)
  4. Using the source from 7i92t-hm2/seveni92t.xml
     - uncomment line 114 of TopEthernet16HostMot2_efx.vhd (appears to be the top file for the project?)
        114: use work.PIN_7I76X2D_34.all; -- seed 5
     - comment line 110
       110: --use work.PIN_MX3660X2D_34.all; --seed 4
     - clean build, creates a valid binary file
     - this is the minimum reproducible, tried much fiddling with the source working back to here.
  5. Flash new bin to the 7i92T and run same tests, no SS/Field IO
Output of --sserial query:
SSLBP port 0:
  SSLBP Version: 1.43
  SSLBP Channels: 4
  SSLBP Baud Rate: 2500000

halrun:

[code]...
halcmd: loadrt hm2_eth board_ip="192.168.1.121" config="sserial_port_0=0x1000E070"
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 192.168.1.121: INFO: Hardware address (MAC): 00:60:1b:11:84:5f
hm2_eth: discovered 7I92T
hm2/hm2_7i92.0: Low Level init 0.15
hm2/hm2_7i92.0: Smart Serial Firmware Version 43
hm2/hm2_7i92.0: 34 I/O Pins used:
hm2/hm2_7i92.0:     IO Pin 000 (P2-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 001 (P2-14): StepGen #0, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 002 (P2-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 003 (P2-15): StepGen #1, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 004 (P2-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 005 (P2-16): StepGen #2, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 006 (P2-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 007 (P2-17): StepGen #3, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 008 (P2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i92.0:     IO Pin 009 (P2-06): StepGen #4, pin Step (Output)
hm2/hm2_7i92.0:     IO Pin 010 (P2-07): IOPort
hm2/hm2_7i92.0:     IO Pin 011 (P2-08): IOPort
hm2/hm2_7i92.0:     IO Pin 012 (P2-09): IOPort
hm2/hm2_7i92.0:     IO Pin 013 (P2-10): IOPort
hm2/hm2_7i92.0:     IO Pin 014 (P2-11): Encoder #0, pin Index (Input)
hm2/hm2_7i92.0:     IO Pin 015 (P2-12): Encoder #0, pin B (Input)
hm2/hm2_7i92.0:     IO Pin 016 (P2-13): Encoder #0, pin A (Input)
...

Dumping the hmid, the outputs (for factory firmware and the freshly compiled) are identical with the exception of line 11:
Clock High frequency: 175.0000 MHz on the new firmware and
Clock High frequency: 180.0000 MHz on the supplied.

I also note that comparing a hex dump of the two bin files shows significant differences, but I'm not familiar enough with the toolchains involved to know if building on different environments should lead to variance in output.

Any suggestions appreciated. Cheers.
  • beauxnez
  • beauxnez
08 Jun 2025 06:58 - 08 Jun 2025 07:00

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

I think it is not the right version the ip address is 192.168.96.54 and the linuxcnc config file there is an error
Displaying 15346 - 15348 out of 15348 results.
Time to create page: 0.480 seconds
Powered by Kunena Forum