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!
PV380 0-5V Digital Inputs
- Hamsteh
- Posts: 42
- Joined: Wed Sep 21, 2011 3:31 am
PV380 0-5V Digital Inputs
www.ajbarry.com.au Bespoke Control Systems
BEng (Robotics and Mechatronics) & BSci (Computer Software Engineering)
Melbourne, Australia
BEng (Robotics and Mechatronics) & BSci (Computer Software Engineering)
Melbourne, Australia
- stalley
- Enovation Controls Development
- Posts: 618
- Joined: Tue Mar 18, 2014 12:57 pm
Re: PV380 0-5V Digital Inputs
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. Let us know if you have clarifications or corrections!
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. Let us know if you have clarifications or corrections!
Sara Talley
Software Engineer
Enovation Controls
Software Engineer
Enovation Controls