Plasmac upgrade woes
- rodw
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
13 Oct 2020 07:47 - 13 Oct 2020 07:49 #185934
by rodw
Plasmac upgrade woes was created by rodw
I knew this would happen so I have been putting it off for a long time. Compiled the latest 2.8 branch as run in place and its made a bit of a mess of my config so I'm not operational.
I cleaned up most of the errors but am stuck here
See dump of terminal window.
I saw there were missing handlers so I tried to use the configurator to upgrade the ini file and it said
So at this point I guess I need to know what Plasmac is looking for ini my in file and regroup in the morning.
I cleaned up most of the errors but am stuck here
See dump of terminal window.
Warning: Spoiler!
plasma@plasma ~/linuxcnc-dev/src $ linuxcnc -l
LINUXCNC - 2.8.0
Machine configuration directory is '/home/plasma/linuxcnc/configs/plasmac'
Machine configuration file is 'spaceship_plasmac2.ini'
check_config: (trivkins kinematics) WARNING:
INCONSISTENT coordinates specifications:
trivkins coordinates=YYXZ
[TRAJ]COORDINATES=XYZ
Starting LinuxCNC...
twopass:invoked with <> options
twopass:found ./machine.hal
twopass:found ././plasmac/plasmac.tcl
twopass:found ./spaceship_plasmac_connections.hal
twopass:found ./spaceship_ohmic.hal
Note: Using POSIX realtime
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: Hardware address: 00:60:1b:10:40:6c
hm2_eth: discovered 7I76E-16
hm2/hm2_7i76e.0: Smart Serial Firmware Version 43
Board hm2_7i76e.0.7i76.0.0 Hardware Mode 0 = standard
Board hm2_7i76e.0.7i76.0.0 Software Mode 0 = io_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 1 = io_ana_spin
Board hm2_7i76e.0.7i76.0.0 Software Mode 2 = io_enc_ana_spin_fv
hm2/hm2_7i76e.0: 51 I/O Pins used:
hm2/hm2_7i76e.0: IO Pin 000 (P1-01): StepGen #0, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 001 (P1-14): StepGen #0, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 002 (P1-02): StepGen #1, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 003 (P1-15): StepGen #1, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 004 (P1-03): StepGen #2, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 005 (P1-16): StepGen #2, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 006 (P1-04): StepGen #3, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 007 (P1-17): StepGen #3, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 008 (P1-05): StepGen #4, pin Direction (Output)
hm2/hm2_7i76e.0: IO Pin 009 (P1-06): StepGen #4, pin Step (Output)
hm2/hm2_7i76e.0: IO Pin 010 (P1-07): Smart Serial Interface #0, pin TxData0 (Output)
hm2/hm2_7i76e.0: IO Pin 011 (P1-08): Smart Serial Interface #0, pin RxData0 (Input)
hm2/hm2_7i76e.0: IO Pin 012 (P1-09): IOPort
hm2/hm2_7i76e.0: IO Pin 013 (P1-10): IOPort
hm2/hm2_7i76e.0: IO Pin 014 (P1-11): Encoder #2, pin A (Input)
hm2/hm2_7i76e.0: IO Pin 015 (P1-12): Encoder #1, pin A (Input)
hm2/hm2_7i76e.0: IO Pin 016 (P1-13): Encoder #0, pin A (Input)
hm2/hm2_7i76e.0: IO Pin 017 (P2-01): IOPort
hm2/hm2_7i76e.0: IO Pin 018 (P2-14): IOPort
hm2/hm2_7i76e.0: IO Pin 019 (P2-02): IOPort
hm2/hm2_7i76e.0: IO Pin 020 (P2-15): IOPort
hm2/hm2_7i76e.0: IO Pin 021 (P2-03): IOPort
hm2/hm2_7i76e.0: IO Pin 022 (P2-16): IOPort
hm2/hm2_7i76e.0: IO Pin 023 (P2-04): IOPort
hm2/hm2_7i76e.0: IO Pin 024 (P2-17): IOPort
hm2/hm2_7i76e.0: IO Pin 025 (P2-05): IOPort
hm2/hm2_7i76e.0: IO Pin 026 (P2-06): IOPort
hm2/hm2_7i76e.0: IO Pin 027 (P2-07): IOPort
hm2/hm2_7i76e.0: IO Pin 028 (P2-08): IOPort
hm2/hm2_7i76e.0: IO Pin 029 (P2-09): IOPort
hm2/hm2_7i76e.0: IO Pin 030 (P2-10): IOPort
hm2/hm2_7i76e.0: IO Pin 031 (P2-11): IOPort
hm2/hm2_7i76e.0: IO Pin 032 (P2-12): IOPort
hm2/hm2_7i76e.0: IO Pin 033 (P2-13): IOPort
hm2/hm2_7i76e.0: IO Pin 034 (P3-01): IOPort
hm2/hm2_7i76e.0: IO Pin 035 (P3-14): IOPort
hm2/hm2_7i76e.0: IO Pin 036 (P3-02): IOPort
hm2/hm2_7i76e.0: IO Pin 037 (P3-15): IOPort
hm2/hm2_7i76e.0: IO Pin 038 (P3-03): IOPort
hm2/hm2_7i76e.0: IO Pin 039 (P3-16): IOPort
hm2/hm2_7i76e.0: IO Pin 040 (P3-04): IOPort
hm2/hm2_7i76e.0: IO Pin 041 (P3-17): IOPort
hm2/hm2_7i76e.0: IO Pin 042 (P3-05): IOPort
hm2/hm2_7i76e.0: IO Pin 043 (P3-06): IOPort
hm2/hm2_7i76e.0: IO Pin 044 (P3-07): IOPort
hm2/hm2_7i76e.0: IO Pin 045 (P3-08): IOPort
hm2/hm2_7i76e.0: IO Pin 046 (P3-09): IOPort
hm2/hm2_7i76e.0: IO Pin 047 (P3-10): IOPort
hm2/hm2_7i76e.0: IO Pin 048 (P3-11): IOPort
hm2/hm2_7i76e.0: IO Pin 049 (P3-12): IOPort
hm2/hm2_7i76e.0: IO Pin 050 (P3-13): IOPort
hm2/hm2_7i76e.0: registered
emc/task/emctask.cc 411: interp_error: File not open
File not open
emc/task/emctaskmain.cc 3087: can't initialize interpreter
(0, ' = ', '/home/plasma/linuxcnc-dev/bin/gmoccapy')
(1, ' = ', '-ini')
(2, ' = ', '/home/plasma/linuxcnc/configs/plasmac/spaceship_plasmac2.ini')
Entry = trivkins
Entry = coordinates=yyxz
found the following coordinates yyxz
**** GMOCCAPY GETINIINFO ****
Number of joints = 4
4 COORDINATES found = yyxz
('Fount double letter ', ['y'])
joint 0 = axis y0
joint 1 = axis y1
joint 2 = axis x
joint 3 = axis z
{0: 'y0', 1: 'y1', 2: 'x', 3: 'z'}
('found kinematics module', ['trivkins', 'coordinates=yyxz'])
**** GMOCCAPY GETINIINFO ****
[KINS] KINEMATICS is trivkins
Will use mode to switch between Joints and World mode
hopefully supported by the used <<trivkins>> module
**** GMOCCAPY GETINIINFO ****
No MIN_ANGULAR_VELOCITY entry found in [DISPLAY] of INI file
Using default value of 0.1 degree / min
**** GMOCCAPY GETINIINFO ****
No DEFAULT_ANGULAR_VELOCITY entry found in [DISPLAY] of INI file
Using default value of 360 degree / min
**** GMOCCAPY GETINIINFO ****
No MAX_ANGULAR_VELOCITY entry found in [DISPLAY] of INI file
Using default value of 3600 degree / min
**** GMOCCAPY GETINIINFO ****
No MAX_SPINDLE_OVERRIDE entry found in [DISPLAY] of INI file
**** GMOCCAPY GETINIINFO ****
No MIN_SPINDLE_OVERRIDE entry found in [DISPLAY] of INI file
**** GMOCCAPY GETINIINFO ****
No MAX_RAPID_OVERRIDE entry found in [DISPLAY] of INI file
Default settings 100 % applied!
**** GMOCCAPY GETINIINFO ****
Preference file path: /home/plasma/linuxcnc/configs/plasmac/SPACESHIP_PLASMAC.pref
**** GMOCCAPY GETINIINFO ****
No DEFAULT_SPINDLE_SPEED entry found in [DISPLAY] of INI file
**** GMOCCAPY INFO ****
**** no valid probe config in INI File ****
**** disabled tool measurement ****
**** GMOCCAPY INFO ****
**** Entering make_DRO
axis_list = ['x', 'y', 'z']
**** GMOCCAPY INFO ****
**** Entering make ref axis button
('Filepath = ', '/home/plasma/linuxcnc-dev/share/gmoccapy/images/ref_all.png')
('Filepath = ', '/home/plasma/linuxcnc-dev/share/gmoccapy/images/ref_x.png')
('Filepath = ', '/home/plasma/linuxcnc-dev/share/gmoccapy/images/ref_y.png')
('Filepath = ', '/home/plasma/linuxcnc-dev/share/gmoccapy/images/ref_z.png')
('Filepath = ', '/home/plasma/linuxcnc-dev/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 macro button
found 6 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
/home/plasma/linuxcnc-dev/bin/gmoccapy:326: GtkWarning: Invalid icon size 48
self.widgets.window1.show()
['box_cooling', 'box_spindle', 'ntb_preview', 'box_left', 'ntb_preview', 'box_tool_and_code_info', 'ntb_preview', 'ntb_preview']
**** GMOCCAPY INFO ****
**** audio available! ****
**** GMOCCAPY INFO ****
**** Entering init gremlin ****
Kinematics type changed
<class 'Xlib.protocol.request.QueryExtension'>
62914563
HAL: ERROR: duplicate component name 'plasmac_wizards'
*** GLADE VCP ERROR: Asking for a HAL component using a name that already exists.
gladevcp: trouble looking for handlers in 'plasmac_config': Can't set value: pin / param ini.z.max_limit not found
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/gladevcp", line 129, in load_handlers
objlist = h(halcomp,builder,useropts)
File "./plasmac/plasmac_config.py", line 380, in get_handlers
return [HandlerClass(halcomp,builder,useropts)]
File "./plasmac/plasmac_config.py", line 372, in __init__
self.maxHeight = hal.get_value('ini.z.max_limit') - hal.get_value('ini.z.min_limit')
RuntimeError: Can't set value: pin / param ini.z.max_limit not found
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_setupFeedRate_value_changed'
builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_backup_clicked'
builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_save_clicked'
builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_reload_clicked'
builder.connect_signals(handlers)
<class 'Xlib.protocol.request.QueryExtension'>
69206019
<class 'Xlib.protocol.request.QueryExtension'>
<class 'Xlib.protocol.request.QueryExtension'>
73400323
<class 'Xlib.protocol.request.QueryExtension'>
<class 'Xlib.protocol.request.QueryExtension'>
77594627
./plasmac/plasmac_run.hal:3: Pin 'ini.z.max_limit' does not exist
<class 'Xlib.protocol.request.QueryExtension'>
'halcmd -f ./plasmac/plasmac_run.hal' exited with 1
65011715
75497475
**** GMOCCAPY INFO ****
**** virtual keyboard program found : <onboard>
**** GMOCCAPY INFO: Gcode.lang found ****
(gmoccapy:27249): GtkSourceView-CRITICAL **: gtk_source_language_manager_set_search_path: assertion 'lm->priv->ids == NULL' failed
**** GMOCCAPY INFO : inifile = /home/plasma/linuxcnc/configs/plasmac/spaceship_plasmac2.ini ****:
**** GMOCCAPY INFO : postgui halfile = spaceship_postgui.hal ****:
Jog Pin Changed
x+
Jog Button released = x+
Jog Pin Changed
x-
Jog Button released = x-
Jog Pin Changed
y+
Jog Button released = y+
Jog Pin Changed
y-
Jog Button released = y-
Jog Pin Changed
z+
Jog Button released = z+
Jog Pin Changed
z-
Jog Button released = z-
I saw there were missing handlers so I tried to use the configurator to upgrade the ini file and it said
plasma@plasma ~/Installation/rods-linux-dev $ python /home/plasma/linuxcnc-dev/configs/by_machine/plasmac/configurator.py
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/configs/by_machine/plasmac/configurator.py", line 581, in on_create_clicked
if self.versionCurrent > 0:
AttributeError: configurator instance has no attribute 'versionCurrent'
So at this point I guess I need to know what Plasmac is looking for ini my in file and regroup in the morning.
Last edit: 13 Oct 2020 07:49 by rodw.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
13 Oct 2020 07:56 - 13 Oct 2020 07:57 #185937
by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
Looks like plasmac-wizards is called more than once in the ini file.
It is EMBEDDED_TAB in the [DISPLAY] section
EDIT: If you want to post your config I can have a look through in the morning.
It is EMBEDDED_TAB in the [DISPLAY] section
EDIT: If you want to post your config I can have a look through in the morning.
Last edit: 13 Oct 2020 07:57 by phillc54.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
13 Oct 2020 08:06 #185938
by tommylight
Replied by tommylight on topic Plasmac upgrade woes
Wow to much stuff going on there, coordinates are not OK, a duplicate file requsted, and something else i forgot as i am on the phone so very limited.
Later.
Later.
Please Log in or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
13 Oct 2020 08:12 #185942
by rodw
Replied by rodw on topic Plasmac upgrade woes
That was not it. This is the main error section, not to mention the configurator error
You don't really want to wade through my config but here it is (I think!)
gladevcp: trouble looking for handlers in 'plasmac_config': Can't set value: pin / param ini.z.max_limit not found
Traceback (most recent call last):
File "/home/plasma/linuxcnc-dev/bin/gladevcp", line 129, in load_handlers
objlist = h(halcomp,builder,useropts)
File "./plasmac/plasmac_config.py", line 380, in get_handlers
return [HandlerClass(halcomp,builder,useropts)]
File "./plasmac/plasmac_config.py", line 372, in __init__
self.maxHeight = hal.get_value('ini.z.max_limit') - hal.get_value('ini.z.min_limit')
RuntimeError: Can't set value: pin / param ini.z.max_limit not found
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_setupFeedRate_value_changed'
builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_backup_clicked'
builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_save_clicked'
builder.connect_signals(handlers)
/home/plasma/linuxcnc-dev/bin/gladevcp:221: RuntimeWarning: missing handler 'on_reload_clicked'
builder.connect_signals(handlers)
You don't really want to wade through my config but here it is (I think!)
Please Log in or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
13 Oct 2020 08:16 #185944
by rodw
Yes, the coordinates have been fine but all of a sudden, it seems like somebody has decided a different structure is required and axes need to be in sequential X,Y,Z order. That was never a requirement and basically breaks the independent joint paradigm. Most annoying when its been happy like that for 5 years... I started on 2.8...
Replied by rodw on topic Plasmac upgrade woes
Wow to much stuff going on there, coordinates are not OK, a duplicate file requsted, and something else i forgot as i am on the phone so very limited.
Later.
Yes, the coordinates have been fine but all of a sudden, it seems like somebody has decided a different structure is required and axes need to be in sequential X,Y,Z order. That was never a requirement and basically breaks the independent joint paradigm. Most annoying when its been happy like that for 5 years... I started on 2.8...
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
13 Oct 2020 08:30 #185946
by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
I need the complete config directory, including sub-directories.
Please Log in or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
13 Oct 2020 08:36 #185947
by rodw
It will be tomorrow now., I'm home with a beer.
Replied by rodw on topic Plasmac upgrade woes
I need the complete config directory, including sub-directories.
It will be tomorrow now., I'm home with a beer.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
13 Oct 2020 08:38 #185948
by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
No worries, good place to be.
I need the complete config directory, including sub-directories.
It will be tomorrow now., I'm home with a beer.
Please Log in or Create an account to join the conversation.
- rodw
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
14 Oct 2020 10:59 #186085
by rodw
I decided I would revise my joint order into line with normality so I am in the process of finishing that off by building a new config as its been a bit messy with all the hacking I've done over the years. This required a bit of rewiring, creating a really basic config using pncconf and a lot of hacking in the hal and ini files. I have movement, but I forgot I needed to swap all the limit switches around. Did you know you can get three axes moving while homing a single axis if you scatter home and limit switches around? Talk about being confused. Took me ages to sort it out but thats a job for tomorrow.
Replied by rodw on topic Plasmac upgrade woes
No worries, good place to be.
I need the complete config directory, including sub-directories.
It will be tomorrow now., I'm home with a beer.
I decided I would revise my joint order into line with normality so I am in the process of finishing that off by building a new config as its been a bit messy with all the hacking I've done over the years. This required a bit of rewiring, creating a really basic config using pncconf and a lot of hacking in the hal and ini files. I have movement, but I forgot I needed to swap all the limit switches around. Did you know you can get three axes moving while homing a single axis if you scatter home and limit switches around? Talk about being confused. Took me ages to sort it out but thats a job for tomorrow.
Please Log in or Create an account to join the conversation.
- phillc54
- Offline
- Platinum Member
Less
More
- Posts: 5698
- Thank you received: 2081
14 Oct 2020 11:04 #186086
by phillc54
Replied by phillc54 on topic Plasmac upgrade woes
Sounds like a barrel of fun. You'll definitely need a beer or three after that.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.077 seconds