172
1.Theperiodictimemustbenolessthan3ms.
2.IfthespecificoutputisselectedinthepropertydialogboxofPWMblock,thentheoutputpinofPWM
functionblockcannotbelinkedasinputtootherblocks.
3. Q3,Q4intheabovedialogboxareexactlycorrespondingtoQ3,Q4ofELC-12CPUandQ5,Q6of
ELC-22/26andupgradedELC-18CPUs
SettingtheParParameter
Thefollowingillustrationshowstheviewinprogrammingmodethatcorrespondstothefirstexample:
6.5.29AnalogRamp
ShortDescription:
TheAnalogRampinstructionallowstheoutputtobechangedfromthecurrentleveltoaselectedlevelat
aspecifiedrate.
Connection Description
Input En Achangeinthestatusfrom0to1atinputEN(Enable)appliesthestart/stoplevel(Offset"B"
+StSp)totheoutputfor100msandstartstherampoperationtotheselectedlevel.
Achangeinthestatusfrom1to0immediatelysetsthecurrentleveltoOffset"B",which
makesoutputAQequalto0.
Input Sel
SeI=0:Thestep1(level1)isselected.
SeI=1:Thestep2(level2)isselected.
AchangeinstatusofSelcausesthecurrentleveltostartchangingtotheselectedlevelatthe
specifiedrate.
Input St
Achangeinthestatusfrom0to1atinputSt(DeceleratedStop)causesthecurrentlevelto
decreaseataconstantrateuntilthestart/stoplevel(Offset"B"+StSp)isreached.The
start/stoplevelismaintainedfor100msandthenthecurrentlevelissettoOffset"B",which
makesoutputAQequalto0.