Hey fellas,
I have a Micrologix 1500 ser.c on a bxb base.
I found this weird issue today to run by you guys. I have a momentary toggle switch wired to an input that is used to increment a (float) measurement field. I have a standard little one liner in RSLogix with a ons instruction to add .1 to my float each time the button is toggled. It works great but at certain numbers it flips out and shows ex. .8000001 then increment up it goes to .9000002 but then for some reason straightens up and goes to 1.0 , 1.1, 1.2, 1.3, then maybe 1.4000001 ect.
Really odd, anyone ever see this? I don't think I'm getting any bounce because it works flawlessly if I use 1 as my incremented value. The .1 flips this thing out.
Thanks
I have a Micrologix 1500 ser.c on a bxb base.
I found this weird issue today to run by you guys. I have a momentary toggle switch wired to an input that is used to increment a (float) measurement field. I have a standard little one liner in RSLogix with a ons instruction to add .1 to my float each time the button is toggled. It works great but at certain numbers it flips out and shows ex. .8000001 then increment up it goes to .9000002 but then for some reason straightens up and goes to 1.0 , 1.1, 1.2, 1.3, then maybe 1.4000001 ect.
Really odd, anyone ever see this? I don't think I'm getting any bounce because it works flawlessly if I use 1 as my incremented value. The .1 flips this thing out.
Thanks