Advanced Search

Search Results (Searched for: )

  • scsmith1451
  • scsmith1451's Avatar
04 Jul 2025 12:02

MESA 7i76U inputs changing state without changes to config

Category: Basic Configuration

Thank you to everyone. I've finally got the EStop to work correctly, though I don't understand why. Apparently, it works opposite of the limit switches in that there must be a high signal on the pin at startup and EStop is triggered when the switch is opened. Regardless, I can now home and run as expected.
  • dubstar_04
  • dubstar_04's Avatar
04 Jul 2025 12:01 - 06 Jul 2025 09:35
[Solved] Mesa 7i96 Spindle PWM was created by dubstar_04

[Solved] Mesa 7i96 Spindle PWM

Category: Driver Boards

I'm converting a lathe to run LinuxCNC, everything is working but the spindle.

I have flashed firmware: 7i96d_1pwm

Mesa flash output:
mesaflash --device 7i96 --addr 10.10.10.10 --readhmid

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA7I96
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 3
  Width of one I/O port: 17
  Clock Low frequency: 100.0000 MHz
  Clock High frequency: 200.0000 MHz
  IDROM Type: 3
  Instance Stride 0: 4
  Instance Stride 1: 64
  Register Stride 0: 256
  Register Stride 1: 256

Modules in configuration:

  Module: DPLL
  There are 1 of DPLL in configuration
  Version: 0
  Registers: 7
  BaseAddress: 7000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 3 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: PWM
  There are 1 of PWM in configuration
  Version: 0
  Registers: 5
  BaseAddress: 4100
  ClockFrequency: 200.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: StepGen
  There are 4 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: QCount
  There are 1 of QCount in configuration
  Version: 2
  Registers: 5
  BaseAddress: 3000
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: SSerial
  There are 1 of SSerial in configuration
  Version: 0
  Registers: 6
  BaseAddress: 5B00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 64 bytes

  Module: SSR
  There are 1 of SSR in configuration
  Version: 0
  Registers: 2
  BaseAddress: 7D00
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: LED
  There are 1 of LED in configuration
  Version: 0
  Registers: 1
  BaseAddress: 0200
  ClockFrequency: 100.000 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for TB3 -> 7I96_0
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB3-1                   0   IOPort       None           
TB3-2                   1   IOPort       None           
TB3-3                   2   IOPort       None           
TB3-4                   3   IOPort       None           
TB3-5                   4   IOPort       None           
TB3-6                   5   IOPort       None           
TB3-7                   6   IOPort       None           
TB3-8                   7   IOPort       None           
TB3-9                   8   IOPort       None           
TB3-10                  9   IOPort       None           
TB3-11                 10   IOPort       None           
TB3-13,14              11   IOPort       SSR              0        Out-00          (Out)
TB3-15,16              12   IOPort       SSR              0        Out-01          (Out)
TB3-17,18              13   IOPort       SSR              0        Out-02          (Out)
TB3-19,20              14   IOPort       SSR              0        Out-03          (Out)
TB3-21,22              15   IOPort       SSR              0        Out-04          (Out)
TB3-23,24              16   IOPort       SSR              0        Out-05          (Out)

IO Connections for TB1/TB2 -> 7I96_1
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

TB1-2,3                17   IOPort       StepGen          0        Step/Table1     (Out)
TB1-4,5                18   IOPort       StepGen          0        Dir/Table2      (Out)
TB1-8,9                19   IOPort       StepGen          1        Step/Table1     (Out)
TB1-10,11              20   IOPort       StepGen          1        Dir/Table2      (Out)
TB1-14,15              21   IOPort       StepGen          2        Step/Table1     (Out)
TB1-16,17              22   IOPort       StepGen          2        Dir/Table2      (Out)
TB1-20,21              23   IOPort       StepGen          3        Step/Table1     (Out)
TB1-22,23              24   IOPort       StepGen          3        Dir/Table2      (Out)
TB2-2,3                25   IOPort       PWM              0        PWM             (Out)
TB2-4,5                26   IOPort       PWM              0        Dir             (Out)
TB2-7,8                27   IOPort       QCount           0        Quad-A          (In)
TB2-10,11              28   IOPort       QCount           0        Quad-B          (In)
TB2-13,14              29   IOPort       QCount           0        Quad-IDX        (In)
TB2-16,17              30   IOPort       SSerial          0        RXData0         (In)
TB2-18,19              31   IOPort       SSerial          0        TXData0         (Out)
Internal-TXEn          32   IOPort       SSerial          0        TXEn0           (Out)
Internal               33   IOPort       SSR              0        AC Ref          (Out)

IO Connections for P1 -> 7I96_2
Pin#                  I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

P1-01/DB25-01          34   IOPort       None           
P1-02/DB25-14          35   IOPort       None           
P1-03/DB25-02          36   IOPort       None           
P1-04/DB25-15          37   IOPort       None           
P1-05/DB25-03          38   IOPort       None           
P1-06/DB25-16          39   IOPort       None           
P1-07/DB25-04          40   IOPort       None           
P1-08/DB25-17          41   IOPort       None           
P1-09/DB25-05          42   IOPort       None           
P1-11/DB25-06          43   IOPort       None           
P1-13/DB25-07          44   IOPort       None           
P1-15/DB25-08          45   IOPort       None           
P1-17/DB25-09          46   IOPort       None           
P1-19/DB25-10          47   IOPort       None           
P1-21/DB25-11          48   IOPort       None           
P1-23/DB25-12          49   IOPort       None           
P1-25/DB25-13          50   IOPort       None          



Connections:
Pin TB2-1 -> GND
Pin TB2-3 > PWM+

I'm not getting anything out of pwm to analog boards. I have tried 5 different convertor boards with the same result. Before I invest in a scope or a new mesa board can anyone spot anything wrong with the config?

Thank you,
Dan
  • Happppppppy
  • Happppppppy
04 Jul 2025 12:00

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Hi Meister,

I have setup a board file and config for the Terasic DECA max10 board and connected a W5500 module but it isn't showing up with the correct ip address.

I can confirm that the board is flashing (I'm using the quarts programmer to flash) as the LEDs change when I add or remove a bitout plugin.

The SPI clock and chip select looks right and signals are showing up on my scope on both mosi and miso lines (I don't have a digital decoder so can't interrogate the codes themselves).

The w5500 is showing up as a network device with what seems to be 5 default addresses (when I use arp -a in CMD)

Any thoughts on why the W5500 isn't configuring with the 192.168.10.194 address? I can share my board and config files and the compile output if that helps.

Thankyou!
  • kworm
  • kworm
04 Jul 2025 11:54
Replied by kworm on topic Retrofit - LinuxCNC + EtherCAT

Retrofit - LinuxCNC + EtherCAT

Category: EtherCAT

I think Beckhoff and Rexroth have a distributed Ethercat drive system where the drive is built into the servo and there is only one power and data cable.  I've never used them and I'm sure they are pricey.  If you use quality cabling I don't think the length will be a problem.   You could also mount an EK1100 on the carriage and/or the far end to locally terminate signals to Ethercat vs running them individually back.

I would suggest connecting the limit switches and linear scales directly to the servo drive...I think you will get the best closed-loop performance by letting the drive handle it all.  If you are going to all this trouble I would also be sure and get absolute encoders so you don't have to deal with homing on this large a machine.
  • miniwini
  • miniwini's Avatar
04 Jul 2025 10:27
Replied by miniwini on topic Spindle config EtherCAT

Spindle config EtherCAT

Category: EtherCAT

Hey Eduard,
Thanks for all the effort... do you mind sharing your configfiles? xml and hal?

this would be great!

Thank you

Cheers Einar
  • pippin88
  • pippin88
04 Jul 2025 09:45

WEMAS MT 32 CNC Lathe -> LinuxCNC - Mesa or EtherCAT?

Category: Turning

Awesome!

What are those magic display buttons? Link?
  • vformi
  • vformi
04 Jul 2025 09:35
Replied by vformi on topic Retrofit - LinuxCNC + EtherCAT

Retrofit - LinuxCNC + EtherCAT

Category: EtherCAT

I’ve mainly worked on much smaller machines, so on a lathe this size, I’m not sure whether the long motor/encoder cables would become an issue. If it's okay to leave the drives in a central cabinet and just rely on good shielding and routing, I’m happy to do the same—this is more of a concern than a hard opinion.

EtherCAT still appeals because it lets me pull extra data from every drive (load torque, temperatures, alarms, second encoders), and keeps future expansions simple.
  • pippin88
  • pippin88
04 Jul 2025 09:29
Replied by pippin88 on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

Suggestion / request:
Overrides
When starting a program running (cycle start): user is prompted that an override (rapid, feed, or spindle) and asked whether they want to continue with override, or want to reset to 100%

(I make the mistake of setting an override and then moving onto a new program and hitting start, forgetting about the override)
  • pippin88
  • pippin88
04 Jul 2025 09:23
Replied by pippin88 on topic Retrofit - LinuxCNC + EtherCAT

Retrofit - LinuxCNC + EtherCAT

Category: EtherCAT

Vast majority of servo / servo drives have "normal" cabling between the servo and the servo drive.

Don't see any difference due to ethercat just because one axis is 7m long?

(I'm a fan of ethercat and think it is the way forward. So neat just plugging servo drive into linuxcnc with single ethernet cable and getting.servo drives status / encoder position etc)
  • vformi
  • vformi
04 Jul 2025 09:04
Replied by vformi on topic Retrofit - LinuxCNC + EtherCAT

Retrofit - LinuxCNC + EtherCAT

Category: EtherCAT

Thanks for catching that: the machine is X + Z plus a spindle.

There’s no VFD at all—this is still a fully manual lathe with a star-delta spindle and gearbox.

I picked EtherCAT mainly because the bed is 7 m long and I don’t want voltage drop or noise on long analogue/encoder runs. One Cat-5e solves the length and loss issues.
  • HansU
  • HansU's Avatar
04 Jul 2025 05:46
Replied by HansU on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

Would it be possible to add a confirmation dialog box prompting the user before initiating another homing cycle .


You mean when the machine is already homed?

When I run the program and want to pause it midway through the G-code execution to clean the machine from chips, it doesn't allow me to manually move the axis.
I believe the program should allow pausing, during which I should be able to manually move or return the axis. When I choose to resume the program, the machine should automatically return to the position it was in before the pause and continue execution from that point.

Also, if I stop the spindle and start it again, the speed is much lower than before.


That is not part of the GUI and not supported yet. For that you need to switch the mode and that would stop the program execution. It would be also a bit complicated, remember if you are in the middle of an arc or just in the middle of a line. etc...

But the spindle should resume at the same speed. Can you give an exmple to reproduce that?


When you're in the G-code editor, it's possible to start the program execution, but if you exit the editor, the program stops .


A bit unusual use case though, but I agree that should not abort the program.
  • newbynobi
  • newbynobi's Avatar
04 Jul 2025 05:38
Replied by newbynobi on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

@besriworld

Many users asked already for the option to move the machine during pause. That feature must be implemented deep into LinuxCNC IMHO motion control, but not in the GUI part.

It might be possible to make a custom code and put that in between forward and backward kinematics to move i.e. the Z axis.

Norbert 
  • vre
  • vre
04 Jul 2025 03:17 - 04 Jul 2025 03:21

Using Mesa 7i95T for laser + galvo (xy2-100) control

Category: Driver Boards

It is not supported yet.. is not the same thing raster engraving that has constant speed synchronized with accurate laser pulses.
In base thread yes supported but not in servo thread with mesa 
  • unknown
  • unknown
04 Jul 2025 02:07

Recommended New Install of LinuxCNC coming from EMC2 and Ubuntu 10.4

Category: Installing LinuxCNC

If you can modify the ini file you can modify the port address in the ini file.
Usually with any errors starting, the error log and ini & hal files are posted by he user.
  • dunnitagain
  • dunnitagain
04 Jul 2025 01:54

Recommended New Install of LinuxCNC coming from EMC2 and Ubuntu 10.4

Category: Installing LinuxCNC

It started when i was editing the .ini for a homing issue. After the restart , EMC2 would always terminate with an error. Somehow it modified the port address , from what i can figure. but with the system password unknown . I cant edit the port address.
Displaying 12151 - 12165 out of 17752 results.
Time to create page: 0.320 seconds
Powered by Kunena Forum