- Posts: 62
- Thank you received: 30
ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
- muvideo
- Offline
- Senior Member
-
Less
More
4 years 3 months ago #248328
by muvideo
Replied by muvideo on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Hi, in your screnshots I see that Lcnc.00.enabled Is false, so the board Is disabled. Try to move Lcnc.00.enable-request to true (keep Lcnc.00.enable to true) and check if enabled becomes true.
Is the communication with the board working ok? How much Is the value of watchdog-read pin?
Is the communication with the board working ok? How much Is the value of watchdog-read pin?
Please Log in or Create an account to join the conversation.
- svb
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 10
4 years 3 months ago - 4 years 3 months ago #248331
by svb
Replied by svb on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Last edit: 4 years 3 months ago by svb.
Please Log in or Create an account to join the conversation.
- muvideo
- Offline
- Senior Member
-
Less
More
- Posts: 62
- Thank you received: 30
4 years 3 months ago - 4 years 3 months ago #248333
by muvideo
Replied by muvideo on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
So there must be something that resets the board.
Suspects are:
- external reset input (in my script is routed to pin j4:6) be sure to have that pin to zero
- tx retries, if the communication is healty it should be no problem, but in doubt you can raise the value of Lcnc.00.tx-max-retries to an higher value
- watchdog (this is the first thing I owuld check): Lcnc.00.watchdog-write should be way higher than the thread period you are running at, I'm using 10ms (0.01) with 1ms thread period, you can monitor Lcnc.00.watchdog-read to see if it is dangerously near zero.
For testing you can raise Lcnc.00.watchdog-write to a very high value (tops out at about 5s).
Let me know how these values are now.
By the way, keep in mind that enable-request is evaluated only on it's rising edge false to true, so connect it to some input that you can toggle at runtime
Suspects are:
- external reset input (in my script is routed to pin j4:6) be sure to have that pin to zero
- tx retries, if the communication is healty it should be no problem, but in doubt you can raise the value of Lcnc.00.tx-max-retries to an higher value
- watchdog (this is the first thing I owuld check): Lcnc.00.watchdog-write should be way higher than the thread period you are running at, I'm using 10ms (0.01) with 1ms thread period, you can monitor Lcnc.00.watchdog-read to see if it is dangerously near zero.
For testing you can raise Lcnc.00.watchdog-write to a very high value (tops out at about 5s).
Let me know how these values are now.
By the way, keep in mind that enable-request is evaluated only on it's rising edge false to true, so connect it to some input that you can toggle at runtime
Last edit: 4 years 3 months ago by muvideo.
Please Log in or Create an account to join the conversation.
- svb
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 10
4 years 3 months ago - 4 years 3 months ago #248358
by svb
Replied by svb on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Last edit: 4 years 3 months ago by svb.
Please Log in or Create an account to join the conversation.
- muvideo
- Offline
- Senior Member
-
Less
More
- Posts: 62
- Thank you received: 30
4 years 3 months ago #248360
by muvideo
Replied by muvideo on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Oh, I'm happy it started working, let me know of any problems bugs or quirks you find.
Please Log in or Create an account to join the conversation.
- svb
- Offline
- Senior Member
-
Less
More
- Posts: 44
- Thank you received: 10
4 years 3 months ago - 4 years 3 months ago #248361
by svb
Extremly low speed
I.e. if i set feedrate 5mm/min, and set move to less than 20mm, i'm always arrive to destination (+-0.003mm).
If feedrate greater 5mm/min or distance to go greater 20mm i never arrive to destination. Joint error. Always.
I'm try to change *FERROR parameters but nothing changed
This is for stepgen module.
Input worked. BUT! Not reading at start. Im have DCRS-01J rotary switch for setting feedrate as on Siemens MCP, and while im not change switch position, always readed 100%.
I'm try to move config section for my component in any places of a config - nothing happened
Update.
Run G1X10F10 from X20 position
Arrived to 10.159 instead 10.00
Replied by svb on topic ColorCNC Colorlight 5A-75E/5A-75B as FPGA controller board
Oh, I'm happy it started working, let me know of any problems bugs or quirks you find.
Extremly low speed
I.e. if i set feedrate 5mm/min, and set move to less than 20mm, i'm always arrive to destination (+-0.003mm).
If feedrate greater 5mm/min or distance to go greater 20mm i never arrive to destination. Joint error. Always.
I'm try to change *FERROR parameters but nothing changed
This is for stepgen module.
Input worked. BUT! Not reading at start. Im have DCRS-01J rotary switch for setting feedrate as on Siemens MCP, and while im not change switch position, always readed 100%.
I'm try to move config section for my component in any places of a config - nothing happened
Update.
Run G1X10F10 from X20 position
Arrived to 10.159 instead 10.00
Last edit: 4 years 3 months ago by svb.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 1.730 seconds