Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
#include "TablesV5.h"
#include
Hi John I am trying to install your latest version RELS_V5.0n which I may add is really helpful? especially the? include "Tables V5h "if I can get it working ? . I completed RELS data for my lathe parameters. Not sure how to implement #include "TablesV5.h" in the sketch I get an error "no such file" in IDE
|
|
Hi, Leslie,
The first tab on the Excel file "RELS_data_V5.00.xls", labeled "Instructions", gives detailed instructions on creating the "TablesV5.h" file starting on row 17. Basically, you open a blank text file using your text editor, (for example, Notepad). Then you copy the green background areas from the Constants, Feed, Thread and Taper tables to this blank text file and insert each of these text fragments one above the other. When done, save the text file as TablesV5.h. Please note that you can only copy the "Metric_Feed_Table" OR the "Imperial_Feed_Table", not both! I hope this helps... -- Regards, Charlie New Jersey, USA There IS no cloud! It’s just somebody else’s computer. |
|
Hi Charles, it's been a while. You might add the .h file has to be in the same folder as the .ino file. Ralph On Sun, Jul 16, 2023 at 9:33?AM leslie Higgins <lesjhiggins@...> wrote: Hi thank you very helpful much obliged --
Clausing 8520, Craftsman 12x36 Lathe, 4x12 mini lathe, 14" Delta drill press, 40 watt laser, Consew brushless DC motors and a non working 3D printer |
|
Hi, Leslie,
As Ralph has pointed out, the "TablesV5.h" file must be in the same folder as the .ino file. If it is, opening the .ino file will pull the .h file in with it automatically, as long as the #include statement and the .h file names match. -- Regards, Charlie New Jersey, USA SATTINGER’S LAW: It works better if you plug it in. |
|
Hi, Ralph,
As you mentioned, the .h file must be in the same folder as the .ino sketch, as specified in row 32 of the "Instructions" tab of the spreadsheet. I hope all is well with you...
Regards, Charlie New Jersey, USA JENNING’S COROLLARY TO THE LAW OF SELECTIVE GRAVITY: The chance of the bread falling with the buttered side down Is directly proportional to the cost of the carpet. |
|
Hi thanks for your help I have this error In the? ino file # included?
\RELS\RELS_V5.00n\TablesV5.h:113:1: error: expected declaration before '}' token
?
Also in the notes it is stated "that the encoder must be 1800 "but my encoder is 600 and have a two to one ratio making 1200 is that the correct figure in the RELS? spreadsheet compilation ?? |
|
Leslie,
I can't tell from what you've posted exactly where the problem is. The first thing that I would check is the file name for the table. It should be "TablesV5.h" with no spaces. Make sure that the "T" in "Tables" and the "V" are both capitalized. When you typed "# included" above, there was a space between the "#" sign and the word "included". This would generate an error if it is like that in your TablesV5.h file. Another possibility is that you are missing a character from where you copied and pasted the green areas in the spreadsheet. Yes, the number of pulses per spindle rotation MUST be 1800 for RELS version 5. I also had a 600 PPR encoder but I used a 3:1 drive ratio, resulting in 1800 pulses per spindle rotation. I hope this helps. -- Regards, Charlie New Jersey, USA JENNING’S COROLLARY TO THE LAW OF SELECTIVE GRAVITY: The chance of the bread falling with the buttered side down Is directly proportional to the cost of the carpet. |
|
Hi Charlie thanks so much will have a another go tomorrow Regards Les
On Monday, 17 July 2023 at 01:06:17 BST, CLevinski <clevinski@...> wrote:
Leslie, I can't tell from what you've posted exactly where the problem is. The first thing that I would check is the file name for the table. It should be "TablesV5.h" with no spaces. Make sure that the "T" in "Tables" and the "V" are both capitalized. When you typed "# included" above, there was a space between the "#" sign and the word "included". This would generate an error if it is like that in your TablesV5.h file. Another possibility is that you are missing a character from where you copied and pasted the green areas in the spreadsheet. Yes, the number of pulses per spindle rotation MUST be 1800 for RELS version 5. I also had a 600 PPR encoder but I used a 3:1 drive ratio, resulting in 1800 pulses per spindle rotation. I hope this helps. -- Regards, Charlie New Jersey, USA JENNING’S COROLLARY TO THE LAW OF SELECTIVE GRAVITY: The chance of the bread falling with the buttered side down Is directly proportional to the cost of the carpet. |
|
This is not something I've needed here, but I'm thinking "Most Valuable Member" in his case. ;) Bill in OKC William R. Meyers, MSgt, USAF(Ret.) Aphorisms to live by: Good judgement comes from experience. Experience comes from bad judgement.? SEMPER GUMBY! Physics doesn't care about your schedule. The only reason I know anything is because I've done it wrong enough times to START to know better. Expect in one hand, expectorate in the other. See which one gets full first.
On Monday, July 17, 2023 at 01:02:23 PM CDT, John Lindo <bechetboat@...> wrote:
Many thanks to Charlie for taking the time out clarifying and answering questions recently posted referencing the RELS? contained in the Files section. He is a valuable group member,? Well done. -- John |
|
? On Mon, 17 Jul 2023 at 20:27, Bill in OKC too via <wmrmeyers=[email protected]> wrote:
--
John |
|
to navigate to use esc to dismiss