AB Micrologic 1500 Adding Floating Points

Join Date
Aug 2003
Posts
71
Can anyone here refresh my mind on how to perform addition on 33 floating point variables? F8:1 to F8:32. the result should be in F8:0
 
Here's a simple way of doing it assuming you want to sum them every scan. If not, you can always add a timer so the logic only runs when you need it.

screen1.jpg Screen2.jpg
 
My suggestion would be to just make 31 rungs:
F8:0 = 0.0
F8:0 = F8:1 + F8:2
F8:0 = F8:0 + F8:3
...
F8:0 = F8:0 + F8:32

Put them all in a subroutine and they won't get in your way. I've tried the JMP/LBL thing before, yes it is compact but it can adversely affect your scan time.
 

Similar Topics

So I have to encoders with A,B and Z pulse 360 encoder wired up to A0+, B0+ and Z0+ and the - pulses wired to common 24vdc. I can see the inputs...
Replies
0
Views
1,035
Hi I have a micrologix 1500 controller that has a sticky relay output. The controller is comprised of a processor and base unit. I just wonder if...
Replies
5
Views
1,830
Hello, Im trying to set up this pannel with a 1500 ab micro, a flow pc, tuch screen and a radio. I have everything runing up to speed, but when i...
Replies
1
Views
2,318
need help on MicroLogic 1500 online monitoring, what is the best way to connect a PC to micro logic 1500 PLC. what kind of cable is needed?
Replies
2
Views
2,761
Help I Need Info To Program Plc To Control Dc Drives.i Have Compact 1769-of2 For Analog Output (0-10vdc).i Will Use Existing Mom. Push Buttons For...
Replies
1
Views
1,897
Back
Top Bottom