ramp for analog output S7-200 PLC

Join Date
Nov 2008
Location
Melbourne
Posts
8
Hi there,

until now I only did ladder, but I have to program a speed ramp for a motor control using the analog output of a SIEMENS S7-200 PLC. How can I do that?

Regards,

Case.
 
Well, a ramp is just a value that gets bigger or smaller over time. So you could scale the current value of a timer or use a counter to count time pulses up or down. Or if it is just to ramp from one speed to another you could pass the value going to the analogue output through an averaging routine. Take your pick. Oh, and all this can easily be done using ladder logic.

Bryan
 
Hi Case-Sensitive, it may help if you show us what you have and then we can go from there. Many times there are students trying to get homework or project done here. Not saying this is the case but show us what you have and I'm sure we can take it from there.
 
something like that, just value is the analogue output, M0.2 triggers the timer again, than it adds the increment to the just value and so on. Just fiddling with start conditions and so on.

Was hoping there was some library thing so I don't have to do it from scratch.... Oh, its 2008...
 
Last edited:
is this homework?
Why don't you just program the ramp in the VFD. You do have one??
 
more or less homework, industrial project, have to work it out myself, its to control a 90V DC motor with the Baldor KBMG-212D.

http://www.baldor.com.au/products/pdf/KBMG-212D info.pdf

As far as I understood the control needs an input voltage and controls the speed of the drive accordingly. So I would to program a ramp and different speeds/voltages to control the thing.
The project is to design a machine, including software, so we have to do it our selfs, school just provides computers and teacher is just there for OHS reasons. Its not to get the homework done for a PLC class.
 
Just implement the equation of a Straight Line: Y=mX+b
were x is the time, y is the analog output, m is the slope and b is the y intersept if you have one.
 
finally I got around to it:this is what I initially wanted to do, some sort of a blink thing. Guess its easier to adjust, timer value, set level and height between the steps. Cheers, Case.
 

Similar Topics

I've been trying to figure this out, but I'm still scratching my head. I am using AB RSLogix500 with SLC 5/05 cpu. I have a simple three...
Replies
14
Views
6,964
Does anyone know of a simple, inexpensive, preferably DIN rail mounted device that will add a ramp to an analog signal. I'm envisioning something...
Replies
4
Views
2,397
I AM USING A STANDARD A.B ANALOG MODULE WITH A 0-10 VOLT OUTPUT RUNING A VALVE DRIVER WITH A 24 VOLT SIGNAL TO THE HYD. VALVE. WHEN THE DEVICE...
Replies
14
Views
13,217
I am looking for a brick-type plc with 0-10v analog out. I would like a ramp instruction like the 5/03 and higher has. An analog input would be...
Replies
9
Views
2,952
Hello, I'm quite new with using FactoryTalk View Studio. I am currently using FactoryTalk View Studio 13.00 and creating a runtime file for an...
Replies
4
Views
928
Back
Top Bottom