Gscreen - a GTK / Glade / Python based screen

More
02 Mar 2013 20:04 #30765 by ditechcnc
After Homing both Axis
i go to offset page and
click edit button to set G54
enter Z new value and after pressing
enter key an error shown on screen
( BAD CHARACTER Y USED )
Please tell the solution

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

More
02 Mar 2013 20:29 #30766 by andypugh

( BAD CHARACTER Y USED )
Please tell the solution

This message normally pops up if there is a Y-word in the loaded G-code on a machine with no Y-axis. (such as a lathe)
Changing the Z-offset probably forces a G-code reload.
So the problem _might_ be in the loaded G-code file (especially if it is the Axis splash-screen code)

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

More
02 Mar 2013 20:32 - 02 Mar 2013 20:34 #30768 by newbynobi
OK, I could reproduce the error.
As far as I see, there is an error with the path selection for Lathe mode in
Col_edited in offsetpage_widget.py.

I don't want to mess around in the code from Chris, I am sure he will solve this very quick.

Until then please go to MDI Mode and enter:

G10 L20 P1 Z 124.001

where 124.001 is the offset set will be set.
To set an Offset in X just change Z against X.

Please see also:

G10 L2 P1

Norbert
Last edit: 02 Mar 2013 20:34 by newbynobi.

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

More
02 Mar 2013 20:40 #30769 by ditechcnc
i am upload the image
offset error

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

More
02 Mar 2013 20:41 #30770 by ditechcnc
Attachments:

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

More
03 Mar 2013 07:49 #30784 by cmorley
Thanks for the report and the error pinpointing.
I pushed the fix.

Chris M

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

More
03 Mar 2013 16:27 #30787 by cmorley
ok you can add 'continuous' to the DISPLAY INCREMENTS section in any order.

hopefully the DRO in industrial is a little more stable.

The restart dialog has a numerical entry and pops up with the last line number run. you can type directly into the dialog and move it.

industrial has home indicators and DTG. The indicators only pop up when all the axis are homed, that should be changed.

Chris M

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

More
04 Mar 2013 05:18 #30809 by emcPT
I was trying to get Gscreen running just for simulation while I am preparing my lathe and I could not.

I have installed from the buildbot the sim version:

LINUXCNC - 2.6.0-pre0-3890-g5075862

I can run others simulations including axis, so I think I did not mess anything. Not sure if I am helping in reporting this, but here it goes.
All tests with all the possible configurations of gscreen returned an error:

LINUXCNC - 2.6.0-pre0-3890-g5075862
Machine configuration directory is '/home/me/linuxcnc/configs/sim/gscreen'
Machine configuration file is 'gscreen_lathe.ini'
Starting LinuxCNC...
redis server started as: 'redis-server ', logging to: /dev/null
io started
halcmd loadusr io started
Could not open command file 'core_sim.hal'
Shutting down and cleaning up LinuxCNC...
Cleanup done

and the debug file contains:

Can not find -sec MOT -var MOT -num 1
Can not find -sec IO -var IO -num 1
Can not find -sec LINUXCNC -var NML_FILE -num 1
Can not find -sec EMC -var NML_FILE -num 1
Can not find -sec REDIS -var DISABLE_SERVER -num 1
Can not find -sec REDIS -var SERVER_PATH -num 1
Can not find -sec REDIS -var SERVER_ARGS -num 1
Can not find -sec REDIS -var SERVER_LOG -num 1
16279
PID TTY STAT TIME COMMAND
16278
PID TTY STAT TIME COMMAND
16278 pts/0 Dl+ 0:00 redis-server
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components

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

More
04 Mar 2013 07:24 - 04 Mar 2013 08:03 #30812 by cmorley
sim/axis9 works?

can you look in configs/sim folder and see if
core_sim.hal
is there?

If it isn't then sim/axis shouldn't work either.

Chris M
Last edit: 04 Mar 2013 08:03 by cmorley.

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

More
04 Mar 2013 08:13 - 04 Mar 2013 08:17 #30814 by cmorley
I think this is a problem with the system links.
I only have worked with Gcsreen as a Run-in-place build.

by using buildbot it's an installed build which moves a few things around.

There are system-links (shortcuts) that are pointing to the wrong place.

Where ever sim/axis/core_sim.hal is pointing to
sim/gscreen/core_sim.hal must point to

There are probably a couple others too. hal_manual_toolchange.hal etc

Chris M

Or maybe the system links are missing when copied into your linuxcnc folder...
Last edit: 04 Mar 2013 08:17 by cmorley.

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

Time to create page: 0.291 seconds
Powered by Kunena Forum