文稿教案成果real_第1頁
文稿教案成果real_第2頁
文稿教案成果real_第3頁
全文預覽已結束

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

_N

1H030_MoveVelocity_REAL(

PAGE

1

/

PAGE

1

)

N

1H

SpeedControl(REAL):_N1H030_MoveVelocity_REAL

030

BasicfunctionSymbol

Controlsthespeed.

_N 1H030_MoveVelocity_REAL

AlwaysON(P_On)

AxisNo.

StartSpeedcommandAccelerationrate

(BOOL)EN(INT)

Axis(BOOL)

Execute(REAL)

Velocity(REAL)

Acceleration(INT)

(BOOL)ENO(BOOL)

InVelocity(BOOL)

Busy(BOOL)

Error(WORD)

ErrorID

SpeedreachedBusyflag

ErrorflagErrorcode

(Maybeomitted)

Pulseoutputmehod OutPulseSelect

FilenameApplicablemodels

LanguagesConditionsforusageFunctiondescription

Lib\FBL\omronlib\PositionController\N U(CP1H)\_N 1H030_MoveVelocity_REAL11.cxfCPUUnit CP1H-(XA40DT-D/XA40DT1-D/X40DT-D/X40DT1-D/Y20DT-D)

ThisFBcannotbeusedwithCP1LPLCs.UsetheN U(CJ1MCPU2x)forCP1LPLCs.

CX-Programmer Version6.1orhigherLadder

None

ExecutesspeedcontrolfortheoutputspecifiedwiththeAxisNo.(Axis)usingtheSpeedcommand(Velocity)whenStart(Execute)isturnedON.

TheSpeedreached(InVelocity)willbeturnedONoncethespeedreachesthetargetspeedspecifiedinthisFB.Ifthespeedcontrolisinterruptedbyadecelerationstopcausedbyanotherinstanceorerror,theSpeedreached(InVelocity)willbereset.

TheErrorflag(Error)willbeturnedONandErrorcode(ErrorID)willbeoutputwhenanerrorrelatedtothisFBoccurs.

Thesestatuses,Speedreached(InVelocity)/Errorflag(Error)/Errorcode(ErrorID),willberesetwhenStart(Execute)isturnedOFF.IfStart(Execute)wasturnedOFFbeforepositioningiscompleted,thestatuswillbesetforatleastonecyclewhenacorrespondingconditionoccurs.

ENENO

Execute

ONOFF

ONOFF

ON

OFF

Speed

Speedcommand

InVelocitON

y OFF

Busy ON

OFF

Error

ON

OFF

KindofFBdefinition

FB

precautions

ENinputcondition

RestrictionsOther

ConnectAlwaysONtype

ConnecttheENinputtotheAlwaysONFlag(P_ON).Thesameinstancecannotbeusedintwoormoreces.

WhenusingthePulseoutput0and1simultaneously,usethesamePulseoutputmethodforthem.However,themethodforthePulseoutput2and3donotneedtobesame.

Whenspeedischangedbytheothercommandbeforethespeedreaching,thisFBwilloutputanerror.

TurningONtheinputtotheStart(Execute)duringspeedcontrolwillcausemultistart,whichthenleadstospeedcontrolwiththespeedsetinSpeedcommand(Velocity).

Whenalreadyinspeedcontroloperation,directionspecification(signoftheSpeedcommand(Velocity))willbeignoredandonlythespeedwillbechanged.Toreversethedirectionoftheoperation,stoptheoperationonceandexecutethespeedcommandwiththeoppositedirectionspecified.

ConnecttheENinputtotheAlwaysONFlag(P_ON).

IfadifferenttypeofbitisconnectedtoEN,theFBoutputswillbemaintainedwhentheconnectedbitisturnedOFF.

Duringpositioningoperation,thisFBcannotbeexecuted.

DuringoperationsbyACC,discrete,commands,thisFBcannotbeexecutedduringtheOriginSearchoperation.

Applicationexample

WhenthestarttriggerturnsfromOFFtoON,aspeedcontroloperationwillbeperformedtotheServomotorconnectedtothePulseoutput0ontheCP1HUnit.

CP1HUnit Pulseoutput0

Servomotor

Starttrigger BitB BitD BitA

BitA

_N 1H030_MoveVelocity_REAL

AlwaysON(P_On) (BOOL) (BOOL)EN ENO

AxisNo. (INT) (BOOL) Speedreached

Pulseoutput0&0 Axis InVelocity BitB

Start (BOOL) (BOOL) Busyflag

BitA Execute Busy BitC

Speedcommand (REAL) (BOOL) Errorflag

2,000Hz .0 Velocity Error BitD

Accelerationrate (REAL) (WORD) Errorcode50Hz/4msec+50.0 Acceleraion ErrorID (Maybeomitted)Pulseoutputmethod (INT)

CW/CCWoutput&0 OutPulseSelect

Relatedmanuals

SYSMA-seriesCP1HProgrbleControllersOperationManual(W450)5-3-8InstructionsUsedforPulseOutputs

5-3-5OriginSearchandOriginReturnFunctions(PulseOutputStopErrorCodes)

VariableTableInputVariables

Name

Variablename

Datatype

Default

Range

Description

EN

EN

BOOL

1(ON):StartsFB

0(OFF):DoesnotstartFB

AxisNo.

Axis

INT

&0

&0to&3

&0:Pulseoutput0&1:Pulseoutput1&2:Pulseoutput2

&3:Pulseoutput3

Start

Execute

BOOL

0(OFF)

:Startsspeedcontrol

Speedcommand

Velocity

REAL

+0.0

- .0

to

.

0

Specifiesthetargetspeed.Unit:Hz

Pleasereferto"LimitationofFunctionblockby

CombinationofCPUtypeandUnitVersion"fordetails.

Accelerationrate

Acceleration

REAL

+1.0

+1.0

to

.0

Specifiestheaccelerationrate.

Unit:Hz/4ms(Increase(Hz)infrequencyperPulsecontrolperiod(4ms))

Pulseoutput

method

OutPulseSelect

INT

&0

&0to&1

&0:CW/CCWoutput

&1:Pulse+directionoutput

OutputVariables

Name

Variablename

Datatype

Range

Description

ENO

ENO

BOOL

1(ON):FBoperatingnormally

0(OFF):FBnotoperatingnormally

Speedreached

InVelocity

BOOL

1(ON)indicatesthatthespeedhasreachedthetargetspeed.

Busyflag

Busy

BOOL

1(ON)indicatesthattheFBisinpregress.

Errorflag

Error

BOOL

1(ON)indicatesthatanerrorhasoccurredintheFB.

Errorcode

(Maybeomitted)

ErrorID

WORD

TheerrorcodeoftheerroroccurredintheFBwillbeoutput.Fordetailsoftheerrors,refertothesectionsofthe

manuallistedintheRelatedmanualsabove.WhenUnitNo.orAxis.No.isoutoftherange,#0000willbeoutput.

LimitationofFunctionblockbyCombinationofCPUtypeandUnitVersion

CPUType

UnitVersion

AxisNo.

RangeofFrequency

Description

XA/X

1.1

&0to&3

-100000.0to

.0

PleaseuseFunctionBlockVersion1.10orhigherwhenyousetvaluesthatare

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論