- Posts: 47
- Thank you received: 9
Remora - ethernet NVEM / EC300 / EC500 cnc board
- Spyderbreath
- Offline
- Senior Member
-
Less
More
1 year 5 months ago - 1 year 5 months ago #327832
by Spyderbreath
Replied by Spyderbreath on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I tried to enter the estop from tuxcnc above and got this error.
I attached my hal and ini files. Does this mean I can only have the watchdog or the estop latch but not both?
*Edit*
I have just tried the estop latch with the tuxcnc code with the watchdog commented out and after fixing the typo in the last line where it starts out - net remote-estp ... - it is missing the o in estop. That error is in the attached hal, didn't catch it befor attaching. It works, exactly one time, by opening the circuit and thats all she wrote. reconnecting the circuit and can not reset the estop and power back on the machine without closing down and restarting the gui.
Code:
Note: Using POSIX realtime
./remora-ec500.hal:60: Pin 'iocontrol.0.emc-enable-in' was already linked to signal 'remora-status'
3295
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime
I attached my hal and ini files. Does this mean I can only have the watchdog or the estop latch but not both?
*Edit*
I have just tried the estop latch with the tuxcnc code with the watchdog commented out and after fixing the typo in the last line where it starts out - net remote-estp ... - it is missing the o in estop. That error is in the attached hal, didn't catch it befor attaching. It works, exactly one time, by opening the circuit and thats all she wrote. reconnecting the circuit and can not reset the estop and power back on the machine without closing down and restarting the gui.
Last edit: 1 year 5 months ago by Spyderbreath. Reason: typo and additional info.
Please Log in or Create an account to join the conversation.
- aDm1N
- Offline
- Senior Member
-
Less
More
- Posts: 53
- Thank you received: 24
1 year 5 months ago - 1 year 5 months ago #327837
by aDm1N
Replied by aDm1N on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Where can I find an example of how to connect and integrate a handwheel (MPG)? Is it possible with Remora to use both a handwheel and an encoder for the spindle, or is only one of the two possible?
The background is that I drive the spindle with an AC servo, and this should be controlled via step/dir as a C axis. In the Gcode, the spindle should then work as a C axis, depending on the call, or rotate as a spindle. For the C axis to function correctly, not only the index must be evaluated, but also the angle via A/B.
EStop tested on NVEM board, works with mushroom button. In the GUI, EStop can be released and the machine started if the switch is not pressed. If it is pressed afterwards, the machine goes back into EStop.
Thanks to the "stupid" AI, I now seem to have managed to get a command to be issued on Joint2 with G0 C10 or with an M3 S300.
The background is that I drive the spindle with an AC servo, and this should be controlled via step/dir as a C axis. In the Gcode, the spindle should then work as a C axis, depending on the call, or rotate as a spindle. For the C axis to function correctly, not only the index must be evaluated, but also the angle via A/B.
EStop tested on NVEM board, works with mushroom button. In the GUI, EStop can be released and the machine started if the switch is not pressed. If it is pressed afterwards, the machine goes back into EStop.
Code:
#External e-stop (fault) on NVEM v5 input.
loadrt estop_latch
addf estop-latch.0 servo-thread
net estop-loopout iocontrol.0.emc-enable-in <= estop-latch.0.ok-out
net user-enable-out iocontrol.0.user-enable-out => remora.enable
net estop-loopin remora.status => estop-latch.0.ok-in => estop-latch.0.reset
net estop-reset iocontrol.0.user-request-enable => remora.reset
net remote-estp estop-latch.0.fault-in <= remora.input.04
Edit*
Code:
Last edit: 1 year 5 months ago by aDm1N.
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 6
1 year 5 months ago - 1 year 5 months ago #327839
by DarkPhoinix
First of all thank you so much for your interest in the problems of all of us newbies. And yes I can't speak English at all, I only understand a few technical words as the little I know was learned by myself. I'm sure that the things you wrote in the following posts will solve all my problems even future ones and I will keep these posts as documentation.
I have one last question, is there a specific post of remora? Could you kindly link because I thought it was this post here! Thanks again infinitely!!!
a little help links for NVEM RT1052 pins1 NVEM RT1052 pins2
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Warning: Spoiler!Alright its starting to look like the inmates are running the asylum. Everyone just hold on for a moment, breath in and out, and cool our heads. I know english or linuxcnc isnt everyones first language, but it looks like everyone is working off each others confusion, and you guys are spiraling out. I think there are some core concepts we arent all understanding completely. Its clear that you guys are smart people, so lets hold on for a moment and regroup, and always read the manual. If you atre getting frustrated, just start from page one and read. If there are things getting lost in translation on the documents, letting us know would be great, and we can change some of the wording. I know the docs arent perfect, but the core concepts are the same for the whole of remora.
Also, if its a remora specific question, it is best to ask in the thread. remora isnt really a big wide linuxcnc thing, it makes it harder to find your thread.
First of all thank you so much for your interest in the problems of all of us newbies. And yes I can't speak English at all, I only understand a few technical words as the little I know was learned by myself. I'm sure that the things you wrote in the following posts will solve all my problems even future ones and I will keep these posts as documentation.
I have one last question, is there a specific post of remora? Could you kindly link because I thought it was this post here! Thanks again infinitely!!!
a little help links for NVEM RT1052 pins1 NVEM RT1052 pins2
Last edit: 1 year 5 months ago by DarkPhoinix.
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 6
1 year 5 months ago #327845
by DarkPhoinix
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
first thing i went to google and searched for this:
Google help me
I didn't find anything to configure the steps, I attach my configuration. After the modification the stepper doesn't move anymore I also tried to give it this combination:
I attached the txt file I sent to NVEM
Google help me
I didn't find anything to configure the steps, I attach my configuration. After the modification the stepper doesn't move anymore I also tried to give it this combination:
Code:
{
"Thread": "DMA",
"Type": "DMAstepgen",
"Comment": "Y - Joint 1 step generator",
"Joint Number": 1,
"Step Pin": "P1_24",
"Direction Pin": "P1_31",
"Step Length": 2,
"Step Space": 3
},
Please Log in or Create an account to join the conversation.
- DarkPhoinix
- Offline
- Premium Member
-
Less
More
- Posts: 107
- Thank you received: 6
1 year 5 months ago #327864
by DarkPhoinix
Replied by DarkPhoinix on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
thank you cakeslob!! work !!! need only little bit tuning
Please Log in or Create an account to join the conversation.
- cakeslob
- Offline
- Platinum Member
-
Less
More
- Posts: 927
- Thank you received: 280
1 year 5 months ago #327873
by cakeslob
Replied by cakeslob on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Ok great, so
DarkPheonix - good for now and stepping?
aDm1N - you have the Estop behavior working properly with that code then? If yes, Spyder, refer to his example.
re- MPG , here is the config for MPG, un-comment the line from your ini file, and make sure the component is installed. This is for the NVMPG that can come with the board with the screen. If you are talking about a separate MPG, we can copy the same with a few changes.
github.com/scottalford75/Remora-RT1052-c...ic/remora-nv-mpg.hal
re- C axis and encoder - this is more involved, lets circle back to this one
Spyder, yes there will be some conflicting line, the 3 lines at the top of the hal file needed modification, but I think you figured it out. "net remote-estp " check out the linuxcnc page on hal, but the nets are names that you create, so there wont be a remote-estp pin in the linuxcnc documents, and yes the => and <= denote signal direction,
so for example the new net "remote-estp" is connecting the linuxcnc pin "estop-latch.0.fault-in" to the remora pin "remora.input.04"
and the remora pin is going to the latch.0.fault-in pin
DarkPheonix - good for now and stepping?
aDm1N - you have the Estop behavior working properly with that code then? If yes, Spyder, refer to his example.
re- MPG , here is the config for MPG, un-comment the line from your ini file, and make sure the component is installed. This is for the NVMPG that can come with the board with the screen. If you are talking about a separate MPG, we can copy the same with a few changes.
github.com/scottalford75/Remora-RT1052-c...ic/remora-nv-mpg.hal
re- C axis and encoder - this is more involved, lets circle back to this one
Spyder, yes there will be some conflicting line, the 3 lines at the top of the hal file needed modification, but I think you figured it out. "net remote-estp " check out the linuxcnc page on hal, but the nets are names that you create, so there wont be a remote-estp pin in the linuxcnc documents, and yes the => and <= denote signal direction,
so for example the new net "remote-estp" is connecting the linuxcnc pin "estop-latch.0.fault-in" to the remora pin "remora.input.04"
and the remora pin is going to the latch.0.fault-in pin
The following user(s) said Thank You: DarkPhoinix
Please Log in or Create an account to join the conversation.
Time to create page: 0.914 seconds