- Posts: 64
- Thank you received: 0
Remora - ethernet NVEM / EC300 / EC500 cnc board
- Domi
- Offline
- Senior Member
-
Less
More
4 years 6 months ago #239752
by Domi
Replied by Domi on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
I've tried that before : does not exist
Please Log in or Create an account to join the conversation.
- Domi
- Offline
- Senior Member
-
Less
More
- Posts: 64
- Thank you received: 0
4 years 6 months ago - 4 years 6 months ago #239774
by Domi
Replied by Domi on topic Remora - ethernet NVEM / EC300 / EC500 cnc board
So I run the new firmware bin and hal. I didn't move on. Sensors do the same.I can't turn their signal to true / false
Last edit: 4 years 6 months ago by Domi.
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
4 years 6 months ago #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.
- Domi
- Offline
- Senior Member
-
Less
More
- Posts: 64
- Thank you received: 0
4 years 6 months ago - 4 years 6 months ago #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: 4 years 6 months ago by Domi.
Please Log in or Create an account to join the conversation.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
4 years 6 months ago #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.
- scotta
- Offline
- Platinum Member
-
Less
More
- Posts: 959
- Thank you received: 489
4 years 6 months ago - 4 years 6 months ago #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.
Code:
# 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: 4 years 6 months ago by scotta.
The following user(s) said Thank You: Domi
Please Log in or Create an account to join the conversation.
Time to create page: 2.400 seconds