Advanced Search

Search Results (Searched for: )

  • tommylight
  • tommylight's Avatar
27 Jun 2024 23:18
Replied by tommylight on topic lube.py "No such file or directory"

lube.py "No such file or directory"

Category: HAL

Try this:

loadusr -W lube.py
or

loadusr -W ./lube.py
If that does not work, edit the lube.py file and check at the top there should be something like
#!/usr/bin/python
or
#!/usr/bin/python2
and change it to
#!/usr/bin/python3
save, try running LinuxCNC
  • Grotius
  • Grotius's Avatar
27 Jun 2024 22:59
Replied by Grotius on topic disable run button if door open

disable run button if door open

Category: AXIS

In hal i think :
net just_a_name axisui.run-disable hm2_7i97.0.inmux.00.input-11-not

Then the python code is indeed stopping at this line when run-disable is active:
if comp : return

The name : axisui.run-disable looks ok to me.

I think you are almost there.
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
27 Jun 2024 22:43
Replied by Cant do this anymore bye all on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

I only measure in bannanas


That is most wise
  • Grotius
  • Grotius's Avatar
27 Jun 2024 22:42
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

Hi,

Made a sample video of the progress so far for hal-core-2.0.

The gui sends the jog commands to the hal-component "state_machine.so" via shared memory.
Jogging is done by using scurve.
Motion speeds, acc, jerk, etc, is saved within the program settings tab. No ini file is needed so far.
Qt has a nice save settings framework, wich works ok.

In the state_machine.so component, all info is there to write the trajectory planner coming time.

So far the code is compact.

  • vre
  • vre
27 Jun 2024 22:21
Replied by vre on topic Hydraulic pump control

Hydraulic pump control

Category: Advanced Configuration

I have done this with and2 and works
but how can i give 1second delay to and2 output
so the hydraulic pump work 1s more after pressure switch triggered ?
  • disneysw
  • disneysw
27 Jun 2024 22:21
Replied by disneysw on topic Problem with a MESA 7i76

Problem with a MESA 7i76

Category: General LinuxCNC Questions

Sorry to dig up an old thread but I have fried a 7I76 board due to connecting the end stop plug into the spindle connector and shoving 24V where it was never supposed to go!

Mine is a rev C board and PTC4 is badly scorched but still seems to be working. CR17 went short circuit and was burnt to a crisp which in some ways may have been a saving grace.

The FPGA is working and the voltage rails look good but the stepper buffers seem to be damaged.

I know I need to order SSOP versions of the 74ACT541 and 74ACT540 but what values are the PPTC and CR17? What else may have gone?

Finally is the schematic for the 7i76 available?
  • Grotius
  • Grotius's Avatar
27 Jun 2024 20:37
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@hmnijp,
Thanks for your contribution.

@Beckvill,
Please post the file, than i can save it to investegate later on.

For the question to enable 4th axis without disabling look ahead, i thought of making a simple solution.
This solution should be fine for 3d printers using a 4th axis for a extruder. The idea was to interpolate
the 4th axis given the current gcode line progress 0-100%.
And try to add it up to the fillet. 

For this i have to figur out the original trajectory planners workflow for fillets and make a intrusion somewhere.
This will take more then one day to investegate. So if this is a bad idea, i better do something else.

 
  • smc.collins
  • smc.collins
27 Jun 2024 20:32
Replied by smc.collins on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

I only measure in bannanas
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
27 Jun 2024 20:23
Replied by Cant do this anymore bye all on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

The trouble comes when one assumes km instead of miles or the other way round, ask NASA about that one.
From what I’ve heard congress in the US actually officially adopted the metric system in the mid 70’s, could of been ‘76 which would make sense as to why it was ignored.
To me consistent units of tens makes more sense than 12 inches to a foot, 3 feet to a yard, 22 yards to a chain, this where my knowledge of it stops apart from 1.6km to a mile.
At least a smidge, just a bit and poofteenth (this maybe just a term to my local), “about that much” & “you can drive a truck through it” are easily understood no matter your base unit. There’s a few others but not entirely in line with “the code of conduct” ;)
  • jimwhiting
  • jimwhiting
27 Jun 2024 20:17

Mitsub_vfd - back to back speed commands causes error

Category: Advanced Configuration

Hi,
I've managed to get it to work on my machine now.

It appears there is a race condition in the run/fwd signal handling. My machine shows run == false, and fwd == true at the top of the code below, but run == true, fwd == true at the end where the transfer to last_fwd and last_run takes place. Moving the assignment to just after the comparison solves the issue.

I've included the butchered code to show what I mean. I'll revert and just test my single change next.
                # SET RUN AND DIRECTION
                # address FA sets the start and direction
                # it expects a 2 character hex representing a 8 bit (b0 - b7) binary number
                # bit 1 sets forward, 4 sets reverse, 0 stop
                # depending on the inverter and options other bits are possible,
                # but these three are consistent
                if not self['last_run%d'%index] == self.h[index]['run'] or not self['last_fwd%d'%index] == self.h[index]['fwd']:
                    print('MITSUB_VFD: Run: ', self.h[index]['run'], ' FWD: ', self.h[index]['fwd'])
                    print('MITSUB_VFD: LastRun: ', self['last_run%d'%index], ' LastFWD: ', self['last_fwd%d'%index])
                    self['last_run%d'%index] = self.h[index]['run']
                    self['last_fwd%d'%index] = self.h[index]['fwd']
                    if self.h[index]['run']:
                        if self.h[index]['fwd']:
                            cmd = "FA";data ="02"
                        else:
                            cmd = "FA";data ="04"
                    else:
                        cmd = "FA";data ="00"
                    word = self.prepare_data(cmd,data)
                    self.ser.write(word)
                    time.sleep(.05)
#                    self['last_run%d'%index] = self.h[index]['run']
#                    self['last_fwd%d'%index] = self.h[index]['fwd']
#                    if self.h[index]['debug']:
                    string,chr_list,chr_hex = self.poll_output()
#                        print('DEBUG: ',chr_list,chr_hex)
 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
27 Jun 2024 20:06
Replied by Cant do this anymore bye all on topic LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Tho I haven’t had a chance to play with one, the 7i90 looks like it would make a great general purpose FPGA learning board. 72 bi directional pins that are 5v tolerant due to the bus switches used, tho buffers would be needed to drive LEDs.
Plus the pins used by the EPP interface and 3.3 only pins on the SPI connector.
Electrically the smart serial interface is RS-422, nothing non standard there.
Actually I wasn’t actually suggesting doing it, was more academic than anything else. Just the rantings of a mad Aussie.
  • rodw
  • rodw's Avatar
27 Jun 2024 19:53

Linuxcnc 2.8.4 does not show tandem items.

Category: General LinuxCNC Questions

looks like it will home Z, then, Y, then X
  • blazini36
  • blazini36
27 Jun 2024 19:34
Replied by blazini36 on topic Universal Control panel build

Universal Control panel build

Category: Show Your Stuff

Did you decide to build a few for sale? If so, have you settled on a price? and if not, would you be willing to sell me a copy of your CAD? This looks great, and I have a machine to finish off.
 

I did not build extras yet but I have material cut for 4 or 5 more that I wanted to make the enclosures for and get them all powdercoated at once. Hold up has just been the fact that I was not satisfied with the software implementation of Arduino-Connector as I had issues with lag on the inputs that's really not acceptable. So I got sidetracked until I get this sorted.

I went back to the drawing board and made an EtherCAT controller for the IO which I prototyped months ago. Hold up on that is I have someone writing the firmaware for it and it's taking longer than I hoped/expected, hopefully it will be done soon.

It could of course just use something like a Mesa 7i90HD like any other control panel somebody might build.
  • COFHAL
  • COFHAL
27 Jun 2024 19:32
Replied by COFHAL on topic G54 ON START UP

G54 ON START UP

Category: AXIS

I already found the problem after two days, it was in the .HAL file in the various signal section, they had included the instruction halui.abort, but the truth is I don't know why this instruction changes from G54 to G53.
Displaying 24871 - 24885 out of 26050 results.
Time to create page: 1.021 seconds
Powered by Kunena Forum