Dave Posted October 17, 2022 Report Share Posted October 17, 2022 Hi. I want to use an M91 to dynamically linearize two analog inputs, perform some math on the results and then use those results to linearize one analog output. I have seen the sample ladder code, using SI 80 thru SI84, and the trigger bit SB80. I don't have an M91 handy to test this so my question is... If I set all the values into SI80-SI84, then set bit SB80, then store the SI85 value to an MI, immediately after setting the SB80 bit, will it actually store the linearized value, or does the program need to complete another scan after setting the SB80 bit, before performing the linearization? Quote Link to comment Share on other sites More sharing options...
MVP 2022 Joe Tauser Posted October 17, 2022 MVP 2022 Report Share Posted October 17, 2022 It stores the linearized value immediately upon setting SB 80. As you mention, move the linearized value out in the net after you set SB 80. You can load up SI 80 .. 84 in the next network and start the roller coaster again. Joe T. Quote Link to comment Share on other sites More sharing options...
Dave Posted October 18, 2022 Author Report Share Posted October 18, 2022 Perfect. Thanks Joe! 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.