MicroLogix 1200 4-20mA Scaling

CSnerd

Member
Join Date
Nov 2008
Location
Indiana
Posts
24
Hey all,
We have inherited a MicroLogix 1200-L4BWA with an old processor that does not support the SCP or the CPT blocks.

Does anyone out there have an example of how to implement the scaling of a 4-20mA signal to engineering units without the aid of these blocks?

Thanks,
 
This is what the SCP instruction does

Out = (In-InRawMin)*((InEUMax-InEUMin)/(InRawMax-InRawmin))+InEUMin
 
Last edited:
just use math blocks.

I did it this way when I wanted a specific FB with scaling and alarm limits built in.

If I can do it, and in ladder, it can't be that difficult.

Remember to include the offset and to limit the upper and lower limit.
 
Thanks for all of the reply's,
After some digging i was going to go with what nettogrisen had suggested which is:
Implement this with math blocks:
Out = (In-InRawMin)*((InEUMax-InEUMin)/(InRawMax-InRawmin))+InEUMin

However, I found this and wondered if anyone had tried something similar:
First you can do DIV 32766 / Input = F:8.0
Next DIV 600 / F8.0 = F8.1
F8.1 = 0-600 psi
First divide the raw value by 4095, this will give you the percent of full scale, the since your
Engineering units are 0-600, multiply the percent by 600, the result will be the scaled result

Unfortunately the processor revision does not support the SCP or CPT so we have to go old school on this one, thanks all.
 

Similar Topics

Hi everyone, I'm working on a project where I need to exchange data between a Siemens S7-1200 PLC and an Allen-Bradley MicroLogix 1400 PLC. The...
Replies
8
Views
605
I have a MicroLogix 1200 that has an 8 input and a 16 output. Every 6 months-year I get a fault and when online go to error it is something like...
Replies
3
Views
493
Have a bad output on a Micrologix 1200. Moved wire over to an available output, changed program to associate with new output. downloaded program...
Replies
8
Views
749
I need help achieving the following task: ML1200 sending 4 to 20 mA thru analog output ch0 to a DC speed controller analog input(4 to 20 mA) my...
Replies
3
Views
668
Hi there I am new with this thing and i don't know how to connect Allen Bradley Micrologix 1200 PLC to Raspberry Pi using USB to RS485 in NodeRED...
Replies
3
Views
2,266
Back
Top Bottom