MicroLogix 1000- Analog Scaling

DBLD99

Member
Join Date
Oct 2003
Location
USA
Posts
230
Hello everyone, Whats a good way to scale analog in a micrologix without a SCP instruction. Thanks for your help
 
Rockwell programmers

I've never been fond of the method that Rockwell shows in that manual.

A better way is to do the same calculation that the SCP instruction uses:

((INPUT - INPUT_MIN) / (INPUT_MAX - INPUT_MIN)) * (SCALED_MAX - SCALED_MIN).

If you are using variable addreses for the parameters, then you'll need two intermediary registers for you calcuations. If you are just using constants, then it becomes easier.

You could also just use the SCL instruction (which is available in the PLC).

And before you ask, the two values would be:

RATE = 10000 * (SCALED_MAX - SCALED_MIN) / (INPUT_MAX - INPUT_MIN) ;

OFFSET = INPUT_MIN * (RATE / 10000)
 

Similar Topics

I need some help with scaling an analog input in an MicroLogix 1000 PLC with Analig IO. Its model # 1761-L20AWA-5A. I have more of these...
Replies
2
Views
6,090
Hi friends, I need communication cable PIN CONFIGURATIONS of AB micrologix 1000 analog PLC with PC. I'm willing to create new cable in my hand...
Replies
2
Views
2,328
Hello all. I have a problem trying to read 4-20mA into a Micrologix 1000 Analog PLC. Not sure if my issue is with wiring, or an option within the...
Replies
7
Views
3,494
Here's a tricky problem: I've just finished a program on a micrologix 1000 using a windows 2000 machine, and logix 500 at the house. When I got to...
Replies
6
Views
4,414
Hello friends I am very grateful for the help my post. now I need to regulate output analog 0-10v, with a sliders Rsview32 thank you joel...
Replies
0
Views
1,455
Back
Top Bottom