CDI gr8flyer55
#1026
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I use Microsoft office 2007 and have no problems. Everything in your display looks a lot different than mine. Lets ask Jake what he is using to write the excel sheets. Could be there is a flaw somewhere we are overlooking.
Ray, what version are you using?
John
Ray, what version are you using?
John
#1027
RE: CDI gr8flyer55
ORIGINAL: gr8flyer55
Ray, now that you have one of the working timer boards, program a 683 chip with the setup specs and Rob's curve and see what you get for results. I just tried version 1.0 software and am not seeing the problem Rob is seeing. More eyes on a problem may see what is causing it. I know if I type in my start up setting for hall position on the engine at 32 degrees, eliminating Jake's setting of 49 degrees, it works for me. Unless there is another glitch somewhere, this setup works on my running engine tracked with a timing light up to 8,000 rpm's. Check if you can and let us know what you find.
John
Ray, now that you have one of the working timer boards, program a 683 chip with the setup specs and Rob's curve and see what you get for results. I just tried version 1.0 software and am not seeing the problem Rob is seeing. More eyes on a problem may see what is causing it. I know if I type in my start up setting for hall position on the engine at 32 degrees, eliminating Jake's setting of 49 degrees, it works for me. Unless there is another glitch somewhere, this setup works on my running engine tracked with a timing light up to 8,000 rpm's. Check if you can and let us know what you find.
John
Ray
#1028
RE: CDI gr8flyer55
ORIGINAL: gr8flyer55
I use Microsoft office 2007 and have no problems. Everything in your display looks a lot different than mine. Lets ask Jake what he is using to write the excel sheets. Could be there is a flaw somewhere we are overlooking.
Ray, what version are you using?
John
I use Microsoft office 2007 and have no problems. Everything in your display looks a lot different than mine. Lets ask Jake what he is using to write the excel sheets. Could be there is a flaw somewhere we are overlooking.
Ray, what version are you using?
John
Ray
#1029
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Ray, I just thought his screen shot looked odd with the ## symbols in place of the numbers that should have been displayed.
I've been running the excel sheets for a long time here and never saw anything like it. He must be pulling his hair out trying to sort this problem out.
I'm repairing some CDI boards tonight for customers, but will keep an eye on the forum for developments.
John
I've been running the excel sheets for a long time here and never saw anything like it. He must be pulling his hair out trying to sort this problem out.
I'm repairing some CDI boards tonight for customers, but will keep an eye on the forum for developments.
John
#1030
Join Date: Mar 2009
Location: xnot applicable, AUSTRALIA
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Think you'll find the program requires at least 2007 excel.
## marks usually mean the parameters of the particular field have been exceeded.
## marks usually mean the parameters of the particular field have been exceeded.
#1031
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Jeff, I think you hit the nail on the head this time !
I tried putting high numbers in those locations and got the same results as Rob did. When programmed and tested, it did what Rob experienced, wrong timing advances. Looking at the curve data in the misprogrammed numbers showed out of limit data figures which will cause the problems experienced.
John
I tried putting high numbers in those locations and got the same results as Rob did. When programmed and tested, it did what Rob experienced, wrong timing advances. Looking at the curve data in the misprogrammed numbers showed out of limit data figures which will cause the problems experienced.
John
#1032
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I just find the problem I think.
With the copy code button there will be no code copyed.
If I copy the code by hand right into the MPlabs c-file there is no problem.
Tableswitch is not working too with using the buttons into the sheet.
There is also a line not right into the 12F683 code
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
It must be:
OPTION_REG = 0b10000000; // pullups off, falling edge, Tmr0
With the copy code button there will be no code copyed.
If I copy the code by hand right into the MPlabs c-file there is no problem.
Tableswitch is not working too with using the buttons into the sheet.
There is also a line not right into the 12F683 code
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
It must be:
OPTION_REG = 0b10000000; // pullups off, falling edge, Tmr0
#1033
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
If this is true Rob, then Jake has more work to do. If I press the copy code button on the spreadsheet and paste it into notepad in windows, it copies code to notepad. Not sure what you are getting. I did it with notepad already open if it makes a difference, I don't know. The 683 code does need editing before you can compile it to hex. I change things manually, save it and then run the compiler program. Things do need to be fixed correctly though so we don't have to do this.
John
John
#1034
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I just copy the complete (?) code into MPlabs and make a new c-file.
But the tablegenerator generate negetive values, thats not possible.
But the tablegenerator generate negetive values, thats not possible.
#1036
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Mine copies the code to clipboard for pasteing great. Don't know how you get this problem unless the excel sheet was corrupted when you downloaded it Rob.
Have you figured it out yet? If I don't change the optionreg statement which just switches from before sensor to after sensor, it only changes timing a few degrees but still runs fine on my engine with the hex file I create from it.
John
Have you figured it out yet? If I don't change the optionreg statement which just switches from before sensor to after sensor, it only changes timing a few degrees but still runs fine on my engine with the hex file I create from it.
John
#1037
Senior Member
Join Date: Aug 2011
Location: Moscow,
ID
Posts: 144
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
ORIGINAL: Gompy
There is also a line not right into the 12F683 code
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
It must be:
OPTION_REG = 0b10000000; // pullups off, falling edge, Tmr0
There is also a line not right into the 12F683 code
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
It must be:
OPTION_REG = 0b10000000; // pullups off, falling edge, Tmr0
If you're getting negative values in the table settings send me a copy so I can see what is going on. There should be a minimum value for each of the table settings, but some of the user settings at the start of the table probably don't have the value checks in place.
-Jake
#1038
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
ORIGINAL: jakestew
This isn't an error. The pullups should be enabled in OPTION_REG. Only the hall sensor pullup is actually turned on.
ORIGINAL: Gompy
There is also a line not right into the 12F683 code
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
It must be:
OPTION_REG = 0b10000000; // pullups off, falling edge, Tmr0
There is also a line not right into the 12F683 code
OPTION_REG = 0b00000000; // pullups on, falling edge, Tmr0
It must be:
OPTION_REG = 0b10000000; // pullups off, falling edge, Tmr0
If you're getting negative values in the table settings send me a copy so I can see what is going on. There should be a minimum value for each of the table settings, but some of the user settings at the start of the table probably don't have the value checks in place.
-Jake
-Jake
The timing go negative, ATDC and that can blow you engine / exhaust.
#1039
RE: CDI gr8flyer55
ORIGINAL: Gompy
Oeps.....
Oeps.....
Gompy do you get an error message asking you to "End" or "Debug" ? When you open the Excel workbook in Office 2003?
Ray
#1040
RE: CDI gr8flyer55
ORIGINAL: gr8flyer55
Ray, now that you have one of the working timer boards, program a 683 chip with the setup specs and Rob's curve and see what you get for results. I just tried version 1.0 software and am not seeing the problem Rob is seeing. More eyes on a problem may see what is causing it. I know if I type in my start up setting for hall position on the engine at 32 degrees, eliminating Jake's setting of 49 degrees, it works for me. Unless there is another glitch somewhere, this setup works on my running engine tracked with a timing light up to 8,000 rpm's. Check if you can and let us know what you find.
John
Ray, now that you have one of the working timer boards, program a 683 chip with the setup specs and Rob's curve and see what you get for results. I just tried version 1.0 software and am not seeing the problem Rob is seeing. More eyes on a problem may see what is causing it. I know if I type in my start up setting for hall position on the engine at 32 degrees, eliminating Jake's setting of 49 degrees, it works for me. Unless there is another glitch somewhere, this setup works on my running engine tracked with a timing light up to 8,000 rpm's. Check if you can and let us know what you find.
John
Ray
#1042
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I hope you talked to Jake in email about this potential error in the worksheet.
The way it looks to me, edits were done in the command formulas and wrong destinations are given in response. This is very confusing. If I go with the normal sensor range settings, mine is working. Unless Jake can figure out what you are trying to do by setting the sensor past 40 degrees, there is nothing I can figure out that will work for those settings.
Does the timing work correctly if you follow the normal setup of 28 to 32 degrees for physical sensor location on the engine?
If I understand correctly, you are telling it that you are placing the sensor at 60 degrees and are having the problem appear. I think it is out of the normal range for the formula to work correctly. Your situation seems way too far advanced for it to be computed correctly and give you what you need. Maybe it's not possible to go past 40 degrees in the setup.
John
The way it looks to me, edits were done in the command formulas and wrong destinations are given in response. This is very confusing. If I go with the normal sensor range settings, mine is working. Unless Jake can figure out what you are trying to do by setting the sensor past 40 degrees, there is nothing I can figure out that will work for those settings.
Does the timing work correctly if you follow the normal setup of 28 to 32 degrees for physical sensor location on the engine?
If I understand correctly, you are telling it that you are placing the sensor at 60 degrees and are having the problem appear. I think it is out of the normal range for the formula to work correctly. Your situation seems way too far advanced for it to be computed correctly and give you what you need. Maybe it's not possible to go past 40 degrees in the setup.
John
#1043
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Normaly the ignitiontime of a Homelite will be 24 till 27 degrees BTDC.
Place the hallesensor to 30 degrees BTDC will be imposseble I think.
You need some calculationtime befro fire the spark.
It doesn't matter where I set the hallsensor (40 or 50 or 60 degrees) the value is copy 1 to copy 2 is wrong.
It copy K14 to E21....*** is K14.....empty cell ?
Into the macro it's OK, but the program will do something else.
I remove the button so I can't make the mistake to copy empty cells.
I change the SCR timing to 100 usec and the engine timing is much better.
We use into our 12F628 CDI 56 usec for SCR timing, so 100 usec is OK for now.
I can't find the timing of the SCR we use, it's tryl and error for the moment.
Still have a problem with tha max rpm, at 12,500 rpm the timing jumps to 20 or 30 degrees ATDC.
Table switch isn't work to like it use to be.
I have to remove or place the jumper, then shut on / off the power to switch tables.
BTW, is you make the MSD_Delay less, it will burn the 78L05.
The current at 4000 usec is 200 mA less then if you set the delay to 400 usec.
Problem, you can't shut-off the MSD, you have to use 4msec for MSD and this will be also (I think) the max rpm problem.
Place the hallesensor to 30 degrees BTDC will be imposseble I think.
You need some calculationtime befro fire the spark.
It doesn't matter where I set the hallsensor (40 or 50 or 60 degrees) the value is copy 1 to copy 2 is wrong.
It copy K14 to E21....*** is K14.....empty cell ?
Into the macro it's OK, but the program will do something else.
I remove the button so I can't make the mistake to copy empty cells.
I change the SCR timing to 100 usec and the engine timing is much better.
We use into our 12F628 CDI 56 usec for SCR timing, so 100 usec is OK for now.
I can't find the timing of the SCR we use, it's tryl and error for the moment.
Still have a problem with tha max rpm, at 12,500 rpm the timing jumps to 20 or 30 degrees ATDC.
Table switch isn't work to like it use to be.
I have to remove or place the jumper, then shut on / off the power to switch tables.
BTW, is you make the MSD_Delay less, it will burn the 78L05.
The current at 4000 usec is 200 mA less then if you set the delay to 400 usec.
Problem, you can't shut-off the MSD, you have to use 4msec for MSD and this will be also (I think) the max rpm problem.
#1044
RE: CDI gr8flyer55
Gompy that macro command is correct but, the formula for that cell is not. It shows the value for that cell =K14 and it should be =K4.
Oh you saw that.
The formula in the cell overrides the macro. Either correct the cell or remove the formula, save the workbook, close it, and reopen it and it should be fine. Nope that didn't work but, I'll find it.
As for the other problems, we'll have to work on them.
Ray
Oh you saw that.
The formula in the cell overrides the macro. Either correct the cell or remove the formula, save the workbook, close it, and reopen it and it should be fine. Nope that didn't work but, I'll find it.
As for the other problems, we'll have to work on them.
Ray
#1045
Senior Member
Join Date: Nov 2005
Location: Hamburg,
PA
Posts: 805
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
Sounds like we need all new software to properly use the available functions on the B board.
I've been using my original timer with my settings and curves without problems. I didn't change the MSD delay so that was not an issue for me. As for the current draw, any settings I made in the sheet do not make any excess current draw. At 10,000 rpm, my current draw is never over 200 mah total with my old timer and original ignition circuit.
Changes will have to be made for the new timer board with the 78L05 so it doesn't burn up. Presently, mine doesn't have an issue with current draw the way it is powered. Oh well, back to square one again.
John
I've been using my original timer with my settings and curves without problems. I didn't change the MSD delay so that was not an issue for me. As for the current draw, any settings I made in the sheet do not make any excess current draw. At 10,000 rpm, my current draw is never over 200 mah total with my old timer and original ignition circuit.
Changes will have to be made for the new timer board with the 78L05 so it doesn't burn up. Presently, mine doesn't have an issue with current draw the way it is powered. Oh well, back to square one again.
John
#1046
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
I try to set the hallsensor to 30 degrees BTDC and a table start of 24 degrees BTDC.
The timing is lost complete controle and at 8,000 rpm it jumps all over the disk.
Uhhhh....there is K4 into the cell, but not after copy 1 -> copy 2
Remove the button is the best solution
The timing is lost complete controle and at 8,000 rpm it jumps all over the disk.
Uhhhh....there is K4 into the cell, but not after copy 1 -> copy 2
Remove the button is the best solution
#1047
RE: CDI gr8flyer55
ORIGINAL: Gompy
I try to set the hallsensor to 30 degrees BTDC and a table start of 24 degrees BTDC.
The timing is lost complete controle and at 8,000 rpm it jumps all over the disk.
Uhhhh....there is K4 into the cell, but not after copy 1 -> copy 2
Remove the button is the best solution
I try to set the hallsensor to 30 degrees BTDC and a table start of 24 degrees BTDC.
The timing is lost complete controle and at 8,000 rpm it jumps all over the disk.
Uhhhh....there is K4 into the cell, but not after copy 1 -> copy 2
Remove the button is the best solution
I don't know why Excel is incrementing the value by 10, I know having programmed VBA (Office) it can do real stupid things and sometimes it really pis_es me off. Anyway here is the fix.
Sub Move_User_Settings()
' Move_User_Settings Macro
'Range("E11").Copy Destination:=Range("E21")Rem thisline with a (') at the begining.
Range("E21").Value = Range("E11")Add this lineand it will work fine.
Range("E13").Copy Destination:=Range("E23")
Range("E14").Copy Destination:=Range("E24")
Range("E15").Copy Destination:=Range("E25")
Range("E16").Copy Destination:=Range("E26")
Range("E17").Copy Destination:=Range("E27")
Range("E18").Copy Destination:=Range("E28")
Application.CutCopyMode = False
Range("A1,A1").Select
End Sub
For 2003 users you should rem these lines out if you get an error when opening the workbook:
Private Sub Workbook_Open()
Me.Worksheets("Setup_Settings").Protect UserInterfaceOnly:=True
Me.Worksheets("Advance_Curves").Protect UserInterfaceOnly:=True
Me.Worksheets("Saved_Curves").Protect UserInterfaceOnly:=True
Me.Worksheets("Table_Values").Protect UserInterfaceOnly:=True
Me.Worksheets("12F683_Code").Protect UserInterfaceOnly:=True
Me.Worksheets("12F1840_Code").Protect UserInterfaceOnly:=True
Me.Worksheets("Compiler_Command_Lines").Protect UserInterfaceOnly:=True
' SendKeys "^{F1}", True
' Application.DisplayFullScreen = True
' Application.ExecuteExcel4Macro "SHOW.TOOLBAR(" & Chr(34) & "Ribbon" & Chr(34) & ",False)"
ActiveWindow.DisplayHeadings = False
Application.DisplayFormulaBar = False
'If Application.CommandBars.Item("Ribbon").Height > 100 ThenRem this line
' SendKeys "^{F1}"Rem this line
'End If Rem this line
Sheets("Setup_Settings").Select
Range("A1,A1").Select
End Sub
Let Jake or me knowif you find other problems.
Ray
#1049
Senior Member
Join Date: Jul 2010
Location: Alkmaar, NETHERLANDS
Posts: 404
Likes: 0
Received 0 Likes
on
0 Posts
RE: CDI gr8flyer55
For only 4 values so much work.....remove the (usless) button, error solved.
More important will be the timing, I don't want to blow a hole into my pistons.
I don't say the software is complete sh*t, but it need some updates now we know the problems.
If the 683 software will be the same like the 1840, we will have the same problems too.
More important will be the timing, I don't want to blow a hole into my pistons.
I don't say the software is complete sh*t, but it need some updates now we know the problems.
If the 683 software will be the same like the 1840, we will have the same problems too.
#1050
RE: CDI gr8flyer55
ORIGINAL: Gompy
For only 4 values so much work.....remove the (usless) button, error solved.
More important will be the timing, I don't want to blow a hole into my pistons.
I don't say the software is complete sh*t, but it need some updates now we know the problems.
If the 683 software will be the same like the 1840, we will have the same problems too.
For only 4 values so much work.....remove the (usless) button, error solved.
More important will be the timing, I don't want to blow a hole into my pistons.
I don't say the software is complete sh*t, but it need some updates now we know the problems.
If the 683 software will be the same like the 1840, we will have the same problems too.
Ray
The F1 on the end denotes Fix 1.
Gompy's version with latest fixes. "Pull-ups are turned off for the switches and the polarities are reversed CDI-2012_v1.0_B-F1.xlsm"
www.unimatrixtech.com/CDI-2012/Pull-ups are turned off for the switches and 0the polarities are reversed CDI-2012_v1.0_B-F1.xlsm
Standard version with latest fixes: "CDI-2012_v1.0-F1.xlsm"
www.unimatrixtech.com/CDI-2012/excel/CDI-2012_v1.0-F1.xlsm
Explanation of fixes:
www.unimatrixtech.com/CDI-2012/excel/Version F1 Fixes.txt
These should be tested, also let me know if there are any problems with them.
Ray