Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - The Forever Intern

Pages: [1]
1
Support Questions / How to show text based off boolean value
« on: September 27, 2023, 09:05:36 AM »
I am new to advanced hmi, I am using a click PLC and have it working with a c-more hmi, I am now looking to move over to using ahmi for ease of use and convenience, just trying to transfer over the same application but on a different program. I am trying to show if I valve is on or off, I already have 2 bits in my PLC that are called air valve open and air valve close, whichever one is on shows what position the valve is in. I want to show if the valve is on or off in the ahmi.
Is all I need to do is place a basic label, type in ON (or open) and color it green, then scroll down to address visible, enter the Modbus address of  air_valve_open. Is this all I need to do to get it working?

2
I am using the messagedisplaybyvalue as the main indicator on my overview screen, there are sequence of steps and also error codes that I have coded in to switch to, the problem is when I center the text inside of a nice box and it looks all centered, when I start the program each different state is either longer or shorter, its anchored on the left side but it just keeps typing to the end of the screen and goes over my pushbutton. How can I make it so the text is wrapped and will always stay inside the box I made for it?


EDIT: I found it, all I had to do was set autosize to false

Pages: [1]