ES2F Fuel Level PV450

Discuss issues and ideas you have to configuring displays with PowerVision
MikeEasterling
Posts: 13
Joined: Tue Jan 18, 2011 10:09 pm

ES2F Fuel Level PV450

Post by MikeEasterling » Wed Sep 21, 2011 7:40 pm

My customer is currently using the PV101-A and we're moving him into the PV450's. He currently has the ES2F wired into the 5pin and grounded on 6pin for the PV101-A. I will need to set up the Port C analog input.
Can you describe what is necessary in setting up the Port C environment to accept the ES2F signal?
What will be the pin positions for the Deutsch connector?
Is there any need to calibrate?
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: ES2F Fuel Level PV450

Post by ksaenz » Fri Sep 23, 2011 4:00 pm

Hello MikeEasterling,

In the PV450 he needs to wire the ES2F sender to connector C pin 5 and ground to pin 4.

In the configuration he needs to assign the analog input to a variable and set the operation mode to Resistive input, 400 ohms pull-up.

Then he needs to run a script every time the analog input changes to calculate the fuel level and save it in another variable.
You can find examples of those scripts in this post:
viewtopic.php?f=5&t=214

To calibrate the script for the sender you can take samples at different levels and and enter those raw values in the array in the script.

The attached configuration has been calibrated to the Murphy ES2F sender.

Regards,

ksaenz
Attachments
Analog Input Fuel Level.db3
(2.96 MiB) Downloaded 48 times
MikeEasterling
Posts: 13
Joined: Tue Jan 18, 2011 10:09 pm

Re: ES2F Fuel Level PV450

Post by MikeEasterling » Fri Sep 23, 2011 9:18 pm

I took the 1.1 and 2.0 revision classes in Tulsa. It's been a while since I've been able to work with the configuration tool. The PV750 pricing has kept us out of a lot of markets, thus, I haven't kept my skills honed with the software. I'm no programmer, by any means. And not working the PV750 software i've become a bit rusty. I keep running across stuff that jars my memory back and I remember some from the early revisions and those manuals talked a bit about what you do with the db3. I'm not in the office over the weekend where those old manual are and am trying to finish this PV450 to present to the customer for Monday. Memories of 1.1 and 2.0 revisions are tainting my confidence that I am doing the correct thing with the 2.2 and I'm finding information difficult to acquire on my own.

So, This is a really stupid question.
-What do I do with the db3 file and how do I read it?
-I'm tagging the ES2F with J1939.Fuel Sender.Fuel Level ?? Is this the correct variable in both the environment and the page designer to recognize fuel level from the Port C analog from the ES2F sender? Cause I don't want to tag the CANopen Plug B Primary Fuel Level, right?
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: ES2F Fuel Level PV450

Post by ksaenz » Mon Sep 26, 2011 8:22 am

No stupid questions, we are all learning.

To open the .db3 file you need to put it in the folder:
...My Documents\Murphy Configurations\Version 2.2\DBs\
And then you can open it with the config tool.

The variable J1939.Fuel Sender.Fuel Level refers to the parameter Fuel Level from the J1939 device Fuel Sender in case you wanted to use the Murphy FuelCAN:
http://www.fwmurphy.com/?p=fuelcan

The configuration I attached earlier gets the fuel level from the analog input and calculates it with a script.

Regards,

ksaeenz
MikeEasterling
Posts: 13
Joined: Tue Jan 18, 2011 10:09 pm

Re: ES2F Fuel Level PV450

Post by MikeEasterling » Mon Sep 26, 2011 9:50 am

I got the db3 and have opened it in the 2.2 config. I hope i'm not missing any of the changes. I assume that I need to copy and then paste into my config 1 change at a time.

I copied and pasted the Fuel Level Calculator Scripting into my SoftTrack config and have created the Environment setup for the Analog Input as IO.Analog.Input with Auto Create successfully.

When I go to the Page Designer and am trying to tag the Rotary Gauge and %Text Widget to the Fuel Level, I can't find the Parameter "UserDefinedVariable.Input.Analog1.Fuel Level", do i need to create one and how do I do that? And then I see in the example db3 that there is the Raw Analog Input that is tagged to the IO.Analog.Input

I'm a little confused as to whether i need both % Fuel Level AND Raw Analog Input. The customer is wanting the information displayed in Gauge and Digital.
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: ES2F Fuel Level PV450

Post by ksaenz » Mon Sep 26, 2011 10:10 am

You need to create the variable "UserDefinedVariable.Input.Analog1.Fuel Level" and you also need IO.Analog input.

IO.Analog input is the raw value (0-1023) of the input.

UserDefinedVariable.Input.Analog1.Fuel Level is the converted value of the fuel level (0-100%)
MikeEasterling
Posts: 13
Joined: Tue Jan 18, 2011 10:09 pm

Re: ES2F Fuel Level PV450

Post by MikeEasterling » Mon Sep 26, 2011 10:28 am

I'm not sure which one goes with which display tag. If I have a Rotary Gauge and Text Gauge for the analog Fuel Level, how do I tag the gauges with both the Raw Analog Input and UserDefinedVariable?

When I try to add a parameter for UserDefinedVariable, it ONLY gives me Plug A, B and D options. There is no "C" option. How do I add the parameter?
ksaenz
Enovation Controls Development
Enovation Controls Development
Posts: 263
Joined: Thu Aug 19, 2010 7:53 am

Re: ES2F Fuel Level PV450

Post by ksaenz » Mon Sep 26, 2011 12:35 pm

Both the Rotary Gauge and the Text Gauge need to reference the variable "UserDefinedVariable.Input.Analog1.Fuel Level"

The variable "IO.Analog Input" is the raw value and it is only used in the scrip to calculate the fuel level.

You can add the variable directly in the database, you don't need to add it through Environment Setup.