Jump to content

Novice needing some help please.....


Recommended Posts

 

Hi _ Wonder if anyone is able to help me please. I am learning (self) and have a basic system at home.
I was hoping to be able to have the input value (B) of each of these lesser than functions  on the hmi screen so they can be altered without the software - is that possible ? 

Thanks

 

 

image.png.e471faf7948230b130355dcd50eb8189.png

Link to comment
Share on other sites

hi justsmurfted,

yes it is possible...as for the "A" input you can couple a variable/tag that will be also coupled with an HMI element, like numeric box, so you will able to modify it when you want...pay attention at the "retained" or "not retained" type and at its attribute "starting" or "power up" value.

Link to comment
Share on other sites

  • MVP 2023

Looks like you're creating a thermostat for your pool temperature. The way I would do it is to create a tag for the temperature setpoint (this will be the value displayed on the HMI that can be modified), then create two more tags that you add and subtract half the variance you allow around the setpoint. Place these tags in your two compare blocks for the 'B' value.

If you want to have a fractional degree variation, you will need to multiply everything by 10 so that you can have an implied decimal to work with.

Link to comment
Share on other sites

2 hours ago, Flex727 said:

Looks like you're creating a thermostat for your pool temperature. The way I would do it is to create a tag for the temperature setpoint (this will be the value displayed on the HMI that can be modified), then create two more tags that you add and subtract half the variance you allow around the setpoint. Place these tags in your two compare blocks for the 'B' value.

If you want to have a fractional degree variation, you will need to multiply everything by 10 so that you can have an implied decimal to work with.

Thanks Flex727 - yep absolutely correct. Ideally like to keep the pool around 29 ish but would be good to be able to up that as needed.
I think I interpret you correctly  - >  Sorry - just so I get it spot on -  on this basis below. Heatvalve comes on at between 27deg and 31deg ?
The numeric box on the hmi works perfectly - thankyou! Basic I know but am getting there slowly. 😊

image.png.e77c34ffe4ebc89b305b2c57f126e0fe.png

 

image.png.3e9675bbbb29f2a17d43295a4332fd93.png

 

 

Link to comment
Share on other sites

5 hours ago, ORSO2001 said:

hi justsmurfted,

yes it is possible...as for the "A" input you can couple a variable/tag that will be also coupled with an HMI element, like numeric box, so you will able to modify it when you want...pay attention at the "retained" or "not retained" type and at its attribute "starting" or "power up" value.

Thanks ORSO2001 - i think coupling a tag at the moment is beyond me. Appreciate your reply.

 

Link to comment
Share on other sites

  • MVP 2023
1 hour ago, justsmurfted said:

Sorry - just so I get it spot on -  on this basis below. Heatvalve comes on at between 27deg and 31deg ?

No, you're trying to do math with a compare function block. That won't work. You need to create two new tags using the addition and subtraction function blocks, then use those tags in the compares.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.