Remora - ethernet NVEM / EC300 / EC500 cnc board

More
10 Feb 2025 04:13 #321135 by beauxnez
thanks but I'm really sorry but I don't know what I'm doing (it's Chinese to me)
 I see in the qtplasmac_comp.hal file the line "net plasmac:scribe-start spindle.1.on => plasmac.scribe-start"
 should I copy it into my NVEM.hal file?

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

More
10 Feb 2025 05:06 #321137 by cakeslob
add this to [TRAJ] in your ini file
SPINDLES                = 3

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

More
10 Feb 2025 05:18 - 10 Feb 2025 05:19 #321138 by beauxnez
same error when modifying the .ini file

 
Attachments:
Last edit: 10 Feb 2025 05:19 by beauxnez.

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

More
11 Feb 2025 00:59 - 11 Feb 2025 01:01 #321199 by cakeslob
alright in hal, change this line to this
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS[TRAJ]SPINDLES
Last edit: 11 Feb 2025 01:01 by cakeslob.

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

More
11 Feb 2025 17:51 - 11 Feb 2025 17:52 #321252 by beauxnez
still an error

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


 
Last edit: 11 Feb 2025 17:52 by beauxnez.

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

More
11 Feb 2025 17:53 - 11 Feb 2025 18:43 #321253 by beauxnez
 if I enter this instead I have no error but qtplasmac does not start

 
[code]loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_spindles=[TRAJ]SPINDLES
[/code]

 
Attachments:
Last edit: 11 Feb 2025 18:43 by beauxnez.

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

More
11 Feb 2025 18:32 - 11 Feb 2025 19:00 #321261 by beauxnez
the pin number on the config.txt file is "P4_17"

{
"Thread": "Servo",
"Type": "Digital Pin",
"Comment": "XIN",
"Pin": "P4_17",
"Mode": "Input",
"Data Bit": 17,
"Invert": "True"
},


I have to write like this in the .hal file?

# ---X Axis Inputs---
# X Home Prox
net XHome joint.0.home-sw-in <= remora.input.17

 
Last edit: 11 Feb 2025 19:00 by beauxnez.

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

More
12 Feb 2025 04:54 #321318 by cakeslob
yeah, did you fix the other 2? the first one is you didnt install the nvmpg component, and the second one is the halfile for that usb pendant isnt present

but yes thats how you connect the x thing probably

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

More
12 Feb 2025 18:56 - 12 Feb 2025 19:07 #321368 by beauxnez
I installed the nvmpg component but I still have the same error with the command
sudo halcompile --install nvmpg.c.

I have a Linux Mint LMDE 6 Faye version, it may be too old?

 
Last edit: 12 Feb 2025 19:07 by beauxnez.

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

More
12 Feb 2025 19:51 #321372 by cakeslob
I think I misread that first error,
[HAL]
HALFILE = NVEM.hal
HALFILE = qtplasmac_comp.hal
HALFILE = xhc-whb04b-6.hal
HALFILE = custom.hal
POSTGUI_HALFILE = postgui_call_list.hal.

remove the xhc-whb04b-6.hal

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

Time to create page: 0.247 seconds
Powered by Kunena Forum