CPT instruction

mavrick

Member
Join Date
Jun 2015
Location
usa
Posts
122
I have ran into something I have not seen before and wondering if any one had any ideas.
The logic I'm currently troubleshooting is using a compute instruction for a flow meter register. In the expression they are use using the formula
a/60+ mag meter register. The answer is then placed in the destination. I'm trying to find what is (a)? I'm using a 1756-IF8 analog input card which is already scaled internally through 4-20ma signal and then the low and high engineering 0-400 gpm. Any help would be appreciated. Thx
 
Guessing:
a is a tag for the flow input (have you tried cross references?), that is used in a totalizer that is updated every one sec. (is this in a cyclic routine?)
Dividing the meter input by 60 gives flow per second, which is added to the total.
 
Never mind I found the issue. Thank you for the help. When I was looking at the expression I wasn't seeing the whole formula for some reason. You are correct . What it is doing is looking at the IO address/60 + mag meter registration to give you final GPM. One question I would like to know when scaling different instruments where is the best information for scaling formulas?
 

Similar Topics

Hi all. Never really noticed, but I started double checking operands in the CPT instruction. I found if I have the expression N7[37,1] - N7[35,1]...
Replies
3
Views
114
Needing help with this, keep getting an error...
Replies
16
Views
4,963
What is the symbol for divide used in a CPT Instruction Expressions - The expression is zero or more lines, with up to 28 characters per line, up...
Replies
11
Views
3,634
Hey Everyone I was wanting to get some advise on the math below on this expression for a SCP instruction...
Replies
17
Views
5,267
I am trying to add 15 items together using a cpt instruction in logix5000. All of the items are in the same array is there a way i can type in the...
Replies
4
Views
2,241
Back
Top Bottom