Hi,
I'm converting a modicon program to allen bradley. I'm hoping someone that knows modicon can help me to understand what is happening on this rung.
It seems to convert an Interger to FP then multiply two FP values and convert back to an Interger. I have the register values and am trying to reverse engineer the calculation. Problem is I get a bit lost when it goes to the FP value. I am trying to interpret how the FP value represents the integer? How does the result come about and how can I replicate this in AB.
See attached picture. I have included the values in a excel screenshot with the code. Thanks.
I'm converting a modicon program to allen bradley. I'm hoping someone that knows modicon can help me to understand what is happening on this rung.
It seems to convert an Interger to FP then multiply two FP values and convert back to an Interger. I have the register values and am trying to reverse engineer the calculation. Problem is I get a bit lost when it goes to the FP value. I am trying to interpret how the FP value represents the integer? How does the result come about and how can I replicate this in AB.
See attached picture. I have included the values in a excel screenshot with the code. Thanks.