Another plasma component...

More
02 Apr 2019 04:33 #130129 by islander261
Guys

I had a good go at getting this branch to run this evening. Still have some work to do. What works:
1. Machine comes out of e-stop and turns on.
2. Machine homes on all three axis.
3. Pendant mostly (as much as I use it) works for jogging X & Y axis. I had to do a bit of a hack on plasmac.hal to add some OR2 instances to share program command halui inputs. Didn't try any of the MDI buttons.
4. Manual jogging works on X&Y axis with correct DRO function.
5. Really couldn't get a clean connection to my hardware input pins in plasmac.hal. Had to net 7i76e input pins in another .hal file and then use those nets in plasmac.hal. Output hardware pins worked as expected. Note that I do use the ...-not pins to get true logic and that seemed to be the problem.

What doesn't work at this point:
1. Jogging z axis(manual or pendant). If I jog a very small distance from Z home a soft limit error occurs. My Z soft limits are +.25" and -3.65". My Z home is .050" below the soft limit. Normal work piece zero will be about -2.9" to -3.5" machine position. My machine is like a mill in that machine Z zero is at the top (away from work piece) of axis travel.
2. Z DRO does not respond when jogging. Back plot screen graphics show Z jogging movement. Z DRO shows movement while homing. Z DRO follows work piece (G54) offset adjustment.
3. Editing and updating material and configuration files doesn't seem quite right. Still can't get addition materials to display even though they are in the file. Some of the GUI values don't save to the files, always get the old defaults on startup.

How do I do a test probing so I can check how well the IHS is doing? On my present system where everything is controlled through Gcode it have short program to do this.

I will have to change the plasma control glade panel so that it is on tabs behind the back plotter (more GMOCCAPY like) to free up more space. I am pretty sure I will end up needing to change the functions of the current home axis buttons, that is something I never have a reason to use.

John

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

More
02 Apr 2019 05:34 #130135 by phillc54
John,
Are you running the config from your git clone or is it a copy in another folder?

Cheers, Phill.

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

More
02 Apr 2019 06:45 #130142 by phillc54

islander261 wrote:
What doesn't work at this point:
1. Jogging z axis(manual or pendant). If I jog a very small distance from Z home a soft limit error occurs. My Z soft limits are +.25" and -3.65". My Z home is .050" below the soft limit. Normal work piece zero will be about -2.9" to -3.5" machine position. My machine is like a mill in that machine Z zero is at the top (away from work piece) of axis travel.
2. Z DRO does not respond when jogging. Back plot screen graphics show Z jogging movement. Z DRO shows movement while homing. Z DRO follows work piece (G54) offset adjustment.

I have no idea what could cause those.
Do you have [AXIS_Z] MAX_VELOCITY and MAX_ACCELERATION set to double the value of the corresponding joint plus OFFSET_AV_RATIO = 0.5

3. Editing and updating material and configuration files doesn't seem quite right. Still can't get addition materials to display even though they are in the file. Some of the GUI values don't save to the files, always get the old defaults on startup.

Are there any broken links in the config directory?, I have not seen any issues with this.

How do I do a test probing so I can check how well the IHS is doing? On my present system where everything is controlled through Gcode it have short program to do this.

Should I add a HAL pin for this?.
If so should the probe stop at the surface or a set distance from it?

I will have to change the plasma control glade panel so that it is on tabs behind the back plotter (more GMOCCAPY like) to free up more space. I am pretty sure I will end up needing to change the functions of the current home axis buttons, that is something I never have a reason to use.

It would be relatively easy to convert these to user defined commands set from the ini file if you think that would work better.


Cheers, Phill.

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

More
02 Apr 2019 15:32 #130157 by islander261
Phill

Thank you for your continued interest in my trials.

I am running from a copy of the ~/plasmac/configs/sim/gmoccapy/plasmac directory (clone from git) that is in ~/plasmac/configs/myplasmac. I believe I fixed all the broken links from the copy. I am thinking that I really should be using a local copy of plasmac.hal because I have changed it to work with my hardware and pendant. I am using the imperial configuration.

I have the correct Z accelerations and velocity (2X) for an OFFSET_AV_RATIO = .5. I have had several goes at the EO branch in the past.

I am not too concerned about the configuration and materials files right now. I only need to set one set of cutting conditions to do line tests for checking THC performance.

A test probe button from one of the setup tabs will be ideal. The result should be that the torch probes at it's present location and ends up at either the pierce height (what my current system does) or at the cutting height. That way you can measure under the torch with a gauge block and/or feeler gauges to check the distance. I actually like to roll a cut off drill bit as a gauge, I have three that span just too short, just right and just too far. That is a nice thing about the HT torches is you are at .150" or .090" for pierce height.

The go to position buttons aren't a big deal for testing. For operation a Z to top of travel button will be handy if the plasmac.comp doesn't place the torch at the top of Z travel at the end of a cutting file and during an error condition so you can inspect, clean or change consumables. Another handy button is a go to material loading position because it often isn't the same as the home position, Z to top of travel then X & Y to correct (user defined) position. In my world it may be better if the dry run button was actually a torch enable button that was ANDed with torch on to allow the torch to fire. Then for a dry run the component will just check to see if this is false. I had a nasty burn on my hand before I had this button from an assistant "clicking around" when I was checking consumables one time. Good thing it was only the pilot arc as the torch was at the top of the Z travel or it would have been much worse.

I will not have a chance to look further at what is presently going on until this evening.

The Z homing to the top of travel is a pretty big deal because you need to be able to home the table without having material on it. Then set work piece X and Y G54 offsets after placing it on the table and aligning the work piece with table motion (getting work piece square to table motion if needed). The work piece top surface (Z G54 offset) will be found by probing. You will understand about this the first time you have a $400 bill for new torch parts because the homing missed the material and slats then tried to move.

Thanks again for all the hard work on this branch.

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

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

More
02 Apr 2019 17:51 #130166 by islander261
Phill

Ok, I found my bonehead error in my hal file so Z axis appears to work correctly now. Seems to Ferror out due to acceleration problems easily especially when when using pendant (rarely used for Z). Almost like OFFSET_AV_RATIO isn't being applied. I will have to wait till later to test what is happening with halscope.

Float Switch works, Ohmic Test button works. Torch Pulse works.

Problem, if float switch is activated by jogging you can't back off, you must turn off machine then re home. If you press Z to home button jog panel goes away and an error message posted.

Plasmac.hal needs this line added to set THC mode from .ini:
setp plasmac.mode              [PLASMAC]MODE

Axis to Home buttons move at quite high speed. Z axis Ferrors almost instantly ( most likely my problem).

Almost ready for probing and line tests to start tonight.

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

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

More
02 Apr 2019 22:12 #130175 by phillc54
I have replaced all links in config directories with real files. This makes for a bit more work to maintain different configs for different gui's but makes it easier for users to copy config directories.

Cheers, Phill.

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

More
02 Apr 2019 22:22 - 02 Apr 2019 22:22 #130176 by phillc54

islander261 wrote:
Problem, if float switch is activated by jogging you can't back off, you must turn off machine then re home. If you press Z to home button jog panel goes away and an error message posted.

Yes, currently if the float switch is activated while the plasmac component is idle then an error message is displayed and motion is held until the float switch is cleared.
Would it be better if when plasmac is idle and float switch is activated then ignore it, only go into error mode if a cut was to commence and the float switch was already activated. This probably should apply to ohmic and breakaway as well.

Cheers, Phill.
Last edit: 02 Apr 2019 22:22 by phillc54.

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

More
02 Apr 2019 22:58 - 02 Apr 2019 23:03 #130177 by phillc54

islander261 wrote:

Plasmac.hal needs this line added to set THC mode from .ini:
setp plasmac.mode [PLASMAC]MODE

OOPS, this was suppose to have been done in the GUI, it is fixed now.

Axis to Home buttons move at quite high speed. Z axis Ferrors almost instantly ( most likely my problem).

They are a G53 G0 command.


Cheers, Phill.
Last edit: 02 Apr 2019 23:03 by phillc54.

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

More
03 Apr 2019 02:49 #130178 by islander261
Phill

The float switch reaction isn't simple. I like to think of it as a Z min. limit when not engaged in probing. Normally when hitting a limit switch when using gmoccapy you have to stop the machine and check the ignore limits box and switch it back on to back off the limit. I guess that the reality space of this is it shouldn't happen in normal operation. I was forcing things to check input functions when I found it. The Z is weird in plasma, we generally have have the Z soft limit at the lowest top surface of the slats but want the Z min. limit (float) switch to trigger when hitting an obstacle on top of the slats.

I see that the axis to home buttons activate MDI commands. As such they are only good for use when not in auto mode. So using the Z to home while paused for an error isn't going to work.

I am not sure that getting rid of using the links to files is that good of an idea. I like the concept of only one copy of a file to need to work with. If one needs to customize a file for their system they can always make a local copy.

I will go out later and see if I can make some progress. Thanks for all the good work.

John

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

More
03 Apr 2019 03:31 #130179 by phillc54

islander261 wrote:
The Z is weird in plasma, we generally have have the Z soft limit at the lowest top surface of the slats but want the Z min. limit (float) switch to trigger when hitting an obstacle on top of the slats.

That is basically how it is at the moment in addition to the error detection as described above

I see that the axis to home buttons activate MDI commands. As such they are only good for use when not in auto mode. So using the Z to home while paused for an error isn't going to work.

I have almost finished user configured buttons, will probably push later today.

I am not sure that getting rid of using the links to files is that good of an idea. I like the concept of only one copy of a file to need to work with. If one needs to customize a file for their system they can always make a local copy.

Hard to know which way to go here, I am trying to keep it a simple as possible for newbies as well.


Cheers, Phill.

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

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