A/B PLC 5 Non-Linear Analog output

JPolidore

Member
Join Date
Sep 2003
Posts
2
I am in need of creating a Non-linear analog output based on a linear (0-100%) input signal. I have an old version of programming software (A/B 6200 series release 4.3) an I am having a hard time figuring out how to accomplish this through this software platform. I understand the newer platforms make this task easier but Upgrade is not an option. Any information leading in the direction of accoumplishing this task would be greatly appreciated.

Thanks

JP
 
Equation?

The linear input signal (0-100%), needs to be translated to a valve postion output signal, the signal need to match the flow curve of the proportional valve, I cannot identify a equation that will do this. The flow curve is not linear at all.
 
have you collected any data that you could post? (example: 10% input = 4% output; 11% input = 5% output; etc.) ... and how much resolution do you require? (example: would 100 points be enough?) ... also, you need to tell us what hardware you're using (example: PLC-5/20, 1771-IFE input module, 1771-OFE2 output module, etc.) ...
 
Hi, there:

I am believed that by dividing your output and input into small segments and using different logic with compare and other math function, it should be OK. The only thing is you have to sample enough data from process.

Hopefully this can help you.

Best regards,

Jason
 
Ron has the right idea

You could make a piece wise linear look up table.
I don't like look up tables because they are usually harder to code
and slower than computing formulas in ladder.

Calculating the formula takes more work up front though.

The are a few mathematical techniques that can be used to compute the formula from a bunch of points. 100 may be overkill. 10 is probably enough unless there are a lot of inflection points.

If you are serious then supply the points in CSV file so it can be easily imported. It is also easier if the points are space a even increments like 10% or 5%.

Look up least squares identification.
 
If you are using a pipe with a proportional valve, then I wonder if you could use the simple circular-area equation.
Output = 3.1416 x (input)2
:confused:
 
I'd say why bother with math if function is not simple.
Just use lookup table. For valve position it should be ok to
use some 100 points (or more if you want to):
- Create file such as N100 with 100 elements.
- use SCP to scale your signal 0-99 into say N7:10
- use N7:11 as output (you can scale it to whatever you want to
before sending it to output)
- use MOV N100:[N7:10] N7:11 to read lookup table.
- Get a large cold beer and smile at people patting your back.
 

Similar Topics

I am looking for some help with a project that I am working on to finish my maintenance apprenticeship. Any help would be greatly appreciated. My...
Replies
7
Views
3,274
What he have is a HMI2GO unit ( KTP900F) and we use a safety relay to trigger our e-stops. What the tech wants to do is guard against e-Stop on...
Replies
2
Views
1,860
(Allen Bradley PLC)Issue resolved by download the project, But What is the main root cause of this Major Fault Error code 62 “Non-Recoverable...
Replies
3
Views
3,226
I wonder if it is possible to run a stepper motor in a non nc Plc? I have Heard that it is possible, just can't find any info about it.
Replies
1
Views
2,028
Hey Everyone, I am hoping that someone out there could help me get a program loaded onto my GE Fanuc Series 90-30 PLC. Here is where it gets...
Replies
8
Views
2,840
Back
Top Bottom