Snuggly's Plasma Build

More
12 Dec 2018 22:42 #122323 by islander261
Replied by islander261 on topic Snuggly's Plasma Build
Use the configuration files I posted on Monday! The ones you just posted are old files that will not allow homing of the Z axis and have some other problems with inconsistent and illogical values in the .ini.

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

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

More
12 Dec 2018 23:52 #122335 by snugglylovemuffin
@rodw: I noticed that, which made it all the more confusing. I just went through all my wiring when I cleaned up my box, I'll check it again just to be sure.

@Islander261: I wanted to isolate the issues and deal with one variable at a time before changing up the files. I'll try them out right now.

Update in a few

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

More
13 Dec 2018 20:57 #122385 by snugglylovemuffin
@Islander261: here is the launch error

hm2/hm2_7i96.0: invalid token in config string: "num_ssrs=1"
hm2/hm2_eth: rtapi_app_main: Invalid argument (-22)

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

More
13 Dec 2018 21:07 #122386 by rodw
Replied by rodw on topic Snuggly's Plasma Build

@Islander261: here is the launch error

hm2/hm2_7i96.0: invalid token in config string: "num_ssrs=1"
hm2/hm2_eth: rtapi_app_main: Invalid argument (-22)


Thats what can happen when somebody writes something for you and does not have your hardware. All you need to do is to locate the line in John's config starting with
loadrt hm2_eth

And replace it with the same line in your working config
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=0 num_pwmgens=0 num_stepgens=4"
The following user(s) said Thank You: snugglylovemuffin

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

More
13 Dec 2018 21:12 #122387 by snugglylovemuffin
Got it, that's what I did last time. I'll try it again and see how she chooches.

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

More
13 Dec 2018 21:25 #122388 by islander261
Replied by islander261 on topic Snuggly's Plasma Build
Sorry, I misunderstood the hostmot2 documentation about requiring enumeration of solid state relay outputs. Do as Rod said. Also you will need to comment out or delete this line:
setp hm2_7i96.0.ssr.0.rate 1000000

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

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

More
13 Dec 2018 21:31 - 13 Dec 2018 21:32 #122389 by snugglylovemuffin
Excellent; it fired up well and I was able to activate my float without it throwing a "joint 3 on limit" error. I wasn't able to jog or home my Z axis. I'll load up some gcode and do some dry runs.
Last edit: 13 Dec 2018 21:32 by snugglylovemuffin.

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

More
13 Dec 2018 23:55 #122394 by islander261
Replied by islander261 on topic Snuggly's Plasma Build
Ok, Z can't move yet. Add the following to Z axis section in Hays_Plasma....hal:

net z-enable <= joint.3.amp-enable-out
net z-enable => hm2_7i96.0.stepgen.03.enable

You should also consider changing the homing order in the .ini file to home the Z first.
[JOINT_3]
HOME_SEQUENCE = 0
[JOINT_2]
HOME_SEQUENCE = 1
[JOINT_1]
HOME_SEQUENCE = -2
[JOINT_0]
HOME_SEQUENCE = -2

I am still not clear about homing Z when using the TOMA THC.hal though it should work because as far as the THC.hal knows it is the same as a jog.

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

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

More
14 Dec 2018 01:22 #122402 by snugglylovemuffin
Thanks, hopefully that'll do it and report back with an update tomorrow.

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

More
14 Dec 2018 06:19 #122411 by tommylight
Replied by tommylight on topic Snuggly's Plasma Build
2 nights ago i did some editing of the files that Icelander provided, it got to late so forgot to copy them to the USB but here is some info:
-there are some lines with DDT that are commented out in THC.hal, they have to be enabled for THC to work, so the lines regarding DDT have to be copied from stepper.hal to hayes_plasma.hal
loadrt ddt count=2
addf ddt.0 servo-thread
addf ddt.1 servo-thread
Also the lines regarding Estop-latch have to be copied there and the e-stop lines at the end of that file have to commented out.
- there are missing provisions for the spindle in the hayes_plasma.hal, so M3 or F9 will not work, they have to be added.

As a side note, it would have been much easier to use the servo version that is located here and just edit the lines concerning the Z axis and the servo to stepper on other axis.
forum.linuxcnc.org/show-your-stuff/34986...nuxcnc-and-proma-thc
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.094 seconds
Powered by Kunena Forum