Advanced Search

Search Results (Searched for: )

  • 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.

 
  • nartburg
  • nartburg
27 Jun 2024 16:59

mesa 7i96s failed to parse Module Descriptor 7

Category: Driver Boards

Dear Forum,
I just connected a new Mesa 7i09s confugured the network -- got contact with the card -- executed Pncconf Wizard -- tryed to execute Linuxcnc and got:
..
..
hm2-eth:discovered 7I96S
hm2/hm2_7i96s.0: Low Level init 0.15
board fails HM2 registration
..
..
..


DEBUG FILE INFO:

Note: Using POSIX realtime
hm2/hm2_7i96s.0: num_sserials references 2 instances, but only 1 are available, not loading driver
hm2/hm2:7i96s.0: failed to parse Module Descriptor 7
hm2_eth: rtapi_app_main: Invalid argument(-22)
./ww1.hal9: waitpid failed /usr/bin/rtapi_app hm_eth
..
..
..

please advise
with kind regards
  • B.Reilly01
  • B.Reilly01
27 Jun 2024 16:22 - 27 Jun 2024 16:26
Replied by B.Reilly01 on topic Spindle/router won't run

Spindle/router won't run

Category: Installing LinuxCNC

Could you post your HAL and INI files?

EDIT:  I see now you're using a controller I'm unfamiliar with, but hopefully can still help.  What VFD are you running?  Which Unity controller is it?
  • jimmyrig
  • jimmyrig
27 Jun 2024 15:26
Replied by jimmyrig on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

A quick way to get a rough idea of the problem

Jog your machine to one side

Using a tape measure from your spindle/head/whatever put a block a known distance near the end of your travel.

Tell the machine to go that location.

If it way overshoots or undershoots you have a "steps per inch" problem. Change your steps accordingly. 1.016*24in = 24.38in ...... This would be very noticable with the above method.

If it's almost spot on. E.g. 24.016 Then it's probably a backlash or squaring issue. Could also be a gearing issue if your are using a rack and pinion with that low of a step count.
  • scotth
  • scotth
27 Jun 2024 15:19
Replied by scotth on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

Remember that the distance between London and Paris is the same whether you represent it in kilometers or miles. The only difference is the way you slice it.
  • tommylight
  • tommylight's Avatar
27 Jun 2024 15:10
Replied by tommylight on topic Ubuntu install

Ubuntu install

Category: Installing LinuxCNC

@cncproject2024

NO Double posting!!!
Just wasted 7 minutes to fix this mess as you used the same tittle for both topics.
  • scotth
  • scotth
27 Jun 2024 14:54
Replied by scotth on topic when an inch isn't

when an inch isn't

Category: Installing LinuxCNC

Look at geometry and lost motion.
Displaying 25696 - 25710 out of 25749 results.
Time to create page: 0.748 seconds
Powered by Kunena Forum