flow totalizer using ml1100

kxs436

Member
Join Date
Jan 2011
Location
Boston
Posts
43
Hello Gentlemen- I am tyring to store the float variable to two integer varaible. I used the CPW function but the two inttegers are not the the same value as the flaot variable.
Example- If I am trying to store FLoat with the value 11.37 into two integer vraible N:0 and N:1 with N:0 storing 11 and N:1 storing 37. This is not happening. I am attaching the code. Please please pour your thoughts. I am installing this system next week.
 
Example..

F8:0 = 11.37

Subtract: F8:0-.5=N7:0 (result=11)

Subtract: F8:0-N7:0=F8:1 (result=.37)

Multiply: F8:1*100=N7:1 (result=37)
 

Similar Topics

Dear Experts,:) I have E&H flow meter (promag L400 ,5L4C4F, DN450) which has pulse o/p with these specs: Pulse width Adjustable:0.05 to 2000 ms...
Replies
4
Views
2,140
Anyone reset a totalizer in flow meters using hart? I am using a if8h card?
Replies
1
Views
2,865
Hi; We installed an orifice plate type steam flow transmitter which configured to give 4-20mA signal correspond to 0-9ton. I given that signal...
Replies
24
Views
5,640
Hello. I wanted to write the logic of the flow totalizer and the flow itself for self-education in RSLogix5000 V20.01 software. After reading the...
Replies
13
Views
7,691
Hello I was needing some guidance on communicating and setting up a totalizer from a flow meter in the PLC. The PLC is a AB 1769 Compact Logic...
Replies
1
Views
1,799
Back
Top Bottom