Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 8 months ago #321500 by cakeslob

Im confused --
RPI5 - linuxcnc 2.9.2 (from iso on linuxcnc download page)  I get same results on linux on a x86 system
I have a Novusun V5 that I loaded with ....Remora-RT1052-cpp/blob/main/Firmware/remora-rt1052-3.1.3.bin
I've run halcompile on remora-nv in Remora-NVEM-main/LinuxCNC/Components/Remora-nv

Hey, can you explain the process that lead you to download the firmware from one repo, but install the component from another? I am trying to identify what is causing people to continue to make this error

remora-docs.readthedocs.io/en/latest/har...Ethernet/rt1052.html

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

More
1 year 8 months ago - 1 year 8 months ago #321507 by beauxnez
has anyone made qtplasmac work with a NVEM card?

i modified the .hal file with
Code:
[code]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.9.0~pre1+git20230208.f1270d6ed7 Machine configuration directory is '/home/manu/linuxcnc/configs/NVEM' Machine configuration file is 'NVEM.ini' INIFILE=/home/manu/linuxcnc/configs/NVEM/NVEM.ini VERSION=1.1 PARAMETER_FILE=linuxcnc.var TPMOD= HOMEMOD= TASK=milltask HALUI=halui DISPLAY=qtvcp qtplasmac COORDINATES=X Y Z KINEMATICS=trivkins coordinates=XYZ 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 linuxcnc TPMOD=tpmod HOMEMOD=homemod EMCMOT=motmod Found file(REL): ./NVEM.hal Found file(lib): /usr/share/linuxcnc/hallib/qtplasmac_comp.hal Found file(REL): ./custom.hal Starting TASK program: milltask Starting DISPLAY program: qtvcp No section: 'SHUTDOWN_OPTIONS' Adding section SHUTDOWN_OPTIONS Shutting down and cleaning up LinuxCNC... Running HAL shutdown script task: 809 cycles, min=0.000007, max=0.010275, avg=0.009722, 0 latency excursions (> 10x expected cycle time of 0.010000s) Removing HAL_LIB, RTAPI, and Real Time OS modules Removing NML shared memory segments Debug file information: Note: Using POSIX realtime [QTvcp.QTVCP.QT_MAKEGUI][[31mERROR[0m]  Trouble looking for handlers in 'qtplasmac_handler': (qt_makegui.py:330) Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 308, in _load_handlers     objlist = h(halcomp, widgets, self.PATHS)  # this sets the handler class signature               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 6000, in get_handlers     return [HandlerClass(halcomp, widgets, paths)]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 220, in __init__     float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: float() argument must be a string or a real number, not 'NoneType' [QTvcp][[41mCRITICAL[0m]  Aborted from Error Dialog  Qtvcp encountered an error.  The following information may be useful in troubleshooting: LinuxCNC Version  : 2.9.0~pre1+git20230208.f1270d6ed7 Traceback (most recent call last):   File "/usr/bin/qtvcp", line 508, in <module>     _qtvcp = QTVCP()              ^^^^^^^   File "/usr/bin/qtvcp", line 251, in __init__     window.load_extension(opts.usermod)   File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 265, in load_extension     methods, self[obj].handler_module, self[obj].handler_instance = self._load_handlers([handlerpath], self.halcomp, self[obj])                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/lib/python3/dist-packages/qtvcp/qt_makegui.py", line 308, in _load_handlers     objlist = h(halcomp, widgets, self.PATHS)  # this sets the handler class signature               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 6000, in get_handlers     return [HandlerClass(halcomp, widgets, paths)]             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 220, in __init__     float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: float() argument must be a string or a real number, not 'NoneType'  (qtvcp:464) 15446 15483 Stopping realtime threads Unloading hal components Note: Using POSIX realtime
[/code]
Last edit: 1 year 8 months ago by beauxnez.

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

More
1 year 8 months ago - 1 year 8 months ago #321518 by LeslieTroyer
Replied by LeslieTroyer on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
of the repositories that looked "hopeful"
Remora-main, and Remora-RT2052-cpp-Main had remora-the-3.0.c
both the same -- neither worked (forgot to incclude that)
and the one listed which also didn't work -- (same error)

I think maybe the 3.0 one I worried was specifically related to the EC500 (all the remora-??? directories under LinuxCNC appear from filenames to be ec500 based

i did hook up a LA1010 to the rs232 port and saw lots of data being transmitted but not much was readable - i then connected the screen that come with the NVEM to the serial port - and now my device its totally unresponsive on the serial port and ethernet port ...
Last edit: 1 year 8 months ago by LeslieTroyer.

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

More
1 year 8 months ago #321556 by cakeslob

of the repositories that looked "hopeful"
Remora-main, and Remora-RT2052-cpp-Main had remora-the-3.0.c
both the same -- neither worked (forgot to incclude that)
and the one listed which also didn't work -- (same error)

I think maybe the 3.0 one I worried was specifically related to the EC500 (all the remora-??? directories under LinuxCNC appear from filenames to be ec500 based

If your board has the RT1052, refer to the page I linked to, and only install the components/firmware/configurations referred to in the documents. The linuxcnc .hal file configuration doesnt matter if its EC500 or NVEM. The config.txt is important to match with the board.

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

More
1 year 8 months ago #321559 by cakeslob

has anyone made qtplasmac work with a NVEM card?
Code:
  File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 220, in __init__     float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60   File "/usr/share/qtvcp/screens/qtplasmac/qtplasmac_handler.py", line 220, in __init__     float(self.iniFile.find('AXIS_Z', 'OFFSET_AV_RATIO')) * 60


If anyone had a qtplasmac config for the NVEM, they would have ended our suffering 2 pages ago.
its probably this, i think the THC probably uses external offsets.
add this line and report back
github.com/rodw-au/showstopper/blob/master/my_Plasma.ini#L226

or the next time an error pops up, you can try and trace it out, using all those other plasmac examples I posted before, or by referring to rods config I just listed, otherwise this will be a very long process.

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

More
1 year 8 months ago - 1 year 8 months ago #321569 by beauxnez
well I'm saved because I see that you are starting to lose patience,
 but I'm not fired because I have the emergency stop that does not unlock but I think I know where it comes from,
 for info I went to debian 12 with linuxcnc 2.9.4 while I was on mint with linuxcnc 2.9.0

 


Many thanks to you I will post my file and the 2 to 3 things that I know
Last edit: 1 year 8 months ago by beauxnez.

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

Time to create page: 0.511 seconds
Powered by Kunena Forum