ABB DCS培训课程T31514 CommunicationRevA.docx
- 文档编号:2783962
- 上传时间:2022-11-15
- 格式:DOCX
- 页数:18
- 大小:476.53KB
ABB DCS培训课程T31514 CommunicationRevA.docx
《ABB DCS培训课程T31514 CommunicationRevA.docx》由会员分享,可在线阅读,更多相关《ABB DCS培训课程T31514 CommunicationRevA.docx(18页珍藏版)》请在冰豆网上搜索。
ABBDCS培训课程T31514CommunicationRevA
Chapter14Communications
TABLEOFCONTENTS
Chapter14Communications1
14.1GeneralInformation2
14.1.1Objectives2
14.1.2Legend2
14.2MMSCommunicationbetweenApplications3
14.2.1General3
14.2.2MMSCommunicationPrinciple3
14.2.3Accessvariables4
14.2.4MMSVariableRules5
14.2.5VariableAttributes5
14.3ReadingDatafromanAccessVariable6
14.3.1PerformanceConsiderationsandStructuredAccessVariables7
14.4SetupanMMSCommunication8
14.4.1HowtoConfiguretheAccessDataType8
14.4.2HowtoDefinetheAccessVariable10
14.4.3HowtoReadAccessVariablesfromAnotherApplication11
14.4.4HowtoExtendParameters13
14.5OtherFunctionBlocksintheMMSCommLib15
14.5.1SIL2certifiedfunctionblocks15
14.6CommunicationtoOtherDevices17
14.6.1CommunicationLibraries17
14.6.2HardwareConfiguration18
14.6.3SoftwareConfiguration18
14.6.4AddressSyntax20
14.7HowtoConfigureaSerialCommunicationChannel21
14.7.1SerialConnect21
14.7.2SerialListen22
14.1GeneralInformation
14.1.1Objectives
Oncompletionofthischapteryouwillbeableto:
∙DescribetheprincipleofMMScommunication
∙Createanddefineaccessvariables
∙Configurecommunicationbetweencontrollers
∙ExplaintheuseofthedifferentMMSblocks
14.1.2Legend
<>Indicatesakeyname.
|Indicateswhenyougofromonemenutoasub-menu.
BoldIndicatesamenunameoranoptioninamenu,orfilestructures
““Indicatesdialogboxbuttons,tabs,instructionsetc.
Indicatesstart/explanationofstudentactivity
14.2
MMSCommunicationbetweenApplications
14.2.1General
MMSstandsforManufacturingMessageSpecification.Itistheprotocolusedtocommunicateonthecontrolnetworkbetweenapplicationsandalsototheconnectivityserverforthe800xAAspectSystem.
MMSsupportstransferofsimpleandstructuredvariables,programdownloadandalarmhandling.MMSisalsousedtodefineandmakedataavailableasAccessvariables.
GenerallytheMMScommunicationbetweenAC800Mcontrollersshouldbelimitedifpossiblebecauseitwillusethecontroller’sCPUcapacity.
14.2.2MMSCommunicationPrinciple
MMScommunicationhandlescommunicationbetweenapplicationswithinoneAC800Mcontrollerandbetweenapplicationsallocatedtotwocontrollers.
Theapplicationsmayexistinthesamecontroller:
Orindifferentcontrollersonthecontrolnetwork:
RememberthatinControlBuilderProfessionaloneapplicationdoesnotnecessarilycorrespondtoonecontrolsystem.Itispossibletoexecutetwoapplicationswithinthesamecontroller.Eveninthiscasethough,weneedtouseMMScommunicationwithAccessVariablesifwewantexchangedatabetweenthetwoapplications.
NOTE!
TheMMScommunicationshouldbelimitedandnotbeusedforalotofdata.
Forinstance:
don’twriteanapplicationinonecontrollerandusetheIOsofanothercontrollerforthisapplication.
14.2.3
Accessvariables
ForcommunicationbetweentwoApplications,Accessvariablesaredefined.AnAccessvariableisavariablethatissharedonthenetwork.
Bysharingalocal(orglobal)variableasanAccessvariable,itcanbepickedupbyanysystemonthenetwork,aslongasthetwosystemsinquestionshareacommonprotocol,suchasMMS,COMLIetc.
AccessVariablesaredefinedintheControllerHardwarepartoftheProjectExplorer:
Accessvariablesaredefinedinaparticularcontroller.TheremaybemanyAccessvariablesdefined.Suchvariablesaremappedintovariablesexistingintheapplicationsrunninginthatcontroller.ThismappingisdoneintheAccessVariableEditor.
Thevariableintheapplicationwhichismappedcanbeanyvariableexistinganywhereinthewholeapplication:
∙VariableinaprogramorControlModule
∙Variable(globalorlocal)intheapplication
14.2.4
MMSVariableRules
MMSvariablescanonlybeaccessedbytheirnamewhichisastring.ThenamingrulesaredefinedinMMSratherthanaspartofcontrolbuilder,thereforetherearesomedifferencesintheserulescomparedtothestandardnamingrulesforvariablesinprogramsetc.
∙AnMMSaccessvariablenamecanbeupto32characterslongandcontainletters,digitsandthecharactersdollar($)andunderscore(_).
∙NospacesarepermittedinthenameofanMMSvariable
∙MMSvariablenamesarecasesensitive,i.e
∙Theaccessvariablenamecannotbeginwithadigitorthedollar($)character.
∙Theaccessvariablemaybemappedtoanytypeofsimplevariableor(moreimportantly)toanytypeofstructuredvariable.
∙Astructuredvariablecanhavemixeddatatypecomponents
14.2.5VariableAttributes
BydefaultAccessvariablesareRead/Write.IfyouwanttomakethevariableReadOnlythensettheattributeintheAccessvariabletableto‘ReadWrite’
Iftheattribut
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- ABB DCS 培训课程 T31514 Communication RevA 培训 课程