Jump to content

Keypad entry change --> action required

Recommended Posts

I have a button to increment and decrement and keypad entry. I set address of keypad entry address different  as numbering starts with 0 but in reality it is one. Increment and decrement work fine with button .But how do I reflect change in the keypad. I want to program if there is a keypad entry change reflect that change in other address.




Link to comment
Share on other sites

  • MVP 2023

I will try to simplify your task.

Imagine that  the table row number zero does not exist (you do not use it) .

Use only the required numbered lines...

Your main task is to limit the range of the index change from 1 to the desired maximum. You can easily do this for input from the virtual keyboard - there is  a definition of the allowed min and maximum for keyboard input. 

For buttons, just put a comparison block in the laddet net that will block decrements less than 1 and increments above the maximum.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...