connection -> gmoccapy to THC

More
16 Aug 2015 23:31 #61452 by ZX-Sinclair
Hmmm, that is difficult to explain.
LinuxCNC is working in default with the parallel port pins.
The pin 10 is connected with a "MoveUp" signal
The pin 12 is connected with a "MoveDown" signal

So forget the tripleBeast and THC module and so on. It is to easy.
I can see in HalShow both signals MoveUp and MoveDown and that they work on contact.
My question is how to hook up that signals in LinuxCNC (gmoccapy plasma)?

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

More
16 Aug 2015 23:50 #61453 by BigJohnT
What do you want to hook the signals to in gmoccopy? Keep in your mind that a parallel port input pin can only be connected to something like a led not to a push button on the screen. This is why I stay confused to what your trying to do.

Can you just say:
I want to push a button on my screen and make the thc go up.
Or
I want the thc to turn on an indicator on my screen when it is moving.

The first on would use and output pin and the second one an input pin.

JT

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

More
16 Aug 2015 23:53 #61454 by ZX-Sinclair
I want that the head moves up if the signal "MoveUp" is true

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

More
17 Aug 2015 00:00 #61455 by BigJohnT
Then you need to use an output pin on the parallel port.
net signal-name button-name => parallel-port-output-pin

JT

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

More
17 Aug 2015 00:24 #61456 by ZX-Sinclair
I think that will not work.
LinuxCNC is a CNC system.
The stepper drive need dir and step informations and no MoveUp (true/false).

If i move the Z-axis direct, i will loose the correct position.
I have to move the head with the Z-value or with an offset value and a reset after the cut is over, or so.

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

More
17 Aug 2015 02:04 #61458 by BigJohnT
I just read the manual on your THC device and it puts out 3 signals arc, up, down. This type of THC connects to the thcud component which accepts an up down input from a THC device. The thcud then hijacks the Z axis with an offset up or down as commanded. After turning off the torch and while moving the Z axis to the safe position any offset is removed.

www.linuxcnc.org/docs/2.7/html/man/man9/thcud.9.html

JT

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

More
17 Aug 2015 19:20 - 17 Aug 2015 23:11 #61485 by cncbasher
can i suggest you try with the example supplied from the thc companys website .
you mention theirs no estop , looking in the estop.hal file the connection is commented out ( lines beginning with # )

as the connections to your pc are different for just about every user , some files need amending to suit
#net ExtEStop parport.0.pin-10-in => estop-latch.0.fault-in
removing the # will give you an estop input on pin 10 (parport.0.pin-10-in)
and again if needed a watchdog on pin 17 as an output signal
#net EstopLatchWatchDog estop-latch.0.watchdog => parport.0.pin-17-out parport.1.pin-17-out
again removing the # will allow this .

no force homing is a simple line to add in your ini file on a per axis basis
NO_FORCE_HOMING = 1
you will also find in thc.hal
other commented out sections , reading them will show options
and depending on options required you either add or remove #

i would suggest getting it all working under axis first before trying gmacoppy
this will also give you some understanding of linuxcnc .
mostly it is pin connections that will need to be changed if it does not suit your breakout board , but easily solved

i'll take a look at gmacoppy later ..

i also note your controller says ( from their website )
For Beamicon2 CNC software only, not compatible with Mach3 or other software

so without having a manual , cant help with that one , it may never work with linuxcnc as that is also a controller
as well as network etc .

more information needed

Sarah
Last edit: 17 Aug 2015 23:11 by cncbasher.

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

More
18 Aug 2015 00:38 - 18 Aug 2015 00:47 #61488 by ZX-Sinclair
That sounds great!
Where can i download that component?
The LinuxCNC site is switching automated into German and this informations are extremely poor.

Here:https://github.com/jepler/linuxcnc-mirror/blob/master/src/hal/components/thcud.comp ?

And what should i do with that? Is it to install or to place in a folder?
Fits that component to my gmoccapy plasma?
And why is that important component not install as default?

To much questions ...
Last edit: 18 Aug 2015 00:47 by ZX-Sinclair.

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

More
18 Aug 2015 00:51 - 18 Aug 2015 01:40 #61489 by ZX-Sinclair
@sarah
you ment the website of the THC producer?
That didn't work with the TripleBeast.
I tried that for one week.

@BigJohnT
I googled for hours and hours.
thcud.comp is not downloadable? What is wrong?
Last edit: 18 Aug 2015 01:40 by ZX-Sinclair.

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

More
18 Aug 2015 04:14 - 18 Aug 2015 04:16 #61493 by BigJohnT

@BigJohnT
I googled for hours and hours.
thcud.comp is not downloadable? What is wrong?


The thcud component is part of LinuxCNC you merely have to load it in your hal file.

Again the link to thcud man page.

www.linuxcnc.org/docs/2.7/html/man/man9/thcud.9.html

JT
Last edit: 18 Aug 2015 04:16 by BigJohnT.

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

Time to create page: 0.250 seconds
Powered by Kunena Forum