Gmoccapy - A new screen for linuxcnc
and make sure your up to date with linuxcnc
sudo apt-get install matchbox-keyboard
Please Log in or Create an account to join the conversation.
Gmoccapy stopped completely responding several times and for several minutes and then reacted only very slowly. Then I noticed that the Python process claimed nearly 100% of the CPU.
What is the reason for this?
At the moment I still use stable version 2.6.2
Thanks
Andreas
Please Log in or Create an account to join the conversation.
there has been linux updates this may account for your problems , it will not be linuxcnc per se
or your particular installation .
Please Log in or Create an account to join the conversation.
Testerday i had my first crash with Linux 2.6.3 and Gmoccapy. Hopfully nothing bad, nothing break.
In the middle of a normal Gcod as i run everyday the G54 X and Y went back to 0
So after a bizzar strait moove the Y axis get errored of 350mm in the middle of a cut (13m/minutes)
The 350mm is my G54 Y0
This was the first job of the day and before it the G54 Z0 was lost but in this case Linux wont start because of axis limit.
So i have try to run a macro ( 1 of the 6 ) wich one do a z-0.500mm spoil board milling and finish with G10 L2 P0.000
But i dont know why, many time after a click to MDI mode i must wait more than 30sec or stop and restart the machine.
After getting the mdi mode ready i have run the macro and stop it directly to re-offset my Z axis manually.
I tought i had lost enought of time.
Finally good with my Z axis, i have run the Gcode when after 10 minutes, X Y axis went out.
So i have closed Linux, restart the computer, unplug the Rj45 network connection reset G54 XYZ and run all my Gcode without any trouble for more en 10 houres.
but i stil have have a problem wiht MDI mode sometime.
I would like to know, how do you acces from Gmoccapy to a folder on the network ( windows => Debian )
How do you display the Gcode file buy list with detail instead of icon.
Thank you very much.
Mael.
Please Log in or Create an account to join the conversation.
I added a line to map a CIFS (Windows) filesystem to /etc/fstab:
//server/datadisk /media/datadisk cifs credentials=/home/dabit/.smbcredentials,iocharset=utf8,sec=ntlm,directio 0 0
where //server/datadisk is the path to my file storage. Please note that it is always on so this always works. If the server is offline when you bootup the LinuxCNC PC the share won't be available.
the /home/dabit/.smbcredentials file contains the username and password.
After adding this line using 'sudo gedit /etc/fstab' (and manually mounting it using 'sudo mount /media/datadisk' or rebooting), the contents of the network drive is available in /media/datadisk. You can browse there from within gmoccapy, set it as the default path in gmoccapy, etc.
What I did next was to create a symbolic link:
'ln -n /media/datadisk/ngc_files ~/linuxcnc/nc_files/network'
Now there is a 'network' subdirectory in the default place. Saves a couple of mouseclicks/taps.
This is not the most robust solution out there; it is possible to automatically connect when the share is available, etc. But it works for me.
Please Log in or Create an account to join the conversation.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
But i dont know why, many time after a click to MDI mode i must wait more than 30sec or stop and restart the machine.
I wonder if there is a problem with the file that stores the MDI command history?
I don't know what that file is called with Gmoccapy. There is an (optional) INI file entry for MDI_HISTORY_FILE that is used by Axis, but might not be used by Gmoccapy.
If you can see a history file, I would try deleting it in case it has some sort of problem.
Please Log in or Create an account to join the conversation.
Where should it be stored ?
Today again, same problem with MDI not responding, i had to desactive and reactive machine to get it work.
Next new trouble is the sequence PAUSE - STOP When runing a job
So i click Pause because something is not good, 10 second after i click Stop and i dont know why the X axis moove of +/- 100mm befor aborting.
Hopfully Z axis was over the job....
Please Log in or Create an account to join the conversation.
I have check my configuration folder and found nothing at all about MDI file history.
Where should it be stored ?
I just tried a sim config and it uses exactly the same file as Axis, a hidden file in your home directory called .axis_mdi_history
I would try deleting that file.
Next new trouble is the sequence PAUSE - STOP When runing a job
So i click Pause because something is not good, 10 second after i click Stop and i dont know why the X axis moove of +/- 100mm befor aborting.
Something is really wrong here. LinuxCNC is typically very dependable. It is really hard to explain where these random moves might be coming from.
When the X axis moved, did LinuxCNC _know_ that it had moved? ie, did the positions in the DRO stay the same, or did they change?
Please Log in or Create an account to join the conversation.
start the job, let it drill one hole with first Tool " T3"
then PAUSE
then STOP
and ARGGGGGGGGG machine mooved at G0 ( 20m/mn ) to the next Tool path wich normaly should be with M6T4
i know hallowen is closed but.......
so i finally found the hiden file To store MDI Hystory, i have change permission and distroy it.
i should try again the sequence..... but i have ad enought adrenaline for this day.
here is my Gcode and on red, this is where i push pause-stop and where the machine JUMP ( plunge, i start cutting 3/8 board with a 5mm mill at 12m/mn )
nothing Break .
i hop someone Understand what happen.
%
G21 G40 G49 G54 G17
(El Masri copie FABRICATION AGLO GRIS S9.LINUX)
(Job=El Masri copie FABRICATION)
(
)
(
)
(Material=AGLO GRIS W=1,420 L=2,100)
(
)
(
)
(Load Face Down)
(CMT)
(
)
(
)
(
)
(
)
(
)
(
)
(Drill)
(5mm DEBOUCHANT)
G61.1
G53G1f5000Z0
T3 M6
G43 H3
M3 S16000
(
)
(
)
(
)
(
)
(
)
(
)
G61.1G0X871.801Y216.400Z33.200
G64P0.05G1Z3.200F5000.0
G64P0.05G1Z24.550
G64P0.05G1Z-0.500
G61.1G0Z33.200
G61.1G0X871.803Y633.203Z33.200
G64P0.05G1Z3.200
G64P0.05G1Z24.550
G64P0.05G1Z-0.500
G61.1G0Z33.200
G61.1G0X1473.803Y633.203Z33.200
G64P0.05G1Z3.200
G64P0.05G1Z24.550
G64P0.05G1Z-0.500
G61.1G0Z33.200
G61.1G0X1473.801Y216.400Z33.200
G64P0.05G1Z3.200
G64P0.05G1Z24.550
G64P0.05G1Z-0.500
G61.1G0Z33.200
(
)
(
)
(
)
(
)
(
)
(
)
(Profile)
(Onsrud 3/8 compression)
G61.1
G53G1f5000Z0
T4 M6
G43 H4
M3 S12000
(
)
(
)
(
)
(
)
(
)
(
)
G61.1G0X1062.500Y863.200Z33.200
G61.1G0Y860.750Z18.200
G64P0.05G1X1132.500Y863.200Z-0.350F5000.0
G64P0.05G1X1686.200F13000.0
G64Q0.025G3X1690.900Y867.900I0.000J4.700
G64P0.05G1Y1411.700
G64Q0.025G3X1686.200Y1416.400I-4.700J0.000
G64P0.05G1X854.600
G64Q0.025G3X849.900Y1411.700I0.000J-4.700
G64P0.05G1Y867.900
G64Q0.025G3X854.600Y863.200I4.700J0.000
G64P0.05G1X1135.675
G61.1G0X1138.892Y862.457Z33.200
G61.1G0X215.900Y849.900Z33.200
G61.1G0Y847.450Z18.200
G64P0.05G1X285.900Y849.900Z-0.350F5000.0
G64P0.05G1X839.600F13000.0
G64Q0.025G3X844.300Y854.600I0.000J4.700
G64P0.05G1Y1398.400
G64Q0.025G3X839.600Y1403.100I-4.700J0.000
G64P0.05G1X8.000
G64Q0.025G3X3.300Y1398.400I0.000J-4.700
G64P0.05G1Y854.600
G64Q0.025G3X8.000Y849.900I4.700J0.000
G64P0.05G1X289.075
G61.1G0X292.292Y849.157Z33.200
G61.1G0X556.500Y215.900Z33.200
G61.1G0X558.950Z18.200
G64P0.05G1X556.500Y285.900Z-0.350F5000.0
G64P0.05G1Y839.600F13000.0
G64Q0.025G3X551.800Y844.300I-4.700J0.000
G64P0.05G1X8.000
G64Q0.025G3X3.300Y839.600I0.000J-4.700
G64P0.05G1Y8.000
G64Q0.025G3X8.000Y3.300I4.700J0.000
G64P0.05G1X551.800
G64Q0.025G3X556.500Y8.000I0.000J4.700
G64P0.05G1Y289.075
G61.1G0X557.243Y292.292Z33.200
G61.1G0X2040.600Y216.400Z33.200
G61.1G0X2043.050Z18.200
G64P0.05G1X2040.600Y286.400Z-0.350F5000.0
G64P0.05G1Y841.600F13000.0
G64Q0.025G3X2035.900Y846.300I-4.700J0.000
G64P0.05G1X1456.703Y846.304
G64Q0.025G3X1452.003Y841.604I0.000J-4.700
G64P0.05G1X1452.000Y8.000
G64Q0.025G3X1456.700Y3.300I4.700J0.000
G64P0.05G1X2035.900
G64Q0.025G3X2040.600Y8.000I0.000J4.700
G64P0.05G1Y289.575
G61.1G0X2041.343Y292.792Z33.200
G61.1G0X1438.600Y216.400Z33.200
G61.1G0X1441.050Z18.200
G64P0.05G1X1438.600Y286.400Z-0.350F5000.0
G64P0.05G1Y841.600F13000.0
G64Q0.025G3X1433.900Y846.300I-4.700J0.000
G64P0.05G1X854.703Y846.304
G64Q0.025G3X850.003Y841.604I0.000J-4.700
G64P0.05G1X850.000Y8.000
G64Q0.025G3X854.700Y3.300I4.700J0.000
G64P0.05G1X1433.900
G64Q0.025G3X1438.600Y8.000I0.000J4.700
G64P0.05G1Y289.575
G61.1G0X1439.343Y292.792Z33.200
(
)
(
)
(
)
(
)
(
)
(
)
(Pocket)
(Leitzt 10 Downcut)
G61.1
G53G1f5000Z0
T5 M6
G43 H5
M3 S12000
(
)
(
)
(
)
(
)
(
)
(
)
G61.1G0X876.554Y841.604Z33.200
G64P0.05G1Z18.200F5000.0
Please Log in or Create an account to join the conversation.