Advanced Search

Search Results (Searched for: )

  • macsddau@linuxcnc
  • macsddau@linuxcnc's Avatar
Today 19:06
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

Added APTSource program extension and path to [FLITER] section
  • tuxcnc
  • tuxcnc
Today 18:36
Replied by tuxcnc on topic Jogwheels won´t jog

Jogwheels won´t jog

Category: Basic Configuration

Thank you very much.
I have been planning to add encoder support as mpg for a long time, but it was not my priority because I do not have the appropriate equipment.
But today you gave me an opportunity, so I connected a regular encoder to 7i92 and performed tests.
In the condition as below, you can move the X axis by turning the encoder, but only after the axis has been referenced.
I haven't tested any more because I don't want to look for and solder switches right now, but judging by the code it must work.
(The setp axis.x.jog-enable 1 line is for testing only and should be removed afterwards.)
loadrt mux4
addf mux4.0 servo-thread

# For velocity mode, set to 1
# In velocity mode the axis stops when the dial is stopped
# even if that means the commanded motion is not completed,
# For position mode (the default), set to 0
# In position mode the axis will move exactly jog-scale
# units for each count, regardless of how long that might take,
setp axis.x.jog-vel-mode 1
setp axis.y.jog-vel-mode 1
setp axis.z.jog-vel-mode 0

# The Axis select inputs
# Line bellow is for testing only. For normal use remove it and uncomment next.
setp axis.x.jog-enable 1
#net mpg-x axis.x.jog-enable <= hm2_7i92.0.gpio.026.in_not
net mpg-y axis.y.jog-enable <= hm2_7i92.0.gpio.030.in_not
net mpg-z axis.z.jog-enable <= hm2_7i92.0.gpio.031.in_not

# The inputs to the mux4 component
net scale1 mux4.0.sel0 <= hm2_7i92.0.gpio.016.in_not
net scale2 mux4.0.sel1 <= hm2_7i92.0.gpio.015.in_not

# This sets the scale that will be used based on the input to the mux4
setp mux4.0.in0 0.025
setp mux4.0.in1 0.0025
setp mux4.0.in2 0.00025

# The output from the mux4 is sent to each axis jog scale
net mpg-scale mux4.0.out => axis.x.jog-scale axis.y.jog-scale axis.z.jog-scale

# The encoder output counts to the axis. Only the selected axis will move.
net encoder-counts hm2_7i92.0.encoder.00.count => axis.x.jog-counts axis.y.jog-counts axis.z.jog-counts
  • tommylight
  • tommylight's Avatar
Today 18:16
Replied by tommylight on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Some examples of PWM stuff:
loadrt pwmgen output_type=1
addf pwmgen.make-pulses base-thread
addf pwmgen.update servo-thread
net dout-00 <=  pwmgen.0.pwm
setp pwmgen.0.pwm-freq 1000.0
setp pwmgen.0.scale 6.0
setp pwmgen.0.offset 0.2
setp pwmgen.0.dither-pwm true

net dout-00         => parport.0.pin-02-out
Probably more there, but usually all you need is frequency and scale, sometimes also offset.
  • tommylight
  • tommylight's Avatar
Today 18:11
Replied by tommylight on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

2- make it working in LinuxCNC as program filter, actually only works stand alone.

Did you add the [FILTER] entries to the ini file?
Here is mine, adjust to your needs:
[FILTER]
PROGRAM_EXTENSION = .pts values
pts = ./LinuxCNC_pts_filter_4_axis.py
  • tommylight
  • tommylight's Avatar
Today 18:07
Replied by tommylight on topic jerking on zero position

jerking on zero position

Category: Forum Questions

How is the drive controlled?
More info...
  • Onkelmat
  • Onkelmat's Avatar
Today 14:37
Jogwheels won´t jog was created by Onkelmat

Jogwheels won´t jog

Category: Basic Configuration

It´s a me again.

So far I got the Gildemeister NEF 500 Plus Lathe running again, with the keyboard i was even able to make some chips. Homing now works since the updated version of Pncconfig wizard seems to have a few bugs left for the 7i97T. On bug for example is, inputs that are "inmux.00" are named "in.00" in the .ini or .hal, not sure right now but that occured every single time i changed something with the wizard.

But let´s get back to the problem I´m facing now. Trust me, searched two whole days to find a solution bymyselfe.
Here´s the physical setup where i´m coming from:

i have two Handwheels on my machine, they have A /A b /B signals, and are wired to encoder 03 and encoder 04. In Halshow i can see the hm2_7i797.0.encoder.03.count corresponding to each wheel. That worked right away.
The wheels should be always enabled, except when running a command or a programm. The wheels are fixed to their axis. 03 is for Z axis and 04 is for X Axis.

I copied and wrote tons of .hal lines but nothing seems to get the axis moving when i´m turning the wheels. I tried to set all enables that are somehow related to axis jogging to true in Halshow. nothing worked. In the documentation the link is broken to that one site for hooking a jogwheel. And every code i copied was obsolote, since the names of the pins and this has changed. I end up with "pin doesn´t exsist" all the time. You don´t have to tell me the whole solution, but i´d like to understand the mechanics behind Jogwheels and Axis jogging, how do i link the jogwheel count to the axis count so it moves ?
 
  • macsddau@linuxcnc
  • macsddau@linuxcnc's Avatar
Today 10:11 - Today 10:15
Replied by macsddau@linuxcnc on topic Any idea how to write PP form APT to ngc

Any idea how to write PP form APT to ngc

Category: Post Processors

Hi
I have seen recent topic of @tommylight about filter for pts files. This help me to start writing the postprocessor for apt files.

I can manage simple words and convert to gcode.
Next to steps :
1- process circular interpolations
2- make it working in LinuxCNC as program filter, actually only works stand alone.

I am sure that’s python code is not as beautiful as it should be but that’s working.
  • rodw
  • rodw's Avatar
Today 09:56
Replied by rodw on topic Parallel Port - how to invert PWM value

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

Hmm, this might work
parport.<p>.pin-<n>-out-invert 
  • rodw
  • rodw's Avatar
Today 09:15

Parallel Port - how to invert PWM value

Category: Installing LinuxCNC

 
I decided to build a parallel port LinuxCNC config cos I'd never done one before. All went very easily after firing up stepconf which got motors moving straight out of the box.

But now I got problems with the PWM to control the spindle because the volts were running the wrong way eg 24000 rpm = 0 volts and 0 rpm = 10 volts. I thought it would be easy to invert the signal but to  no avail.

I tried to adjust with a sum2 component so -24000 + Commanded RPM = - desired RPM. This turned out to be a dry gully too.
I figured if I had to  convert it to an absolute number I could do that but halshow promptly showed me that -24000 + 12000 = 0
I got rid of the negative and used a gain of -1 and I still got the same wrong answer...

So what is the trick to invert the PWM value?
  • rodw
  • rodw's Avatar
Today 08:21
Replied by rodw on topic LinuxCNC started in error mode

LinuxCNC started in error mode

Category: General LinuxCNC Questions

Most people on this forum in your position have ditched CommandCNC and moved to QTplasmac with a Mesa THCAD to measure torch voltage and let Linuxcnc manage the THC function internally.
  • Aciera
  • Aciera's Avatar
Today 07:52 - Today 07:54

Gmoccapy tool table not accepting lathe tool angles...

Category: Gmoccapy

Indeed, tracked this to Python deprecating 'locale.format()' and replacing it with 'locale.format_string()':

github.com/LinuxCNC/linuxcnc/pull/4250/changes

Note that this issue is also present in some other places (eg the offsetpage)

Since this affects python code you could patch the files locally.
I think you would find them in:
'/usr/lib/python3/dist-packages/gladevcp/'

You will need sudo rights to change those files.
  • besriworld
  • besriworld
Today 05:47 - Today 05:53
Replied by besriworld on topic Mori Seiki MV-Junior Retrofit

Mori Seiki MV-Junior Retrofit

Category: Milling Machines

Time to dust off this thread with a small update.

I finally had some free time, so I decided to make some progress on the electrical cabinet. We created a dedicated section for the two braking resistors (2 × 1.5 kW) and the transformer for the axis servo motors. We also installed a steel mounting panel where all of the electrical components will be neatly arranged and secured.


You do not have permissions to access this page.


You do not have permissions to access this page.


You do not have permissions to access this page.




And here's the donor machine that I'll be salvaging some of the smaller parts from. ?

You do not have permissions to access this page.

You do not have permissions to access this page.


This is probably a good time to mention that if anyone is looking for Fanuc servo motors or drives, feel free to get in touch. ?

 
  • abbasezzi
  • abbasezzi
Today 05:46
jerking on zero position was created by abbasezzi

jerking on zero position

Category: Forum Questions

my servo motor starts to hover on zero position, it runs smoothly on the given rpm, but when it comes to halt and wanted to stop on zero position, it starts jerking and sometimes it gives er100 error or it just hovers on zeero position. my motor model is ELM2H-1800LD130E-HD. and drives is EL7-RS2000. my arm is connected radially.
  • NWE
  • NWE's Avatar
Today 04:47 - Today 04:50
Replied by NWE on topic LinuxCNC started in error mode

LinuxCNC started in error mode

Category: General LinuxCNC Questions

Running CommandCNC on Linux.

 

I believe you might want to contact CandCNC tech support.
  • tommylight
  • tommylight's Avatar
Yesterday 02:53
Replied by tommylight on topic LinuxCNC started in error mode

LinuxCNC started in error mode

Category: General LinuxCNC Questions


Was setting up a run, zero'd my XYZ, loaded my file, and pressed Run. The torch made the first pierce but sat there without any XY motion. Air flow shut off a few seconds later. Recreated the .tap file a couple times with same result when running. When I rebooted and restarted CommandCNC, I got an error message for LinuxCNC. No matter what I do, I can't get out of this loop.

LinuxCNC does not use .tap files, so what gives?
Displaying 1 - 15 out of 287309 results.
Time to create page: 3.330 seconds
Powered by Kunena Forum