Advanced Search

Search Results (Searched for: )

  • besriworld
  • besriworld
14 May 2024 19:49
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

And I continue with more photos.

 

Here I am processing the X plate

 

 

 

 

 

 

 

 
  • anfänger
  • anfänger's Avatar
14 May 2024 19:29
Replied by anfänger on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

many thanks, I'll give it a try, with the 7i95s the encoders are wired up so getting the index to the Mesa cards is already done.
  • SPO
  • SPO
14 May 2024 19:25 - 14 May 2024 20:28
Help understanding HAL dataypes was created by SPO

Help understanding HAL dataypes

Category: HAL

LinuxCNC 2.9.2
Mesa 7i96s

We have a hobby lathe that has an interlock for a guard / shield.
Our initial configuration had an estop button and the guard interlock in an estop latch.
Now we would like to allow the guard to be open when the lathe is not in auto / running a program.
For now we have been using a second key for the guard, I would like to avoid that.
I haven't looked into the pins for running a program yet, but my question is more about hal datatypes.

loadrt mux_generic config="bb2"
addf mux-gen.00 servo-thread
loadrt estop_latch count=2
addf estop-latch.0 servo-thread
addf estop-latch.1 servo-thread
net estop-loopin iocontrol.0.user-enable-out => estop-latch.0.ok-in

setp mux-gen.00.in-bit-00 True
setp mux-gen.00.in-bit-01 estop-latch.0.ok-out
setp mux-gen.00.sel-bit-00 halui.mode.is-auto
net estop-door.ok mux-gen.0.out-bit => estop-latch.1.ok-in

net estop-loopout estop-latch.1.ok-out => iocontrol.0.emc-enable-in
net estop-reset <= iocontrol.0.user-request-enable
net estop-reset => estop-latch.0.reset
net estop-reset => estop-latch.1.reset
net remote-estop0 estop-latch.0.fault-in <= hm2_7i96s.0.inm.00.input-04-not
net remote-estop1 estop-latch.1.fault-in <= hm2_7i96s.0.inm.00.input-05-not

The result error messages I get are:
value 'estop-latch.0.ok-out' invalid for bit
setp failed

Replacing 'estop-latch.0.ok-out' with False for testing
value 'halui.mode.is-auto' invalid for bit
setp failed

According to linuxcnc.org/docs/stable/html/gui/halui.html#_mode halui.mode.is-auto is a bit out pin
halcmd show pin halui.mode.is-auto
    10  bit   OUT         FALSE  halui.mode.is-auto

I'm not sure why it doesn't work and the error message isn't great.  In LinuxCNC it looks like the error message is from github.com/LinuxCNC/linuxcnc/blob/dc9a98...cmd_commands.cc#L666
Does FALSE from halcmd ouput not equal FALSE in some way?  Maybe halui isn't loaded at this point?
Any help / insight would be apperciated.  Thanks

Edit: Looking at the error messages again, I realize setp is taking the literal value of the second parameter.  Not the value of the pin with that name.  Now to see if I can figure it out with net / signals.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
14 May 2024 19:12
Replied by Cant do this anymore bye all on topic Run linuxcnc as root user

Run linuxcnc as root user

Category: General LinuxCNC Questions

The biggest issue is the mess that can be made of the file system.


TBH the OP confuses me.
  • gastlth1
  • gastlth1
14 May 2024 19:11 - 26 May 2024 22:12
Replied by gastlth1 on topic Leadshine EL8 interruptions

Leadshine EL8 interruptions

Category: EtherCAT

After a quarter of an hour of running the program, I spontaneously got the error message again, as shown in the attachment.Is this the latency time, can it be caused by the Ethercat network system or is another explanation plausible?
  • westhedge
  • westhedge
14 May 2024 18:47
Replied by westhedge on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Holy. Moly.
The issue plaguing me was NOT obvious AT ALL. It turns out the issue with spindle toggle (S-ON/OFF button) not toggling (only setting "on"), E-Stop (RESET button) not working, jog dial not working, yeah, they were actually all related and it speaks to something I wish someone could explain to me about HAL pin wiring.

The facts:
I used pncconf to generate my ini and hal files. In the main hal file, it wires up (among other things)
net machine-is-on halui.machine.is-on
However, in the sample XHC WHB04B file, there is a conflicting line:
net machine.is-on                        whb.halui.machine.is-on                halui.machine.is-on
OK, says I, no problem, according to the HAL man page, signals are additive, so I changed that line to 
net machine.is-on                        whb.halui.machine.is-on
thinking that the 2 pins would be connected through the 1 common signal. That's a big nope, and for the life of me I do not understand why. (maybe someday I'll have a lightbulb moment...)
The solution: 
The key was to NOT change the sample  XHC HAL, but to comment out the net line in the main config.

That was ridiculously difficult to sort out.

Why almost everything else worked on the pendant except for the dial still makes little sense to me. e.g. if the machine is in E-Stop, why should spindle on/off be allowed? Everywhere I've worked, the E-stop is a safety device, not a "some parts are safe" device.
  • Grotius
  • Grotius's Avatar
14 May 2024 17:59
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@Robh,

loving the progress on this, keep up the hard work cant wait to see a version to try my self..
It's really hard work to get this done. What kind of machine do you use yourself to try it on?

@Hydroid7
Do you plan to release your code to fellow tinkerers?
Yes, i always release my code. But currently i will wait until i think it's ready to release.
Still the coding is in progress.


Project status :
Currently coding the look ahead algo, this algo traverses forward and reverse over a "n" ammount
of gcode lines. It set's optimal vo, vm, ve for the gcode segments.
  • N3pu
  • N3pu
14 May 2024 17:57

hal_manualtoolchange as signal for manual tool change button close to spindle

Category: General LinuxCNC Questions

thanks for your help. i have now comment one more line to use the io tool-prepared.
#  ---Signale zum manuellen Werkzeugwechsel---

#net tool-change-request    <= iocontrol.0.tool-change

#net tool-change-confirmed  => iocontrol.0.tool-changed
net tool-number            <= iocontrol.0.tool-prep-number

# ---Toolchange Button Integration during M6 Call---
addf atc_button servo-thread
net tool_change_request iocontrol.0.tool-change => atc_button.in0
net atc_button_on_spindle hm2_7i76e.0.7i76.0.0.input-29 => atc_button.in1
net atc_zylinder  hm2_7i76e.0.7i76.0.0.output-04 <= atc_button.out

net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net atc_zylinder iocontrol.0.tool-changed


#  ---ignoriere Anfragen zu Werkzeug-Vorbereitungen---
#net tool-prepare-loopback   iocontrol.0.tool-prepare      =>  iocontrol.0.tool-prepared

when i now push the button after M6 Tx it justfires a small pulse to the atc_zylinder and then it shows the correct toolnumber in linuxcnc.


BUT the small pulse is to short to insert the tool / unclamp. I think that pushing the button fires the tool changed and then tool-change is not active anymore.

Maybe a way could be to watch the button rising and falling edge??
or could it makes more sense to tr the hal component "manualtoolchange" out?
  • PCW
  • PCW's Avatar
14 May 2024 17:20
Replied by PCW on topic Mesa Analog Vs Step Dir

Mesa Analog Vs Step Dir

Category: Driver Boards

Its possible to home to index with step/dir, it just requires
firmware with step/dir index support and wiring the index to
the mesa card
  • garja
  • garja
14 May 2024 17:08
Replied by garja on topic QTdragon Tool Probe X & Y Offsets

QTdragon Tool Probe X & Y Offsets

Category: Other User Interfaces

Fantastic! Thanks again for your time.
  • tommylight
  • tommylight's Avatar
14 May 2024 16:56
Replied by tommylight on topic Jcb plasma table

Jcb plasma table

Category: Plasma & Laser

Since you did not ask, i would say no ballscrews on plasma machines, except Z axis.
Use belts or rack/pinion preferably helical type as it makes less noise and less vibrations.

Also I have only one ballscrew for the table long axis (2m), is moving the gantry axis from one side only going to be ok?

Again, no for more than one reason in this case, to long so it will probably start whipping at 100-150 RPM, and one side only very, very slow speed, like snail pace, otherwise it will bend and rake a lot. Square carriages have wipers on them causing friction and requiring quite some force to move.
As for Stahlwerk, fire the torch in mid air, if it keeps arcing = all good, otherwise no good, although with a bit of hal wizardry it can be probably used but not reliably.
THCAD will need 2 of 1MOhm or 2MOhm resistors and a capacitor of 0.1uF/350V if you do not want to open the plasma and wire stuff inside.
Do this at your own risk, it is not advised to wire it to output terminals. Despite this, me and several others have it wired that way without issues.
Torch on should be on a connector so use that, and no need for ARC-OK signal as it can be derived from the arc voltage.
  • westhedge
  • westhedge
14 May 2024 16:40 - 14 May 2024 16:55
Replied by westhedge on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

The error below is just because I had the multiplier knob on "Lead"  Still the pendant wheel does not increment count even if it's on a valid setting.
So I just noticed when I ran xhc-whb04b-6 -ue I am getting an error I do not understand when I spin the jog dial. Maybe there is something here?

in 0x04 10 00 00 90 11 04 10 delta 144 => | 04 | 10 | | | ( ) | X( ) | 4 | 10
pndnt failed to interpret axis code feed axisCode={�}
pndnt wheel total counts {counts=0 activeCounter=0 isLeadActive=0}
  • MrFluffy
  • MrFluffy
14 May 2024 16:28
Jcb plasma table was created by MrFluffy

Jcb plasma table

Category: Plasma & Laser

Hi all, its been awhile sorry, not had much time for anything of late and I've just been quietly using my linuxcnc converted bridgeport, but it seems I finally will get to play again.
I decided I have need for a cnc plasma table, so I started to put together a list and get parts.
So far I have:
Usual old PC for control,
Mesa 7i76e for control,
Mesa THC-5,
3x 3Nm closed loop steppers with drivers + psu's, the closed loop function is handled inside the stepper driver so they look like normal open loop steppers to the mesa, I hope they dont get affected by interference...
A 200mm travel z axis
Various limit switches
4 HGR20 rails with trucks and ball screws for x & y
P80 plasma torch suitable for z axis mounting
 

For a table, I have a used very old JCB backhoe chassis that had become damaged in a roll over incident and had to be cut up :)
I rotated the backhoe chassis and started to cut off extra bits, and put it on heavy casters to roll about already, and am in the process of cleaning it up to mount the rails directly onto it via tapped holes then I'll shim the rail->chassis where needed. 
A chassis for a digger weighing 8t is going to be plenty rigid & I can move it round with the fork truck if needed without worrying about it distorting. I'll mount the control electronics inside the section of the frame at the front that used to form the machine's diesel tank, so it will be good for sheilding + heat dissapation.
 
I'm posting this because I'm a bit hazy on the details how to connect a THC to the plasma unit.
I have a mesa THC-5 ordered, but I'd like to use my Stahlwerk Cut60 because its 380v tri-phase and I have a amp limit to run the table + compressor.  Someone from Stahlwerk told me when I enquired that it was scratch start and I'd need to buy a later model to get HF start, but if you hold the tip near the work you can see a small spark jump before it establishes the plasma and it doesnt need to touch to establish so perhaps something was lost in translation.
I read that the stahlwerk plasma cutters need modification to get some of the signals out for cnc use, my search is failing me for finding more info on what's specifically needed to be done inside this plasma cutter itself, any links?

Also I have only one ballscrew for the table long axis (2m), is moving the gantry axis from one side only going to be ok? I'm a little worried that rapid moves will cause it to go out of square. I dont mind slowing it down a little if that can help eliminate this, I dont care if I have to wait a bit longer for parts.

Looking forward to finally making progress on making something again, and your comments.
 
  • gastlth1
  • gastlth1
14 May 2024 16:22 - 14 May 2024 16:24
Replied by gastlth1 on topic Leadshine EL8 interruptions

Leadshine EL8 interruptions

Category: EtherCAT

Which of these components can negatively influence the performance of the constellation Linuxcnc with Ethercat?
  • OT-CNC
  • OT-CNC
14 May 2024 16:16 - 15 May 2024 18:02
Replied by OT-CNC on topic 7i77 isol

7i77 isol

Category: Driver Boards

I tried the donker optocoupler for starters. It can't keep up with the speed of the servo. With the isolation, oddly feedback still occurs.
The 7i77 isol I have to shoehorn into my enclosure. I'm holding off on installing it for now.
When switching the drive to current/torque mode, where the drive no longer reads in the encoder, the feedback problem goes away. Probably still there just not traveling back / assuming influencing velocity feedback through the encoder in the drive. How is that possible?
I struggle tuning in current mode. I can't really get the motor shaft locked and slow speed seems very coarse/rough running. 


Here is a link to what's going on prior to switching to current mode. The analog feedback from mesa is disconnected shown at the end to illustrate that the interference is not coming through the 7i77. 

 

 
Displaying 26266 - 26280 out of 26478 results.
Time to create page: 0.599 seconds
Powered by Kunena Forum