Contact Us | (123) 456-7891

Forum

HomeHomePLC ProgrammingPLC ProgrammingAllen BradleyAllen BradleyScaling in SLC 500...Scaling in SLC 500...
Previous
 
Next
New Post
2/23/2011 10:36 AM
 

I am relatively new to Allen Bradley programing. I would like to know how an analog input signal ( 4-20 mA) can be change to and output signal (20 - 4 mA).

Is it possible to do it in RSLogix 500 ? if yes, could someone please help.

Thank you...

 
New Post
2/23/2011 12:52 PM
 

Some of this depends on which SLC you are using and what version of the firmware you have.  In other words some of the new SLC's have more functionality than the older ones.  In addition a SLC 5/05 has a lot more functionality than the SLC 5/01.  With the latest processors and firmware, you can simply use the SCP or scale with parameters instruction.  We have videos on that instruction so you might want to check those out.  With the SCP instruction, you can simply scale the input to something usable in the PLC and then scale it as necessary on the output also.  I believe you should always scale your inputs to something that makes sense in the PLC.  So if the 4-20ma corresponds to 10 - 150 C then it should be scaled that way and the scaled values used in the PLC logic.  None of us think in mA or bits or other PLC representations of numbers so we should always convert inputs to numbers that make sense.  I know thats not the primary focus of your question, but I had to get that in.  Lets talk a little about the SCP.  It has six parameters.  Input register; Input min and input max; scaled min and scaled max; and the output register.  The input min and max should correspond to how the input card is setup.  It may be 4000-20000, 0-16383 or something else depending on the card and how it is configured.  The output is whatever value the 4 and 20 mA represent (10 and 150 in my example above).  On the output side you would simply reverse that process.  Put your scaled min and max into the input side of another SCP and the output min and max would correspond to the numbers your output card expects to see for 4 and 20 mA.  If you want to flip the input signal you would need to have 150 as your min and 10 as your max in our example.  If you are not using the input values in your program and are simply echoing them reversed you could just use one SCP.  Your input min/max would be as required by the input to correspond to 4 and 20 mA.  On your output you would reverse the output min/max.  So the value you expect for your output 20 ma would go into the SCP scaled minimum value and the value you would expect for your 4 mA would go into your SCP scaled maximum value.  The output register would be inserted into the destination register. If you dont have the SCP function, you would have to do all the scaling manualy or use the dreaded SCL block. 

 
New Post
10/17/2011 3:03 AM
 

aside from slc 500.. what are the other types of slcs? can you give me some samples? thanks.
_____________________________
Flotech Controls Pte Ltd - scada or supervisory control and data acquisition is a communication system solutions which provides management system integration. This is also using HMI configuration and controller hardware to support client needs and requirements.

 
New Post
10/17/2011 1:13 PM
 

I am not sure I fully understand your question as the SLC 500 is the only SLC that I can think of.  There are several models of SLC 500 that are available as follows:

SLC 5/01, SLC 5/03, SLC 5/04, SLC 5/05  each has different capabilities from memory and processing to the communication capabilities.

I'm not sure what kind of sample you are thinking about.  We surely dont have sample SLC's.

 
Previous
 
Next
HomeHomePLC ProgrammingPLC ProgrammingAllen BradleyAllen BradleyScaling in SLC 500...Scaling in SLC 500...