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 March 7th, 2018, 12:32 PM   #1
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Analog input conversion

Does any1 kno how to convert raw/proportional to lbs?
  Reply With Quote
Old March 7th, 2018, 12:35 PM   #2
danw
Member
United States

danw is offline
 
danw's Avatar
 
Join Date: Oct 2004
Location: midwest, USA
Posts: 2,802
raw/proportional what? Which units?
  Reply With Quote
Old March 7th, 2018, 12:36 PM   #3
Bullzi
Lifetime Supporting Member
United States

Bullzi is offline
 
Join Date: Jun 2012
Location: Colorado
Posts: 1,285
Need a lot more info.
What PLC are you using?
What Analog card are you using?
What type of signal? 4-20, 1-5v, 0-10v?
__________________
There is never enough money to do it right but there is always enough money to do it again.
  Reply With Quote
Old March 7th, 2018, 12:43 PM   #4
Steve Bailey
Lifetime Supporting Member + Moderator
United States

Steve Bailey is online now
 
Steve Bailey's Avatar
 
Join Date: Apr 2002
Location: The boondocks of Western Massachusetts USA
Posts: 6,540
You need to provide at least two more pieces of information. First the minimum and maximum raw or proportional values. Second, the minimum and maximum values of pounds corresponding to those two raw values. Ok, I guess that's four pieces of information.
That will allow someone to give you an example of how to perform the scaling operation. With information requested by Bullzi, someone can come up with how to do it with the equipment you're using.
  Reply With Quote
Old March 7th, 2018, 12:44 PM   #5
Mickey
Lifetime Supporting Member
United States

Mickey is offline
 
Mickey's Avatar
 
Join Date: May 2003
Location: Palmdale,Ca
Posts: 10,119
See txt.. while you are answering the other questions.

There are probably instruction(s) in your PLC to do this or scaling it in the analog card configuration(depending on the PLC,software and card you have).

Edit: the OP's other post. ( not much help there though, at least not for me)

http://www.plctalk.net/qanda/showpos...46&postcount=1
Attached Files
File Type: txt ScalingFormula.txt (205 Bytes, 22 views)
__________________
Mickey

If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else.
----- Chinese Proverb

Last edited by Mickey; March 7th, 2018 at 12:46 PM.
  Reply With Quote
Old March 7th, 2018, 12:55 PM   #6
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Analog input card 1769 AB
0-10V
max => 31206 raw/p data
min => -31206 raw/p data
  Reply With Quote
Old March 7th, 2018, 12:56 PM   #7
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Quote:
Originally Posted by Bullzi View Post
Need a lot more info.
What PLC are you using?
What Analog card are you using?
What type of signal? 4-20, 1-5v, 0-10v?


Analog input card 1769 AB
0-10V
max => 31206 raw/p data
min => -31206 raw/p data
  Reply With Quote
Old March 7th, 2018, 12:57 PM   #8
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Quote:
Originally Posted by Steve Bailey View Post
You need to provide at least two more pieces of information. First the minimum and maximum raw or proportional values. Second, the minimum and maximum values of pounds corresponding to those two raw values. Ok, I guess that's four pieces of information.
That will allow someone to give you an example of how to perform the scaling operation. With information requested by Bullzi, someone can come up with how to do it with the equipment you're using.

Analog input card 1769 AB
0-10V
min pounds 5lb
max pounds 100 lb
max => 31206 raw/p data
min => -31206 raw/p data
  Reply With Quote
Old March 7th, 2018, 01:02 PM   #9
Mickey
Lifetime Supporting Member
United States

Mickey is offline
 
Mickey's Avatar
 
Join Date: May 2003
Location: Palmdale,Ca
Posts: 10,119
1769-??? (which one? it does matter)

And PLC?
__________________
Mickey

If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else.
----- Chinese Proverb
  Reply With Quote
Old March 7th, 2018, 02:03 PM   #10
Bullzi
Lifetime Supporting Member
United States

Bullzi is offline
 
Join Date: Jun 2012
Location: Colorado
Posts: 1,285
From the manual that I looked at for the 1769 Analog I/O your range is:
0V = 0 Counts
10V = 31206 Counts

So if you are using a CompactLogix PLC you can download the SCLP AOI from the Rockwell website and use that. If you are using a ML1500 you will have the SCLP instruction available to you.

These instructions will scale your 0-31206 to 5-100lbs you are asking for.
__________________
There is never enough money to do it right but there is always enough money to do it again.
  Reply With Quote
Old March 7th, 2018, 02:18 PM   #11
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Quote:
Originally Posted by Mickey View Post
1769-??? (which one? it does matter)

And PLC?

Mickey:
model# 1769 Allen Bradley (Analog Input card) IF4
0-10 volts
  Reply With Quote
Old March 7th, 2018, 02:21 PM   #12
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Quote:
Originally Posted by Bullzi View Post
From the manual that I looked at for the 1769 Analog I/O your range is:
0V = 0 Counts
10V = 31206 Counts

So if you are using a CompactLogix PLC you can download the SCLP AOI from the Rockwell website and use that. If you are using a ML1500 you will have the SCLP instruction available to you.

These instructions will scale your 0-31206 to 5-100lbs you are asking for.
---------------------------------------------

That is a good information i appreciate the effort.
this in case of min and max (lbs)
what if i want to convert volt to pound
so when i press on the scale it measure in volts over my analog input card.
will SCLP instruction help as well?
  Reply With Quote
Old March 7th, 2018, 02:51 PM   #13
lfe
Member
France

lfe is offline
 
Join Date: Jun 2007
Location: Barcelona
Posts: 241
If 0V = 0 raw = 5lb

&

10V = 31206 raw = 100lb

then

lbs = (raw * 95 / 31206) + 5
__________________
Suppanel HMI
Beta Testers

Last edited by lfe; March 7th, 2018 at 03:27 PM.
  Reply With Quote
Old March 7th, 2018, 02:58 PM   #14
Mickey
Lifetime Supporting Member
United States

Mickey is offline
 
Mickey's Avatar
 
Join Date: May 2003
Location: Palmdale,Ca
Posts: 10,119
Quote:
Originally Posted by EricBig View Post
Mickey:
model# 1769 Allen Bradley (Analog Input card) IF4
0-10 volts
WHAT PLC are you using CompactLogix or ML1500?
__________________
Mickey

If you want happiness for an hour-take a nap. If you want happiness for a day-go fishing. If you want happiness for a month-getmarried. If you want happiness for a year-inherit a fortune. If you want happiness for a lifetime-help someone else.
----- Chinese Proverb
  Reply With Quote
Old March 7th, 2018, 03:04 PM   #15
EricBig
Member
United States

EricBig is offline
 
Join Date: Mar 2018
Location: usa
Posts: 21
Quote:
Originally Posted by Mickey View Post
WHAT PLC are you using CompactLogix or ML1500?

CompactLogix
  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
Micrologix 1400 analog input or 1762-IF4 eccan LIVE PLC Questions And Answers 2 July 26th, 2010 06:32 PM
Analog Input as Multiple Digital Input 69FIREBIRD LIVE PLC Questions And Answers 15 July 6th, 2010 04:28 PM
Analog Input With Potentiometer HELP!! zmanvortex LIVE PLC Questions And Answers 26 May 11th, 2006 08:14 AM
Logic Question : Tracking Parts knichols LIVE PLC Questions And Answers 26 November 16th, 2005 11:34 PM
AB Analog Input Help GTX LIVE PLC Questions And Answers 2 December 14th, 2003 02:37 PM


All times are GMT -5. The time now is 01:34 PM.


.