Advanced Search

Search Results (Searched for: )

  • zz912
  • zz912's Avatar
08 Jun 2025 16:18
Replied by zz912 on topic woodpecker.ini - cant be loaded

woodpecker.ini - cant be loaded

Category: General LinuxCNC Questions

I made tests:

woodpecker.ini works now, but need maintenance:
 

woodpecker_auto_tool_probe.ini doesnt work:
zdenek@cnc:~/linuxcnc/linuxcnc-zz912/scripts$ linuxcnc
LINUXCNC - 2.10.0~pre0
Machine configuration directory is '/home/zdenek/linuxcnc/linuxcnc-zz912/configs/sim/woodpecker'
Machine configuration file is 'woodpecker_auto_tool_probe.ini'
Starting LinuxCNC...
linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
Found file(REL): ./core_sim.hal
Found file(lib): /home/zdenek/linuxcnc/linuxcnc-zz912/lib/hallib/simulated_home.hal
INTERP_REMAP: NGC file not found: ngc=qt_auto_probe_tool
REMAP INI Line:75 = M6 modalgroup=6 prolog=change_prolog ngc=qt_auto_probe_tool epilog=change_epilog

emc/task/emctask.cc 68: interp_error: Soubor není otevřen
Soubor není otevřen
emc/task/emctaskmain.cc 3026: can't initialize interpreter
[QTvcp.QTVCP.QT_ISTAT][WARNING]  INI file's MDI_COMMAND_LIST is using legacy 'MDI_COMMAND =' entries (qt_istat.py:605)
false command
[QTvcp.QTVCP.WIDGETS.FILE_MANAGER][DEBUG]  LAST FILE PATH:  (file_manager.py:320)
[QTvcp.QTVCP.WIDGETS.FILE_MANAGER][DEBUG]  LAST FILE PATH:  (file_manager.py:320)
false command
[QTvcp][CRITICAL]  Aborted from Error Dialog
 Qtvcp encountered an error.  The following information may be useful in troubleshooting:
LinuxCNC Version  : 2.10.0~pre0

Traceback (most recent call last):
  File "/home/zdenek/linuxcnc/linuxcnc-zz912/share/qtvcp/screens/woodpecker/woodpecker_handler.py", line 1031, in chk_override_limits_checked
    ACTION.TOGGLE_LIMITS_OVERRIDE()
  File "/home/zdenek/linuxcnc/linuxcnc-zz912/lib/python/qtvcp/qt_action.py", line 159, in TOGGLE_LIMITS_OVERRIDE
    STATUS.emit('error', STATUS.TEMPORARY_MESSAGE, 'Hard Limits Are Reset To Active!')
                         ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Status' object has no attribute 'TEMPORARY_MESSAGE'

 (qtvcp:557)
/home/zdenek/linuxcnc/linuxcnc-zz912/scripts/linuxcnc: řádek 990:  2434 Neoprávněný přístup do paměti (SIGSEGV)                     $EMCDISPLAY -ini "$INIFILE" $EMCDISPLAYARGS "${EXTRA_ARGS[@]}"
Shutting down and cleaning up LinuxCNC...
Note: Using POSIX realtime
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/zdenek/linuxcnc_debug.txt
and
    /home/zdenek/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal

woodpecker_xyz.ini works now, but need maintenance like woodpecker.ini
woodpecker_xyza.ini works now, but need maintenance like woodpecker.ini
woodpecker_xyzab.ini works now, but it is in some weird full screen:
 
woodpecker_xyzy.ini works now, but need maintenance like woodpecker.ini
woodpecker_xyzya.ini works now, but need maintenance like woodpecker.ini
  • Hakan
  • Hakan
08 Jun 2025 16:14
Replied by Hakan on topic xml and hal - I am lost

xml and hal - I am lost

Category: EtherCAT

I think just switching the drives between the two axis would be one thing. Relatively easy done in the config, or perhaps moving ethernet cables between the drives.
Then one can think of hunting done the reason for joint n amplifier fault. It happens because joint.n.amp_fault bit get set by the drive.
Check how that is connected in the hal file.
Look at the drives' outputs in halshow, compare between good and bad drive. Under lcec component.
Also temporarily increase FERROR and MIN_FERROR, set them really high while testing. Don't forget to lower them when done.
Search the forum, rodw had an amplifier fault and needed to perform a factory reset on an ethercat stepper drive.
 
  • PCW
  • PCW's Avatar
08 Jun 2025 16:02 - 08 Jun 2025 16:54

0-10V output for spindle speed control is not working

Category: Advanced Configuration

The 200 RPM is probably a GUI setup ini parameter

Can you set say 12000 RPM with (MDI)
 M3 S12000

?
  • Kittifix
  • Kittifix
08 Jun 2025 15:57
Replied by Kittifix on topic Cant del Offset table and save

Cant del Offset table and save

Category: QtPyVCP

Config only for XYZ
  • Mr.Q
  • Mr.Q
08 Jun 2025 15:43

0-10V output for spindle speed control is not working

Category: Advanced Configuration

Hi all, Im starting to transition from mach3 to linuxcnc on my hobby machine. Im having troubles at seting up the PWM to VFD corectly. 
I added the folowing to the custom.hal

# --- Load the PWM generator component ---
loadrt pwmgen output_type=1

# --- Add the PWM generator functions to the servo-thread for smooth updates ---
addf pwmgen.update servo-thread
addf pwmgen.make-pulses base-thread

# --- Spindle ON/OFF control (Relay on Pin 17 thats on my breakoutboard and works nicely) ---
# Connect the signal from the 'spindle.0' component to the physical pin.
net spindle-enable <= spindle.0.on
net spindle-enable => parport.0.pin-17-out

# --- Spindle Speed PWM signal (Speed on Pin 1) ---
net spindle-speed-cmd spindle.0.speed-out => pwmgen.0.value

# Enable the PWM generator ONLY when the spindle is supposed to be on (M3)
net spindle-enable => pwmgen.0.enable

# Connect the pwmgen output to the physical parallel port pin 1 - this sends the 0-10v pwm from breakoutboard to vfd, also needed inverting
net spindle-pwm-signal pwmgen.0.pwm => parport.0.pin-01-out
setp parport.0.pin-01-out-invert 1

# Tell the PWM generator that the max value (100% duty) equals the scale from the INI file
setp pwmgen.0.scale 24000


My problem now is, in linuxcnc the maximum rpm it lets me at 100% is 200.
but it doesnt even reac that..my pwmgen.0.value is 200 in halshow. (added a picture).
output pin is corect, i get 10V if i dont invert the pin and vely low V when i do invert it.

i am confused as to how or why max i get is 200? same with speed-out wich is the one setting the .value
What am i doing wrong?
 
  • Aciera
  • Aciera's Avatar
08 Jun 2025 15:06 - 08 Jun 2025 15:08
Replied by Aciera on topic G0 not zero? (more info)

G0 not zero? (more info)

Category: General LinuxCNC Questions

A bit of a long shot, delete the .var and .var.bak files in your config and try again.

[edit]
Actually I'm not sure if ProbeBasic uses .var files at all.
  • PCW
  • PCW's Avatar
08 Jun 2025 14:55 - 09 Jun 2025 18:09
Replied by PCW on topic Mesa 7i92T - compiling firmware

Mesa 7i92T - compiling firmware

Category: Driver Boards

I just built this config using the current 7i92t-hm2.zip source and made a new pinout filefor G540 on P2 and 7I76 on P1. The 7I76 works for me.  


 

File Attachment:

File Name: 7i92t_g540_7i76d.zip
File Size:284 KB
  • poesel
  • poesel
08 Jun 2025 14:55

Interface to LightBurn (is pylib a better choice).

Category: General LinuxCNC Questions

@jtrantow - how's your project going? I'm interested, and maybe I can help you out?
  • tommylight
  • tommylight's Avatar
08 Jun 2025 14:46

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

Category: Computers and Hardware

This is with 10.10.10.10 IP address.
You have to compile the component again.
  • Lcvette
  • Lcvette's Avatar
08 Jun 2025 14:18
Replied by Lcvette on topic Cant del Offset table and save

Cant del Offset table and save

Category: QtPyVCP

is your machine 5 axis using xyzac?
  • poesel
  • poesel
08 Jun 2025 14:11
Replied by poesel on topic connecting to laser TTL

connecting to laser TTL

Category: Plasma & Laser

Yes, this is correct, well done! 

This what I added to my .hal:

# invert pwm output
setp hm2_7i96s.0.pwmgen.01.out0.invert_output true

# set output type to PWM
setp hm2_7i96s.0.pwmgen.01.output-type 1 # pwm

# set scale
setp hm2_7i96s.0.pwmgen.01.scale 100 # 100%

# test - this will enable the output and should give about 1,25V
# setp hm2_7i96s.0.pwmgen.01.value 25 # pwm
setp hm2_7i96s.0.pwmgen.01.enable true

# Link PWM output to analog-out 0
net laser-power motion.analog-out-00 => hm2_7i96s.0.pwmgen.01.value

If you comment in the pwm line (and comment out 'net laser...' you permanently get 1,25V on the output.
You can also leave it as is, run lcnc and run 'M68 E0 Q25' for the same effect. 'M68 E0 Q0' to turn it off again.

Where I'm not so sure is that the output is permanently enabled and only controlled by M67/M68. I'm going to use Lightburn which uses these M-commands instead of the spindle control. Is that ok?
  • jhandel
  • jhandel
08 Jun 2025 13:58

IO Questions around mixing IO between Ethercat and Pi 5?

Category: EtherCAT

that EasyCAT is an interesting bit of kit...
  • Grotius
  • Grotius's Avatar
08 Jun 2025 13:52

HAL CiA402 Drive Interface for Can Bus,Ethercat etc...

Category: HAL

Others may bring it in the main stream.
I am against one off the github policys.
Therefore i stay at Codeberg wich dont use the policy i hate.
  • Kittifix
  • Kittifix
08 Jun 2025 13:32 - 08 Jun 2025 22:15
Cant del Offset table and save was created by Kittifix

Cant del Offset table and save

Category: QtPyVCP

after probing Edge Angle the R is set and now i want  remove for a new Operation
in the Tab Offsets i can clear all or clear selected or one - save and i get this Errors 

File Attachment:

File Name: Offset_tab...rror.txt
File Size:3 KB


 
  • bassti
  • bassti
08 Jun 2025 12:50
Replied by bassti on topic reference during rotorhoming

reference during rotorhoming

Category: Advanced Configuration

Yes, I know how to set the homing order, the question is whether I can stop during the homing sequence, i.e. after z has been homed and then the rotorhoming of the b axis can be fixed and then the remaining axes can be referenced



 
Displaying 1951 - 1965 out of 25034 results.
Time to create page: 0.290 seconds
Powered by Kunena Forum