Configuring Plasmac - a complete THC/plasma config for any hardware

More
12 May 2019 07:14 #133513 by phillc54
Comment out these lines in your machine hal:

line 233:
net spindle-enable        =>  pid.s.enable

line 244:
net spindle-enable             <=  spindle.0.on

Cheers, Phill.

Please Log in or Create an account to join the conversation.

More
12 May 2019 07:36 #133521 by JTknives
Oh thank the lord, phill you are a god send. I am up and running and no errors. Thankyou all for all your help in this journey out of this black hole.

Please Log in or Create an account to join the conversation.

More
12 May 2019 07:38 #133522 by phillc54
You are welcome.
Now you have a bit of fine tuning to do...

Cheers, Phill.

Please Log in or Create an account to join the conversation.

More
12 May 2019 07:56 #133526 by rodw

JTknives wrote: Oh thank the lord, phill you are a god send. I am up and running and no errors. Thankyou all for all your help in this journey out of this black hole.


great. Think on the bright side. I've been in the hole for about 3 years.....
My wife talked about me workon on my spaceship in the garage as she had no idea what I was doing so that where my machine name came from...

Please Log in or Create an account to join the conversation.

More
15 May 2019 02:23 #133801 by AgentWD40
I have a suggestion, or maybe a tip, that some may find convenient. Make a launcher (shortcut) to the plasmac linuxcnc installation so you don't have to fumble with the terminal each time.

Save the following in a file called PlasmaC.desktop on your desktop:
[Desktop Entry]
Version=1.0
Type=Application
Comment=Start LinuxCNC PlasmaC Configuration
Exec=/home/{YOUR USERNAME HERE}/plasmac/scripts/rip-environment linuxcnc '/home/{YOUR USERNAME HERE}/linuxcnc/configs/plasmac/{YOUR INI FILENAME HERE}.ini'
Icon=linuxcncicon
Terminal=false
StartupNotify=false
Name=PlasmaC

OR
Modify an existing configuration shortcut's Exec line to look like the one above.

Might need to mark it executable. From the terminal that's
chmod 755 ~/Desktop/PlasmaC.desktop
The following user(s) said Thank You: phillc54, rodw

Please Log in or Create an account to join the conversation.

More
15 May 2019 19:50 #133893 by JTknives
When I set up mine I just check the box titled create desktop link when you run LinuxCNC from a terminal.

Oh how are you guys connecting your Estop. I looked through the hal and noticed an Estop command but no pin call outs.

Please Log in or Create an account to join the conversation.

More
15 May 2019 22:07 #133926 by AgentWD40

JTknives wrote: When I set up mine I just check the box titled create desktop link when you run LinuxCNC from a terminal.

*face palm* I just figured that would try to launch the 'other' installation of linuxcnc instead of the rip-environment. I figured wrong. Whoops.

Please Log in or Create an account to join the conversation.

More
16 May 2019 07:43 - 16 May 2019 07:43 #133952 by rodw

JTknives wrote: When I set up mine I just check the box titled create desktop link when you run LinuxCNC from a terminal.

Oh how are you guys connecting your Estop. I looked through the hal and noticed an Estop command but no pin call outs.


The secret is to use estop-latch
BigJohnT has an example here forum.linuxcnc.org/47-hal-examples/25861-external-e-stop

I ended up with 3 estops buttons and I managed to create an estop chain in hal for all of them by extending this but there were no examples anywhere
Last edit: 16 May 2019 07:43 by rodw.

Please Log in or Create an account to join the conversation.

More
16 May 2019 20:36 #134003 by JTknives
thanks, i got it working. i figured it would not be a good idea to fire it up without an estop.
i also tied in the stepper drive fault back into the board. Took a bit of trial and error but i got it with this. I tried originally to use axis instead of joint as i found reference to doing it that way but i could never get it to work. am i doing this correctly or am i off base?
# ---Axis fault ---
net axis.x.fault <= hm2_7i76e.0.7i76.0.0.input-13
net axis.y.fault <= hm2_7i76e.0.7i76.0.0.input-14
net axis.z.fault <= hm2_7i76e.0.7i76.0.0.input-15
net axis.x.fault => joint.0.amp-fault-in
net axis.y.fault => joint.1.amp-fault-in
net axis.z.fault => joint.2.amp-fault-in

Please Log in or Create an account to join the conversation.

More
16 May 2019 20:44 - 16 May 2019 20:45 #134005 by rodw
MIne's a bit more complex
# --- ESTOP CHAIN STARTS ---
net latch-reset <= iocontrol.0.user-request-enable 
net latch-ok-in <= iocontrol.0.user-enable-out 

net latch-ok-in => estop-latch.0.ok-in
net latch0-out <= estop-latch.0.ok-out 
net latch0-out => estop-latch.1.ok-in
net latch1-out <= estop-latch.1.ok-out 
net latch1-out  => estop-latch.2.ok-in
net latch2-out <= estop-latch.2.ok-out 
net latch2-out => estop-latch.3.ok-in
#net latch3-out <= estop-latch.3.ok-out 
#net latch3-out => estop-latch.2.ok-in

net latch-reset => estop-latch.0.reset
net latch-reset => estop-latch.1.reset
net latch-reset => estop-latch.2.reset
net latch-reset => estop-latch.3.reset
net latch-out iocontrol.0.emc-enable-in <= estop-latch.3.ok-out
net estop-out estop-latch.3.fault-out

# --- EXTERNAL ESTOP SWITCH - CONTROL BOX---
net external-estop <= hm2_7i76e.0.7i76.0.0.input-00
net external-estop => estop-latch.0.fault-in

# --- EXTERNAL ESTOP SWITCH - CONSOLE ---
net console-estop <= hm2_7i76e.0.7i76.0.0.input-31-not
net console-estop  => estop-latch.3.fault-in


# --- PENDANT ESTOP SWITCH ---
net pendant-estop <=  hm2_7i76e.0.7i76.0.0.input-26-not
net pendant-estop => estop-latch.1.fault-in 

# --- TORCH BREAKAWAY E-STOP ---
net torch-breakaway <= hm2_7i76e.0.7i76.0.0.input-06
net torch-breakaway => estop-latch.2.fault-in

# --- E-STOP STEPPER DRIVE DISABLE ---
net estop-out hm2_7i76e.0.7i76.0.0.output-05

I think I'd like to take the breakaway out of this chain and just make it pause the machine.
Last edit: 16 May 2019 20:45 by rodw.

Please Log in or Create an account to join the conversation.

Time to create page: 0.114 seconds
Powered by Kunena Forum