RGrow Posted May 31, 2017 Report Share Posted May 31, 2017 I need to be able to open the Keypad with a Button ( not touching the Numeric Variable) and store the keypad value in an MI where I can use it later in the program. I need this because , depending on a switch setting, I need a Numeric Variable to: If Switch = "0" (System Automatic Mode ) then show value from an Analog Input. If Switch = "1" (System Manual Mode) show the MI storing the keypad entered value. I can do the switching, I just need to know how to open the Keypad with a button. Thanks - Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted May 31, 2017 MVP 2023 Report Share Posted May 31, 2017 Which PLC and VisiLogic version? Link to comment Share on other sites More sharing options...
RGrow Posted May 31, 2017 Author Report Share Posted May 31, 2017 Sorry - PLC - V430 - J-RA22 Visilogic - Ver 9.8.31 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted May 31, 2017 MVP 2023 Report Share Posted May 31, 2017 I don't believe you can open the keypad without referencing a numeric variable because the input from the keypad must have a place to go. However, you can accomplish what you wish easily enough. Just copy the analog value into the numeric variable when switch = 0 and disable it. When the switch = 1, then re-enable the variable to allow keypad input. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now