Auto tool measurment files

More
15 Feb 2024 13:36 - 15 Feb 2024 13:37 #293383 by al_sur_dionisis
Auto tool measurment files was created by al_sur_dionisis
 
Hallo and good afternoon from Greece.
I have XYZ machine with a mesa7i96s controller. I did manage to configure my machine through Gmoccapy like the tandem axis or the analog spindle. I confront some problems but finally everything works fine.But now I want to connect the tool measurement.After connect the probe as a typical limit switch and marked to the pncconf the mesa input as a probe, I am trying to apply what gmoccapy propose in his manual (www.linuxcnc.org/docs/html/gui/gmoccapy....#gmoccapy:turtle-jog). But is far mor difficult than the previous configuration.I think the main problem is that the manual is been written for users with basic linux knowledge that I don’t have.

So where I get lost>
1.       After make any configuration asked at the 6.2 chapter, in the 6.3 chapter ask for>
From<your_linuxcnc-dev_directory>/configs/sim/gmoccapy/python copy the following files into the just created config_dir/python folder and
From
<your_linuxcnc-dev_directory>/configs/sim/gmoccapy/macros copy
But where are the folders? I cant find a sim folder but only a simaxis folder, and there is nowhere a config folder.


2.  “Open [code]change.ngc with a editor and uncomment the following lines (49 and 50):F #<_hal[gmoccapy.probevel]>G38.2 Z-4”
That means>F <_hal[gmoccapy.probevel]>G38.2 Z-4
I hope that I did everything else correct and is only the steps I mentioned before that missing to make the probe to work.
Any help please (I have already spend 20 hours on that project)



[b] [/b]
[/code]
Attachments:
Last edit: 15 Feb 2024 13:37 by al_sur_dionisis.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
15 Feb 2024 13:41 - 15 Feb 2024 13:44 #293386 by Aciera
Replied by Aciera on topic Auto tool measurment files
Have a look in the 'linuxcnc' folder.

In other words:
<your_linuxcnc-dev_directory>
would be:
/home/der/linuxcnc/

[edit]
At least it seems to be, from looking at the PROGRAM_PREFIX entry on your ini file.
Last edit: 15 Feb 2024 13:44 by Aciera.

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

More
15 Feb 2024 13:46 - 15 Feb 2024 13:48 #293388 by al_sur_dionisis
Replied by al_sur_dionisis on topic Auto tool measurment files
Yes this is my folder but there is nothing there.

I did find the files here github.com/LinuxCNC/linuxcnc/blob/master...gmoccapy/gmoccapy.py

But still cant find where to copy them
Last edit: 15 Feb 2024 13:48 by al_sur_dionisis.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
15 Feb 2024 13:47 #293389 by Aciera
Replied by Aciera on topic Auto tool measurment files
you mean there is no 'configs' folder in '/home/der/linuxcnc'?

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

More
15 Feb 2024 13:51 - 15 Feb 2024 13:59 #293390 by al_sur_dionisis
Replied by al_sur_dionisis on topic Auto tool measurment files
the "configs" folder is there. But there is no "config_dir" folder
Last edit: 15 Feb 2024 13:59 by al_sur_dionisis.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
15 Feb 2024 13:56 #293391 by Aciera
Replied by Aciera on topic Auto tool measurment files

<your_linuxcnc-dev_directory>/configs/sim/gmoccapy/macros copy
But where are the folders? I cant find a sim folder but only a simaxis folder, and there is nowhere a config folder.

I'm confused, what exactly is your question?
 

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
15 Feb 2024 14:02 #293393 by Aciera
Replied by Aciera on topic Auto tool measurment files
The 'config_dir' in the documentation would be your machine config folder. IE the folder where you have the .ini and .hal files that you posted above.
The following user(s) said Thank You: al_sur_dionisis

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

More
15 Feb 2024 14:06 #293394 by al_sur_dionisis
Replied by al_sur_dionisis on topic Auto tool measurment files
Coppied from the terminal


der@katinaki:~$ cd linuxcnc
der@katinaki:~/linuxcnc$ dir
configs nc_files
der@katinaki:~/linuxcnc$ cd configs
der@katinaki:~/linuxcnc/configs$ dir
katinaki katinaki_12_probe test.pncconf
katinaki_11 katinaki_12_probe.pncconf trelakias
katinaki_11.pncconf katinaki.pncconf trelakias.pncconf
katinaki_12.1_probe sim.axis
katinaki_12.1_probe.pncconf test

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

More
15 Feb 2024 14:19 #293396 by al_sur_dionisis
Replied by al_sur_dionisis on topic Auto tool measurment files
I did try it before didnt work.
I am trying to copy the report file doesnt let me, i am trying a photo is to big, i am looking for the report file cant find. Nightmare... let me shrink the photo

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

More
15 Feb 2024 14:31 - 15 Feb 2024 14:37 #293399 by al_sur_dionisis
Replied by al_sur_dionisis on topic Auto tool measurment files
Here is the report file.
I store the python and macros folder as Aciera told.

Error report created by /usr/lib/tcltk/linuxcnc/show_errors.tcl:

Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/lib/tcltk/linuxcnc/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC - 2.8.4-1-gb7824717b
Machine configuration directory is '/home/der/linuxcnc/configs/katinaki_12_probe'
Machine configuration file is 'katinaki_12_probe.ini'
INIFILE=/home/der/linuxcnc/configs/katinaki_12_probe/katinaki_12_probe.ini
VERSION=1.1
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=halui
DISPLAY=gmoccapy
COORDINATES=XYYZ
KINEMATICS=trivkins coordinates=XYYZ kinstype=BOTH
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Starting HAL User Interface program: halui
Found file(REL): ./katinaki_12_probe.hal
Found file(REL): ./custom.hal
Starting TASK program: milltask
Starting DISPLAY program: gmoccapy
(0, ' = ', '/usr/bin/gmoccapy')
(1, ' = ', '-ini')
(2, ' = ', '/home/der/linuxcnc/configs/katinaki_12_probe/katinaki_12_probe.ini')
Entry = trivkins
Entry = coordinates=XYYZ
found the following coordinates xyyz
Entry = kinstype=BOTH

**** GMOCCAPY GETINIINFO **** 
Number of joints = 4
4 COORDINATES found = xyyz
('Fount double letter ', )
joint 0 = axis x
joint 1 = axis y0
joint 2 = axis y1
joint 3 = axis z
{0: 'x', 1: 'y0', 2: 'y1', 3: 'z'}

**** GMOCCAPY GETINIINFO **** 

[KINS] KINESTYPE is trivkins
Found kinstype=BOTH but using trivkins
It is not recommended to do so!
Will use mode to switch between Joints and World mode
hopefully supported by the used <<trivkins>> module

**** GMOCCAPY GETINIINFO **** 
No MAX_RAPID_OVERRIDE entry found in [DISPLAY] of INI file 
 Default settings 100 % applied!
**** GMOCCAPY GETINIINFO **** 
Preference file path: /home/der/linuxcnc/configs/katinaki_12_probe/katinaki_12_probe.pref
**** GMOCCAPY GETINIINFO **** 
 No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file
**** GMOCCAPY INFO ****
**** found valid probe config in INI File ****
**** will use auto tool measurement ****
**** GMOCCAPY INFO ****
**** Entering make_DRO
axis_list =
**** GMOCCAPY INFO ****
**** Entering make ref axis button
('Filepath = ', '/usr/share/gmoccapy/images/ref_all.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_0.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_1.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_2.png')
('Filepath = ', '/usr/share/gmoccapy/images/ref_3.png')
('Filepath = ', '/usr/share/gmoccapy/images/unhome.png')
**** GMOCCAPY INFO ****
**** Entering make touch button
**** GMOCCAPY INFO ****
**** Entering make jog increments
**** GMOCCAPY INFO ****
**** Entering make jog button
**** GMOCCAPY INFO ****
**** Entering make joints button
**** GMOCCAPY INFO ****
**** arrange JOINTS button
Found 8 Joints Button
**** GMOCCAPY INFO ****
**** Entering make macro button
found 0 Macros
**** GMOCCAPY INFO ****
**** arrange DRO
3
**** GMOCCAPY INFO ****
**** Place in table
**** GMOCCAPY INFO ****
**** get DRO order
**** GMOCCAPY INFO ****
**** arrange JOG button
less than 6 axis
**** GMOCCAPY INFO ****
**** Invalid embedded tab configuration ****
**** No tabs will be added! ****
**** GMOCCAPY INFO ****
**** no audio available! ****
**** PYGST libray not installed? ****
**** is python-gstX.XX installed? ****
**** GMOCCAPY INFO ****
**** Entering init gremlin ****
Kinematics type changed
('_set_enable_tooltips = ', True)
**** GMOCCAPY INFO ****
**** No virtual keyboard installed, we checked for <onboard> and <matchbox-keyboard>.
**** GMOCCAPY INFO: Gcode.lang found ****
**** GMOCCAPY GETINIINFO **** 
Wrong entry [DISPLAY] CYCLE_TIME in INI File!
Will use gmoccapy default 150
**** GMOCCAPY INFO : inifile = /home/der/linuxcnc/configs/katinaki_12_probe/katinaki_12_probe.ini ****:
**** GMOCCAPY INFO : postgui halfile = postgui_call_list.hal ****:
Shutting down and cleaning up LinuxCNC...
Running HAL shutdown script
task: 227 cycles, min=0.000076, max=0.016383, avg=0.009195, 0 latency excursions (> 10x expected cycle time of 0.010000s)
hm2: loading Mesa HostMot2 driver version 0.15
hm2_eth: loading Mesa AnyIO HostMot2 ethernet driver version 0.2
hm2_eth: 10.10.10.10: INFO: Hardware address (MAC): 00:60:1b:16:83:5c
hm2_eth: discovered 7I96S
hm2/hm2_7i96s.0: Low Level init 0.15
hm2/hm2_7i96s.0: Smart Serial Firmware Version 43
hm2/hm2_7i96s.0: 51 I/O Pins used:
hm2/hm2_7i96s.0:     IO Pin 000 (TB3-01): InM Input Module #0, pin in0 (Input)
hm2/hm2_7i96s.0:     IO Pin 001 (TB3-02): InM Input Module #0, pin in1 (Input)
hm2/hm2_7i96s.0:     IO Pin 002 (TB3-03): InM Input Module #0, pin in2 (Input)
hm2/hm2_7i96s.0:     IO Pin 003 (TB3-04): InM Input Module #0, pin in3 (Input)
hm2/hm2_7i96s.0:     IO Pin 004 (TB3-05): InM Input Module #0, pin in4 (Input)
hm2/hm2_7i96s.0:     IO Pin 005 (TB3-06): InM Input Module #0, pin in5 (Input)
hm2/hm2_7i96s.0:     IO Pin 006 (TB3-07): InM Input Module #0, pin in6 (Input)
hm2/hm2_7i96s.0:     IO Pin 007 (TB3-08): InM Input Module #0, pin in7 (Input)
hm2/hm2_7i96s.0:     IO Pin 008 (TB3-09): InM Input Module #0, pin in8 (Input)
hm2/hm2_7i96s.0:     IO Pin 009 (TB3-10): InM Input Module #0, pin in9 (Input)
hm2/hm2_7i96s.0:     IO Pin 010 (TB3-11): InM Input Module #0, pin in10 (Input)
hm2/hm2_7i96s.0:     IO Pin 011 (TB3-13/TB3-14): SSR #0, pin Out-00 (Output)
hm2/hm2_7i96s.0:     IO Pin 012 (TB3-15/TB3-16): SSR #0, pin Out-01 (Output)
hm2/hm2_7i96s.0:     IO Pin 013 (TB3-17/TB3-18): SSR #0, pin Out-02 (Output)
hm2/hm2_7i96s.0:     IO Pin 014 (TB3-19/TB3-20): SSR #0, pin Out-03 (Output)
hm2/hm2_7i96s.0:     IO Pin 015 (TB3-21/TB3-22): OutM Output Module #0, pin Out-04 (Output)
hm2/hm2_7i96s.0:     IO Pin 016 (TB3-23/TB3-24): OutM Output Module #0, pin Out-05 (Output)
hm2/hm2_7i96s.0:     IO Pin 017 (TB1-02/TB1-03): StepGen #0, pin Step (Output)
hm2/hm2_7i96s.0:     IO Pin 018 (TB1-04/TB1-05): StepGen #0, pin Direction (Output)
hm2/hm2_7i96s.0:     IO Pin 019 (TB1-08/TB1-09): StepGen #1, pin Step (Output)
hm2/hm2_7i96s.0:     IO Pin 020 (TB1-10/TB1-11): StepGen #1, pin Direction (Output)
hm2/hm2_7i96s.0:     IO Pin 021 (TB1-14/TB1-15): StepGen #2, pin Step (Output)
hm2/hm2_7i96s.0:     IO Pin 022 (TB1-16/TB1-17): StepGen #2, pin Direction (Output)
hm2/hm2_7i96s.0:     IO Pin 023 (TB1-20/TB1-21): StepGen #3, pin Step (Output)
hm2/hm2_7i96s.0:     IO Pin 024 (TB1-22-TB1-23): StepGen #3, pin Direction (Output)
hm2/hm2_7i96s.0:     IO Pin 025 (TB2-02/TB2-03): StepGen #4, pin Step (Output)
hm2/hm2_7i96s.0:     IO Pin 026 (TB2-04/TB2-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i96s.0:     IO Pin 027 (TB2-07/TB2-08): Encoder #0, pin A (Input)
hm2/hm2_7i96s.0:     IO Pin 028 (TB2-10/TB2-11): Encoder #0, pin B (Input)
hm2/hm2_7i96s.0:     IO Pin 029 (TB2-13/TB2-14): Encoder #0, pin Index (Input)
hm2/hm2_7i96s.0:     IO Pin 030 (TB2-16/TB2-17): IOPort
hm2/hm2_7i96s.0:     IO Pin 031 (TB2-18/TB2-19): IOPort
hm2/hm2_7i96s.0:     IO Pin 032 (internal): IOPort
hm2/hm2_7i96s.0:     IO Pin 033 (internal): SSR #0, pin AC Ref (internal) (Output)
hm2/hm2_7i96s.0:     IO Pin 034 (P1-01): IOPort
hm2/hm2_7i96s.0:     IO Pin 035 (P1-02): IOPort
hm2/hm2_7i96s.0:     IO Pin 036 (P1-03): IOPort
hm2/hm2_7i96s.0:     IO Pin 037 (P1-04): IOPort
hm2/hm2_7i96s.0:     IO Pin 038 (P1-05): IOPort
hm2/hm2_7i96s.0:     IO Pin 039 (P1-06): IOPort
hm2/hm2_7i96s.0:     IO Pin 040 (P1-07): IOPort
hm2/hm2_7i96s.0:     IO Pin 041 (P1-08): IOPort
hm2/hm2_7i96s.0:     IO Pin 042 (P1-09): IOPort
hm2/hm2_7i96s.0:     IO Pin 043 (P1-11): IOPort
hm2/hm2_7i96s.0:     IO Pin 044 (P1-13): IOPort
hm2/hm2_7i96s.0:     IO Pin 045 (P1-15): IOPort
hm2/hm2_7i96s.0:     IO Pin 046 (P1-17): IOPort
hm2/hm2_7i96s.0:     IO Pin 047 (P1-19): IOPort
hm2/hm2_7i96s.0:     IO Pin 048 (P1-21): IOPort
hm2/hm2_7i96s.0:     IO Pin 049 (P1-23): IOPort
hm2/hm2_7i96s.0:     IO Pin 050 (P1-25): IOPort
hm2/hm2_7i96s.0: registered
hm2_eth: in hm2_eth_reset
hm2_eth: HostMot2 ethernet driver unloaded
hm2: unloading
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
/usr/bin/gmoccapy:312: GtkWarning: Invalid icon size 48

  self.widgets.window1.show()

(gmoccapy:4812): GtkSourceView-CRITICAL **: 16:28:35.685: gtk_source_language_manager_set_search_path: assertion 'lm->priv->ids == NULL' failed
postgui_call_list.hal:10: Pin 'iocontrol.0.tool-prepare' was already linked to signal 'tool-prepare-loopback'
4766
4808
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime



Info report created by linuxcnc_info:
The file:    /tmp/linuxcnc_info.txt
Last edit: 15 Feb 2024 14:37 by al_sur_dionisis.

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

Moderators: newbynobiHansU
Time to create page: 0.077 seconds
Powered by Kunena Forum