- Posts: 3
- Thank you received: 0
Gmoccapy - A new screen for linuxcnc
- lexxa
- Offline
- New Member
-
Less
More
10 years 5 months ago #74524
by lexxa
Replied by lexxa on topic Gmoccapy - A new screen for linuxcnc
Dear...
I'll try
Sorry for my English...
Yes, I am use a momentary switches for all spindle button.Do you use momentary switches?
I'll try
Code:
PB spindle forward halui.spindle.forward
------------| |-----------------------------------------------------------( )----------
| |
| h.sp.fwd h.sp.stop h.sp.rev |
|------| |-----------------| / |-------------| / |-------------|
etc
Yes, I refer F value in active G-code. Value F in "feeed override" is coorect with override value.Or do you refer to the F value in active gcode?
Sorry for my English...
Please Log in or Create an account to join the conversation.
- sxyuklad
- Offline
- Premium Member
-
Less
More
- Posts: 85
- Thank you received: 0
10 years 2 months ago #79100
by sxyuklad
Replied by sxyuklad on topic Gmoccapy - A new screen for linuxcnc
I tried to change GUI but no success. It gives me a bunch of errors, please see attached file for error log. Can please someone point me out what I am doing wrong?
I did change my settings in my INI file as described in the following documentation link under display section:
linuxcnc.org/docs/html/gui/gmoccapy.html
And the settings I set:
[DISPLAY]
DISPLAY = gmoccapy
PREFERENCE_FILE_PATH = gmoccapy_preferences
DEFAULT_LINEAR_VELOCITY = 166.666
MAX_LINEAR_VELOCITY = 166.666
MAX_FEED_OVERRIDE = 1.5
MAX_SPINDLE_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
LATHE = 1
BACK_TOOL_LATHE = 1
PROGRAM_PREFIX = ../../nc_files/
But that is the only thing I changed believing settings only will do the whole job, no file copying, no installation or anything else. Am I doing it correct or I need to copy past some file in my config/turn folder or need to install anything extra?
Please help me out looking at the error log. Error log link:
forum.linuxcnc.org/media/kunena/attachme...82/gmoccapyerror.txt
I did change my settings in my INI file as described in the following documentation link under display section:
linuxcnc.org/docs/html/gui/gmoccapy.html
And the settings I set:
[DISPLAY]
DISPLAY = gmoccapy
PREFERENCE_FILE_PATH = gmoccapy_preferences
DEFAULT_LINEAR_VELOCITY = 166.666
MAX_LINEAR_VELOCITY = 166.666
MAX_FEED_OVERRIDE = 1.5
MAX_SPINDLE_OVERRIDE = 1.2
MIN_SPINDLE_OVERRIDE = 0.5
LATHE = 1
BACK_TOOL_LATHE = 1
PROGRAM_PREFIX = ../../nc_files/
But that is the only thing I changed believing settings only will do the whole job, no file copying, no installation or anything else. Am I doing it correct or I need to copy past some file in my config/turn folder or need to install anything extra?
Please help me out looking at the error log. Error log link:
forum.linuxcnc.org/media/kunena/attachme...82/gmoccapyerror.txt
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
10 years 2 months ago - 10 years 2 months ago #79102
by newbynobi
You have connections to a pyvcp panel, that will not work with gmoccapy.
Just comment everythink related to pyvcp out and restart the GUI.
Norbert
Later connect the spindle speed to the related gmoccapy hal pin.
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Code:
custom_postgui.hal:15: Pin 'pyvcp.spindle-speed' does not exist
You have connections to a pyvcp panel, that will not work with gmoccapy.
Just comment everythink related to pyvcp out and restart the GUI.
Norbert
Later connect the spindle speed to the related gmoccapy hal pin.
Last edit: 10 years 2 months ago by newbynobi.
Please Log in or Create an account to join the conversation.
- sxyuklad
- Offline
- Premium Member
-
Less
More
- Posts: 85
- Thank you received: 0
10 years 2 months ago #79126
by sxyuklad
Replied by sxyuklad on topic Gmoccapy - A new screen for linuxcnc
Thank you for your quick reply sir.
But I do want the gmoccapy to show my spindle speed. On top of that I also have a an ATC comp link.
I am attaching my config folder. Can you please have a quick look at my files and let me know where and how to connect my which pins to qhich gmocappy signals?
But I do want the gmoccapy to show my spindle speed. On top of that I also have a an ATC comp link.
I am attaching my config folder. Can you please have a quick look at my files and let me know where and how to connect my which pins to qhich gmocappy signals?
Please Log in or Create an account to join the conversation.
- sxyuklad
- Offline
- Premium Member
-
Less
More
- Posts: 85
- Thank you received: 0
10 years 2 months ago #79127
by sxyuklad
Replied by sxyuklad on topic Gmoccapy - A new screen for linuxcnc
Please excuse my ignorance, I am like only a week older to linuxcnc.
Please Log in or Create an account to join the conversation.
- newbynobi
- Offline
- Moderator
-
Less
More
- Posts: 1931
- Thank you received: 394
10 years 2 months ago - 10 years 2 months ago #79142
by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc
Only three changes needed 
Iin the INI changed DISPLAY = axis to DISPLAY = gmoccapy
In the postgui hal file
the pyVCP connections to match the gmoccapy hal pins
from documentation :
But I deleted also unneeded files and some useless entries in your INI File.
Just copy the zip to your config folder (Not in your existing one !)
Uncompress it and start it, report if it works (it should )
Norbert
Iin the INI changed DISPLAY = axis to DISPLAY = gmoccapy
In the postgui hal file
the pyVCP connections to match the gmoccapy hal pins
from documentation :
5.9. Spindle Feedback Pins
There are two pins for spindle feedback
gmoccapy.spindle_feedback_bar
gmoccapy.spindle_at_speed_led
gmoccapy.spindle_feedback_bar will accept an float input to show the spindle speed.
gmoccapy.spindle_at_speed_led is an bit-pin to lit the GUI led if spindle is at speed.
But I deleted also unneeded files and some useless entries in your INI File.
Just copy the zip to your config folder (Not in your existing one !)
Uncompress it and start it, report if it works (it should )
Norbert
Last edit: 10 years 2 months ago by newbynobi.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.778 seconds