- Posts: 1018
- Thank you received: 0
In trouble after update
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
-
I did an update yesterday and now I have no glue how to get my system running again.
It was running perfect before.
Such kind of errors I saw never.
4 axes stepper with Master / 7i76e / Gmoccapy / ncam
Attachment not found
Any idea where to start ?
THX in advance
Mike
P.S.
Will try to send config, having trouble with file size....
Please Log in to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
I deleted everything inside ncam otherwise it was over 4MB.
Attachment not found
Mike
Please Log in to join the conversation.
Recent commits to master branch add multispindle
capability and name changes for spindle hal pins.
The update_ini script fixes most name-change
occurrences and updates [EMC]VERSION to 1.1.
However, your display.hal file is probably not detected
since it is sourced within the postgui_call_list.hal
and not handled by the update_ini script:
LinuxCNC stopped on first error (display.hal) but you
have additional name change errors in spindle_vfd.hal.
You will need to update all hal pin names normally
fixed by update ini as illustrated by:
See also: man pages for halui,motion:
linuxcnc.org/docs/master/html/man/man9/motion.9.html
linuxcnc.org/docs/master/html/man/man1/halui.1.html
Candidates in your hal files:
Please Log in to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
That makes sense to me.
I remember now having read about spindle instantiateing.
Hope this is nit also in gmoccapy and ncam..
Will give it a test, as soon my govern allows it
Happy Christmas
Mike
Please Log in to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
I had half an hour an now my machine is up again!
SUPER
Mike
P. S. Debugging became very easy and fast since I installed on ssd.
One try and error cycle is far below one minute since.
Please Log in to join the conversation.
dgarrett wrote: However, your display.hal file is probably not detected
since it is sourced within the postgui_call_list.hal
and not handled by the update_ini script:
I should fix that.
Please Log in to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
Two pass was not working as I expected so I use this form.
I would like the idea two have:
All hw dependent i/o definitions in one hal file
(Inputs are OK, but I was not able to have that with outputs too)
All according loadrt and addf on top of each according hal, but that did not work.
(That's why I stuffed them all in one file)
P. S.
I know that I'm a bit old fashioned as I like clear declaration on one place and also program parts structured to functionalities.
Mike
Please Log in to join the conversation.
CAN Someone Please EDIT the Main linuxcnc.org PAGE to tell this and the Download Pages of the NEW OS
that woudt help in first hand
What to expect
Please Log in to join the conversation.
Mike_Eitel wrote: I'm aware that I use a bit complicated way to structure my hal files.
Two pass was not working as I expected so I use this form.
I would like the idea two have:
All hw dependent i/o definitions in one hal file
(Inputs are OK, but I was not able to have that with outputs too)
All according loadrt and addf on top of each according hal, but that did not work.
(That's why I stuffed them all in one file)
P. S.
I know that I'm a bit old fashioned as I like clear declaration on one place and also program parts structured to functionalities.
Mike
I think its a really good idea to keep hardware specific parts (pins and parameters)
of the hal file located in one hardware specific file, (that links to signals with standard names)
so the basic structural parts of the hal file are hardware independent.
What was the issue with outputs?
Please Log in to join the conversation.
- Mike_Eitel
- Topic Author
- Offline
- Platinum Member
-
- Posts: 1018
- Thank you received: 0
If you look in my config (included here earlier) you can find that in 7i76e.hal I commented out the output declarations. And have them in the according hal uncommented.
I'm not sure anymore, either it simply did not work, or stopped with error on startup. I had both variants in the process of finding my way of writing hal.
You can easy test the output part by using my directory (yes you have to correct 4 or 5 spindle.0. replacements in that version) MeBigCNC3. Ini
Mike
Please Log in to join the conversation.
