how to invert float-switch bevor fed in debounce

More
17 Mar 2020 12:02 - 17 Mar 2020 12:02 #160542 by CNCFred
How do I invert the switch before it is fed in debounce??

net plasmac:float-switch hm2_7i76e.0.7i76.0.0.input-08 => debounce.0.0.in

I could change hardware but better would be soft...also need to change the breakaway, is no at the moment because closed :-)

set like this just somewhere in hal?
setp hm2_7i76e.0.7i76.0.0.input-08.invert_output true


another question in plasmac the multitool does not open..

thank you again ....!!!
Last edit: 17 Mar 2020 12:02 by CNCFred.

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

More
17 Mar 2020 12:20 #160546 by rodw
If you review in halshow, there should be a pin like
hm2_7i76e.0.7i76.0.0.input-08-not
Just use that pin for the inverse.
The following user(s) said Thank You: CNCFred

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

More
17 Mar 2020 15:47 - 17 Mar 2020 15:51 #160567 by PCW
If you have a question about available hardware pins for Mesa cards, you can list every
available pin and parameter ( plus their current values and connections ) by typing this
command in a terminal window when LinuxCNC is running:

halcmd show all hm2

If you want to save the list for later use (say for copy pasting from the list when editing
a hal file) you can redirect the listing to a file:

halcmd show all hm2 > mesapins.txt

And if you want to show all pins,parameters, and values of all LinuxCNC components:

halcmd show all
Last edit: 17 Mar 2020 15:51 by PCW.
The following user(s) said Thank You: CNCFred

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

More
17 Mar 2020 16:50 #160575 by CNCFred
Thank you,

I have seen in halcmd these inverted pins and understand now that theses are provided beforehand for my 7i76e!
checked my machine.hal and found
net max-y2 <= hm2_7i76e.0.7i76.0.0.input-27-not, perfect

Still more questions:
A:I would like to start plasmac without being connected to my machine to checkout different tabs and see what can be configured.
is that possible ??

B: I need to activate an output pin for relay to start my crosslaser, should I do that on buttons in plasmac or do I need to install pyvcp panel?

thank you again for your help..

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

More
17 Mar 2020 20:30 #160590 by CNCFred
I tried to setup axis with pyvcp and then configured plasmac again new.
It removed the pyvcp panel.
so it seems it is not possible to add pyvcp to plasmac....

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

More
18 Mar 2020 00:01 #160604 by phillc54

Still more questions:
A:I would like to start plasmac without being connected to my machine to checkout different tabs and see what can be configured.
is that possible ??

Just run one of the PlasmaC simulations from the config picker in Sample Configurations - by_machine - plasmac


B: I need to activate an output pin for relay to start my crosslaser, should I do that on buttons in plasmac or do I need to install pyvcp panel?

I don't think PyVCP and GladeVCP play well together.

There are some user buttons on the main screen as well as in the Extras Panel which would work well for what you want.

linuxcnc.org/docs/devel/html/plasma/plas...#custom-user-buttons
The following user(s) said Thank You: CNCFred

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

More
18 Mar 2020 05:46 - 18 Mar 2020 05:46 #160614 by CNCFred

Just run one of the PlasmaC simulations from the config picker in Sample Configurations - by_machine - plasmac


I wanted to configure My machine for use and on the kitchen table :-)


There are some user buttons on the main screen as well as in the Extras Panel which would work well for what you want


I knew about the buttons but thought a tick box to enable, disable out pins is easier then via gcode and using two buttons on & off

So buttons it is.

Thank you!
Last edit: 18 Mar 2020 05:46 by CNCFred.

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

More
18 Mar 2020 06:11 #160616 by phillc54

Just run one of the PlasmaC simulations from the config picker in Sample Configurations - by_machine - plasmac


I wanted to configure My machine for use and on the kitchen table :-)

You could make a copy of your config and setup the hal file as a sim and enable the test panel in the ini file.


There are some user buttons on the main screen as well as in the Extras Panel which would work well for what you want


I knew about the buttons but thought a tick box to enable, disable out pins is easier then via gcode and using two buttons on & off

So buttons it is.

Thank you!


I guess in hindsight I could have kept the Flood and Mist checkbuttons somewhere on the screen and made the label customisable...

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

More
18 Mar 2020 07:39 #160629 by CNCFred

You could make a copy of your config and setup the hal file as a sim and enable the test panel in the ini file.


I have to skip finding that out how to.... (linuxcnc" like opening a can of worms") :-)
still struggling with getting gcode for plasmacutting (fusion 360 & pre processor)...
Enabling out pin via gcode
(swolebro has a video about it.. forum.linuxcnc.org/47-hal-examples/38440...-9-part-video-series)
Setting up the buttons..
Setting up plasmac... Settings for cutting.. Velocity etc.

Phillc54 thank you for your work! & help

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

Moderators: snowgoer540
Time to create page: 0.221 seconds
Powered by Kunena Forum