How to scale analog in/out for compactlogix?

nswu1

Member
Join Date
Oct 2005
Location
louisiana
Posts
278
I have a project that is using a compactlogix 1769-if4,1769-of4c1 cards. I am using rslogix 5k v15.02. I do not have the function block editor pack. Currently the analog input cards are set for 0-10vdc in raw/proportional, the raw data reads 0@0vdc, 32117@10vdc input, while the analog output reads 12ma@0vdc input, and 20ma@ 10vdc. To get a 4ma ouput I have to write in -32000 to ouput. I have read all the post from search. But I just can't seem to wrap my mind around this. Any help is appreciated.


input raw data output ma raw data
0vdc 12ma 0
10vdc 20ma 32117
 
From the Help File in Logix 5000 for the 1769 Series analog output modules, including 1769-OF4CI:


Output modules minimum and maximum values are detailed in the Min/Max Values table.

Min/Max Values
Output Range Field Raw Proportional Engineering Unit Scaled for PID Percent
0…20 mA -32,767…29,646 0…20,000 0…16,383 0…10,000
4…20 mA -29,822…29,085 4000…20,000 0…16,383 0…10,000
0…10V -29,788…29,788 0…10,000 0…16,383 0…10,000
-10…10V -31,207…31,207 -10,000…10,000 0…16,383 -10,000…10,000
0…5V -27,068…29,918 0…5000 0…16,383 0…10,000
1…5V -25,869…29,318 1000…5000 0…16,383 0…10,000


 
You are doing some strange things and I can't seem to see what you are trying to acheive.
The input being in int format is being copied to a real and then copied back to an output which is in int format.
This will never work and will give you some very strange values.
Set up some test rungs of code with dummy words and try it.

Regards Alan Case
 
This is a project handed to me after two different integrators firms, failed. I have only started to debug and change the code. I have started with the paddlewheel first. As for the scale, I believe the problem lies in the generic analog module, instead of them updating it to the 4ch isolated output card. Which will allow me to manually set low point of scale.
 
There is no scale (SCL) instruction in RSLogix 5000 as far as I know so you have to make one. There is an example in the Rockwell Knowledge Base that should help you out. I don't have the Knowledge Base article number handy but it wasn't that hard to find as I recall. Hope this helps...
 
The first problem is in the copy command of an int to a real.
The copy is a byte to byte image command, NOT a copy of the value.
Why do you need the value in a real?

Regards Alan
 

Similar Topics

Hi, I'm using a Micrologix1500 and it doesnt have the SCP (Scale with parameters) block. I have a 1769-IF8 analog module and need read the inputs...
Replies
10
Views
3,748
Hi I'm trying to change the scale in a analog Input module in the module while online. I got a warning saying something like Module changes could...
Replies
4
Views
2,055
I have an automated batching system that im using an analog scale to trigger automated valves to open and close. I have the programming done and...
Replies
6
Views
2,347
Please help me... Is there any possible way to use AB IR4-1762 module for analog input scaling....?
Replies
1
Views
1,175
can anyone please tell me how to use analog i/o devices.....how to scale?...i know how to do it in allen bradley...but cannot do in siemens 300...
Replies
0
Views
1,416
Back
Top Bottom