Advanced Search

Search Results (Searched for: )

  • 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



 
  • Edi_48
  • Edi_48
08 Jun 2025 12:39
24 Volt Ausgänge? was created by Edi_48

24 Volt Ausgänge?

Category: Deutsch

Hallo ich habe eine Neue Mesa 7i96s und habe Probleme mit meine 24 VoltRelay und Schaltkontakten Spindel PneumatikFrage wie kann ich die an 7i96s Anschließen ?

mfg
Hilton

 
  • Hakan
  • Hakan
08 Jun 2025 12:12

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

Category: HAL

Sounds great!
What are your plans with this?
Keep it separate in your code or bring it into mainstream linuxcnc code?
  • SwitchWitch
  • SwitchWitch
08 Jun 2025 11:58 - 08 Jun 2025 11:59
Replied by SwitchWitch on topic xml and hal - I am lost

xml and hal - I am lost

Category: EtherCAT

As promised - here is a little update.

Now evrything is running or better starting. The Beckhoff modules do what they should do, 2 oft the servos can be jogged but 1 servo is not able to be jogged and when trying to an amplifier error ist displayed in a pop up display. The motors are not yet tuned as they are no yet mounted to the machine.

I can`t really understand the difference of behaviour as all of the 3 servos are out of the box without any change to the values.

The only thing inside lcnc wich is possibly related to it is the ferror value - nothing else.

What could be a good starting point to figure out what goes wrong?

- If helpful for anybody I could post my setup files
Displaying 1246 - 1260 out of 25533 results.
Time to create page: 0.370 seconds
Powered by Kunena Forum