PV380 0-5V Digital Inputs

Discuss issues and ideas you have to configuring displays with PowerVision
Hamsteh
Posts: 42
Joined: Wed Sep 21, 2011 3:31 am

PV380 0-5V Digital Inputs

Post by Hamsteh » Wed Dec 10, 2014 6:15 pm

Hello,

I wonder if you have any example configs that utilise the PV380's 0-5V Analog inputs as digital inputs?

Thank you in advance!
www.ajbarry.com.au Bespoke Control Systems
BEng (Robotics and Mechatronics) & BSci (Computer Software Engineering)
Melbourne, Australia
stalley
Enovation Controls Development
Enovation Controls Development
Posts: 618
Joined: Tue Mar 18, 2014 12:57 pm

Re: PV380 0-5V Digital Inputs

Post by stalley » Thu Dec 11, 2014 2:32 pm

Hello,

I have a PV380 input as a digital example config, BUT, it is with a resistive input. It works. You should be able to do something very similar with the 0-5V input.

1. You have to start in the Library tab\IO Definitions and create the Resistive (Analog) Input. The IO.Resistive Input 1 is the input variable that shows up in the Programming tab that will have the input reading in Ohms\Volts.

2. Go to the Connections tab and set the Selector Variable and Add Definition becomes active. When you select Add Definition, the popup lets you select the input that you created in step 1.

3. Programming tab. Now you can do what you need to do. With any of the inputs you need to be able to adjust the test value to determine when the input is open. In the config I've sent, the variable, IOState, has the calculation event that tests the input values to determine Open/Close. With my device, I determined that a reading of at least 10 ohms was closed to ground. The test for high is just an arbritrary number with my resistive input, but yours with the 0-5V input will need it. You will have to try different readings to find what is open, 4.5 or 4.0 or ? I'm told 0.1 V is the best accuracy you will get in a configuration with a PV380. I have a gauge on the screen that displays the reading from the input to help with making the adjustments.
AnalogAsDigitalEx.zip
(201.71 KiB) Downloaded 29 times
Let us know if you have clarifications or corrections!
Sara Talley
Software Engineer
Enovation Controls