Programming Question - Current Transducer

Join Date
Aug 2021
Location
AL
Posts
1
I have a Pump 1 Current in my Local:5:I.Ch00Data address. I need to add this to my ladder logic program as the goal is to have it eventually be a display on the HMI for the operators. I tried to add the Pump_1_Current tag as a XIC and then add a NOP at the end of the rung, but it says "argument must match parameter data type"... What am I missing here?



This is an analog input signal, 4-20 MA, in a 1756-IF16IH card.
 
I have a Pump 1 Current in my Local:5:I.Ch00Data address. I need to add this to my ladder logic program as the goal is to have it eventually be a display on the HMI for the operators. I tried to add the Pump_1_Current tag as a XIC and then add a NOP at the end of the rung, but it says "argument must match parameter data type"... What am I missing here?



This is an analog input signal, 4-20 MA, in a 1756-IF16IH card.

XIC instructions require a BOOL tag. There is no need to have the tag in your ladder logic in order for the HMI to display it. If you need to use it for logic or control or to manipulate it mathematically, then you would need to use it in the logic somewhere.

If you just want a dummy rung so you can have a handy way to see it, use an EQU instruction where the sources can be numeric data types.

Try:
EQU Local:5:I.Ch00Data 0 NOP
And see if that will validate.
 

Similar Topics

I'm been deciphering a program for a press here. I've gotten most of it deciphered using the manual to understand the instructions (first mitsu...
Replies
1
Views
8
Hello. Was just curious, if it is possible to load an image from an SD card on to a Compactlogix PLC that came straight out of the box brand new...
Replies
4
Views
529
Hi All, Looking for advice on programming MicroLogix 1400 with RSLogix500. Basically, I have a client who requested I make a "simple" program...
Replies
19
Views
3,162
How do you code it to when you push a button attached to X001, it turns on Y001. Then, the next time you push the button attached to X001 it...
Replies
4
Views
1,601
I am just finishing up my project, which was my first experience with PLCs. I thank everyone that has helped me work through the RIO and analog...
Replies
11
Views
2,956
Back
Top Bottom