Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
23 Feb 2025 15:03
Replied by PCW on topic Mesa 7I96S and Proximity Switches

Mesa 7I96S and Proximity Switches

Category: Driver Boards

Yes, 7I96/7I96S TB3 pin 12 is the input common.
Isolated inputs accept +-5 to +-36V signals relative to input common.

If you connect +24V to input common, the inputs will be activated
when grounded (connected to the 24V negative output) This
is the normal way to setup the input for NPN sensors
(or switches with a common ground)
  • Thayloreing
  • Thayloreing
23 Feb 2025 13:51
Replied by Thayloreing on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

Thank you so much for your help, your video helped a lot, I was able to flash on Stlink V2, but how do I install and use pyqcd, I didn't find anything that helped me, I could explain to me, or point someone who has already asked this question to see what He did1
  • dfarnainekl
  • dfarnainekl
23 Feb 2025 13:33

EtherCAT Closed-Loop Drive Options for Lathe

Category: EtherCAT

Hello,

I am new to the CNC world, and would like to convert my small-ish lathe to CNC.
I think motors with around 2Nm for Z and around 0.6Nm for X will be sufficient, based on some preliminary measurements. For X I am constrained to Nema 17 size to be able to integrate them well.
For I/O and the spindle encoder, I would like to use a Raspberrry Pi and Beckhoff EtherCAT terminals, which I have already gotten to work (thanks for all the great ressources on here!). I would also like to use EtherCAT-connected drives for the axis (and maybe later the spindle), though I am unsure, which path to take there.

Initially, I was looking at closed-loop stepper drivers such as the Rtelligent ECT60 or the Lichuan CL3-E57H , which close the loop on the driver. But then I also found the Beckhoff stepper terminals  EL7041 and  EL7047 , which would make integration quite elegant as I am already using other Beckhoff terminals. With these however, I am not quite sure if they support closing the loop on the driver. The EL7041 manual mentions some closed-loop control aspects (differing between the standard and the -1000 model), but I don't fully understand what it actually can and can't do. The EL7047 supports closed loop in conjunction with FOC, but it is officially only supported with Beckhoff motors and requires them to be unloaded on startup for referencing. I could not find out if non-FOC closed-loop operation similar to the ECT60 or CL3-E57H is possible as well.
What approach would you recommend here?

In general (e.g. if the Beckhoff drivers can only act as open loop drivers with encoder interfaces), is it advisable close the loop in LinuxCNC when using such an EtherCAT based setup without any FPGA for low level control?

Another option would be AC servo drives (probably the  Lichuan ones due to their comparable cost), at least for the Z axis as I haven't found a Nema 17 sized option that would fit X. These would probably provide better performance, but seem more complex to set up and tune.
What do you think about this alternative?

I am looking forward to your comments, and hope the questions are specific enough. Please let me know if any details are missing.

Best Regards
Daniel
  • zz912
  • zz912's Avatar
23 Feb 2025 13:24 - 23 Feb 2025 13:26
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43

LCNC 2.10 - Ask for AUTOMATIC_G43

Category: Gmoccapy

I think I found source of LINUXCNC_CONFIG_PATH:

github.com/LinuxCNC/linuxcnc/blob/ceb434...rc/configure.ac#L702
github.com/LinuxCNC/linuxcnc/blob/ceb434...rc/configure.ac#L724

But I don't know if it will help me in any way.

A friend advised me that it might help if I added the following to pncconf.py:
try:
    LINUXCNC_CONFIG_PATH = os.environ['LINUXCNC_CONFIG_PATH']
except KeyError:
    print("Ó kurwa, env variable 'LINUXCNC_CONFIG_PATH' is not set"
Unfortunately os.environ does not contain 'LINUXCNC_CONFIG_PATH'
  • Yaroslav
  • Yaroslav
23 Feb 2025 13:23 - 23 Feb 2025 13:25
Replied by Yaroslav on topic Macros. File not open

Macros. File not open

Category: Gmoccapy

  Copy only macros.
  • Reddiamonduk
  • Reddiamonduk
23 Feb 2025 13:20 - 23 Feb 2025 15:40

Spindle speed and jogging speed slider problems

Category: Gmoccapy

Hi, does anyone know how to change the speed sliders so that they stop when released on a touch screen. If I just move a small amount it's fine but if I hold too long they will keep going to the bottom or top of the scale before I can then go back slowly to the speed I want?

  • timo
  • timo
23 Feb 2025 13:17 - 23 Feb 2025 13:24

How to integrate manual spindle lock into Axis GUI?

Category: General LinuxCNC Questions

It worked with the USER_COMMAND_FILE = filename.py in the last line of the [DISPLAY] section.

I will try what happens if I move it to {RS274NGC]

With the USER_COMMAND_FILE = filename.py at the End of the [DISPLAY] section it works, when I put it in the [RS274NGC] section I cannot see a change.
In my ini file the [RS274NGC] comes after [DISPLAY] (no idea if the position is of relevance)

Greetings Timo 
 
  • EGR
  • EGR's Avatar
23 Feb 2025 12:53

Not all ports of my MESA boards are visible

Category: Basic Configuration

Dear Forum
Time to restart working on my cnc, but I'm facing problems, all my apologies in advance if answers are obvious but I missed them anyway
- Fresh clean install of LinuxCNC (2.9.4) with udpates/upgrades done
- a 6I24 connected to a 7I53 (adhoc bitfile)
- a 6I25 connected to a 7I76 and to a 7I74, itself connected to a 7I70 & 7i71 & 7I73
- both 6I's have PC power disabled and 7i53, 7i76 & 7i74 are powered with 5V
-7i76, 7i70 &  7i71 are also powered with 24V (common com), 7I73 not yet ready

Now with preliminary pncconf config to run linuxcnc, when I run readhmid on the 6i25 it seems that I'm missing some ports and I cannot connect them through pncconf: What am I missing ?

Thanks a lot
Emeric


sudo mesaflash --device 5i25 --readhmid :

Configuration Name: HOSTMOT2

General configuration information:

  BoardName : MESA5I25
  FPGA Size: 9 KGates
  FPGA Pins: 144
  Number of IO Ports: 2
  Width of one I/O port: 17
  Clock Low frequency: 33.3333 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: WatchDog
  There are 1 of WatchDog in configuration
  Version: 0
  Registers: 3
  BaseAddress: 0C00
  ClockFrequency: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

  Module: IOPort
  There are 2 of IOPort in configuration
  Version: 0
  Registers: 5
  BaseAddress: 1000
  ClockFrequency: 33.333 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: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

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

  Module: StepGen
  There are 5 of StepGen in configuration
  Version: 2
  Registers: 10
  BaseAddress: 2000
  ClockFrequency: 33.333 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: 33.333 MHz
  Register Stride: 256 bytes
  Instance Stride: 4 bytes

Configuration pin-out:

IO Connections for P3
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                      0   IOPort       StepGen          0        Dir/Table2      (Out)
14                      1   IOPort       StepGen          0        Step/Table1     (Out)
 2                      2   IOPort       StepGen          1        Dir/Table2      (Out)
15                      3   IOPort       StepGen          1        Step/Table1     (Out)
 3                      4   IOPort       StepGen          2        Dir/Table2      (Out)
16                      5   IOPort       StepGen          2        Step/Table1     (Out)
 4                      6   IOPort       StepGen          3        Dir/Table2      (Out)
17                      7   IOPort       StepGen          3        Step/Table1     (Out)
 5                      8   IOPort       StepGen          4        Dir/Table2      (Out)
 6                      9   IOPort       StepGen          4        Step/Table1     (Out)
 7                     10   IOPort       SSerial          0        TXData0         (Out)
 8                     11   IOPort       SSerial          0        RXData0         (In)
 9                     12   IOPort       SSerial          0        TXData1         (Out)
10                     13   IOPort       SSerial          0        RXData1         (In)
11                     14   IOPort       QCount           0        Quad-IDX        (In)
12                     15   IOPort       QCount           0        Quad-B          (In)
13                     16   IOPort       QCount           0        Quad-A          (In)

IO Connections for P2
DB25 pin#             I/O   Pri. func    Sec. func        Chan     Sec. Pin func   Sec. Pin Dir

 1                     17   IOPort       SSerial          1        RXData0         (In)
14                     18   IOPort       SSerial          1        RXData1         (In)
 2                     19   IOPort       SSerial          1        RXData2         (In)
15                     20   IOPort       SSerial          1        RXData3         (In)
 3                     21   IOPort       SSerial          1        TXData0         (Out)
16                     22   IOPort       SSerial          1        TXData1         (Out)
 4                     23   IOPort       SSerial          1        TXData2         (Out)
17                     24   IOPort       SSerial          1        TXData3         (Out)
 5                     25   IOPort       SSerial          1        RXData4         (In)
 6                     26   IOPort       SSerial          1        RXData5         (In)
 7                     27   IOPort       SSerial          1        RXData6         (In)
 8                     28   IOPort       SSerial          1        RXData7         (In)
 9                     29   IOPort       SSerial          1        TXData4         (Out)
10                     30   IOPort       SSerial          1        TXData5         (Out)
11                     31   IOPort       SSerial          1        TXData6         (Out)
12                     32   IOPort       SSerial          1        TXData7         (Out)
13                     33   IOPort       SSerial          1        TXEn7           (Out)




 
  • MaHa
  • MaHa
23 Feb 2025 12:01

How to integrate manual spindle lock into Axis GUI?

Category: General LinuxCNC Questions

The file, saved in the config folder of your machine, must have permission: executable. You can give a more descriptive name with ending py, preferable lowercase letters.
The entry in iniUSER_COMMAND_FILE = filename.py should be in [RS274NGC] section
 
  • timo
  • timo
23 Feb 2025 11:40 - 23 Feb 2025 13:14

How to integrate manual spindle lock into Axis GUI?

Category: General LinuxCNC Questions

Thanks for reply, I am still trying to figure out what the filename.py should do.

I made a file with the above content with the name filename.py

I added a line in the ini file.
USER_COMMAND_FILE = filename.py
DISPLAY = axis

That does not seem to do anything.

Not so easy The F2 key is switching off the entire machine, not what I was having in mind. :-)

If I put some lines in the filename.py I can create a text and I also can read the variable, but it seems that the function user_life_update() is never called. ... BUMMER! it is never called, because I typed user_live_update ...

Now this label info at least works, which is already half way there.

 
Displaying 18766 - 18775 out of 18775 results.
Time to create page: 0.381 seconds
Powered by Kunena Forum