Advanced Search

Search Results (Searched for: )

  • dave.franchino@gmail.com
  • dave.franchino@gmail.com
16 Aug 2024 15:37
Replied by dave.franchino@gmail.com on topic configuring GPIO for a Raspberry Pi 4B

configuring GPIO for a Raspberry Pi 4B

Category: Configuration Tools

Oh thank you so very much! I thought I was going crazy. Your explanation makes a lot of sense.

Might be nice to add a note to that document to clarify this as it's not incredibly obvious. I'm a LinuxCNC newby and I'm not sure of the protocol for making changes like this but if it's something I can or should do I'm happy to try adding a note. Thanks again!
  • elovalvo
  • elovalvo
16 Aug 2024 15:29
Replied by elovalvo on topic configuring GPIO for a Raspberry Pi 4B

configuring GPIO for a Raspberry Pi 4B

Category: Configuration Tools

and everything is right!
The fact is that the pin outs of the Raspberry are inputs for the LinuxCNC and vice versa...

You will see that if you configure input pins with hal_pi_gpio, in the halcmd show pin command they will be shown as OUT

 
  • chernogorsky
  • chernogorsky
16 Aug 2024 15:15
Replied by chernogorsky on topic qtdragonhd / probing

qtdragonhd / probing

Category: Qtvcp

I think if tool measuring button is pressed it should be set same as for tool height
but again, Im not the real CNC guy,
I can live with manual process, its good enough for me
  • vick.trinity
  • vick.trinity's Avatar
16 Aug 2024 15:15
Re-enable drives after a fault was created by vick.trinity

Re-enable drives after a fault

Category: General LinuxCNC Questions

I am using LinuxCNC to drive a PUMA type robot with brushed DC motors, encoders, and harmonics on each joint.  I have a 7i77 and 5i25 controlling 5 AMD motor drives for control.    Unfortunately, the joints do not have brakes, so every time get an FERROR fault, all drives are disabled and the arm drifts down until I can run over to the computer and re-enable the drives.
Can I alter my HAL file to pause after a fault and then re-enable the drives automatically?  I have found some messages that are on the right track like:
"I would use a combination of a timedelay hal component connected to the amp enable output, then the output of that to an and2 comp combined with the fault input from the drive, then the output of the and2 to motion.axis.N.amp-fault-in. This would essentially disable the amp's fault signal until the timdelay expires after turning on. "  from Todd Z

But, I've got to say - the HAL file is like my grasp of Spanish.  I can read it and get the gist of what is happening, but ask me to actually write something correct and I am illiterate.  I'm going to need some hand holding I'm afraid.

 
  • dave.franchino@gmail.com
  • dave.franchino@gmail.com
16 Aug 2024 15:12
Replied by dave.franchino@gmail.com on topic configuring GPIO for a Raspberry Pi 4B

configuring GPIO for a Raspberry Pi 4B

Category: Configuration Tools

That is exactly the document I have been using. As a test I tried to configure just one GPIO pin as an output - but when I run Halcmd Show Pins in a terminal that pin is showing up with direction set to "in"

Is there any chance that I don't understand what "Show Pins" is reporting. What does "direction" mean in this context - is there any chance that I do want direction to be "in" for an output? That seems unlikely.
  • PhilipME
  • PhilipME's Avatar
16 Aug 2024 15:06
Replied by PhilipME on topic connecting a soft button to bob pin 17

connecting a soft button to bob pin 17

Category: General LinuxCNC Questions

I will read and try it

Thanks
  • chernogorsky
  • chernogorsky
16 Aug 2024 14:57
Replied by chernogorsky on topic [QTDragon] blocking in hal_manualtoolchange dialog

[QTDragon] blocking in hal_manualtoolchange dialog

Category: Qtvcp

Hi,
lcnc 2.10-dev (builded from master)

I saw that,
I want to avoid multiple steps,
What I need is run a command from the dialog (by button from a dialog, or by external signal like pendant)
my imaginary flow be like
programm triger TxM6
it goes to change location
shows toolchange dialog
I change the tool by pressing additional button on a dialog / phisical button on a pendant
press OK
and it continue its procedure with qc_autotool_change macro

Im looking for a solution to overcome blocking during dialog or
replace that dialog with my own, without the need of changing dialog_widget.py file (and keep the changes all the time I update the lcnc)

all the rest would be handled by the program itself, including spindle speed, locations, ...

in short I want to have another action during manual change, since I dont need to work with wrenches rather button click

priv I had air release button closeby, but after rewiring all the air contorls goes to the back side of my cnc (
I would consider adding phisical button for tool replace later, but it would be through lcnc logic, not directly, means - I need lcnc be not blocked (
  • AlessandroEmm
  • AlessandroEmm
16 Aug 2024 14:56
Replied by AlessandroEmm on topic Beginners homing woes

Beginners homing woes

Category: Basic Configuration

Thanks Todd for looking over my setup.

Your laying out of the not-so-clear configuration led me to move things where they belong. The Z-Axis Configuration is driven by Joint 3. But since I only added the second Y later, it came after the Z's definition.
When I changed the ordering I realised that my homeing Order wasn't correct either. Which led to the situation that LinuxCNC would try to home an axis that i hadn't attached yet (Z's Joint). Which then in turn would lead to a situation where Y and X would never home and me waiting forever. Having now fixed the priorities, axis do home as they should. Thanks for pushing me to it!

That said for the Gantry: does it make sense to use keep the trivial trajectory setup or would I rather use one of the available gantry components to manage Y? I havent really found pros and cons online. Both side of the gantry should are fixed by leadscrews so theres little to no tilting possible.

Thanks again,
Alessandro
  • G0G53Z148
  • G0G53Z148's Avatar
16 Aug 2024 14:50
Replied by G0G53Z148 on topic Aktuelle hardware mit PCI

Aktuelle hardware mit PCI

Category: Deutsch

danke es läuft schon es werden sicher andere config sachen auch kommen es musste einfach der pci-x adapter gegen einen anderen hersteller getauscht werden 

wir sind es gewohnt viele frösche zu küssen bis die prinzessin erscheint :)

danke für die inspiration
  • PCW
  • PCW's Avatar
16 Aug 2024 14:44
  • Aciera
  • Aciera's Avatar
16 Aug 2024 14:36
Replied by Aciera on topic Spindle stop from G-code (M05)

Spindle stop from G-code (M05)

Category: HAL

If you want an M5 gcode to shut your spindle off you would probably want to use an internal motion pin like 'spindle.0.on' and invert that.

linuxcnc.org/docs/html/man/man9/motion.9.html
  • Aciera
  • Aciera's Avatar
16 Aug 2024 14:08 - 16 Aug 2024 14:26
Replied by Aciera on topic How to setup gearbox/reducer

How to setup gearbox/reducer

Category: Basic Configuration

Actually, looking at this more closely, it's probably specific to dmitrys Mechatrolink hardware as 'nyx' refers to his hardware driver:
setp nyx.0.servo-00.pos-scale [JOINT_0]SCALE

Looks like you have an EtherCAT setup so my input is not really relevant after all.

[edit]
I would expect that you need set the gear ratio in the motor drives.
  • slowpoke
  • slowpoke
16 Aug 2024 13:49
Spindle stop from G-code (M05) was created by slowpoke

Spindle stop from G-code (M05)

Category: HAL

My present HAL spindle start, stop logic is working as desired except M05 commands in my gcode files are ignored.

I can change the OR gate to a 4 input (personality 0x204), however I'm not sure what signal I would use to drive that 4th input, or if there is an overall more elegant solution for spindle control. Note: I always manually start the spindle before hitting the run button for gcode execution, so I don't really need G03, G04 capability.

Suggestions please.
   

File Attachment:

File Name: postgui_sp...rpts.hal
File Size:1 KB
  • DPFlex
  • DPFlex
16 Aug 2024 13:49
Replied by DPFlex on topic How to setup gearbox/reducer

How to setup gearbox/reducer

Category: Basic Configuration

Hello Aciera,
Can you share your note here ?.
I searched in DH-parameters for Genserkins and Vismach/Melfa-sim, could not find your note or anything mentioned about absolute encoder :)
Thank you.
Displaying 20956 - 20970 out of 26033 results.
Time to create page: 1.020 seconds
Powered by Kunena Forum