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.

image.png.cd085e97c2e89d8e8cc9232d7c57606a.png

image.png.055a543c8d6ee4b7860119326b3bb2d1.png

 

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

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.