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, 01:26 PM   #1
said-art
Member
Kazakhstan

said-art is offline
 
Join Date: Jan 2017
Location: Aksai
Posts: 5
AB 1794-IE8 Analog scaling

Hi,

I am using an Analog Input Module - 1794/IE8
My Analog Input Module is configured for 0-20mA

Unscaled Max = 31208
Unscaled Min = 6241.6
Engineering Unit Max = 100
Engineering Unit Min = 0

I have ST scaling code which works only for positive values.


Scaled value := Raw value * 1.25/31208 * 100 - (0.25 * 100);


The question is how can I get minus values? For example if I want use it for measuring negative temperature.

Unscaled Max = 31208
Unscaled Min = 6241.6
Engineering Unit Max = 100
Engineering Unit Min = -50


Thanks in advance
  Reply With Quote
Old March 7th, 2018, 01:38 PM   #2
Mickey
Lifetime Supporting Member
United States

Mickey is offline
 
Mickey's Avatar
 
Join Date: May 2003
Location: Palmdale,Ca
Posts: 10,146
See txt...

What PLC do you have?
Attached Files
File Type: txt ScalingFormula.txt (205 Bytes, 35 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 01:48 PM.
  Reply With Quote
Old March 7th, 2018, 09:35 PM   #3
said-art
Member
Kazakhstan

said-art is offline
 
Join Date: Jan 2017
Location: Aksai
Posts: 5
Allen-Bradley ControlLogix 5561
  Reply With Quote
Old March 7th, 2018, 11:36 PM   #4
Ih8Siemens
Lifetime Supporting Member
United States

Ih8Siemens is offline
 
Join Date: Dec 2017
Location: NoDak
Posts: 49
http://literature.rockwellautomation...m002_-en-p.pdf

Scroll down to 3-11 or 3-12. I am not sure what instrumentation you are using but if you could post that as well I think I could give you a better idea. Check out that manual under that section and It might help you out...
  Reply With Quote
Old March 8th, 2018, 03:08 AM   #5
said-art
Member
Kazakhstan

said-art is offline
 
Join Date: Jan 2017
Location: Aksai
Posts: 5
Thanks! it works
  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
Analog Wire for AB Analog Input Cards Tim Ganz LIVE PLC Questions And Answers 2 March 2nd, 2016 09:57 PM
Micrologix 1000 Analog Scaling Tim Ganz LIVE PLC Questions And Answers 2 December 13th, 2014 09:24 PM
Analog scaling difficulty CalG LIVE PLC Questions And Answers 3 May 24th, 2013 08:02 AM
AB Control Logix Analog Input Configuration noface LIVE PLC Questions And Answers 6 April 30th, 2013 09:11 AM
AB Analog Input Module Wiring... Eric Nelson LIVE PLC Questions And Answers 3 May 6th, 2002 09:37 AM


All times are GMT -5. The time now is 07:14 PM.


.