PCS7 Ramp Function

JSMTek

Member
Join Date
Feb 2009
Location
Bergen
Posts
3
Hello! I need some tips on how to make a ramp function block in PCS7. I'm quite new to PCS7 and PLC programming. It is for making a soft opening of a control-valve.

I imagine a block with some inputs:
iCmd (bool)
iMax (Real)
iMin(Real)
iTime(Real?)

Outputs:
oSignal (Real)

iTime is the time (maby in milliseconds?) it should take for the output oSignal to change from iMin to iMax.

iCmnd is the command signal.
1=Ramping starts.
0=output is instantly set to iMin again.

Any suggestions on how to approach this?

Thanks.
 
Hello! I need some tips on how to make a ramp function block in PCS7. I'm quite new to PCS7 and PLC programming. It is for making a soft opening of a control-valve.

I imagine a block with some inputs:
iCmd (bool)
iMax (Real)
iMin(Real)
iTime(Real?)

Outputs:
oSignal (Real)

iTime is the time (maby in milliseconds?) it should take for the output oSignal to change from iMin to iMax.

iCmnd is the command signal.
1=Ramping starts.
0=output is instantly set to iMin again.

Any suggestions on how to approach this?

Thanks.


There is one in the library already
 
Hi

I was looking for some ramp function for vlave in PCS7 some time before and when I didn't find it I make it my self.

My Ramp has little bit different purpose, but the main pricipe is the same.

iCmnd is OK
iMax and iMin is important
iTime - I think you don't need it, cause it's enough if you set the correct calling time in CFCs block. (if you use the CFC).
You need something like iDiff, that will be the minimum step that will be added (subtracted) to actual valve position ot each calling of that function. And af course you need the actual position of valve iAct or some inner memory for memorize the last output.

So what you think about it ???
 
...and I forgot

if you vant to control the openning and closing, you should add som direction control

iCmndOpen
iCmndClose
 

Similar Topics

Does anyone have an example project of the cm ptp ET200 SP HA with 410-5H DCS (PCs7 9.1 SP1) for MODBUS MASTER/SLAVE communication ?
Replies
2
Views
128
Hello, Is there a sequence when installing both TIA Portal and PCS7 in the same PC? First TIA and then PCS7 or viceversa? Thanks in advance.
Replies
0
Views
484
Hello, I'm currently working on a project involving both PCS7 (v9.1 sp2 upd1) and a Panel Comfort system. This necessitates the use of TIA Portal...
Replies
2
Views
797
I'm coming from a background of PLC ladderlogic/rockwell products. I am new to blocks. Can you point me in right right direction? What I would...
Replies
5
Views
1,558
Hello everyone, i would like to read in pcs7 v8.2 the actual day of the month(ex 1 or 25 of the month) i used as attached read_CLK AND DT_DATE but...
Replies
4
Views
1,934
Back
Top Bottom