- Posts: 757
- Thank you received: 0
Snuggly's Plasma Build
- islander261
- Offline
- Platinum Member
-
Less
More
7 years 10 months ago #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
John
Please Log in to join the conversation.
- snugglylovemuffin
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 0
7 years 10 months ago #122335
by snugglylovemuffin
Replied by snugglylovemuffin on topic Snuggly's Plasma Build
@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
@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 to join the conversation.
- snugglylovemuffin
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 0
7 years 10 months ago #122385
by snugglylovemuffin
Replied by snugglylovemuffin 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)
hm2/hm2_7i96.0: invalid token in config string: "num_ssrs=1"
hm2/hm2_eth: rtapi_app_main: Invalid argument (-22)
Please Log in to join the conversation.
7 years 10 months ago #122386
by rodw
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
And replace it with the same line in your working config
Replied by rodw on topic Snuggly's Plasma Build
snugglylovemuffin wrote: @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
Code:
loadrt hm2_eth
And replace it with the same line in your working config
Code:
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=0 num_pwmgens=0 num_stepgens=4"
Please Log in to join the conversation.
- snugglylovemuffin
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 0
7 years 10 months ago #122387
by snugglylovemuffin
Replied by snugglylovemuffin on topic Snuggly's Plasma Build
Got it, that's what I did last time. I'll try it again and see how she chooches.
Please Log in to join the conversation.
- islander261
- Offline
- Platinum Member
-
Less
More
- Posts: 757
- Thank you received: 0
7 years 10 months ago #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
setp hm2_7i96.0.ssr.0.rate 1000000
John
Please Log in to join the conversation.
- snugglylovemuffin
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 0
7 years 10 months ago #122389
by snugglylovemuffin
Replied by snugglylovemuffin on topic Snuggly's Plasma Build
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.
Please Log in to join the conversation.
- islander261
- Offline
- Platinum Member
-
Less
More
- Posts: 757
- Thank you received: 0
7 years 10 months ago #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
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
Please Log in to join the conversation.
- snugglylovemuffin
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 0
7 years 10 months ago #122402
by snugglylovemuffin
Replied by snugglylovemuffin on topic Snuggly's Plasma Build
Thanks, hopefully that'll do it and report back with an update tomorrow.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
7 years 10 months ago #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
-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
Please Log in to join the conversation.
Time to create page: 0.224 seconds
