Advanced Search

Search Results (Searched for: )

  • 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.

 
  • Finngineering
  • Finngineering
23 Feb 2025 10:30
Automatic naming of signals in HAL was created by Finngineering

Automatic naming of signals in HAL

Category: General LinuxCNC Questions

This is for discussion about a potential feature which would automatically name/identify signals in HAL. Right now, a signal name always have to be given with the net command. But I see no technical reason why that is the case. New signal names could be generated automatically if none is given. And if trying to connect to a pin which already have a signal connected, that could simply be detected and linked to the already existing signal.

Right now I am using some code like:
loadrt logic names=geartrain_slow_OR personality=0x203
addf geartrain_slow_OR servo-thread
net geartrain_reverse_OR_stage1 <= geartrain.stage1.search_reverse => geartrain_reverse_OR.in-00
net geartrain_reverse_OR_stage2 <= geartrain.stage2.search_reverse => geartrain_reverse_OR.in-01
net geartrain_reverse_OR_stage3 <= geartrain.stage3.search_reverse => geartrain_reverse_OR.in-02
net gearbox_search_slow => hm2_7i95.0.7i84.0.0.output-10 <= geartrain_slow_OR.or

I see very little additional value in the signal names geartrain_reverse_OR_stage1-3. It only clutters the "logic". And this clutter gets only worse the more complicated the logic is. Even the gearbox_search_slow provides little value. Instead, it could be like this:
loadrt logic names=geartrain_slow_OR personality=0x203
addf geartrain_slow_OR servo-thread
net geartrain.stage1.search_reverse => geartrain_reverse_OR.in-00
net geartrain.stage2.search_reverse => geartrain_reverse_OR.in-01
net geartrain.stage3.search_reverse => geartrain_reverse_OR.in-02
net geartrain_slow_OR.or => hm2_7i95.0.7i84.0.0.output-10
At least to my brain, the logic function is in this case easier to read. The net command could the automatically generate signal names where they are not provieded. For instance net_0001, net_0002, net_0003, net_0004 or similar. And if I want to use for instance geartrain.stage2.search_reverse for something else, the "net geartrain.stage2.search_reverse => hm2_7i95.0.7i84.0.0.output-03" command could automatically identify that the signal connected to the pin is named "net_0002" and just add to that same signal.

Similarly, if I want to for instance turn on a light when the spindle should be running, I could simply do "net spindle.0.on => hm2_7i95.0.7i84.0.0.output-01" instead of having to figure out where a signal was first connected to "spindle.0.on" and then use that signal name.

What are other peoples thoughts on this? I do think that giving meaningful names to signals is general good practice. But why force it in cases where "anonymous" signals would make more sense?
  • behai
  • behai
23 Feb 2025 10:09
Mesa 7I96S and Proximity Switches was created by behai

Mesa 7I96S and Proximity Switches

Category: Driver Boards

Hi,

I have spent a last few days to read a lot of forum posts related to this subject as well as general information on proximity switches. I still have my own questions, since this is completely new to me.

Please help me first with the following question. Page 14 of the Mesa 7I96S manual states:

[
For PNP type sensors or switches with a common positive, the input common pin is grounded and the sensor or switch applies a positive voltage to the input pin to activate the input.

For NPN type sensors or switches with a common ground, the input common is connected to +5 to +36V and the input pins are grounded to activate an input.
]



1. Is **the input common pin** in the two paragraphs above the pin marked in the diagram below?

2. And this pin can take 24V input?

I plan to use 24V NPN NO proximity switch. And I think I understand how to do the wiring.

I will have to seek further helps to check my wiring, too.

Thank you and best regards,

...behai.
  • Nserega.90
  • Nserega.90
23 Feb 2025 09:30 - 23 Feb 2025 09:33
Replied by Nserega.90 on topic Flexible GUI

Flexible GUI

Category: Flex GUI

John hi! After I transferred everything to *.qss. Everything worked! The only inconvenience is that the styles are not visible in QT Designer. Until you launch .ui via LCNC
  • OnkelKai77
  • OnkelKai77
23 Feb 2025 09:20

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

Category: Computers and Hardware

Hello!
I'm new here and registered here because of this topic. Is it possible to get the firmware for an ESP32-S3? Or do I have to change something so that I can flash the ESP32-S3? I still have two of the S3 here and would like to test them as CNC controllers.

Thank you very much

Kai
  • denhen89
  • denhen89's Avatar
23 Feb 2025 09:13

(LPT) Debian 12 Latency spikes/unexpected real time delay. Looking for solution.

Category: General LinuxCNC Questions

Yes, and after some testing on yesterday it seems to work.
I just need to solve a noise problems that exist only when the spindle is running. The VFD is plugged to a different plug in a other room, which is not the same "line" if i can say so, as the CNC router is connected to. If its connected to the same line as the cnc router, then as soon as the spindle starts the axis moves like crazy.
Currently it seems that the axis are getting some noise when other things like vacuum cleaner is running or when turning off, and then the axis moves slightly.

I am not sure if grounding the machine with a ground rod would help, but this is not a linux/linuxcnc related problem.

So, thanks for help guys. The Latency problem is solved and anyone who has similar problems should consider to use a pc with integrated Graphics card.
  • MaxEkb77
  • MaxEkb77's Avatar
23 Feb 2025 09:00
Replied by MaxEkb77 on topic global named parameter error

global named parameter error

Category: General LinuxCNC Questions

Thank you. working
  • Nserega.90
  • Nserega.90
23 Feb 2025 08:58
Replied by Nserega.90 on topic Flexible GUI

Flexible GUI

Category: Flex GUI

Thanks John! I'll try!
  • zz912
  • zz912's Avatar
23 Feb 2025 08:44
Replied by zz912 on topic LCNC 2.10 - Ask for AUTOMATIC_G43

LCNC 2.10 - Ask for AUTOMATIC_G43

Category: Gmoccapy

Hello,

I have made progress in defining the relative path.

For a RIP installation, the definition is as follows:
BIN = os.path.dirname(__file__)
dirsrc = os.path.abspath(os.path.join(BIN, "../configs/sim/gmoccapy"))

However, I don't know if I can use this absolute path for package installation:
/usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/
  • NT4Boy
  • NT4Boy
23 Feb 2025 08:15
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Thanks Tommy, Don't actually know the technology, but all the limit switches on the machine are the same, and magnetic.

Signal goes to an optical isolator and the output from that to the 7i77.

Have only just now noticed that the Upper switch is labelled +OT.. A likely start of my confusion.!

Now that I've actually managed to run the machine and draw that famous Linuxcnc outline with it on a piece of paper, I fear it less and know better what the configurator questions are really aimed at, I'm going to create a new build from scratch and check this out all over.
Displaying 16021 - 16035 out of 20840 results.
Time to create page: 0.346 seconds
Powered by Kunena Forum