Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
01 Oct 2025 17:21
Replied by PCW on topic My MESA 7i95T wiring

My MESA 7i95T wiring

Category: Driver Boards

You can use a fast encoder for a MPG but one disadvantage of this is that fast encoders do not
support 1X mode, so if you want 1 increment of motion per MPG click you need to use the MPG encoders
  • alexandrap
  • alexandrap
01 Oct 2025 16:42 - 01 Oct 2025 17:00
Replied by alexandrap on topic My MESA 7i95T wiring

My MESA 7i95T wiring

Category: Driver Boards

langdons: It's an old PC from a sale for 10 euro - I don't know the type

PCW:
yes, inputs common is 5V GND ( TB4 / pin 7 GND  - is Stepmotor GND = power GND) - is sinking inputs

MPG wheel signal output are connected to ENCODER 4 (TB 2 / IN 9-13) and is configured in PNCONFG as MULTIHAND Wheel (foto) 

7i95T board has 6 fast (10 MHz) encoders, and 4 slowly encoders (TB6 / IN 0-7) which I left free.
I don't know if it can work like this, or if I have to connect the MPG wheel to the TB6 / (IN0/IN1,IN2/IN3,IN4/IN5.IN6,IN7)
  • royka
  • royka
01 Oct 2025 15:56
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?

Can the OPI5 be Configured to Run LCNC?

Category: Computers and Hardware

Hi, Here you can find a few rt-kernels:
drive.google.com/drive/folders/1JglCIPKv...roZcjOvr?usp=sharing

With the 6.1.115 kernel I'm still experimenting a bit to get full gpu acceleration, I think the 6.1.75 is a more safe choice. Then find/create an image from Armbian for example, install the kernel and the dtb of the same kernel version. Check /boot if the symlinks are correct, sometimes when it creates a new initramfs creates a link to the older version, so better to delete or move the other kernel versions to a another place.

With Armbian: when you choose for an image with Debian it's more easy to install LinuxCNC but you probably won't have VPU acceleration (1080p/1440p still works fine though)
With Ubuntu it's more easy to have VPU acceleration, but you'll have to compile LinuxCNC yourself (there's a manual).
With the mainline kernel you should expect that not everything works yet.

So make your choice, find download an image that fits to the kernel you want (Vendor 5.x or 6.x) or mainline. Install the kernel and dtb if it's not exact the same version.

For better latency values isolate the last core (isolcpus=7). With Armbian edit the extraargs line to add the kernel parameter:
sudo nano /boot/armbianEnv.txt
extraargs=cma=256M isolcpus=7
ctrl+x and press y following an enter to save.

In Debian to install linuxcnc:
sudo apt update; sudo apt install linuxcnc-uspace
  • ts
  • ts
01 Oct 2025 15:18 - 01 Oct 2025 15:19
12m metall bar puncher press was created by ts

12m metall bar puncher press

Category: CNC Machines

Hi all
i want to understand is it possible to do machine on linuxcnc as main controller, which will do next things:
Operator put bar of 1.5mm*40mm coper into machine. On received signal ready from button, and going to gcode commands like g01x100 moving bar. After on the command M10 do punch of O-shape hole, next moving to next point g01x250, next triangle punch hole -  M11. Next g01x400, and command M20 cut a piece. 
my question is -
1. somebody already try this king of production?
2. How to do cyclic feeding in long gcode, i mean that i have not the same lengths and different punch map on each bar, i have program for example on 10 bars for repeating.
3. How cnc receive command to return x axis back to zero and let user to put new bat in?
4. What is the maximum length of axis? For example if i will use reel , not bar.
5. I will glad to read some ideas and additional questions about topic)

BR
Alexander
  • PCW
  • PCW's Avatar
01 Oct 2025 15:00
Replied by PCW on topic My MESA 7i95T wiring

My MESA 7i95T wiring

Category: Driver Boards

If the MPG common is +5V, you will need to wire the 7I95T input commons to 5V GND
Also I did not see the actual MPG encoder pins connected. These would need to connect
to 7I95T inputs that support the MPG encoder feature (IN0/IN1,IN2/IN3,IN4/IN5.IN6,IN7)

If you did not want to tie up so many isolated inputs on the 7I95T, another possibility would
be to use the P1 expansion for the MPG (with firmware that supports MPG encoders on P1)
  • andypugh
  • andypugh's Avatar
01 Oct 2025 14:56
Replied by andypugh on topic Reading data from var file using Python

Reading data from var file using Python

Category: O Codes (subroutines) and NGCGUI

I have looked into this in the past, and concluded that it's not particularly easy.
forum.linuxcnc.org/pathpilot/45260-passi...ode-to-python#236301

In your case the answer probably is to send the probed points out of G-code on HAL pins into a python routine that is monitoring them.

For a small set of values you could use one pin per value, for a larger number maybe one pin to send the value and another to indicate which parameter it corresponds to.

linuxcnc.org/docs/stable/html/gcode/m-code.html#mcode:m68
  • tommylight
  • tommylight's Avatar
01 Oct 2025 13:59
Replied by tommylight on topic New Install of LCNC,Debian12 dumping core

New Install of LCNC,Debian12 dumping core

Category: General LinuxCNC Questions

What PC?
Are you using a parallel port?
If yes, did you type a ROOT password during installation? This is not good as you have to reinstall and skip the root password.
And reboot the PC when you see this is the error report:
Waiting for other session to finish exiting...lockfile still not removed
Waited 3 seconds for master.  giving up.
  • alexandrap
  • alexandrap
01 Oct 2025 13:28
Replied by alexandrap on topic My MESA 7i95T wiring

My MESA 7i95T wiring

Category: Driver Boards

       

File Attachment:

File Name: XYZ.hal
File Size:17 KB
  • alexandrap
  • alexandrap
01 Oct 2025 13:22 - 01 Oct 2025 13:31
Replied by alexandrap on topic My MESA 7i95T wiring

My MESA 7i95T wiring

Category: Driver Boards

Could someone help me, please?
I'm solving the MPG configuration in PNCONFG.
On the TB5 connector are the MPG switch inputs:

IN16 - X-axis switch
IN17 - Y-axis switch
IN 18- Z-axis switch
IN19 - "4" axis switch (SPINDLE -servo step-dir)
IN20 - jog speed switch x1 (default)
IN21 - x10
IN22 - x100
The configuration procedure is in the attached photos
Is the procedure correct?
Can it work like this? And will jogging axis "4" - SPINDLE stepping also work?
Is it necessary to edit something manually in HAL? I've never done it.

I am also attaching the resulting HAL
The axis scales are still provisional
I would like to use SINO linear rulers on the axis as a feedback of the table position (closed loop ) - they are configured in PNCONFG, but I don't know if the feedback will work this way
  • aaron
  • aaron
01 Oct 2025 12:46

New Install of LCNC,Debian12 dumping core

Category: General LinuxCNC Questions

Hi
Pleases help.  I am trying to do a fresh install on an old computer and router system, but I am getting this error message: rtapi_app: caught signal 11 - dumping core.
This is what I get when I start LCNC from command line:
linuxcnc
LINUXCNC - 2.9.4
Machine configuration directory is '/home/aaron/linuxcnc/configs/Joe's-router'
Machine configuration file is 'Joe's-router.ini'
LinuxCNC is still running.  Restart it? [Y/n] y
Cleaning up old LinuxCNC...
Shutting down and cleaning up LinuxCNC...
Waiting for other session to finish exiting...lockfile still not removed
Waited 3 seconds for master.  giving up.
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
pwmgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
stepgen: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
motmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
trivkins: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
tpmod: not loaded
<commandline>:0: exit value: 255
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
iopl() failed: Operation not permitted
cannot gain I/O privileges - forgot 'sudo make setuid' or using secure boot? -parallel port access is not allowed
Note: Using POSIX realtime
Found file(REL): ./Joe's-router.hal

identityKinematicsSetup: coordinates:XXYZ
   Joint 0 ==> Axis X
   Joint 1 ==> Axis X
   Joint 2 ==> Axis Y
   Joint 3 ==> Axis Z
identityKinematicsSetup: Recommend: kinstype=both

config string '0 out'
Found file(REL): ./custom.hal
rtapi_app: caught signal 11 - dumping core
rtapi_app: caught signal 11 - dumping core

note: MAXV     max: 85.000 units/sec 5100.000 units/min
note: LJOG     max: 85.000 units/sec 5100.000 units/min
note: LJOG default: 8.500 units/sec 510.000 units/min
Warning: Forward kinematics must handle duplicate coordinate letters:xx

Note:
Individual axis homing is not currently supported for
KINEMATICS_IDENTITY with duplicate axis letter <X>

note: jog_order='XYZ'
note: jog_invert=set()
USRMOT: ERROR: command timeout
task: main loop took 1.010196 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010282 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010223 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010128 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010149 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010212 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010275 seconds
USRMOT: ERROR: command timeout
task: main loop took 1.010156 seconds

Thanks
Aaron



 
  • BigDo
  • BigDo
01 Oct 2025 12:17
Replied by BigDo on topic Nativecam running on 2.9.4 almost so close

Nativecam running on 2.9.4 almost so close

Category: NativeCAM

I completely reinstalled Linux with linuxcnc in English but the result remains the same.
  • ShemJ
  • ShemJ's Avatar
01 Oct 2025 10:16

probe_basic nearly working but: failed to set register P0x000e to 0x0014

Category: QtPyVCP

Hello all,

I have an ethercat setup with working axis configs and I'm trying to fire up probe basic for the first time. Everything is up to date and I've made the changes for the latest release in the ini file as well as added the new folders and files. There is some messiness in the .ini file trying to get this sorted, but I can't find anything off.

My machine will be manual tool change, no ATC for me yet, and I'm not sure I've got that right in my HAL file, especially with how it interacts with the toolchange section in probe_basic_postgui.hal. Perhaps it is this?

My error says: failed to set register P0x000e to 0x0014     and I don't know where to look to fix this issue. Can someone send me in the right direction?

 
  • Hakan
  • Hakan
01 Oct 2025 09:13 - 01 Oct 2025 09:16
Replied by Hakan on topic MB2hal interface to a H100 inverter

MB2hal interface to a H100 inverter

Category: Advanced Configuration

No expert by any means, but I got it to work so here are some snippets from that

in custom_sinusM.hal
# Load mb2hal for modbus operation of the sinusM vfd
loadusr -Wn sinusM mb2hal config=sinusM_spindle.ini

...

# Set max limit rpm for spindle
#
net spindle-max-freq       sinusM.05.read-max-freq.float spindlemax.max         # Max frequency(rps) for motor
net  spindle-speed-scale   spindle.0.speed-out-rps-abs   sinusM.01.set-freq     # Just the principle

net spindle-vel-positive    mux4.0.sel0           abs.spindle-speed.sign
net spindle-enable          mux4.0.sel1
net spindle-cmd-out         mux4.0.out            sinusM.04.run-command  # Stop/fwd/rev

In sinusM_spindle.ini
...

[TRANSACTION_01]
MB_TX_CODE=fnct_06_write_single_register
FIRST_ELEMENT=4
NELEMENTS=1
PIN_NAMES=set-freq
MAX_UPDATE_RATE=0.0

[TRANSACTION_04]
MB_TX_CODE=fnct_06_write_single_register
FIRST_ELEMENT=5
NELEMENTS=1
PIN_NAMES=run-command
MAX_UPDATE_RATE=0.0

[TRANSACTION_05]
MB_TX_CODE=fnct_03_read_holding_registers
FIRST_ELEMENT=41492
NELEMENTS=1
PIN_NAMES=read-max-freq
MAX_UPDATE_RATE=0.0
 

The above communication works with the vfd. But hal code is probably mixing Hz and rpms so it won't necessarily work for that reason.
  • meister
  • meister
01 Oct 2025 07:55
Displaying 7951 - 7965 out of 18163 results.
Time to create page: 1.215 seconds
Powered by Kunena Forum