Skip to content

PLCnext Engineer HMI Text Input LImit

I would like to offer a Text Input Dynamic for a screen that checks the operator input for limits. For example, if the operator must enter a percentage, they should be limited to 0-100%. If they enter a value outside that range, it is rejected.


I remember this on WebVisit, but cannot find it in PLCnext Engineer HMI.

Comments

  • edited June 2022

    Hello!

    You have to verify accuracy of input on the plc-side.

    As variant, use LIMIT() function

    For instance

    //Some FB intended to process HMI advanced functionality on the plc-side...

    HMI_val := LIMIT(0, HMI_val, 100);

  • Hi,


    I've added two 'Action on Data' Dynamics on a Text Input.

    With this the HMI can handle it without the need of the PLC.


Sign In or Register to comment.