PLC5 DIV rounding vs ControlLogix DIV truncating

Multiply it by 100 into an integer destination, then divide that result by 100 into a floating point destination.

But you are not "eliminating" the floating point ...

Thank you so much . Works perfectly.

Attach a image with both ways , but your solution is so easy and well done. Thanks

WhatsApp Image 2022-05-31 at 6.06.11 PM.jpeg
 

Similar Topics

I am using the following formula and I am getting error, Invalid Expression - too many closing parenthesis. when i copy the formula to notepad or...
Replies
4
Views
154
Preface: Kinda long, so I made section titles Intro: I just want to see if anyone here has seen anything similar. A PLC5-40 series C enhanced...
Replies
3
Views
371
Hi, can anyone help me get a pdf file for this RSP files. They are from a PLC5. Thanks
Replies
5
Views
520
Hello all, I am seeing this behaviour where an integer file (N46:33), has an integer in binary (11110) which is 30 in decimal. I did a...
Replies
7
Views
519
Back
Top Bottom