Advanced Search

Search Results (Searched for: )

  • steers
  • steers
Yesterday 18:16

looking for advice on retrofitting hydrolic mill

Category: Driver Boards

hey all!im in the market for a decent mill that i want to retrofit with Mesa/linuxCnC. its a Knüth WF 5 NC, a hydrolic controlled mill with currently a Ljumo-PNC 63 controller. currently the mill isnt operational, but even with the full schematics we cant seem to figure out the current issue.i have done a retrofit before using mesa on a Vermano r170 which used some big servos, but i cant seem to find much info regarding retrofitting mesa hardware on a hydrolic controlled mill.is this even possible, and where can i find some more info on how to tackle this?best regards,steers 
  • HansU
  • HansU's Avatar
Yesterday 18:12
Replied by HansU on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

I start the program with an external button.


Well, yes but what hal pin do you use to start the program?
I presume 'halui.program.run'


Probably. At least I could reproduce it this way.
  • PCW
  • PCW's Avatar
Yesterday 18:07 - Yesterday 18:14
Replied by PCW on topic Mesa 7i96 Spindle PWM

Mesa 7i96 Spindle PWM

Category: Driver Boards

Sounds like the output has been damaged...

You might check the step- output (TB2 pin 2)

(as a sanity check, STEP- should be at ~5V when STEP+ is 0)

 
  • dubstar_04
  • dubstar_04's Avatar
Yesterday 17:15
Replied by dubstar_04 on topic Mesa 7i96 Spindle PWM

Mesa 7i96 Spindle PWM

Category: Driver Boards

With the output inverted the pwm output is 2.2v without the spindle running.
  • PCW
  • PCW's Avatar
Yesterday 17:06
Replied by PCW on topic Mesa 7i96 Spindle PWM

Mesa 7i96 Spindle PWM

Category: Driver Boards

If you set the PWM to 0 and invert the PWM output
do you get ~5V?

to invert:

halcmd setp hm2_7i96.0.pwmgen.00.out0.invert_output true



 
  • dubstar_04
  • dubstar_04's Avatar
Yesterday 16:53
Replied by dubstar_04 on topic Mesa 7i96 Spindle PWM

Mesa 7i96 Spindle PWM

Category: Driver Boards

Hi PCW,

Thank you for the quick response.

halcmd show all spin*
Loaded HAL Components:
ID      Type  Name                                            PID   State

Component Pins:
Owner   Type  Dir         Value  Name
    29  bit   IN          FALSE  spindle.0.amp-fault-in
    29  bit   IN           TRUE  spindle.0.at-speed <== spindle-at-speed
    29  bit   OUT         FALSE  spindle.0.brake ==> spindle-brake
    29  bit   OUT          TRUE  spindle.0.forward ==> spindle-cw
    29  bit   I/O         FALSE  spindle.0.index-enable <=> spindle-index-enable
    29  bit   IN          FALSE  spindle.0.inhibit
    29  bit   IN          FALSE  spindle.0.is-oriented
    29  bit   OUT         FALSE  spindle.0.locked
    29  bit   OUT          TRUE  spindle.0.on ==> spindle-enable
    29  bit   OUT         FALSE  spindle.0.orient
    29  float OUT             0  spindle.0.orient-angle
    29  s32   IN              0  spindle.0.orient-fault
    29  s32   OUT             0  spindle.0.orient-mode
    29  bit   OUT         FALSE  spindle.0.reverse ==> spindle-ccw
    29  float IN             -0  spindle.0.revs <== spindle-revs
    29  float OUT      29.16667  spindle.0.speed-cmd-rps
    29  float IN              0  spindle.0.speed-in <== spindle-vel-fb-rps
    29  float OUT          1750  spindle.0.speed-out ==> spindle-vel-cmd-rpm
    29  float OUT          1750  spindle.0.speed-out-abs ==> spindle-vel-cmd-rpm-abs
    29  float OUT      29.16667  spindle.0.speed-out-rps ==> spindle-vel-cmd-rps
    29  float OUT      29.16667  spindle.0.speed-out-rps-abs ==> spindle-vel-cmd-rps-abs

Pin Aliases:
 Alias                                            Original Name

Signals:
Type          Value  Name     (linked to)
bit            TRUE  spindle-at-speed
                         ==> gmoccapy.spindle_at_speed_led
                         ==> spindle.0.at-speed
bit           FALSE  spindle-brake
                         <== spindle.0.brake
bit           FALSE  spindle-ccw
                         <== spindle.0.reverse
bit            TRUE  spindle-cw
                         <== spindle.0.forward
bit            TRUE  spindle-enable
                         ==> hm2_7i96.0.pwmgen.00.enable
                         ==> hm2_7i96.0.ssr.00.out-05
                         ==> pid.s.enable
                         <== spindle.0.on
bit           FALSE  spindle-index-enable
                         <=> hm2_7i96.0.encoder.00.index-enable
                         ==> pid.s.index-enable
                         <=> spindle.0.index-enable
bit           FALSE  spindle-manual-ccw
                         ==> halui.spindle.0.reverse
bit           FALSE  spindle-manual-cw
                         ==> halui.spindle.0.forward
bit           FALSE  spindle-manual-stop
                         ==> halui.spindle.0.stop
float          1750  spindle-output
                         ==> hm2_7i96.0.pwmgen.00.value
                         <== pid.s.output
float            -0  spindle-revs
                         <== hm2_7i96.0.encoder.00.position
                         ==> spindle.0.revs
float          1750  spindle-vel-cmd-rpm
                         <== spindle.0.speed-out
float          1750  spindle-vel-cmd-rpm-abs
                         ==> pid.s.command
                         <== spindle.0.speed-out-abs
float      29.16667  spindle-vel-cmd-rps
                         <== spindle.0.speed-out-rps
float      29.16667  spindle-vel-cmd-rps-abs
                         <== spindle.0.speed-out-rps-abs
float             0  spindle-vel-fb-rpm
                         <== hm2_7i96.0.encoder.00.velocity-rpm
float             0  spindle-vel-fb-rpm-abs
                         ==> pid.s.feedback
float             0  spindle-vel-fb-rps
                         <== hm2_7i96.0.encoder.00.velocity
                         ==> spindle.0.speed-in

Parameters:
Owner   Type  Dir         Value  Name

Parameter Aliases:
 Alias                                            Original Name

Exported Functions:
Owner   CodeAddr  Arg       FP   Users  Name

Realtime Threads:
     Period  FP     Name               (     Time, Max-Time )

Measuring the pwm pin output shows 1.1v at 50% speed and 2.2v at 100%, 0 volt when the spindle is off.

Thank you,

Dan
 
  • Sternfox
  • Sternfox
Yesterday 16:38
poor surface quality was created by Sternfox

poor surface quality

Category: General LinuxCNC Questions

Hi Peeps,

Im pulling my hair out trying to debug a poor surface problem. I have a LinuxCNC retrofit Haas mini mill. Dimensional accuracy is within 5 microns, perfect. Backlash is around 3 microns.

The problem is the even faceting im getting, this is only on round or any move that needs the x and y axis working together. Straight lines in x and y are a nice and smooth surface finish. I have attached a few pics for reference. 

the cutting strategy was adapive clearing with 0.5mm stock to leave cleaned up with a profile toolpath

The square was oriented with the points facing north, south, east and west, forcing them to be cut using both servo motors.
I'm using AC servo motors with 10.000 steps per rev. So 1 micron per pulse.
I'm running a 2 ms servo thread, probe basic on linuxcnc 2.9
for this cut I used 0.001 tolerance and tried smoothing on and off with no difference. I also used G64 p0.01 makes no difference

if you look at the images you can see the faceting lines, they all measure around 1.5mm between each line.

any thoughts?


 
  • PCW
  • PCW's Avatar
Yesterday 16:16
Replied by PCW on topic Mesa 7i96 Spindle PWM

Mesa 7i96 Spindle PWM

Category: Driver Boards

When LinuxCNC is running and you have the spindle on and set to say 1/2 speed.
what does:

halcmd show all spin*

report?

Also, you can get an idea of PWM operation independent of any add-on cards
with just a voltmeter, as the voltmeter will read the average voltage which will
be proportional to the PWM duty cycle.

 
  • kworm
  • kworm
Yesterday 16:09
Replied by kworm on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

I contributed the support for the 7i95t in pncconf. I don't have any 7i97s to try but if there is a similar card already supported in pncconf I could add support for it...I'm just not sure if it supports analog servos though.

I also did some initial work to add qtplasmac support to mesact but there are some fairly major internal assumptions about encoder 0 going to drive 0, etc. and I didn't want to make backwards compatible breaking changes without hearing from JT.
  • SebastianM
  • SebastianM
Yesterday 16:05
  • PCW
  • PCW's Avatar
Yesterday 15:59
Replied by PCW on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

The 7C81 only has the option of all pullups and all pulldowns
on its I/O ports.

Simplest solution would probably be to add a stiff pulldown (say 620 ohms)
on the relay I/O pin. There is a firmware option for fixed parallel port type I/O
but currently its global (not per port), This firmware makes the parallel port
output pins default to outputs instead of inputs at startup or watchdog bite
What firmware are you using?
  • PCW
  • PCW's Avatar
Yesterday 15:22
Replied by PCW on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

I'm afraid ChatGPT will just be a time-sink here.

I suspect the easiest current path would be to make a pncconf  QTPlasmac/THCAD configuration
for a 7I95T (This requires updating to the very latest LinuxCNC master as 7I95T support was just added
about 1 week ago) This configuration will match as far as encoders, inputs, and outputs go (though will show
more inputs than the 7I97T has, so just don't use any inputs beyond input 15)

When creating the 7I95T configuration, setup step/dir axis.  and encoder feedback. This will create the
basic PID loop structure  required for changing over to the 7I97T PWM/analog axis configuration.

When this is done, you will have a step/dir configuration for a 7I95T and QTPlasmac/THCAD.
Next you will need to change the card name in the ini file to "7i97".

then the created hal file will need to be edited to change the PID feedback input from stepgen
position to encoder position and the PID output from stepgen velocity to PWM value.

There are also enables and some PWM setup needed. I can help with these when you get a basic
hal file setup. 

You can use this example of basic 7I97/7I97T PWM hal file setup:

 

File Attachment:

File Name: basic7i97_...7-04.zip
File Size:4 KB




 
  • Aciera
  • Aciera's Avatar
Yesterday 15:10 - Yesterday 15:23
Replied by Aciera on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

I start the program with an external button.


Well, yes but what hal pin do you use to start the program?
I presume 'halui.program.run'
  • HansU
  • HansU's Avatar
Yesterday 14:59
Replied by HansU on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

Suggestion / request:
Overrides
When starting a program running (cycle start): user is prompted that an override (rapid, feed, or spindle) and asked whether they want to continue with override, or want to reset to 100%


I could imagine make an optional warn dialog with a settable limit. For all overrides? Feed, rapid and spindle?
  • whyme
  • whyme
Yesterday 14:57
Replied by whyme on topic Raspberry Pi 4 with Mesa 7c81

Raspberry Pi 4 with Mesa 7c81

Category: Driver Boards

Maybe a stupid question, but how do you use the relay on those cheap MACH3 BOBs with the 7c81?

For the inputs to work I need to enable the pullups on the 7C81.
But enabling the pullups makes the relay close as soon as the BOB is powered.

Ideally I would want the relay to be open until linuxcnc is started and I tell linuxcnc to close the relay.

But the relay closing by default due to the pullups makes it unusable, or did I miss something?
Displaying 76 - 90 out of 25541 results.
Time to create page: 0.317 seconds
Powered by Kunena Forum