Remora - ethernet NVEM / EC300 / EC500 cnc board

More
1 year 8 months ago #321378 by beauxnez
Thank you for your patience, still error
Code:
Debug file information:
Note: Using POSIX realtime
MOTION: num_joints is 33, must be between 1 and 16
motmod: rtapi_app_main: Operation not permitted (-1)
./NVEM.hal:5: waitpid failed /usr/bin/rtapi_app motmod
./NVEM.hal:5: /usr/bin/rtapi_app exited without becoming ready
./NVEM.hal:5: insmod for motmod failed, returned -1
10762
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

Please Log in to join the conversation.

More
1 year 8 months ago #321383 by tommylight

MOTION: num_joints is 33, must be between 1 and 16
33 ?
Should probably be 3 for normal machines.

Please Log in to join the conversation.

More
1 year 8 months ago #321459 by LeslieTroyer
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

i can ping 10.10.10.10
I can tfpt put the python processed config.txt ...  I cant load tftpy for some reason so save & use the file created in /tmp

using the remora-nvem-basic when I take it out of E-Stop I get 
Bad payload = 0

any suggestions 

thanks 
Les

Please Log in to join the conversation.

More
1 year 8 months ago #321461 by beauxnez
I deleted xhc-whb04b-6.hal still an error
I no longer have the problem of " MOTION: num_joints is 33, must be between 1 and 16" 
I post you the .ini and .hal files in 

 

Attachment not found

 

Attachment not found



Code:
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
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
motmod: already exists
./NVEM.hal:6: waitpid failed /usr/bin/rtapi_app motmod
./NVEM.hal:6: /usr/bin/rtapi_app exited without becoming ready
./NVEM.hal:6: insmod for motmod failed, returned -1
8403
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
 

Please Log in to join the conversation.

More
1 year 8 months ago #321473 by scotta

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

i can ping 10.10.10.10
I can tfpt put the python processed config.txt ...  I cant load tftpy for some reason so save & use the file created in /tmp

using the remora-nvem-basic when I take it out of E-Stop I get 
Bad payload = 0

any suggestions 

thanks 
Les
For the RT1052 use the remora-eth-3.0 component that is included in that repo.

Remora-RT1052-cpp/LinuxCNC/components/Remora-eth at main · scottalford75/Remora-RT1052-cpp · GitHub

Please Log in to join the conversation.

More
1 year 8 months ago #321474 by scotta

I deleted xhc-whb04b-6.hal still an error
I no longer have the problem of " MOTION: num_joints is 33, must be between 1 and 16" 
I post you the .ini and .hal files in 

 

Attachment not found

 

Attachment not found






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
Shutting down and cleaning up LinuxCNC...
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Note: Using POSIX realtime
motmod: already exists
./NVEM.hal:6: waitpid failed /usr/bin/rtapi_app motmod
./NVEM.hal:6: /usr/bin/rtapi_app exited without becoming ready
./NVEM.hal:6: insmod for motmod failed, returned -1
8403
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime

 
The error gives a hint - motmod: already exists

Looks like you are loading it twice in your hal file. Try removing the 2nd line. From above EMCMOT=motmodloadrt [KINS]KINEMATICS
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD #num_joints=[KINS]JOINTS[TRAJ]SPINDLES
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[TRAJ]SPINDLES

Please Log in to join the conversation.

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 to join the conversation.

More
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]

Please Log in to join the conversation.

More
1 year 8 months ago #321518 by LeslieTroyer
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 ...

Please Log in 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 to join the conversation.

Time to create page: 0.557 seconds
Powered by Kunena Forum