Remora - ethernet NVEM / EC300 / EC500 cnc board
09 Apr 2022 22:23 #239782
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi Domi,
The work I'm currently getting close to finishing will allow for configuring inverting inputs on the NVEM board itself. The upload-config.py file uploads a config.txt file to the board. It's very close to working. Until then you will need to use HAL on the LinuxCNC side to invert the pin.
Use the NOT component to invert the input. (not tested)
eg
loadrt remora-eth
loadrt not count=3
addf not.1 servo-thread
addf not.2 servo-thread
addf not.3 servo-thread
net X-min-inv remora.input.6 => not.1.in
net X-min not.1.out => joint.0.home-sw-in joint.0.neg-lim-sw-in
etc
The work I'm currently getting close to finishing will allow for configuring inverting inputs on the NVEM board itself. The upload-config.py file uploads a config.txt file to the board. It's very close to working. Until then you will need to use HAL on the LinuxCNC side to invert the pin.
Use the NOT component to invert the input. (not tested)
eg
loadrt remora-eth
loadrt not count=3
addf not.1 servo-thread
addf not.2 servo-thread
addf not.3 servo-thread
net X-min-inv remora.input.6 => not.1.in
net X-min not.1.out => joint.0.home-sw-in joint.0.neg-lim-sw-in
etc
The following user(s) said Thank You: Domi
Please Log in or Create an account to join the conversation.
10 Apr 2022 06:21 - 10 Apr 2022 06:29 #239799
by Domi
Replied by Domi on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
How can I test the outputs on the relay so far? I also threw a probe screen v2 but estop is broken. But the question of Estop control is not possible.Isn't it the one we have the STOP input involved and ESTOP the MPG output?
Last edit: 10 Apr 2022 06:29 by Domi.
Please Log in or Create an account to join the conversation.
10 Apr 2022 22:14 #239865
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
You can test the outputs by manually setting them using the HAL configuration window / utility. In the Test HAL command input box
setp remora.output.0 1 or 0
For the e-stop you will need to use the estop_latch component.
linuxcnc.org/docs/2.4/html/man/man9/esto...or%20similar%20needs.
forum.linuxcnc.org/39-pncconf/25862-configuring-estop-latch
setp remora.output.0 1 or 0
For the e-stop you will need to use the estop_latch component.
linuxcnc.org/docs/2.4/html/man/man9/esto...or%20similar%20needs.
forum.linuxcnc.org/39-pncconf/25862-configuring-estop-latch
Please Log in or Create an account to join the conversation.
10 Apr 2022 23:52 - 10 Apr 2022 23:52 #239870
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Ok, so I've got the e-stop config working. To make it simpler I have updated the firmware to invert the STOP input as this is a NC switch. Please update to the latest firmware.
I've also made a specific config for ethernet-nvem to be specific for this board.
github.com/scottalford75/Remora/tree/fea...gSamples/remora-nvem
The e-stop HAL is below and I've tested on the bench.
I've also made a specific config for ethernet-nvem to be specific for this board.
github.com/scottalford75/Remora/tree/fea...gSamples/remora-nvem
The e-stop HAL is below and I've tested on the bench.
# load the real-time components
loadrt remora-eth
loadrt estop_latch
loadrt and2
# estop and comms enable and feedback
net nvem-estop <= estop-latch.0.fault-in <= remora.input.4
net user-enable-in <= and2.0.out => iocontrol.0.emc-enable-in
net remora-status <= remora.status => and2.0.in0
net estop-status <= estop-latch.0.ok-out => and2.0.in1
net user-enable-out <= iocontrol.0.user-enable-out => remora.enable
net user-enable-out => estop-latch.0.ok-in
net user-request-enable <= iocontrol.0.user-request-enable => remora.reset
net user-request-enable
Last edit: 10 Apr 2022 23:52 by scotta.
The following user(s) said Thank You: Domi
Please Log in or Create an account to join the conversation.
- Trihwangyudi1990
- Offline
- Junior Member
Less
More
- Posts: 27
- Thank you received: 0
11 Apr 2022 06:04 #239889
by Trihwangyudi1990
Replied by Trihwangyudi1990 on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Please Log in or Create an account to join the conversation.
11 Apr 2022 19:00 #239956
by Domi
Replied by Domi on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi scotta
So can I reverse the signal for the rest of the hardware? Limit switches are also NC type. As well as tool sensor and 3d sensor. If so, how? I checked the outputs and they live. well thank you
So can I reverse the signal for the rest of the hardware? Limit switches are also NC type. As well as tool sensor and 3d sensor. If so, how? I checked the outputs and they live. well thank you
Please Log in or Create an account to join the conversation.
11 Apr 2022 19:05 #239958
by Anton_RF
Replied by Anton_RF on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Attachments:
Please Log in or Create an account to join the conversation.
11 Apr 2022 21:06 #239973
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hi, unfortunately no. The board you show is a USB board, not the Ethernet version which the Remora firmware supports.Are this board is same with NVEM board??
Please Log in or Create an account to join the conversation.
11 Apr 2022 21:07 #239974
by scotta
Replied by scotta on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Hopefully soon. As per my earlier post, I'm working on the ability to upload a custom configuration file into the board that will allow you to do exactly what you asked.Hi scotta
So can I reverse the signal for the rest of the hardware? Limit switches are also NC type. As well as tool sensor and 3d sensor. If so, how? I checked the outputs and they live. well thank you
The following user(s) said Thank You: Domi
Please Log in or Create an account to join the conversation.
12 Apr 2022 21:13 #240082
by tcurdt
Replied by tcurdt on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
Any idea which hardware versions of the board should work?
I've seen 1.1, 2 and 2.1 during my search.
I've seen 1.1, 2 and 2.1 during my search.
Please Log in or Create an account to join the conversation.
Time to create page: 0.275 seconds