Logix5000 sbutract block

russrmartin

Member
Join Date
Aug 2002
Location
Eastman, Wisconsin
Posts
744
I have a subrtract block in a PLC5000 that is acting differently than I thought it would. I am subtracting a 1 in source A from a float F23:11 in source B. The first time the rung actuates, I subtract 1 from 150 and the result is -149. The next time the rung goes true, I subtract 1 from -149 and get 150. Did I miss something? The help file says that floats are ok to use, is there something I need to do to keep the negative flag from coming on?
 

Similar Topics

Hello everyone, Wondering if anybody can help me with this: I have a CompactLogix processor running a little robot cell. Every 200 cycles...
Replies
8
Views
160
Hi! So my problem is a little funky, I had Studio 5000 v 24 and 30 installed, but forgot to install RSLogix (which I cannot go without). Is there...
Replies
2
Views
177
So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
485
I'm a Siemens person, and this is one of my first AB programs. The customer wants everything programmed in Ladder. I have a lot of data (3...
Replies
14
Views
259
Good day everyone. if you have a logic for 3 pumps (lead/lag/off), would you please email it to me? I really appreciate it!
Replies
7
Views
238
Back
Top Bottom