Advanced Search

Search Results (Searched for: )

  • rickjmain
  • rickjmain
14 Apr 2025 23:53
Replied by rickjmain on topic Mesa 7i96s firmware for Index (2.9 release)

Mesa 7i96s firmware for Index (2.9 release)

Category: Advanced Configuration

That worked perfectly, thanks!
  • PCW
  • PCW's Avatar
14 Apr 2025 23:34

Mesa 7i96s firmware for Index (2.9 release)

Category: Advanced Configuration

net x-index-enable <= hm2_7i96s.0.stepgen.00.index-enable
net x-index-enable => joint.0.index-enable

Would be correct.

To test: (with linuxcnc running and watching  x-index-enable with halshow)

halcmd -kf
halcmd:  sets x-index-enable
(this should set x-index-enable true)

Then toggle the index input
(that should set x-index-enable false)
 
  • vre
  • vre
14 Apr 2025 23:18
Replied by vre on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

I will do rigid taping in slow gears speed..
For 2 speeds selection i will use this hal file
#M64 and M65 digital outputs
net sp-shift-high   motion.digital-out-12     mesacard_pin
net sp-shift-low    motion.digital-out-13     mesacard_pin
#M66 Digital Inputs
net  spindle-stoped  motion.digital-in-09    mesacard_pin
net  sp-is-high      motion.digital-in-12    mesacard_pin
net  sp-is-low       motion.digital-in-13    mesacard_pin

and this function
;Erik Salo January 2018
;Okada VM500 Spindle Gearchange program LinuxCNC
;Two speed gearbox. Selects proper range for commanded speed
;Stops spindle prior to gear change
;Special handling for zero, don;t shift down for zero command if in high speed
;Two sensors, one for high and one for low
;Two hydraulic solenoids high and low, turnsoff unselected solenoid


o<setspeed> sub

  o300 IF [#<speed> GT 1250]

  ;Check to see if speed selected is too high
  o010 IF [#<speed> GT 5001]
    (abort, Speed exceeds rated rpm)
  o010 ENDIF

  M66 P12 ;Check if High Gear = True
    o301 if [#5399 GT 0]

      M66 P13 ;Make sure Low Gear = False
        o302 if [#5399 GT 0]
          (abort, spindle still in low gear)
        o302 endif

      S#<speed> ;Set spindle speed with no scaling factor

    o301 endif

  M66 P13 ;Check if Low Gear = True

    o305 if [#5399 GT 0]

      M66 P12 ;Make sure High Gear = False

        o306 if (#5399 GT 0]
          (abort, spindle still in high gear)
        o306 endif
           S0 ; Stop spindle

           M66 P9 L3 Q4 ;Check for spindle stopped - wait up to 4 seconds for digital input 9 to turn on
               o307 if [#5399 LT 0]
                   (abort, spindle not stopped)
               o307 endif

           M65 P13 ; Turn off low gear shift solenoid

           M64 P12 ; Turn on high gear shift solenoid

           M66 P13 L4 Q4 ;Wait for Low Gear = False
               o308 if [#5399 GT 0]
                   (abort, spindle still in low gear)
               o308 endif

           M66 P12 L3 Q4 ;Wait for High Gear = True
               o310 if [#5399 LT 0]
                   (abort, spindle not in high gear)
               o310 endif

           S#<speed> ;Set spindle speed with no scaling factor

       o305 endif

o300 ENDIF

;Low Gear Section
o400 IF [#<speed> LT 1250.1] ;Check if requested speed is less than 1250

   o410 IF [4<speed> GT 0.1] Check to see if requested speed is greater than 0.1

       M66 P13 ;Check if Low Gear = True
       o420 if (#5399 GT 0]

           M66 P12 ;Make sure High Gear = False
               o421 if [#5399 GT 0]
                   (abort, spindle still in high gear)
               o421 endif

   S[#<speed>*2.56] ;Set spindle speed with 4x scaling factor

 o420 endif

 M66 P12 ;Check if High Gear = True
   o430 if [#5399 GT 0]
    M66 P13 ;Make sure Low Gear = False
      o431 if (#5399 GT 0]
        (abort, spindle still in high gear)
      o431 endif

    S0 ; Stop spindle

    M66 P9 L3 Q5 ;Check for spindle stopped
      o432 if [#5399 LT 0]
        (abort, spindle not stopped)
      o432 endif

    M65 P12 ; Turn off high gear shift solenoid

    M64 P13 ; Turn on low gear shift solenoid

    M66 P12 L4 Q4 ;Wait for High Gear = False
      o433 if (#5399 GT 0]
        (abort, spindle still in low gear)
      o433 endif

    M66 P13 L3 Q4 ;Wait for Low Gear = True
      o434 if (#5399 LT 0]
        (abort, spindle not in high gear)
      o434 endif

    S[#<speed>*2.56] ;Set spindle speed with 4x scaling factor

 o430 endif

o410 endif

 o450 IF [#<speed> EQ 0]

   S0
   ; Set spindle speed to zero

 o450 ENDIF

o400 ENDIF

o<setspeed> endsub [1]

How can set also encoder for rigid tapping ?
  • Silverback
  • Silverback
14 Apr 2025 23:09
Replied by Silverback on topic Inconsistent values from Versaprobe

Inconsistent values from Versaprobe

Category: Qtvcp

I sm having the sams or similar issues.

I am very new to LinuxCNC and the versaprobe routine is very different from what I used to do as a "professional" on Haas, Okuma, Mazak, et.al.

I follow the documentation and touch off to the tool setter, then the top of the workpiece.
Then, set G54X0Y0 with the probe.
Then start the program and it touches off the tool, returns to Z safe height, moves to the first X and Y coordinate, then errors complaining about the next Z move being out of bounds.

From my previous experience, I would think that it would just be easier to use the probe touch off on the tool setter to set a reference plane. Then touch off on the G54 Z0 point. That would set the difference between the tool setter and G54 Z0.

During the program, it would touch off the toolsetter, then add the offset from that to G54 Z0 and calculate the proper tool length. Call length comp to store, then make chips. Basically mimic setting tool length by hand and storing the offset in the table manually.

Altertively, with the known offset to the tool setter, it could just as easily use G92 Z-15.0 (or whatever the offset between the tool setter and G54Z0 is), although that would likely make Z0 dance around based on tool length, so I don't really like that option.

I am not sure if that's what it's actually trying to do or not. As I said, still pretty new.

If there's anybway I can help, let me know.
  • notJamesLee
  • notJamesLee
14 Apr 2025 22:04
Replied by notJamesLee on topic Determining Angular Scale - Help w/ Microsteps

Determining Angular Scale - Help w/ Microsteps

Category: Configuration Tools

okay quick update:

setting steps per revolution to 600 and set all the driver drip switches to on, which on the table is default, so i assume no micro stepping. I ran into the same issue.

I then tried to modify the turn switchA-F,0-9 and the motor doesnt turn the output shaft on 0-7, it only starts from 8 on and all the letters. maybe this can give us a clue as to what is happening.

overall, still about 1.125 turns and pulling 0.25a
  • JohnnyCNC
  • JohnnyCNC's Avatar
14 Apr 2025 22:01
Replied by JohnnyCNC on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

If you can squeeze a disc with a notch in it somewhere you can use a slotted optical sensor.  This is my setup and rigid tapping works great.

 
 
  • vre
  • vre
14 Apr 2025 21:47 - 14 Apr 2025 21:49
Replied by vre on topic spindle with encoder

spindle with encoder

Category: Basic Configuration

Motor has inverter that controls rpm of motor via -10V+10V analog signal (mesa 7i33 card).
No can't remove the geartrain. I need encoder for rigid taping.
My problem is how to configure because it is not easy to mount encoder on spindle
shaft must mount it before geartrain of spindle so before 2 selectable speeds reduction is done.
So the problem is that motor has X rpm, encoder has a*X rpm and spindle has b*X rpm or c*X rpm.
What must put in ini file spindle section ?
MAX_OUTPUT = ?
ENCODER_SCALE = ?
OUTPUT_SCALE = ?
OUTPUT_MIN_LIMIT = ?
OUTPUT_MAX_LIMIT = ?
  • rickjmain
  • rickjmain
14 Apr 2025 21:41
Replied by rickjmain on topic Mesa 7i96s firmware for Index (2.9 release)

Mesa 7i96s firmware for Index (2.9 release)

Category: Advanced Configuration

Hi PCW, I'm still fairly early in my latest build, just testing things out. I've flashed over the firmware, and it shows the Index function on GPIO 34-38. I've also made an adapter cable with 220 ohm resistors. I can see the GPIO pins change in halshow when i connect them to ground but the hm2_7i96s.0.stepgen.xx.index-enable pin doesn't change. Should I be linking like so:

net x-index-enable <= hm2_7i96s.0.gpio.034.in
net x-index-enable => joint.0.index-enable

or like this:

net x-index-enable <= hm2_7i96s.0.stepgen.00.index-enable
net x-index-enable => joint.0.index-enable

Thanks for your help on this!
  • Beovoxo
  • Beovoxo
14 Apr 2025 21:38
Replied by Beovoxo on topic Deckel FP4A Retrofit

Deckel FP4A Retrofit

Category: Milling Machines

Usb keyboard controller soldered with a RJ45 cable. I just used a lot of flux and let the soldering iron moved over all the contact points to start with. After this i pre tinned the wires and soldered them on. There is a bit of cleaning with isopropyl alcohol and sealing left, before its finished. 
  • PCW
  • PCW's Avatar
  • theysayzmajtome
  • theysayzmajtome
14 Apr 2025 21:03
Replied by theysayzmajtome on topic Retrofit plasma and Hyperterm max 100 HF/HV problems??

Retrofit plasma and Hyperterm max 100 HF/HV problems??

Category: Plasma & Laser

Its a big plasma, 3,m x 6m
X axis has two 30mm hgr type rails,
The x axis is made from a strel tube, and has an support beam conectet to y rail
Y axis has one rail, but is masive .
All using rack and pinion
I did a quick calculation , lets assume stepper motor NEMA 34 at 800 rpm @6NM
Gear box 1:5 that is 30NM , radius of the pinion is 18mm , so we get ~1670N
That will be plenty
  • Rockwood
  • Rockwood
14 Apr 2025 20:52

tormach 1500mx modifications, 4th axis, fast I/O expansion, auxilary spindle.

Category: PathPilot

Thanks, I was hoping that would be the case. Do you have any brands/models you would recommend?
  • PCW
  • PCW's Avatar
14 Apr 2025 20:38

tormach 1500mx modifications, 4th axis, fast I/O expansion, auxilary spindle.

Category: PathPilot

No specific recommendations except to say that there are EtherCAT digital I/O interfaces
with fast response, (servo thread rate so ~ 1 ms precision), so you don't need to add more
servo drives to get more digital I/O that's fast.
  • Rockwood
  • Rockwood
14 Apr 2025 20:09

tormach 1500mx modifications, 4th axis, fast I/O expansion, auxilary spindle.

Category: PathPilot

Hello all! 
I have a project. I need to build a machine to make small wooden parts. They are simple parts, but they have tight tolerances for wood, and I need to be able to dial in changes in dimensions with software. 

I've made two machines in the past that make these parts. The last one used 2 axis coordinated motion with a Yaskawa mp2300 controller (basically a PLC with coordinated motion) and servo motors. The coordinated motion is to cut one simple (but easily changeable)  profile with a custom cutter. It cuts a short profile on the end of a long piece of wood, then I advance the wood forward and cut the part off with a separate spindle that has a cut-off saw on it. Then the cycle repeats. the parts are 15-17mm long, we get 100 or so out of each length of wood. A sensor watches for end of material, stops the cycle, and runs a drop scrap material routine. After tuning everything, I got to 1.8 second cycle times on my last machine. 

I built those machines more than 10 years ago, and they ran production since then until we recently lost both of them in an act of god type scenario. They took me a year each to build since i did it from scratch and we had the time.
Now we'd like to get back into production ASAP, so I'm looking at buying a CNC mill to have a base to start with. Then I build a bunch of tooling/work holding on and above the table.
My worst-case scenario is I buy a mill and strip off its control, put on overpowered Yaskawa servos, and use the same MP2300. I am pretty confident I can make that project work, and the build time will be slightly faster than building from scratch. But it will still be a lot of work and seems pretty wasteful.

I would much prefer to buy a mill with a flexible enough control so that I can modify it for my application. it could be less work, and we get the benefit of an actual CNC mill to help us make our own tooling faster. But I'm unsure if the control will be fast and flexible enough for me. My program will look something like:
  • Check input from the limit switch that the material is clamped, 
  • if so, move about 20mm at max feed rate to cut the profile along X and Y axes. 
  • Once move is complete and I know i am a certain distance away from the profile cutter, send output to unclamp material.
  • about 100 ms later, we get a confirmation from limit switches that the material is unclamped
  • feed part forward about 15mm using a custom-made feeder that is powered by a servomotor (4th axis) 
  • clamp material, wait for confirmation from the limit switch.
  • Move 20-30 mm to cut off station, parts are cut off during the move.
  • Rapid back to the start of the profile cut.
  • Repeat.
I want each iteration to be less than 2.5 seconds. So if there is 50ms or so extra lag in the control for each check, that's fine. If it's more than 100ms each time that could start to stack up and be a problem.

Tormach was helpful enough to run some speed tests for axis motion, but couldn't give any specific info on I/O timing. They said the USB add-on I/O might exceed 100ms of lag between receiving a signal and starting motion. They said the I/O they use through the ethernet axis drives is faster, but there is only 1 output and 1 input left available. Ultimately they said they don't recommend the machine for my application. I doubt any mill manufacturer will though. Haas hasn't been willing to give me any info at all. Titans of CNC hasn't gotten back to me. I'm assuming manufacturers don't want the liability or to have to support some weird project like this.

It looks like the 1500mx uses ethercat drives for spindle and axes. So I think I will see their model and try to buy another matching drive and motor for the 4th axis feed unit . The-cut off spindle could be anything, but I'm considering making it a servo drive also. Maybe those two extra drives on the ethercat network will give me enough fast I/O for my clamps and stuff. 

Resources and limitations:
  • I have 20 years of experience as an industrial technician. Mostly repairing machines, old or weird stuff that my customers can't get support from a manufacturer. Cincinnati milacron, fanuc, custom machines, PLC retrofits, etc. I am very comfortable with ladder logic.
  • My Gcode is weak. I mostly just use MDI to test out equipment and leave the part programing to my customers.
  • I have never used LinuxCNC except a week or two ago when I installed it on an old PC just to poke around. I've installed and used Linux desktops a handful of times over the years, but it never stuck as my primary OS, so I am somewhat literate but mostly a Linux noob. But I am excited to learn LinuxCNC for future projects. I feel like I will be comfortable editing INI and HAL files once I've gotten more familiar with them. I'm fine with writing some simple Python scripts or whatever. Something like writing a custom hardware driver is probably beyond my capabilities. However, subbing out to a better software engineer is an option.
  • For this project, I will have around $50k left to spend on parts after I buy a mill. Im estimating 300-400 hours of labor for me setting this all up. That includes building and testing all the clamps and workholding stuff. I should have plenty of budget for replacing axis servos if they aren't fast enough, building an auxiliary electrical cabinet, installing an auxiliary PLC if necessary, etc., whatever it takes. 

My fear is that I will get too far down the road of modifying the existing control before I find some insurmountable limitations and have to start all over with the custom Yaskawa control option. 

My questions for any pathpilot/linuxCNC experts out there:
  • How doable do you think this would be on the pathpilot control that will come on a 1500mx?
  • Are these controls as open as the linuxCNC that I downloaded (from linuxcnc.org/downloads)? Will I be able to easily get to a console prompt? Root access? is there a desktop environment, or can I install one? I've read some parts of Pathpilot are proprietary or obfuscated. Am I locked out of anything that will hinder me from these kinds of modifications?
  • For this kind of fast, back and forth I/O stuff, would people suggest doing it all in Gcode? Like, just Mcodes assigned to outputs with  inputs as finish signals? or should I try to use classic ladder? or M codes assigned to python scrpts? or an auxilary PLC that just gets a few timing signals from the CNC? any better ideas?

Thanks for reading.
 
  • tommylight
  • tommylight's Avatar
14 Apr 2025 19:54
Replied by tommylight on topic Linux_Mint_22.1_LinuxCNC_2.10.iso

Linux_Mint_22.1_LinuxCNC_2.10.iso

Category: Installing LinuxCNC

Have you tried the r8168-dkms driver?

No, never needed it.
Do a latency test with
latency-histogram --nobase --sbinsize 1000 -- show
leave it for at least half hour while running some glxgears and youtube videos, especially changing the video to full screen several times.
Also what ping times do you get with 6.13 ?
Displaying 15496 - 15510 out of 18507 results.
Time to create page: 0.395 seconds
Powered by Kunena Forum