Remora - ethernet NVEM / EC300 / EC500 cnc board
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 131
- Thank you received: 9
12 Feb 2025 20:20 #321378
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Thank you for your patience, still error
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
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 or Create an account to join the conversation.
- tommylight
-
- Online
- Moderator
-
Less
More
- Posts: 19702
- Thank you received: 6651
12 Feb 2025 21:31 #321383
by tommylight
Should probably be 3 for normal machines.
Replied by tommylight on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
33 ?MOTION: num_joints is 33, must be between 1 and 16
Should probably be 3 for normal machines.
The following user(s) said Thank You: cakeslob
Please Log in or Create an account to join the conversation.
- LeslieTroyer
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
13 Feb 2025 18:56 #321459
by LeslieTroyer
Replied by LeslieTroyer on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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
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 or Create an account to join the conversation.
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 131
- Thank you received: 9
13 Feb 2025 18:58 - 13 Feb 2025 19:06 #321461
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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
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
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
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
Attachments:
Last edit: 13 Feb 2025 19:06 by beauxnez.
Please Log in or Create an account to join the conversation.
- scotta
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 901
- Thank you received: 469
13 Feb 2025 19:59 #321473
by scotta
Remora-RT1052-cpp/LinuxCNC/components/Remora-eth at main · scottalford75/Remora-RT1052-cpp · GitHub
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
For the RT1052 use the remora-eth-3.0 component that is included in that repo.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
Remora-RT1052-cpp/LinuxCNC/components/Remora-eth at main · scottalford75/Remora-RT1052-cpp · GitHub
Please Log in or Create an account to join the conversation.
- scotta
-
Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 901
- Thank you received: 469
13 Feb 2025 20:06 #321474
by scotta
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
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
The error gives a hint - motmod: already existsI 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
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
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 or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 837
- Thank you received: 243
14 Feb 2025 01:35 #321500
by cakeslob
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
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
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.
- beauxnez
- Offline
- Premium Member
-
Less
More
- Posts: 131
- Thank you received: 9
14 Feb 2025 05:37 - 14 Feb 2025 06:25 #321507
by beauxnez
Replied by beauxnez on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
has anyone made qtplasmac work with a NVEM card?
i modified the .hal file with
[/code]
i modified the .hal file with
[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
Last edit: 14 Feb 2025 06:25 by beauxnez.
Please Log in or Create an account to join the conversation.
- LeslieTroyer
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
14 Feb 2025 08:13 - 14 Feb 2025 08:14 #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 ...
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: 14 Feb 2025 08:14 by LeslieTroyer.
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 837
- Thank you received: 243
14 Feb 2025 15:43 #321556
by cakeslob
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.
Replied by cakeslob 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
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.
Time to create page: 0.247 seconds