SLC Analog I\O

bfranklin

Member
Join Date
Sep 2012
Location
Alberta
Posts
125
In a SLC 500 PLC I have noticed some some the raw 4-20ma analog inputs are configured to be 0% an 4000 and 100% at 20000.
How do you go about doing this?
Also can you do the same thing for 4-20ma analog outputs?

Thanks
 
Perhaps you could tell us which Analog I/O Module you are talking about.

Stu....
 
Last edited:
Either in the I/O configuration dialog, or by manually assigning appropriate values to the I/O associated with the module's configuration data table within the user program. Some SLC analog I/O modules cannot be configured -- they have a fixed configuration depending upon model number.
 
Refer to the Table attached below to know about the data values corresponding to the data format that you have chosen.

If Scale(SCL) instruction is available in SLC 500 then use that, otherwise just construct a " y = mx + c " equation using math and scale those data values to whatever range you need.

Data Types.jpg
 
Last edited:
If Scale (SCL) instruction is available in SLC 500 then use that,
Yes, SCL it is available in the RSLogix500 software, but SCP (Scale with Parameters) would probably be a better choice. With SCL, you have to manually calculate and enter the Rate and Offset, but SCP does that internally.

SCP [Scale with Parameters]

Description
This output instruction consists of six parameters. Parameters may be integer, floating point, or immediate data values or addresses containing values. The Input value is scaled to a range determined by creating a linear relationship between input min and max values and scaled min and max values. The scaled result is returned to the address indicated by the output parameter.

You can use indexed addressing (with SLC only) or indirect addressing.
Data filetypes MG (message) and PID are available to indirectly address parameters when using the MicroLogix 1200 or 1500 controller.

Entering Parameters
Input - Enter a value to be scaled. This can be a word address or an address of floating point data elements.
Input Min - Enter a minimum value for the input (low end of range). This value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.
Input Max - Enter a maximum value for the input (high end of range). This value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.
Scaled Min - Enter a minimum scaling value representing the low end of the range to which you want to scale the input. The scaling relationship is linear. The value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.
Scaled Max - Enter a maximum scaling value representing the high end of the range to which you want to scale the input. The scaling relationship is linear. The value can be a word address, a long (double-word) address, an integer constant, floating point data element, or a floating point constant.
Output - Enter an address for the scaled value that is returned after the instruction is executed. This value can be a word address, a long (double-word) address or an address of floating point data elements. If any floating-point file types or floating-point constants are encountered in the above parameters, then the entire instruction is treated as floating point, and all immediate integer data values are converted to immediate floating-point data values.

Note The input minimum, input maximum, scaled minimum, and scaled maximum are used to determine the slope and offset values. The input value can go outside of the specified input limits and no ordering is required. For example, the scaled output value will not necessarily be clamped between the scaled minimum and scaled maximum values.
Rockwell Software
 
Last edited:
Yes, SCL it is available in the RSLogix500 software.

I know that it is present in RSLogix 500 software but what I meant to ask was whether it was available for the SLC that he was using because I think in the really old ones(I think SLC 5/01) it's not available.Also, I said SCL intstead of SCP because I think it is available in later models(ie. from SLC 5/03) than even for which the SCL is first available.
 
I know that it is present in RSLogix 500 software but what I meant to ask was whether it was available for the SLC that he was using because I think in the really old ones(I think SLC 5/01) it's not available.Also, I said SCL intstead of SCP because I think it is available in later models(ie. from SLC 5/03) than even for which the SCL is first available.


You are correct. Older models of the SLC do not support the SCP function.
 
Analog Input- 1746-NI8

Analog Output- 1746-N08I


You'll notice that after you configure one of these modules as in Anirban's example, rungs will be added to your PLC program. The I/O Configuration dialog establishes the correct numerical values for the data tables that will be written to your module upon the PLC entering run mode. For your NI8 input module's input addresses, there are corresponding output addresses to which the configuration data tables will be written.
 

Similar Topics

I have a SLC5/05 with a 1746-NI16V. I am trying to configure it for single ended inputs. Please notice in the screenshot the upper SCP is...
Replies
21
Views
5,489
Hey guys, Well, the troubleshooting continues for the client who got hit by lightning. New CPU has been installed, and is working! That's the...
Replies
12
Views
3,334
I just had to replace a SLC 1746-NIO4I analog card that was doing something I have never seen before. Only 1 channel was used, and I tried the...
Replies
12
Views
3,523
I have a program that has a scp of 0v to Image dc and in the input minimum it has 1638 and the input max is 14736. The scaled min is 0 and the...
Replies
2
Views
2,156
I'm working with an AB slick 500. It's running a RO system for the boiler room. I'm trying to interface with a transar system so they can monitor...
Replies
5
Views
2,737
Back
Top Bottom