Useful Plasma Thread

More
8 years 1 month ago #117087 by Grotius
Replied by Grotius on topic Useful Plasma Thread
Hi Scuba.

I have no list of variables. At the moment.

Are you using mesa? This config we can
Make a hal example for. At this moment the hal files are configured for parport.

If you have a working mesa config i can help you with making it ready for the grotius gui.

Your debug info looks good. There is one problem in hal. Line 1

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

More
8 years 1 month ago #117108 by scubawarm
Replied by scubawarm on topic Useful Plasma Thread
Ya... No idea what was happening with that file... must have been some garbage I couldn't see... Getting it to fire a little more now...

I really didn't make many changes to these files... Other then changes that are hardware related. It is so hard to tell what some of these things are for. You don't have very many things that need to be defined in the HAL?

But now I get this error...

Debug file information:
Note: Using POSIX realtime
Traceback (most recent call last):
File "/home/superman/linuxcnc-grotius/bin/grotius", line 23, in <module>
import xlsxwriter
ImportError: No module named xlsxwriter
13842

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

More
8 years 1 month ago - 8 years 1 month ago #117162 by Grotius
Replied by Grotius on topic Useful Plasma Thread
Hi Scuba,

Haha, No module named xlsxwriter

In the github readme it say's to install this via synaptic package manager.
But faster is like this :

Open terminal :
sudo apt-get install xlsxwriter

This is for writing and reading tool data to excel files. This we need later on to import tool list's, like Hypertherm or Thermal Dynamic's libraries. At this moment it can write your tool data to excel file. Loading the tool data from excel i have to do.
It is working with text files, but Rodw and me have choosed for excel files. Rodw likes sql more. But for me too difficult at this
moment to invest time in.

You only have to edit the postgui.hal file and replace the parport section's, about 5 lines. This file has a very easy setup.
For Mesa ad card, Voltage in is present and working.

Current use is a sample raw voltage input value, taken from the grotius screen. You see this in postgui.hal.
If your Mesa ad input value is working, replace the sample grotius gui input to your real input value. If you don't know how to,
i can help you with this.

Your core hal file's you can use and replace with grotius.hal in your grotius.ini file.
So it is not very difficult to do. I tested it on a old laptop this week. Loaded the axis simulation hal files. This also worked.
So i will also provide a simulation version soon. 800x600 screen resolution's are really a problem. So i must make a choice soon
for the minimal screen resolution or provide a second screen for very low resolution's. Scaling screen's 0.9 or 0.8 is not possible in Glade.

But first i must test the auto restart function at the machine. I solved 2 item's last week. The keyboard buttons to move axis.
And the restart at certain line (tested with line 25500)function. So now we are really far in the process. Everything become's more easye'r to program for me now
through experience. I cutted several hours with this config, and i am really impressed so far. It beat's mach3 in every way
when i am finisched with this gui.
Last edit: 8 years 1 month ago by Grotius.

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

More
8 years 1 month ago #117165 by scubawarm
Replied by scubawarm on topic Useful Plasma Thread
Gulp... Sorry I missed that... In the process of moving everything to the floor so may be a few days before I get running again... But plan on working on it over the weekend if need be.

Had an axis running other than it was not connected to the motors yet so it would error out when it was told to move. (ie Time to go live)

Excited to see your screen.

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

More
8 years 1 month ago - 8 years 1 month ago #117359 by scubawarm
Replied by scubawarm on topic Useful Plasma Thread
OK I got the screen to come up, but ran into some issues.
Not sure if you want these types of things here or private messages.

OK first off I am trying to setup a gantry with 2 drives on the X.
When I started with the way I have things wired... XYZX
Had all sorts of issues.

When I changed it to XXYZ
Using Hal show
joint.0.homed, joint.2.homed and joint3.homed went live
but the screen never showed Y as homed.
and I couldn't get X2 to home even though I have the HOME_SEQUENCE -2 on both joints.

You have to hit the software stop button before doing anything. Which seems odd to me.

Everything is hardcoded metric units. I will setup the machine in metric given LinuxCNC uses that anyways. But does the display change by chance if g20 is used in the gcode?

Anyway to see the errors if using a shortcut?

Am liking it so far!
Last edit: 8 years 1 month ago by scubawarm.

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

More
8 years 1 month ago #117362 by tommylight
Replied by tommylight on topic Useful Plasma Thread
HOME_SEQUENCE should be -1 for joints on the same axis, all others must have positive values.

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

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