Advanced Search

Search Results (Searched for: )

  • UweSauter
  • UweSauter
08 Jun 2025 20:01 - 08 Jun 2025 20:03
Replied by UweSauter on topic JMC Servo in PP mode

JMC Servo in PP mode

Category: EtherCAT

Hello PedPEx,

I'm currently setting up my own EtherCAT based controller as a mock up before I replace my current control board. Your single axis configuration really did help getting my JMC iHSV57-30-18-36-EC moving.

One question though: You are setting "setp cia402.0.pos-scale 3600". Do you have any reference where this value comes from? Can you give me a hint how it gets calculated?
My final setup has ball screws with 5mm/rev thread pitch.

Second question: Did you ever try to use the "basic_cia402" device type in the EtherCAT XML file and got it working?

Thanks,

Uwe
  • TheTinkeringMechanic1
  • TheTinkeringMechanic1
08 Jun 2025 19:52 - 08 Jun 2025 19:55
Replied by TheTinkeringMechanic1 on topic CNC lathe to grinder.

CNC lathe to grinder.

Category: Basic Configuration

Hmm. It appears it won't allow me to do that. LinuxCNC terminated with an error. 
  • pingtomi
  • pingtomi
08 Jun 2025 19:51

MESA 7i93 PWM question - motor rotation direction switch

Category: Advanced Configuration

Dear All,

I try to set up 7i93 PWM control for my ATC motor and I struggle with its rotation direction change, meaning:

- if pwmgen.0.value = positive number, pwm signal is on PIN6 as expected, motor rotates clockwise.
- if pwmgen.0.value = negative number, there is no PWM signal on PIN8, motor does not rotate at all.

I use PWM controlled mosfet bridge which expects CW and CCW input PWM signals on TTL level.
Regardless of pwmgen.output-type it does not work, but based on hostmot2 manual in my understanding it should work with output-type 2.
7i93's firmware is standard.

What do I wrong, or how can I change the rotation direction with PWM if my motor drive expects CW and CCW PWM signals?

thank you for your help.
Regards,
Tamas
 
  • jtrantow
  • jtrantow
08 Jun 2025 19:40

Interface to LightBurn (is pylib a better choice).

Category: General LinuxCNC Questions

My router(laser) is currently torn apart undergoing an epoxy leveling upgrade to be followed with motor belt gearing change for plasma cutting. So weeks or end of summer away from any laser work.

I think linuxcncrc should be treated as a dead end as python has more support.  

What would be nice is a linuxcnc python TCP server that can communicate with Lightburn for laser cutting operations.
  • TCP because that's supported by LightBurn running on a Windows PC to LCNC.
  • Python as that seems best supported for LCNC interfaces.
  • Lightburn interface as it works very well for laser operations. (outline cuts, laser offset, home, zero, etc.)

Getting Gcode across was easy using linuxcncrc and some string substitutions.
What takes a little more work is the extra commands to home and things like getting position. The Lightburn GUI has a serial terminal where you can see some of the extra commands. They use a lot of 3d printer Gcode extensions (M114 to get position).

What is your interest/focus?
 
  • tommylight
  • tommylight's Avatar
08 Jun 2025 19:36
Replied by tommylight on topic Toyota embroidery machine - retrofit

Toyota embroidery machine - retrofit

Category: CNC Machines

Nope, she can not figure out what those do, strange as her machines have that part much, much more complicated.
  • Beovoxo
  • Beovoxo
08 Jun 2025 19:15 - 08 Jun 2025 19:24
Replied by Beovoxo on topic Deckel FP4A Retrofit

Deckel FP4A Retrofit

Category: Milling Machines

just updates. :) 
Just test fits, mounting of connectors, test fit of control backplates..
  • Kittifix
  • Kittifix
08 Jun 2025 17:42
Replied by Kittifix on topic Cant del Offset table and save

Cant del Offset table and save

Category: QtPyVCP

if you are not on the latest release of probe basic, the offsets column setup is in the custom_config.yml file, change the columns to display to XYZR then save the file and restart probe basic and retry.
 

Yeehaaa, it was the custom_config.yml

Great,Großartig ,Thank You,Dankeschön !!!
Step by Step ,my little Smurf come to become ready :-)

Latency  - best i can get from this Thing called Gurke
Motion - ready
Toolsetter - works fine
Probing - Great
Spindel -
 
  • Lcvette
  • Lcvette's Avatar
08 Jun 2025 17:20
Replied by Lcvette on topic Cant del Offset table and save

Cant del Offset table and save

Category: QtPyVCP

if you are not on the latest release of probe basic, the offsets column setup is in the custom_config.yml file, change the columns to display to XYZR then save the file and restart probe basic and retry.
  • Lcvette
  • Lcvette's Avatar
08 Jun 2025 17:09 - 08 Jun 2025 17:11
Replied by Lcvette on topic Cant del Offset table and save

Cant del Offset table and save

Category: QtPyVCP

need to update your config with all parameters to set the correct columns, it is calling for a axis to be set but you have no a axis configured.

kcjengr.github.io/probe_basic/machine_config.html

please ensure your config settings are correctly set for 3 axis XYZ and offset table is correctly set for XYZR and report back if that resolves!
  • 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.
Displaying 13396 - 13410 out of 17622 results.
Time to create page: 0.510 seconds
Powered by Kunena Forum