Snuggly's Plasma Build

More
04 Dec 2018 23:16 #121841 by snugglylovemuffin
Islander261 came through for me in the HAL thread. I'm going to test these out now.
Attachments:

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

More
05 Dec 2018 06:32 #121847 by tommylight
Replied by tommylight on topic Snuggly's Plasma Build
I am still around, but work is hectic.
Will try to test this today and report back. The problem is, my Mesa cards are scattered all over, so i might have to summon them. I think i have a 6i25 here in the office, and i know i have a 7i92 on a mill that is not being used at the moment, the other cards are in my workshop and my bedroom ( don't ask :) ).
Later.
The following user(s) said Thank You: snugglylovemuffin

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

More
05 Dec 2018 19:43 #121898 by snugglylovemuffin
TOMMY!!! My man, got Toma 95% running, just need to make the rest of the connections to negotiate the THC to the Mesa board that Andy pointed out weren't there.

Testing out Islander's modified files now. Might try commenting out the problem areas on the THC.hal and trying to wire it in directly to the machine HAL... I have little idea of how to do it but trial and error is better than sitting around with my thumb up my ass.
The following user(s) said Thank You: tommylight

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

More
05 Dec 2018 20:17 #121900 by islander261
Replied by islander261 on topic Snuggly's Plasma Build
Snuggly

Pretty sure all thc.hal to mesa card connections are there. Post any error messages from terminal and or screen. Don't change anything until you make sure that the correct signals are on the correct pins on TB3. Then check signals with halshow or halmeters to figure out correct polarity for the inputs.

I have to make a delivery to another island this afternoon while the weather is holding so I won't be back until after supper time. Collect error messages and logs then post.

John
The following user(s) said Thank You: tommylight, snugglylovemuffin

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

More
05 Dec 2018 20:54 #121904 by rodw
Replied by rodw on topic Snuggly's Plasma Build
This bit in thc.hal seems to be a missing part. I think with such a complex hal file, you need to implement all of it.
#net ExtEStop parport.0.pin-15-in => logic.0.in-00
net ExtEStop  => logic.0.in-00
#net LimitZ parport.0.pin-15-in => or2.2.in0

I think if you wire in the estop switch, you'll get an error on the LimitZ line , maybe it should look like this
net ExtEStop => or2.2.in0
t I'd have a good look at what Tommy did in his mesa config. here..
The following user(s) said Thank You: snugglylovemuffin

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

More
05 Dec 2018 21:17 #121906 by tommylight
Replied by tommylight on topic Snuggly's Plasma Build
Out of time, but
Added a lot of missing stuff (estop latch, DDT etc)
removed # from some lines that are very necessary
Z axis is missing feedback, will check that tomorrow.
Regards,
Tom
Attachments:
The following user(s) said Thank You: snugglylovemuffin

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

More
05 Dec 2018 22:45 #121908 by snugglylovemuffin
Getting a weird error "DOS-style line endings" in my INI file. I'll see if I can remedy this in notepad++

Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
emc/iotask/ioControl.cc 768: can't load tool table.
Starting HAL User Interface program: halui
Found file(REL): ./Hays_Plasma.hal
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1541
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
./Hays_Plasma.hal:4: Warning: File contains DOS-style line endings.
inifile: warning: File contains DOS-style line endings.
Note: Using POSIX realtime
hm2_pci: rtapi_app_main: No such device (-19)
./Hays_Plasma.hal:8: waitpid failed /usr/bin/rtapi_app hm2_pci
./Hays_Plasma.hal:8: /usr/bin/rtapi_app exited without becoming ready
./Hays_Plasma.hal:8: insmod for hm2_pci failed, returned -1
1541

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

More
05 Dec 2018 23:50 #121910 by islander261
Replied by islander261 on topic Snuggly's Plasma Build
Snuggly

I checked the files I sent at this end and they definite used Linux line endings (0x0A). Don't know what may have happened along the way. Open files at your end with Ghex and check for correct Linux line ends (0x0A) and not DOS ones (0x0D 0x0A). I think that something else is going on given the tool table error.

John


John
The following user(s) said Thank You: snugglylovemuffin

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

More
06 Dec 2018 00:05 #121912 by snugglylovemuffin
I got it, Mousepad has a converter built in to go from DOS to Unix. Also, I didn't notice that I had to modify:
loadrt hm2_pci config=" num_encoders=0 num_pwmgens=0 num_stepgens=4"

^ which was just my fault.

So linuxcnc loads up fine but I'm still getting that inconsistent Arc-OK so I'll be tracking down that problem here in just a minute. Wanted to give you guys an update so you weren't trying to figure something out that way entirely my fault.

I still haven't gotten the Proma 150 in test mode to actually move the Z axis up and down at all, and I can still jog the Z axis. Minimum modifying of the files to my machine.

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

More
06 Dec 2018 06:00 #121927 by tommylight
Replied by tommylight on topic Snuggly's Plasma Build
Snugly, those are your files that have DOS endings, but they do work as. I do not have any windows box.
If you read my post again, the Z axis feedback is cut somewhere and i did not have time to check it. Try to figure that one out.
The following user(s) said Thank You: snugglylovemuffin

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

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