Ramping a analog output

pincho

Member
Join Date
Mar 2010
Location
Rabat
Posts
3
Hello

I have a small problem i have done program for hydraulic unit
So one regulation valve is controlled in 4-20 mA to extend or retract a cylinder
The client want that this signal is ramped when press start and also ramped when release start
I have done something but it is not working very fine
If someone has a tip thanks in advanced
Language is ST (IF ... THE? ... ELSE)

BYe
 
One way to ramp is simply increment / decrement by a fixed value each scan or time period
IF Y < X LET Y = Y + Z
IF Y > X LET Y = Y - Z
Kind of thing, I know I don't have the sintax correct
I suspect you have done this already
 
Hello,

usually I use a timer FUB together with a scale FUB for that.

Code:
scale.X1 = 0
scale.X2 = time
scale.Y1 = ramp_min
scale.Y2 = ramp_max
putting the timer elapsed time on the scale input gives the corresponding ramp value on the scale output.

br
bb
 

Similar Topics

help, trying to ramp analog output 1746-no8i one channels sends pressure valve for hydraulic pressure I want to increase pressure at a given...
Replies
5
Views
4,150
Hi, I am a PCL nubie! I have only a little PLC programming experience (3 PLCs mostly Boolean stuff) and have bitten more than I can chew this...
Replies
8
Views
3,929
I am kinda stuck and need some assistance. I am working on a project that will control two pump. The PLC controls the speed of the pumps via an...
Replies
3
Views
1,932
The application I am working on calls for the analog out (10vdc) be ramped (variable). So, if the program calls for 350 tons of pressure from 0...
Replies
5
Views
2,079
Hi All, I came up with this for ramping the PWM pin on the micro 820. I'm new to ladder logic so I am not sure if this will even work? Once...
Replies
6
Views
348
Back
Top Bottom