PV450 analog input setting with fuel sender.

Discuss issues and ideas you have to configuring displays with PowerVision
cjseong
Posts: 2
Joined: Wed Jun 12, 2013 11:21 pm

PV450 analog input setting with fuel sender.

Post by cjseong » Tue Nov 01, 2016 3:02 am

Hello,

The cusotmer want to use the fuel sender as anlaog input of PV450
Can you please advise how to set the pre-defined curve with below resistive value.

Fuel full : 3 ± 2ohm
1/2 : 32.5 ohm
Fuel empty : 110 ± 7ohm

I tried to find some information in forum, but it's difficult to me for understanding.
It would be nice if you can give the demo configuration for PV450.

Thanks...
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: PV450 analog input setting with fuel sender.

Post by stalley » Tue Nov 01, 2016 11:02 am

Hello cjseong,

I am attaching a demo config that I hope will help. I started with a blank PV450 config so the only feature in the config is the pre-defined curve for your fuel sender.

One thing to remember when adding the pre-defined curves on a color display, the raw values from an analog input are A/D counts. This is different from the monochrome displays where the raw values from the analog inputs are ohms or voltages.
  • For this config, I started by adding an IO Definition in the Library with an Operation Mode of Analog In: Resistive 400 ohms pull-up.
  • Next I went to the Connections tab, enabled the Analog Input and Added the definition that I created in the Library, Analog Input 1.
  • Then on the Page Designer, I added a Text gauge and set the Variable property to be the IO.Analog Input 1 that is associated with the Analog Input 1 definition.
  • I'm not the greatest at math, so I put this config on my PV450 and hooked up my decade box to the display, entered the specified ohms for the sender and recorded the counts from the input displayed. There is a post by drphil69 viewtopic.php?f=7&t=879&p=2366&hilit=analog+input#p2366 that shows how to calculate what the counts should be.

    With the counts, I returned to the Library tab in my config and created the Fuel 3-110 Pre-Defined curve and associated the curve with the Analog Input 1 IO Definition.
  • There are few little cleanup things that will make it work better.

    You really don't want your input variable to go invalid, but it is "linked" and several properties I want to change are grayed out. The variable can be unlinked by going to Programming and selecting the Input Output group folder where the IO.Analog Input 1 variable is located. In the right panel, select the IO.Analog Input 1, then near the top of the panel there is a broken link icon, select this. The variable will then be "active" and so will the properties.

    Now, select the IO.Analog Input variable in the left panel, uncheck the Allow Invalid and set the Unit of Measure to %. The text gauge in the Page Designer will also need to be changed to use the same units.
There are some scripts but they are in some of the older configs, like 2.2, *.db3, so you have to install the old PowerVision 2.3, import and save. Then install the latest 2.6, import and save. Then you should be able to import the config to 2.8.

Some of the curve and IO information should also be provided in the reference manual for IO, viewtopic.php?f=3&t=1165

Sorry for such a long post this time. This may be worthy of the FAQ, if I ever make one. ;-)
Attachments
Demo - Fuel PreDefined Curve Color.zip
(687.51 KiB) Downloaded 19 times
Sara Talley
Software Engineer
Enovation Controls