Jump to content

Recommended Posts

Posted

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?

 

  • MVP 2023
Posted

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.

 

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.