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

Needing help with this, keep getting an error...
Replies
16
Views
4,934
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,600
Hey Everyone I was wanting to get some advise on the math below on this expression for a SCP instruction...
Replies
17
Views
5,218
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,228
I am currently converting a PLC5 over to a Compactlgx. I have the logic converted, am in the middle of making all my new tags and have made some...
Replies
9
Views
2,636
Back
Top Bottom