Advanced Search

Search Results (Searched for: )

  • greg23_78
  • greg23_78
27 Jun 2024 19:09
Replied by greg23_78 on topic lube.py "No such file or directory"

lube.py "No such file or directory"

Category: HAL

 

 

 

 

 
  • cncbeagle
  • cncbeagle
27 Jun 2024 18:51
Replied by cncbeagle on topic Resume not working after M0

Resume not working after M0

Category: General LinuxCNC Questions

Just tried your suggestion of removing S20000 from the preamble. It appears to have worked. The reason I say "appears" is because it was not a straight forward test as I had already probed the board with the VFD off. Then I needed to warm up the VFD/spindle after which I ran the file from beginning to end. The probe section worked as expected as did the actual milling.

Thanks again for the suggestions.

I have been using Linuxcnc for a few years and I have learned enough to understand how little I really know about its inner workings. I started with a parallel port eventually moving to a mesa 7i76E. The machine started with 3/8-16 screws and skate bearings and now has ballscrews and linear rails. I enjoy modifying the machine as much as using it.
  • PCW
  • PCW's Avatar
27 Jun 2024 18:24

7i96S - NPN-NC Proximity Sensors and NPN-NO 3D Probe

Category: Driver Boards

The main NO/NC difference is just that you typically need to invert
the inputs of NC sensors in the setup, so no additional hardware is
needed.

You may be thinking of NPN vs PNP.

The 7I96S only has one input common terminal so cannot
accommodate a mix of NPN and PNP sensors without adding
external resistors.
 
  • aparecido
  • aparecido
27 Jun 2024 18:12
Replied by aparecido on topic Linuxcnc 2.8.4 does not show tandem items.

Linuxcnc 2.8.4 does not show tandem items.

Category: General LinuxCNC Questions

Have a look at the homing veocities
linuxcnc.org/docs/stable/html/config/ini...tml#_home_search_vel
As the docs say there is trade off between homing speed and overrun.
From memory I use search_vel 12 m/min and placed the home switch far enough away from the limit switch so the axis could coast to a stop
Then a much slower latch velocity to find the home switch edge
Finally a home_offset (of about 40mm) to move close to the limit switch to maximize the machine envelope

Whilst you can use a shared home/limit switch, and this works fine where there is some weight being moved (eg milling machine table) so the axis stops quickly, a lightweight gantry might be better off with seperate switches so you can home at speed.
 

 Ah ok, I'll test it at other speeds to see how it behaves.
 One more question, when I give the home all command, does it homing to Y and homing to the Z axis and then to Y and finally to X1+X2?
 The initial sequence is configured like this:
Z axis = 0
Y axis = 1
X1 axis = -1
X2 axis = -1
  • Rexus
  • Rexus
27 Jun 2024 18:09

7i96S - NPN-NC Proximity Sensors and NPN-NO 3D Probe

Category: Driver Boards

Hey All,
I am in the midst of rewiring my PrintNC to use a Mesa 7i96S card to add some functionality that the BoB can't provide.

I have NPN-NC proximity sensors for homing and would like to integrate a NPN-NO 3d probe that I have lying around. I suspect this may be more trouble than purchasing a NC probe but thought I'd ask.

Is there any way to wire in the NO probe into the Mesa inputs? I've read about using a relay to convert the NO to NC but was wondering if I'm missing something easier. 

Would it be easier to run NPN-NO proximity sensors to match the probe? I'm open to making changes at this point and even have an extra set of NO sensors for homing but wanted to ask prior to making changes.

3d probe is here .
Proximity Sensors are here

Any help would be appreciated.
Thanks,
Rexus
  • greg23_78
  • greg23_78
27 Jun 2024 18:07
Replied by greg23_78 on topic lube.py "No such file or directory"

lube.py "No such file or directory"

Category: HAL

i have try in my config folder but still the same problem
  • greg23_78
  • greg23_78
27 Jun 2024 18:05 - 27 Jun 2024 18:05
Replied by greg23_78 on topic lube.py "No such file or directory"

lube.py "No such file or directory"

Category: HAL

yes, i have my lube.py in /bin folder and is set in executable
  • Hastrh2o
  • Hastrh2o
27 Jun 2024 18:04 - 27 Jun 2024 18:06
Replied by Hastrh2o on topic lube.py "No such file or directory"

lube.py "No such file or directory"

Category: HAL

As said Aciera, you shouldn't have lube.py in /bin/ .
Maybe you would write ./bin/lube.py in case you are working in /usr and you placed the file in /usr/bin as you said.
/ mean the filesystem root, ./ mean "here"
  • greg23_78
  • greg23_78
27 Jun 2024 18:04
Replied by greg23_78 on topic disable run button if door open

disable run button if door open

Category: AXIS

on my halcompil, i see the pin axisui.run-disable
  • greg23_78
  • greg23_78
27 Jun 2024 18:02
disable run button if door open was created by greg23_78

disable run button if door open

Category: AXIS

I wanted to know if this modification is still functional?
Hi

You can achieve this quite simply by a short hack of Axis

After line 2071 in the master (search for [b]def task_run(*event): [/b] )
insertif comp['run-disable']  : return
iedef task_run(*event):
        if comp['run-disable']  : return  ## inserted line
        if run_warn(): return

        global program_start_line, program_start_line_last
        program_start_line_last = program_start_line;
        ensure_mode(linuxcnc.MODE_AUTO)
        c.auto(linuxcnc.AUTO_RUN, program_start_line)
        program_start_line = 0
        t.tag_remove("ignored", "0.0", "end")
        o.set_highlight_line(None)
Then at line 3243 in the master ( search for [b]comp.newpin("notifications-clear-error",hal.HAL_BIT,hal.HAL_IN)[/b])
insert
[b]comp.newpin("run-disable",hal.HAL_BIT, hal.HAL_IN)[/b]

ieif hal_present == 1 :
    comp = hal.component("axisui")
    comp.newpin("jog.x", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.y", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.z", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.a", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.b", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.c", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.u", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.v", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.w", hal.HAL_BIT, hal.HAL_OUT)
    comp.newpin("jog.increment", hal.HAL_FLOAT, hal.HAL_OUT)
    comp.newpin("notifications-clear",hal.HAL_BIT,hal.HAL_IN)
    comp.newpin("notifications-clear-info",hal.HAL_BIT,hal.HAL_IN)
    comp.newpin("notifications-clear-error",hal.HAL_BIT,hal.HAL_IN)
    comp.newpin("run-disable",hal.HAL_BIT, hal.HAL_IN)                    ## inserted line
    vars.has_ladder.set(hal.component_exists('classicladder_rt'))

You will now have a pin called [b]axisui.run-disable[/b]

If that is set to TRUE (1) it will not be possible to run a program as the function will return

regards

I made the modifications as explained in the topic but it doesn't work on my side.

hal_file
net door-open-disable-run           hm2_7i97.0.inmux.00.input-11-not
net door-open-disable-run           axisui.run-disable

i try with
net axisui.run-disable           hm2_7i97.0.inmux.00.input-11-not       

because i,m not the best in hal language and i want be sure is not a hal syntax problem
i have no error with it but it doesn't work.

error is
pin 'axisui.run-disable' does not exist
  • Aciera
  • Aciera's Avatar
27 Jun 2024 17:47
Replied by Aciera on topic lube.py "No such file or directory"

lube.py "No such file or directory"

Category: HAL

Do you have a file named 'lube.py' in your '/bin' folder?
  • SupplySergeant
  • SupplySergeant
27 Jun 2024 17:34
Replied by SupplySergeant 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.
  • meister
  • meister
27 Jun 2024 17:24

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

Category: Computers and Hardware

RIO has no EPP and no Smart-Serial support, but I don't see what should speak against it
running RIO on Mesa hardware.
The only thing is, Mesa is very well supported and tested,
there is no reason to use RIO on Mesa.
  • greg23_78
  • greg23_78
27 Jun 2024 17:06
lube.py "No such file or directory" was created by greg23_78

lube.py "No such file or directory"

Category: HAL

I have a problem using lube.py
I followed the cmorley procedure:
" try this (depending on your file manager the tabs etc might be called diffeent but the process should be the same.
.
Find the lube.py file using the file manager and right click it.
select 'permissions' tab
select 'make executable' checkbox.

switch back to 'basic' tab.
look for 'location'
copy it to the hal file so it looks like this (obviously you will have a different path):

loadusr -W /home/chris/emc-dev/configs/sim/qtvcp_screens/lube.py

Chris "

but I still have the problem of "No such file or directory".
I've tried to place it in usr/bin like lubedude's procedure but I'm having the same problem.
Found file(REL): ./main.hal
./main.hal:5: execv(/bin/lube.py): No such file or directory
./main.hal:5: waitpid failed /bin/lube.py lube
./main.hal:5: /bin/lube.py exited without becoming ready
Shutting down and cleaning up LinuxCNC...

my hal file
loadusr -W /bin/lube.py
what is the cause of this problem?
  • PCW
  • PCW's Avatar
27 Jun 2024 17:02

mesa 7i96s failed to parse Module Descriptor 7

Category: Driver Boards

In pncconf, select 7i96s_d firmware
rather than 7i96s_7i74 firmware.

 
Displaying 23746 - 23760 out of 26455 results.
Time to create page: 0.488 seconds
Powered by Kunena Forum