ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx

上传人:b****5 文档编号:12303661 上传时间:2023-04-18 格式:DOCX 页数:10 大小:35.54KB
下载 相关 举报
ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx_第1页
第1页 / 共10页
ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx_第2页
第2页 / 共10页
ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx_第3页
第3页 / 共10页
ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx_第4页
第4页 / 共10页
ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx

《ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx》由会员分享,可在线阅读,更多相关《ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx(10页珍藏版)》请在冰豆网上搜索。

ABB DCS 系统 培训课程 系列讲座 Basic HW Config.docx

ABBDCS系统培训课程系列讲座BasicHWConfig

Chapter15BasicHWConfigurationandI/OConnection

15.1GeneralInformation

15.1.1Description

Thischapterdescribeshowtoconfigurethebasichardware,howtoconnecttoI/OandhowtohandleI/Oon-line.

15.1.2Objectives

Oncompletionofthischapteryouwillbeableto:

∙ConfigureabasichardwareinordertoconnecttoI/O.

∙Describehowthehierarchicaldotnotationworks.

∙Describethedifferencebetweenthealloweddatatypesandwhentousethem.

∙ConnectvariablestoI/O.

∙On-linehandlingofI/O.

15.1.3ReferenceDocumentation

Usetheonlinehelp:

Contentstab,HardwareConfiguration

Usetheonlinehelp:

Contentstab,I/OConfiguration

15.2

Lesson1–BasicHardwareConfiguration

15.2.1Description

Thislessondescribeshowtoconfigureabasichardware.

15.2.2Objectives

Oncompletionofthislessonyouwillbeableto:

∙DescribehowtosetupabasichardwareconfigurationinordertoconnecttoI/O.

∙Describehowthehierarchicaldotnotationworks.

15.2.3InsertingI/Ounitsinthehardwareconfiguration

HardwareunitsareaddedtothetreestructureintheProjectExplorerrepresentphysicalhardwareunits.Someunitscontainsubunits,suchasserialchannels,thatareautomaticallycreated.Belowisanexampleofahardwareconfiguration.

15.2.3.1

AddingHardwareUnits

ToaddanewhardwareunittothehardwaretreestructureintheProjectExplorer,proceedasfollows:

∙Selecttheunittowhichyouwanttoaddthenewhardwareunit.

∙Withthenewunitselected,right-clickontheunitandselectNewunit.Asubmenulistingpossiblehardwareisdisplayed.Selectthetypeofhardwareyouwishtoadd.IfNewunitisdimmedtheunityouhaveselectedinstep1maynotcontainanysubunits,orthemaximumnumberofsubunitshasbeenreached.

∙Selectapositionforthehardwareunitinthedialogboxdisplayed.Thefirstavailablepositionischosenbydefault.Ifanotherpositionisdesired,clickthelistboxtodisplayavailablepositions.ClickOK.

∙Thehardwareunitisnowaddedtothetree,andthenameofthehardwareunit,aswellasitsposition,isdisplayednexttotheiconofthehardwareunit.Theiconslookdifferentdependingonwhichtypeofunitwasadded.

15.2.3.2Hierarchicaldotnotation

Thehardwareaddressofahardwareunitiscomposedfromthehardwaretreepositionnumbersoftheunitanditsparentunits,describedfromlefttorightandseparatedbydots.

Forexamplechannel1ontheI/OunitDO810havetheaddressController_1.0.11.1.1.

15.3Exercise15.1–AbasichardwareConfiguration

Pleasedoexercise15.1

15.4

Lesson2–I/OConnectionandOn-linehandlingofI/O

15.4.1Description

ThislessondescribeshowtoconnecttoI/Oandon-linehandlingofI/O.

15.4.2Objectives

Oncompletionofthislessonyouwillbeableto:

∙DescribethedifferentwaystoconnecttoI/O.

∙Describethedifferencebetweenthealloweddatatypesandwhentousethem.

∙MakeanI/Oconnectionintwoways.

15.4.3Connection

UsetheconnectionstabofthehardwareconfigurationeditortomakeconnectionsbetweenvariablesandI/Ochannelsorotherhardwarechannels.AllI/OaccessiscarriedoutthroughavariableconnectedtoanI/Ochannel.

ConnectionscanbeeditedonlyinOfflinemode.Theconnectionstabisnotavailableforunitswithoutchannelstowhichyoucanconnectvariables.

Theconnectionstabcontainsagrid.TheheadingrowfeaturestheheadingsChannel,Name,Type,VariableandI/ODescription.Thereareasmanyrowsastherearechannelstowhichyoucanconnect.Adigitalunitcanalsobeconnectedtoallchannelsasadoubleword(dword).

15.4.3.1AllowedDataTypes

VariablesconnectedtoI/Ocanbeofanyofthesimpledatatypesbool,dint,dwordorreal,oranyofthesystem-definedI/Odatatypes.

15.4.3.1.1BoolIO

ThedatatypeBoolIOhasthefollowingcomponents.

Name

Datatype

Description

Value

Bool

Valueusedbytheapplication.

IOValue

Bool

ValueoftheI/Ochannel.IOValueandValueareequalifthechannelisnotforced.

Forced

Bool

Specifieswhetherornotthechannelisforced.

15.4.3.1.2

RealIO

YoucanusetheRealIOdatatypeforvariablesconnectedtoI/O.TheValue,IOValue,ForcedandStatuscomponentsaregivenbythesystemtotheapplication.TheInverted,Max,Min,UnitandFractioncomponentsaregivenbytheuseroftheapplicationtothesystemintheScalingtab.Thedatatypehasthefollowingcomponents.

Name

Datatype

Description

Value

Real

Valueusedbytheapplication.

IOValue

Real

ValueoftheI/Ochannel.IOValueandValueareequalifthechannelisnotforced.

Forced

Bool

Specifieswhetherornotthechannelisforced.

Status

Dint

IfthechannelstatusisnotOK,Statuscantakeanyofthesevalues:

-4029Underflow

-4030Overflow

-4031UnitError

-4032ChannelError

Parameters

SignalPar

Measuringrange

ThedatatypeSignalParhasthefollowingcomponents.

Name

Datatype

Description

Max

Real

Maximumvaluetowhichyoucanscaleamaximuminputsignal.

Min

Real

Minimumvaluetowhichyoucanscaleaminimuminputsignal.

Inverted

Bool

SpecifiesiftheconnectiontotheanalogI/Oisreversed

(0mA->100%,20mA->0%).

Fraction

Dint

Specifiesthenumberofdecimalstobedisplayed.

Unit

string

Displayunit.

15.4.3.1.3

DintIO

ThedatatypedintIOhasthefollowingcomponents.

Name

Datatype

Description

Value

dint

Valueusedbytheapplication.

IOValue

Dint

ValueoftheI/Ochannel.IOValueandValueareequalifthechannelisnotforced.

Forced

Bool

Specifieswhetherornotthechannelisforced.

15.4.3.1.4DwordIO

ThedatatypedintIOhasthefollowingcomponents.

Name

Datatype

Description

Value

dword

Valueusedbytheapplication.

IOValue

dword

ValueoftheI/Ochannel.IOValueandValueareequalifthechannelisnotforced.

Forced

Bool

Specifieswhetherornotthechannelisforced.

15.4.3.2FromanI/Ochanneltoavariable

ItisonlypossibletoconnectvariablestoaphysicalI/O,toconnectvariablestoI/Ounits,proceedasfollows:

Double-clickontheI/Ounit.

Awindowliketheonebelowwillbevisible.TheappearanceofthewindowisdifferentdependingofwhichI/Ounityouuse.

Right-clickinthevariablecolumnandchoose(Insert>Path,Attributefromlist…)or(Insert>PathfromTree…).ItisalsopossibletousetheacceleratorsCtrl+JorCtrl+T.

Usethedotnotationfunctionorexpandthetreetoreachthewantedvariable.

15.4.3.3FromavariabletoanI/Ochannel

ItispossibletoconnectvariablestoI/OfromthePOUeditor,butisrecommendedtodoitfromtheI/Ounit,becauseyoucannotbrowsetothecorrectI/OaddressfromtheI/OaddresscolumninthePOUeditor.

15.4.4OnlinehandlingofI/O

15.4.4.1Status

Usethestatustabofthehardwareconfigurationeditor,inonlinemode,fordynamiconlinedisplayofI/Ochannelvaluesandforcing.I/Ochannelvaluesareupdatedonceeverysecond.ThetabisavailableinOfflinemode,butnoteditable.Thetabconsistsoffivecolumns:

Channel,Channelvalue,Forced,VariablevalueandVariable.

Underflow,overflow,channelanduniterrorsinonlinemodeareindicatedintheChannelvaluecellbythefollowingicons:

15.4.4.1.1Signalerrors

underflow

Thesignalisbelowtherange.

overflow

Thesignalisabovetherange.

15.4.4.1.2Hardwareerrors

channelerror

Thechannelcanhaveunderrange,power-uporfieldpowererrors.

Uniterror

Theunitcanbemissingorofthewrongtype.

15.4.4.2Forcing

ForcingofI/Oispossibleinonlinemode.YoucheckacheckboxintheForcedcolumnandthentypeinavalueintheChannelvaluecolumnforoutputsandtheinVariablevaluecolumnforinputs.Thisvalueoverridesthevaluesineachofthosecolumns.Thebackgroundoftheforcedcellchangestoyellowtoindicateforcing.ForcingisdeactivatedwhenyouremovethecheckfromtheForcedcheckboxofthechannelinquestion.

AllI/Ochannelsthatcanbeconnectedtoavariableinanapplicationcanalsobeforcedinonlinemode,exceptforchannelssuchasUnitStatusoneachI/OunitandAllUnitsStatusonthecurrentcontroller.ForcingisperformedinthehardwareconfigurationeditorundertheStatustaborthePOUeditor.ApplicationprogramsrequiringinformationaboutforcingandforcedvaluescanusethesystemdefinedI/OdatatypeswhenconnectingvariablestoI/Ochannels.TheI/OdatatypescontaintheIOValuesandForcedcomponents.TheForcedcomponentindicatesiftheI/Ochannelisforced.TheIOValuecomponentcontainsthevalueoftheI/Ochannel.

Normallyonlychannelswithvariableconnectionstoapplicationprogramscanbeforced.However,ifnovariableisconnectedyouhavetochangetheparameterCopyunconnectedchannelsundertheSettingstabforthecurrentcontrollertogetastatusupdate.TheI/OchannelsyoucanselecttocopyareNone,theInputsortheOutputsorboththeInputsandOutputs.Ifselected,thecopyingofunconnectedI/OchannelsaremadeonceasecondsotheirstatusareavailableintheStatustablikenormallyconnectedI/Ochannels.WhenachannelisforcedallcopyingbetweentheI/Ovalueandtheapplicationvalueceases.Theforcedvalueisdifferentforinputsandoutputs.Forinputstheforcingchangesthevariablevaluetotheapplication.ForoutputstheforcingchangesthephysicalI/Ochannelvalue.InthiswaytheapplicationcanseeboththeVariable(application)valueandtheChannel(I/O)value.

15.5Exercise15.2-ConnectionofI/O

Pleasedoexercise15.2

Dukantagbortdennaosynligatextmenlåt

nedanståendePageBreakliggakvar!

Låtävendenefterföljandesidanliggakvar!

Thispageisintentionallyleftblank

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 其它模板

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1