You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old October 7th, 2005, 02:26 PM   #1
WildBill49
Member
United States

WildBill49 is offline
 
Join Date: Oct 2005
Location: York, ME
Posts: 5
Question PLC5 4-20ma input Scaling

I have a 4-20ma input to a 1794-IE8 Flex I/O module. The Flex I/O is talking to a PLC5/40. What is the correct value to use when scaling the raw value. This circuit is measuring water flow in gal/min, and has a max value of 1000 gal/min.
  Reply With Quote
Old October 7th, 2005, 07:52 PM   #2
Binaural
Member
Australia

Binaural is offline
 
Join Date: Jul 2005
Location: Sydney
Posts: 366
I recently had to make some modifications to an existing PLC5 system to include some analogue values and unless I am very much mistaken, there is no scale instruction. You will probably have to use a compute instruction with good ol' y=mx+b to calculate the scaled value, with a bit of clipping added in just in case.

As an example, assume the 4-20mA input is configured to give 0-4000 counts, and let's assume the input is a pressure transmitter that outputs 12mA at normal atmospheric pressure, 4mA at -1bar and 20mA at +1bar (0 counts, 2000 counts and 4000 counts). This gives you at least two known points on a line that you can use to calculate the presssure given a number of analogue counts.

So, we have the following, assuming pressure is on the y axis:
m = y2 - y1 / x2 - x1 = 2 - 0 / 4000 - 0 = .0005
b = 0 (b is y axis crossing point, but 0 bar = 0 counts)
x = measured input (let's say 3000 counts for first calc)

so y = .0005 * 3000 + 0 = 1.5 bar, which is what you'd expect. Substituting 2000 = 1 bar, 0 = 0 bar.

Hope that helps.... does anybody know a better way to do this? I had no time to reasearch anything better...
  Reply With Quote
Old October 8th, 2005, 07:49 AM   #3
Contr_Conn
Member
United States

Contr_Conn is offline
 
Contr_Conn's Avatar
 
Join Date: Sep 2003
Location: Ohio
Posts: 1,659
Like other 1794 analog modules, IE8 uses only most significant bits.

Look at this manual http://literature.rockwellautomation...m002_-en-p.pdf

Page C-2 gives you unscaled values for all modes and page C-3 gives you example of scaling

For 4-20mA:
4 ma= 0000
20mA= 7878 HEX
21mA= 7FFF HEX


Last edited by Contr_Conn; October 8th, 2005 at 07:52 AM.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Modicon Analog input scaling.. jimdi4 LIVE PLC Questions And Answers 3 August 23rd, 2004 10:32 AM
analog input work on ab plc5 yam785 LIVE PLC Questions And Answers 1 July 9th, 2004 05:34 PM
PID output scaling PLC5 russrmartin LIVE PLC Questions And Answers 2 January 30th, 2004 04:45 PM
analog input scaling? Fred Chwalek LIVE PLC Questions And Answers 2 December 4th, 2003 05:16 AM
A/B Analog Input Scaling WhatThe LIVE PLC Questions And Answers 18 November 28th, 2003 06:24 PM


All times are GMT -5. The time now is 03:48 AM.


.