Marco Brombacher Posted May 17, 2017 Report Share Posted May 17, 2017 Hi, I want to store the int16 value of an analog input into a global tag int16. The value of the input is correct but the Store Integer function does not work. The value of the global tag remains 0. I tried to find info on the subject without success. Can anyone help me? This is the view in online mode... Quote Link to comment Share on other sites More sharing options...
Saragani Posted May 18, 2017 Report Share Posted May 18, 2017 Can you link an HMI numeric variable to the Control Stick pos? Can you tell me if the System Tag Execution -> Scan Count incrementing? Do you see any "CPU Error" message on the Panel? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 18, 2017 MVP 2022 Report Share Posted May 18, 2017 Also, do a search on the tag, "Control stick pos..." to make sure you're not assigning it a value anywhere else in the program. 1 Quote Link to comment Share on other sites More sharing options...
DanT Posted May 18, 2017 Report Share Posted May 18, 2017 Is this in the main routine? or in a subroutine? is the subroutine being called? 1 Quote Link to comment Share on other sites More sharing options...
Marco Brombacher Posted May 21, 2017 Author Report Share Posted May 21, 2017 Turned out I didn't call the function. Your input helped me solve the puzzle. Thank you!!! 1 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted May 21, 2017 MVP 2022 Report Share Posted May 21, 2017 Thanks for letting us know you got it solved. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.