need help removing whole number from floating point.

2004sk4

Member
Join Date
May 2005
Location
Georgia
Posts
172
What is the best way to remove the whole number from a floating point so i can do a math function on just the decimal with a allen bradley 5/05 processor

Here is what i am trying to fix.

I have a time into shift clock which is used to display the avg products per hr. The clock stops during the 2 20min breaks. At the end of a 8 hour shift the clock reads 7.33 hrs which accounts for the 40 mins break. I would like the .33 to be displays as actual mins instead of hundredth of a minute.

.33---- x
---- * ---
100---- 60

60*.33= 19.8 / 100 = .198 minute( which would be 20)

7+.20 =:20

I am sure i am looking over a easy way of doing this but i'm drawing a blank.
 
Last edited:
See picture:
Minute.jpg
 

Similar Topics

I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
97
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
67
I'm fairly new to Rockwell software, I've had some basic training in the past but nothing too advanced. My company and I use Reliable products for...
Replies
11
Views
374
Hi all, I am having issues accessing my Cimplicity software - the site code changed after re-install and I am no longer able to attain a new key...
Replies
10
Views
194
Good day all! Can someone help me with the procedure to update Beijers E700 firmware? The Panel I am working on is firmware 2.04v and I would...
Replies
1
Views
94
Back
Top Bottom