I originally posted this in the wrong section I think.
"I need to divide a time for an engine revolution by 360 to get time per degree.
This will obviously be a .000 something or other so can you point me in the right direction on being able to read this in flowcodev5?
I've tried it as a standard calculation but it returns nothing. Well, perhaps some thing that will not register as it is too small..??"
There was an answer to search for rev or rpm or similar but all the search did was bring up my query.
Perhaps better luck here.
I've included the file, incomplete as yet but hopefully enough to give the idea of what I'm trying to achieve.
division
Moderator: Benj
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
- Contact:
Re: division
i created this crank degree calculator the other week, if you can't open i will convert to another chip so you can,
at the top you enter rpm and a m/s ontime and it converts as shown in image below
[img] [/img]
at the top you enter rpm and a m/s ontime and it converts as shown in image below
[img] [/img]
- Attachments
-
- crank degree calculator.fcf
- (15 KiB) Downloaded 299 times
Re: division
Downloaded your example and it would not work with the limit on the free version like you said.
So I set it for 16F628A and I could view the flowchart ok.
Only reference I saw to floating point was a variable named "count_float".
Tried to follow the flow chart but must admit to getting a bit lost.
So I set it for 16F628A and I could view the flowchart ok.
Only reference I saw to floating point was a variable named "count_float".
Tried to follow the flow chart but must admit to getting a bit lost.
-
- Posts: 438
- Joined: Mon Aug 29, 2011 12:26 am
- Location: arizona
- Has thanked: 175 times
- Been thanked: 173 times
- Contact:
Re: division
to clearify your trying to find what the value in milliseconds one crank degree occupies at a given rpm?Tried to follow the flow chart but must admit to getting a bit lost.
in flowchart below i converted it all to crankshaft math unlink previous example i used both
this is a simulator so there is not loop, just highlighting the calculations, read notes at top