Gmoccapy - A new screen for linuxcnc

More
11 years 11 months ago #52779 by PCW
Replied by PCW on topic Gmoccapy - A new screen for linuxcnc
For sensing switches with a grounded common with a 7I77 digital input, a 2K 1W resistor to 24V field power will work fine

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

More
11 years 11 months ago #52780 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc

One is that since the update from 1.2 to 1.3, gmoccapy no longer remembers that I don't want to show the keyboard on any pages (I just uncheck the boxes now whenever I start gmoccapy)


I have not noticed that and as far as I remember I haven't changed that part of the code, I will check on this, but please do me a favor prior to my work.

Please errase the preference file of your machine ( the name is given in the INI file and the file is located in your config folder.)

After a new start of gmoccapy the file will be created with standard settings. Then change all the settings you like and restart gmoccapy. Does it work now?

The other is with coordinate systems: If you're making some moves in G54 everything is normal, the DRO shows G54 and it's also listed in the "G-code" part of the screen. If your program then changes to say G55, the machine responds correctly, but the DRO and G-code list still display "G54", it's a bit confusing. This is only the case in Auto mode, if you do the same exercise in MDI the DRO will show the correct coordinate system..


IMHO it is caused because of the read ahead of the interpreter, and is similar to a program with differnt feed values, vel is shown correct, but the G code shows other values, because the interpreter has read allready a new value.

What happen, if you finish the program, beeing in G55?
OK if the last command is M2 or similar, you should be back in G54, but if you start and finish with % it should stay in G55.

Norbert

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

  • microsprintbuilder
  • Offline
  • Premium Member
  • Premium Member
More
11 years 11 months ago #52781 by microsprintbuilder
Replied by microsprintbuilder on topic Gmoccapy - A new screen for linuxcnc
Tom I looked at my notes and found original email from mesa. They suggested 1000 ohm resistor not 100 ohm resistor as I stated above. My bad

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

More
11 years 11 months ago #52784 by Tom_R2E3
Replied by Tom_R2E3 on topic Gmoccapy - A new screen for linuxcnc
Thanks everyone for the input, I have some 1.2k 1W resistors I can try tomorrow. Just made a little test circuit which behaved as it should.
My setter is just a little sprung loaded platform, very similar to the one shown here: www.homemodelenginemachinist.com/showthread.php?t=4569


Norbert you are right regarding the look ahead, if I end my program in G55 with no M2 command then the DRO displays G55. How many lines does the interpreter read ahead? And is there anything that stops the look ahead, M1 pause or anything which I could use in my programs?

Also, I renamed my preferences file, launched gmoccapy and changed settings as I wanted them, then closed and reopened. Everything was remembered except the keyboard check boxes.

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

More
11 years 11 months ago #52803 by newbynobi
Replied by newbynobi on topic Gmoccapy - A new screen for linuxcnc

Also, I renamed my preferences file, launched gmoccapy and changed settings as I wanted them, then closed and reopened. Everything was remembered except the keyboard check boxes.


I just did an update to 2.6.4 on my testing computer and went to the settings page, unchecked all use keyboard stuff, left settings and closed gmoccapy. Then I did start the GUI and all settings has been remembered.

Could you give more Info? Have you tried to edit the preference file with gmoccapy closed and then start the GUI?

Can you take a look after changing a setting, if that do arrive in your preference file?

Norbert

P.S. I do not know how much the interpreter reads ahead, sorry. Reading an io-pin and wait for the result should stop the interpreter from reading ahead.

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

More
11 years 11 months ago #52870 by Tom_R2E3
Replied by Tom_R2E3 on topic Gmoccapy - A new screen for linuxcnc
Hi Norbert,

If I delete my preferences file, then launch Gui, then close again, this is what the created preferences file looks like:
Code:
[DEFAULT] dro_size = 28 hide_axis_4 = False spindle_start_rpm = 300.0 scale_max_vel = 59.9 scale_jog_vel = 18.4000002 scale_spindle_override = 1.0 scale_feed_override = 1.0 open_file = screen1 = window x_pos = 40 y_pos = 30 width = 979 height = 750 use_screen2 = False gtk_theme = Follow System Theme audio_alert = /usr/share/sounds/ubuntu/stereo/bell.ogg audio_error = /usr/share/sounds/ubuntu/stereo/dialog-question.ogg grid_size = 1.0 view = p mouse_btn_mode = 4 hide_cursor = False system_name_tool = Tool system_name_g5x = G5x system_name_rot = Rot system_name_g92 = G92 system_name_g54 = G54 system_name_g55 = G55 system_name_g56 = G56 system_name_g57 = G57 system_name_g58 = G58 system_name_g59 = G59 system_name_g59.1 = G59.1 system_name_g59.2 = G59.2 system_name_g59.3 = G59.3 jump_to_dir = /home/tom logo = False spindle_bar_min = 0.0 spindle_bar_max = 6000.0 x_pos_popup = 45.0 y_pos_popup = 55.0 width_popup = 250.0 max_messages = 10.0 message_font = sans 10 use_frames = True show_dro_btn = False use_auto_units = True probeheight = -1.0 searchvel = 75.0 probevel = 10.0 use_toolmeasurement = False blockdel = False opstop = True log_actions = False enable_dro = False show_offsets = False show_dtg = False view_tool_path = True view_dimension = True gremlin_view = rbt_view_p run_from_line = no_run unlock_way = use unlock_code = 123 show_preview_on_offset = False use_keyboard_shortcuts = False abs_color = blue rel_color = black dtg_color = yellow homed_color = green unhomed_color = red

If I then reopen the GUI, uncheck the show keyboard boxes, then close. The the preferences file says:
Code:
[DEFAULT] dro_size = 28 hide_axis_4 = False spindle_start_rpm = 300.0 scale_max_vel = 59.9 scale_jog_vel = 18.4000002 scale_spindle_override = 1.0 scale_feed_override = 1.0 open_file = screen1 = window x_pos = 40 y_pos = 30 width = 979 height = 750 use_screen2 = False gtk_theme = Follow System Theme audio_alert = /usr/share/sounds/ubuntu/stereo/bell.ogg audio_error = /usr/share/sounds/ubuntu/stereo/dialog-question.ogg grid_size = 1.0 view = p mouse_btn_mode = 4 hide_cursor = False system_name_tool = Tool system_name_g5x = G5x system_name_rot = Rot system_name_g92 = G92 system_name_g54 = G54 system_name_g55 = G55 system_name_g56 = G56 system_name_g57 = G57 system_name_g58 = G58 system_name_g59 = G59 system_name_g59.1 = G59.1 system_name_g59.2 = G59.2 system_name_g59.3 = G59.3 jump_to_dir = /home/tom logo = False spindle_bar_min = 0.0 spindle_bar_max = 6000.0 x_pos_popup = 45.0 y_pos_popup = 55.0 width_popup = 250.0 max_messages = 10.0 message_font = sans 10 use_frames = True show_dro_btn = False use_auto_units = True probeheight = -1.0 searchvel = 75.0 probevel = 10.0 use_toolmeasurement = False blockdel = False opstop = True log_actions = False enable_dro = False show_offsets = False show_dtg = False view_tool_path = True view_dimension = True gremlin_view = rbt_view_p run_from_line = no_run unlock_way = use unlock_code = 123 show_preview_on_offset = False use_keyboard_shortcuts = False abs_color = blue rel_color = black dtg_color = yellow homed_color = green unhomed_color = red show_keyboard_on_offset = False show_keyboard_on_tooledit = False show_keyboard_on_mdi = False show_keyboard_on_edit = False

So it includes "show_keyboard_on... = False"

However, if I then reopen the Gui, the check boxes are ticked again!

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

Moderators: newbynobi, HansU
Time to create page: 0.191 seconds
Powered by Kunena Forum