Analog Ramping

debco99

Member
Join Date
Feb 2007
Location
california
Posts
16
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 to 5 volts over 15 minutes then steady pressure until the dwell time is complete.

This variable (ramp) changes from part to part as well as pressure and dwell.

This is not a pid loop, the loop closure is done at the servo valve (air operated) with transducer on the hydraulic side.

Air over oil booster

The application is almost complete and the servo works fine.....with the exception of the ramping of the analog.

I have asked this before in the forum but didn't undertand the replies.

Idec Pentra.......

Thanks in advance
 
Take a timer, and use the growth a function of Acc/Preset.

Should give you a growing ratio from 0 to 100%.
 
Take any old timer (assuming you can read the current accumulated time).

Let it run.

Divide the accumulated value by the preset (store the resultant as a float).

Multiply that by your desired maximum output.

Done.

Ex: A timer with a timebase of 0.1 seconds, to finish at 15 minutes, requires a preset of 9000.
As it times, the accumulated time ramps up from 0 to 9000 (AB Timers).

ACCUM_TIME / PRESET_TIME = Some_Floating_Point_Value (which ranges from 0 to 1.0)

Current_Output_Value = Some_Floating_Point_Value * Maximum Output_Value

-- edit --
Ignore the ramp settings in the pulse output. Just feed your desired output into the pulse output control register.
 

Similar Topics

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,934
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...
Replies
6
Views
2,470
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,154
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
Good afternoon, I am currently working with an HMI/PLC LP-a070 and I require at least one analog output, but the PLC does not have one. I was...
Replies
5
Views
113
Back
Top Bottom