Start up problems
- ZX-Sinclair
- Offline
- Junior Member
- Posts: 31
- Thank you received: 0
i try to use gmoccapy but it didn't work.
The test in stepconf works out of the box (x and y axis, Triple beast drive set) after some pin configuration.
But gmoccapy works only in a "virtual mode". There seems to be no "connection" to the drive.
I have no idea where i have to look for.
At the moment i can drive virtual to the virtual Y-axis reference switch.
With the X and Z axis this is not possible (reference switch is closed). But it is no switch connected.
I measured the pins. During the test of setupconf the signal is working. With gmoccapy there is no signal. Why?
With LinuxCNC i can drive to the switches.
Please Log in or Create an account to join the conversation.
i try to use gmoccapy but it didn't work.
In what way did you try to use gmoccapy?
Did you try to run the simulator sample config included with the distro?
sim/gmoccapy
That is a simulator and does not run a machine.
sim/gmoccapy/README
You probably need to forget gmoccapy for now, launch stepconf and create a working config using Axis
When you get that going, you will be able to port it to gmoccapy if you wish, once the process of doing so means something to you.
regards
Please Log in or Create an account to join the conversation.
- ZX-Sinclair
- Offline
- Junior Member
- Posts: 31
- Thank you received: 0
This is standard. Axis works.
I tried that again, and it works.
"When you get that going, you will be able to port it to gmoccapy if you wish, once the process of doing so means something to you."
How? I googled for hours and hours. It is so easy that there is no description, example, video or tutorial
Please Log in or Create an account to join the conversation.
What does that mean: "You probably need to forget gmoccapy for now, launch stepconf and create a working config using Axis"
It means stepconf will not create a gmoccapy config for you.
Unlikely anyone is going to hold your hand or present you with a ready to wear config.
Until you study the sim examples and the other docs against your Axis config, you will not see what needs doing to use it as a GUI.
That is all it is, a GUI. Linuxcnc does not work any differently, it is just presented differently in a way which might better suit touchscreens.
A plus might be that it is written in python and integrates better with gladevcp.
A negative would be that it is written in python.
How? I googled for hours and hours. It is so easy that there is no description, example, video or tutorial
From the 5 second search I did:
There is a 124 page thread on it
www.linuxcnc.org/index.php/english/forum...inuxcnc?limitstart=0
A wiki page
wiki.linuxcnc.org/cgi-bin/wiki.pl?Gmoccapy
Intro YouTube video at
"https://www DOT youtube DOT com/watch?v=O5B-s3uiI6g"
(listed like this because since the adobe flash problems, it will just display a black square on this post
type it into another page on your browser and it works)
There are many more listed on the wiki
and all the sample sim configs installed on your machine which presumably you have already run
configs/sim/gmoccapy
Is that enough to be getting on with?
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
- Offline
- Platinum Member
- Posts: 320
- Thank you received: 48
- Copy your existing working axis configuration to a new folder under your user/linuxcnc/configurations/ folder. Name this new configuration folder something like "machinename-gmoccapy".
- Copy the gmoccapy files from the sample configuration folder to your new configuration folder.
- Open your working INI file in the new configuration folder and change the entries in the "DISPLAY" section as shown in the documentation ArcEye posted above.
- Create a new launcher on your desktop with the same command as the original working configuration except point to the INI file in the new configuration folder.
- Try to run the configuration by using the new launcher. It will probably give you errors because your HAL files will need some modification
- Read the error and figure out what needs to be changed in your HAL files. Make the correction and try to launch it again.
- Repeat steps 5-6 until you have the errors corrected.
Gmoccapy is not 100% plug and play like Axis so it requires custom configuration. It is not terribly difficult and it should not take long to get it working. Main thing is to read the documentation and review the sample simulation configuration to see how it works.
Please Log in or Create an account to join the conversation.
- ZX-Sinclair
- Offline
- Junior Member
- Posts: 31
- Thank you received: 0
I read the most of the documentation (but not all of the 124 pages postings since 2013).
Thats fine and i understand the handling, the GUI and so on. But that is not the problem...
If i change in the standard conf the display from "axis" to "gmoccapy" than it works.
#Nitro
I copied all together but i stopped at item 3.
There is no documentation?
I only want to switch from the working gmoccapy to gmoccapy plasma.
But if i copy that it is always the simulation.
See: wiki.linuxcnc.org/cgi-bin/wiki.pl?Gmoccapy_plasma
1. Requirements:
"You will be required to copy all the relevant files to your config. More on this later."
(When later? Where?) Is it to easy to change the GUI from mill to plasma?
Update: it works.
I compared the code from the sim and the working gmoccapy and copied row by row.
I think that is a stupid and ridiculous way and it takes hours and hours.
Maybe i will get problems with the working THC. We will see. But at the moment it works. Thanks!!!
Please Log in or Create an account to join the conversation.
- LearningLinuxCNC
- Offline
- Platinum Member
- Posts: 320
- Thank you received: 48
Here is the official documentation on Gmoccapy. It is in the LinuxCNC users manual.
www.linuxcnc.org/docs/html/gui/gmoccapy.html
Please Log in or Create an account to join the conversation.
- ZX-Sinclair
- Offline
- Junior Member
- Posts: 31
- Thank you received: 0
I know how to work.
But there is no sentance about switching from sim to real work.
Which lines has to be copied into another.....
But it works!
Please Log in or Create an account to join the conversation.
Did you realy read the gmoccapy documentation?
What is wrong? I mentioned all the entries you have to modify kn your ini file.
So please document what you missed, i will add that information.
Norbert
Please Log in or Create an account to join the conversation.
- ZX-Sinclair
- Offline
- Junior Member
- Posts: 31
- Thank you received: 0
the main problem is the huge amount of documents a newbie has to read.
In example, during the first run of LinuxCNC there is a table to select the machine.
I would never select gmoccapy! I don't know that!
If this is selected later, it simulates, but it doesn't work.
So i copied a lot of lines from the .ini, HAL. and a lot of other stuff into the other ones.
A horrible work! Now it runs. (but if i restart the Stepperconf it overwrites all and simulates again. So i have th do it manually.)
The documentation of gmoccapy is not bad.
The global explanations about the relations between HAL, GUI, pref, ini, StepConf, etc. could be better.
And the explanation how to change from simulating to work ...?
Please Log in or Create an account to join the conversation.