Jog Axis no Function by last update

More
11 Aug 2018 09:21 #115879 by Weiler810T
Helo

When I press the X or Y or Z-button in manualmode, says linuxcnc
wrong motion mode ?:(
The error came only with the last update, before the machine ran perfectly
**** GMOCCAPY INFO : postgui halfile = gmoccapy_postgui.hal ****:
Emit interp-run
1 2
MANUAL Mode
Emit interp-run
wrong motion mode, change to the correct one

Last update
LINUXCNC - 2.8.0-pre1-3813-g42d0b443d
Machine configuration directory is '/home/chiron/linuxcnc/configs/ChironFZ16'
Machine configuration file is 'chiron.ini'
Starting LinuxCNC...
Found file(REL): ./hm2-servo.hal
Note: Using POSIX realtime
hm2: loading Mesa HostMot2 driver version 0.15
hm2_pci: loading Mesa AnyIO HostMot2 driver version 0.7
hm2_pci: discovered 5i20 at 0000:05:01.0

Linuxcnc
Kernel message information:
[    0.000000] microcode: microcode updated early to revision 0xd0, date = 2010-09-30
[    0.000000] Linux version 4.9.0-7-rt-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP PREEMPT RT Debian 4.9.110-1 (2018-07-05)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-7-rt-amd64 root=UUID=f6ce28d2-210d-401d-98ce-26bd6dd63be4 ro quiet
[    0.000000] x86/fpu: Legacy x87 FPU detected.
[    0.000000] e820: BIOS-provided physical RAM map:

My old Config. Axis2.5.4 and Gmoccapy 2.7.12 works fine, no Probs
Any idea ?

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

More
11 Aug 2018 12:10 #115881 by newbynobi
Gmoccapy in master do support the new feature joint axis mode, so you need to adapt your config.
What happen after homing the machine?

Norbert

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

More
11 Aug 2018 15:41 #115891 by Weiler810T
Hallo Norbert

The new feature joint axis mode was already adapted beforehand.
After honimg Maschine is the same Proplem in manualmode, the jogwheel works though.
I can move all axes with the jogwheel in maualmode, but the jog-button no funktion.

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

More
11 Aug 2018 16:02 #115893 by newbynobi
Please test with sim machine and report, if the sim machine do work, post your config, so I can check on that one.

Norbert

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

More
12 Aug 2018 04:50 #115943 by Weiler810T
Hallo Norbert

Sim works in manual mode :unsure:



Here is my Config.

File Attachment:

File Name: ChironFZ16...1.tar.gz
File Size:287 KB



Siggi

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

More
15 Aug 2018 09:08 #116072 by Weiler810T
I have the last update and the machine will not start up anymore :( :blink:
Somebody was fiddling with fucking bloody :angry: Glade
Is the same old Config,I only recorded the update LINUXCNC - 2.8.0-pre1-3817-g7aa9e98

**** GMOCCAPY INFO ****
**** btn_zero_g92 wurde mit btn_block_height ersetzt. ****
**** GMOCCAPY INFO ****
**** found valid probe config in INI File ****
**** will use auto tool measurement ****
**** GMOCCAPY INFO: Gcode.lang found ****
**** GMOCCAPY INFO : inifile = /home/chiron/linuxcnc/configs/ChironFZ16/chiron.ini ****:
**** GMOCCAPY INFO : postgui halfile = gmoccapy_postgui.hal ****:
gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=9100
Killing task milltask, PID=9209
task: 192 cycles, min=0.000016, max=0.012585, avg=0.009076, 0 latency excursions (> 10x expected cycle time of 0.010000s)
gladevcp: auxiliary dir: /usr/share/linuxcnc/aux_gladevcp/NativeCAM
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/pref_edit.py
gladevcp: importing: /usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py
****  probe_screen GETINIINFO **** 
 Preference file path: /home/chiron/linuxcnc/configs/ChironFZ16/HM2-Servo.pref
Xlib.protocol.request.QueryExtension
Removing HAL_LIB, RTAPI, and Real Time OS modules
ERROR:  Can't remove RTAI modules, kill the following process(es) first
  9226Removing NML shared memory segments

Debug file information:
.

(gmoccapy:9213): GtkSourceView-CRITICAL **: gtk_source_language_manager_set_search_path: assertion `lm->priv->ids == NULL' failed
gmoccapy_postgui.hal:40: Pin 'gladevcp.hal_mtk' does not exist
Traceback (most recent call last):
  File "/usr/bin/gladevcp", line 45, in <module>
    import gladevcp.makepins
  File "/usr/lib/pymodules/python2.7/gladevcp/__init__.py", line 67, in <module>
    importlib.import_module(modname)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/share/linuxcnc/aux_gladevcp/NativeCAM/ncam.py", line 8, in <module>
    Copyright © 2012 Nick Drobchenko aka Nick from cnc-club.ru'''
KeyboardInterrupt
X protocol error:
<class 'Xlib.error.BadWindow'>: code = 3, resource_id = Xlib.xobject.resource.Resource(0x04e00043), sequence_number = 11, major_opcode = 7, minor_opcode = 0
9100
  PID TTY      STAT   TIME COMMAND
9209
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/gladevcp/led.py", line 74, in expose
    def expose(self, widget, event):
KeyboardInterrupt
                     USER        PID ACCESS COMMAND
/dev/rtai_shm:       chiron    ....m gladevcp

Kernel message information:
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.4-9-rtai-686-pae (Debian 3.4.55-4linuxcnc) () (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP PREEMPT Debian 3.4.55-4linuxcnc
The following user(s) said Thank You: Mike_Eitel

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

More
15 Aug 2018 09:45 - 15 Aug 2018 09:48 #116073 by newbynobi
Hallo,

this is the relevant error:
gmoccapy_postgui.hal:40: Pin 'gladevcp.hal_mtk' does not exist
If this pin is a part of a embedded panel, you will need to load / connect that pin within the glade hal file, while loading the panel.

Like you do with other panels, i.e.
gladevcp -x {XID} -H Weiler_810T_panel.hal Weiler_810T.glade

What is this pin for?

Norbert
Last edit: 15 Aug 2018 09:48 by newbynobi.

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

More
15 Aug 2018 11:23 - 15 Aug 2018 14:15 #116078 by Weiler810T
Hallo Norbert

The pin is for messtaster,but at the last 1000 updates works
# Name of display program, e.g., tkemc
DISPLAY =              gmoccapy
EMBED_TAB_NAME = Weiler_810T
EMBED_TAB_LOCATION = box_right
EMBED_TAB_COMMAND = gladevcp -x {XID} -H Weiler_810T_panel.hal Weiler_810T.glade
DEFAULT_SPINDLE_SPEED = 150
# PREFERENCE_FILE_PATH = /home/chiron/linuxcnc/configs/ChironFZ16/gmoccapy.pref


EMBED_TAB_NAME=Probe Screen 
EMBED_TAB_LOCATION = ntb_user_tabs
EMBED_TAB_COMMAND=halcmd loadusr -Wn gladevcp gladevcp -c gladevcp -u python/probe_screen.py -x {XID} probe_icons/probe_screen.glade 


gmoccapy_postgui.hal
##################################
####  Renishaw Messtaster ########
##################################

#net probe-in1     debounce.0.5.in <= hm2_5i20.1.gpio.051.in 

#net probe-in      debounce.0.5.out =>  motion.probe-input => gladevcp.hal_mtk
net probe-in     hm2_5i20.1.gpio.051.in =>  motion.probe-input => gladevcp.hal_mtk
net probe-err      hm2_5i20.1.gpio.052.in_not => gladevcp.hal_mtk
net probe-bat    hm2_5i20.1.gpio.053.in => gladevcp.hal_mtb
# net renishaw    hm2_5i20.1.gpio.055.in

File Attachment:

File Name: probe_screen.glade
File Size:143 KB

File Attachment:

File Name: probe_screen.py
File Size:63 KB


gladevcp.hal_mtk > Kontakt
gladevcp.hal_mtk > Status
gladevcp.hal_mtb > Batterie

Siggi
Attachments:
Last edit: 15 Aug 2018 14:15 by Weiler810T.

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

More
15 Aug 2018 16:03 #116084 by newbynobi
Hallo,

than that one is a race conflict.
Do not connect Hal Pins of Glade embedded Panel in the postgui.hal file, as some Glade Panel are loaded completely after the GUI, thats why you should add an Hal file to the embedded tab.

Norbert

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

More
18 Aug 2018 09:47 #116236 by Weiler810T
Servus Norbert

Irgendwas beißt sich da in den Hintern :(

Starten mit probe_screen.pins in der gmoccappy.hal
Debug file information:
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.

(gmoccapy:2722): GtkSourceView-CRITICAL **: gtk_source_language_manager_set_search_path: assertion 'lm->priv->ids == NULL' failed
gmoccapy_postgui.hal:23: Pin 'probe_screen.hal_mtk' does not exist
Traceback (most recent call last):
  File "/usr/bin/gladevcp", line 45, in <module>
    import gladevcp.makepins
  File "/usr/lib/python2.7/dist-packages/gladevcp/__init__.py", line 1, in <module>
Traceback (most recent call last):
  File "/usr/bin/gladevcp", line 312, in <module>
    main()
  File "/usr/bin/gladevcp", line 221, in main
    window = xembed.reparent(window, opts.parent)
  File "/usr/lib/python2.7/dist-packages/gladevcp/xembed.py", line 22, in reparent
    from hal_pythonplugin import *
  File "/usr/lib/python2.7/dist-packages/gladevcp/hal_pythonplugin.py", line 22, in <module>
    d = display.Display()
  File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 80, in __init__
    from combi_dro import Combi_DRO
  File "/usr/lib/python2.7/dist-packages/gladevcp/combi_dro.py", line 20, in <module>
    self.display = _BaseDisplay(display)
  File "/usr/lib/python2.7/dist-packages/Xlib/display.py", line 62, in __init__
    display.Display.__init__(*(self, ) + args, **keys)
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/display.py", line 125, in __init__
    import gtk
KeyboardInterrupt
    auth_prot_data = auth_data)
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/display.py", line 991, in __init__
    display.send_and_recv(request = -1)
  File "/usr/lib/python2.7/dist-packages/Xlib/protocol/display.py", line 511, in send_and_recv
    rs, ws, es = select.select([self.socket], writeset, [], timeout)
KeyboardInterrupt
2646
  PID TTY      STAT   TIME COMMAND
2718
  PID TTY      STAT   TIME COMMAND
 2718 ?        D      0:00 milltask -ini /home/chiron/linuxcnc/configs/chironFZ16/chiron.ini
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7fae8dcf1000
RTAPI_PCI: Unmapped 65536 bytes at 0x7fae8dce1000
Note: Using POSIX realtime

Starten mit einer probe_screen.hal
Debug file information:
Note: Using POSIX realtime
./probe_screen.hal:8: Pin 'probe_screen.hal_mtk' does not exist
2893
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components
RTAPI_PCI: Unmapped 65536 bytes at 0x7fb2f4ef0000
RTAPI_PCI: Unmapped 65536 bytes at 0x7fb2f4ee0000
Note: Using POSIX realtime

Wenn ich ohne probe_screen.hal starte, startet Gmoccappy und die die probe_screen pins sind vorhanden.


File Attachment:

File Name: probe_screen.hal
File Size:0 KB

Any idea ?
Attachments:

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

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