HVS780 Digital and analog inputs

Discuss issues and ideas you have to configuring displays with PowerVision
Griffon
Posts: 5
Joined: Fri Sep 13, 2013 9:58 am

HVS780 Digital and analog inputs

Post by Griffon » Fri Jan 29, 2016 5:14 am

Hi, does anyone have an example configuration which uses analog or digital inputs on the 780 screen?
I am trying to trigger an output from one screen based on an engine coolant temperature set point and connect into another screen as an input to drive a binary output to trigger an alarm on that network.
I have used all the network connections and cannot combine them in this way.

Many thanks,


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

Re: HVS780 Digital and analog inputs

Post by stalley » Fri Jan 29, 2016 3:59 pm

Hello Griffon,

I'm not sure if I understand the problem. I have probably oversimplified what you described, but maybe this will give you a place to start and some ideas about how to accomplish what you need.

There are two screens. The main screen shows an analog input (0-5). When the input gets to a certain point (100), the digital output is turned on and the second screen is shown. When the input drops below 100, the main screen is shown again.

There is a ~Demo group with everything except the analog input variable which is in the Input Output Port Manager group.
Attachments
TwoScreens.zip
(690.28 KiB) Downloaded 18 times
Sara Talley
Software Engineer
Enovation Controls
Griffon
Posts: 5
Joined: Fri Sep 13, 2013 9:58 am

Re: HVS780 Digital and analog inputs

Post by Griffon » Mon Feb 01, 2016 4:00 am

Hi, Thanks for the response, please let me clarify.
I was talking about one 780 display outputting via its digital output into another 780 display via its digital (or analog) input.
The reason we cannot communicate via other means is because the can ports are already occupied.
I just want to be able to switch an output based on a setpoint of a variable on J1939 of display one.
On display two I want to switch a binary output based on the digital input state.

I don't like state machines very much and would rather achieve this using code.

Many thanks,

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

Re: HVS780 Digital and analog inputs

Post by stalley » Mon Feb 01, 2016 8:57 am

Hello Griffon,

Ok, so the config I'm sending this morning responds to a digital input. I used a script, just for you ;-)

Since the initial config sets a digital output already, you shouldn't need to do anything to it.

If you look at the initial config, I did not use a state machine. I used an activity program. It is different from the PowerVision state machine. Since you are a coder, you have seen or even used flow charts. Activity programs are very similar to flow charts. Much simpler than using state machines, just as efficient, processing wise, as scripts.
Attachments
TwoScreens 2.zip
(688.85 KiB) Downloaded 24 times
Sara Talley
Software Engineer
Enovation Controls