Remora - ethernet NVEM / EC300 / EC500 cnc board

More
4 years 6 months ago #240499 by scotta

@scotta Here is my config. Probably not ideal, however it does work fine with the lpt port.

btw I think the link in your post should be [url] github.com/scottalford75/Remora-NVEM/tre...json_config/Firmware [/url]
Hi Roy,

I've had a quick look at your INI file and I think I've found why you would be getting a following error with these settings and Remora-NVEM. The Remora step generator logic is split into two halves. One part on the LinuxCNC side and the other in the module that's running on the board. Both of these halves need to have the same servo period setting, and your INI file is setting this different.

Change your line SERVO_PERIOD = 1500000to 

SERVO_PERIOD = 1000000

(ie 1000hz) as per the example configuration should fix your problem. You probably should have started to use the example config file that is known to work rather than using one generated with stepconf.

 

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

More
4 years 6 months ago #240500 by royka
I did that at first, but that didn't work either, that was why I then tried make a working config with the lpt port and use that with the nvem

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

More
4 years 6 months ago #240501 by scotta

Uploading doesn't work I'm getting time-outs and now after a single movement I'm getting a following error:

Valid JSON config file, uploading to NVEM board
Config file length (words) = 1652
Config file length (bytes) = 6607
Remainder = 3
Padding added =  [0]
Config file length with padding (bytes) = 6608
CRC-32 = 0xc1997785
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
resending last packet
Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7f931391c6a0>
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
resending last packet
Resending packet WRQ packet: filename = config mode = octet on sessions <tftpy.TftpStates.TftpStateSentWRQ object at 0x7f931391c6a0>
Timeout waiting for traffic, retrying...
Timed-out waiting for traffic
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tftpy/TftpContexts.py", line 171, in cycle
    (buffer, (raddress, rport)) = self.sock.recvfrom(MAX_BLKSIZE)
socket.timeout: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "upload_config.py", line 72, in <module>
    client.upload("config", "/tmp/config.txt", timeout=60)
  File "/usr/local/lib/python3.7/dist-packages/tftpy/TftpClient.py", line 101, in upload
    self.context.start()
  File "/usr/local/lib/python3.7/dist-packages/tftpy/TftpContexts.py", line 325, in start
    self.cycle()
  File "/usr/local/lib/python3.7/dist-packages/tftpy/TftpContexts.py", line 174, in cycle
    raise TftpTimeout("Timed-out waiting for traffic")
tftpy.TftpShared.TftpTimeout: Timed-out waiting for traffic


 
Did you upload the new firmware from this location? [I'll correct the earlier post]

github.com/scottalford75/Remora-NVEM/tre...json_config/Firmware
 

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

More
4 years 6 months ago #240502 by Domi
Need to change the address from 10.10.10.11 to 10.10.10.10? Or is it a card address?

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

More
4 years 6 months ago #240503 by scotta

Need to change the address from 10.10.10.11 to 10.10.10.10? Or is it a card address?
The NVEM board IP address is hard coded to be 10.10.10.10 , Your computer can have any IP address on the same subnet.
The following user(s) said Thank You: Domi

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

More
4 years 6 months ago #240504 by scotta

I downloaded it in windows. He then put it in Linuxcnc and then edited config.txt
python3: cannot open file 'upload_config.py': [Errno 2] No such file or directory
You need to be in the same directory as the python file and the config file before running the command.

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

Time to create page: 1.364 seconds
Powered by Kunena Forum