版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
EIO000000031605/2010EIO0000000316.01
SoMachine
CANopenManagementFunctionsCAACiA405LibraryGuide
05/2010
Theinformationprovidedinthisdocumentationcontainsgeneraldescriptionsand/ortechnicalcharacteristicsoftheperformanceoftheproductscontainedherein.Thisdocumentationisnotintendedasasubstituteforandisnottobeusedfordeterminingsuitabilityorreliabilityoftheseproductsforspecificuserapplications.Itisthedutyofanysuchuserorintegratortoperformtheappropriateandcompleteriskanalysis,evaluationandtestingoftheproductswithrespecttotherelevantspecificapplicationorusethereof.NeitherSchneiderElectricnoranyofitsaffiliatesorsubsidiariesshallberesponsibleorliableformisuseoftheinformationcontainedherein.Ifyouhaveanysuggestionsforimprovementsoramendmentsorhavefounderrorsinthispublication,pleasenotifyus.
Nopartofthisdocumentmaybereproducedinanyformorbyanymeans,electronicormechanical,includingphotocopying,withoutexpresswrittenpermissionofSchneiderElectric.
Allpertinentstate,regional,andlocalsafetyregulationsmustbeobservedwheninstallingandusingthisproduct.Forreasonsofsafetyandtohelpensurecompliancewithdocumentedsystemdata,onlythemanufacturershouldperformrepairstocomponents.
Whendevicesareusedforapplicationswithtechnicalsafetyrequirements,therelevantinstructionsmustbefollowed.
FailuretouseSchneiderElectricsoftwareorapprovedsoftwarewithourhardwareproductsmayresultininjury,harm,orimproperoperatingresults.
Failuretoobservethisinformationcanresultininjuryorequipmentdamage.©2010SchneiderElectric.Allrightsreserved.
2 EIO000000031605/2010
TableofContents
PartIChapter1
Chapter2
PartIIChapter33.1
Chapter44.1
4.2
4.3
Chapter55.1
Chapter66.1
SafetyInformation.............................. 5AbouttheBook................................. 7Introduction................................ 9IntroductiontoCANopenProtocol.................11Introduction................................................12NMTProtocol..............................................13PDOProtocol..............................................14SDOProtocol..............................................15EMCYProtocol.............................................16SYNCProtocol.............................................17ErrorControlProtocol........................................18IntroductiontoCiA405...........................21Introduction................................................21FunctionBlocksDescriptions..................23FunctionBlocksCommonI/OandBehavior.........25CommonI/OandBehavior....................................25CommonI/ODescription......................................26CANopenKernelDetectedErrorCodes..........................28FunctionBlockExecutionDiagrams.............................29NetworkManagementFunctionBlocks.............31CIA405.NMT:DevicesNMT-StateManagement....................32DevicesNMT-stateManagement...............................32CIA405.RECV_EMCY:EMCYMessagesScanning..................35EMCYMessagesScanning....................................35CIA405.RECV_EMCY_DEV:GetDeviceEMCYMessage.............36GetDeviceEMCYMessage...................................36OwnNodeIDFunctionBlocks....................39CIA405.GET_LOCAL_NODE_ID:GetControllerCANopenNodeID....39GetControllerCANopenNodeID...............................39QueryStateFunctionBlocks......................41CIA405.GET_CANOPEN_KERNEL_STATE:GetCANopenKernelState.42GetCANopenKernelState....................................42
EIO000000031605/2010 3
6.2
Chapter77.1
7.2
7.3
7.4
GlossaryIndex
CIA405.GET_STATE:GetCANopenDeviceState................. 43GetCANopenDeviceState................................... 43SDOAccessFunctionBlocks......................45CIA405.SDO_READ:ReadAnySizeCANopenObjects............. 46ReadAnySizeCANopenObjects.............................. 46CIA405.SDO_READ4:Readupto4-ByteCANopenObjects.......... 49Readupto4-ByteCANopenObjects............................ 49CIA405.SDO_WRITE:WriteAnySizeCANopenObjects............ 51WriteAnySizeCANopenObjects.............................. 51CIA405.SDO_WRITE4:Writeupto4-ByteCANopenObjects......... 56Writeupto4-ByteCANopenObjects............................ 56...........................................59...........................................63
4 EIO000000031605/2010
SafetyInformation §
ImportantInformation
NOTICE
Readtheseinstructionscarefully,andlookattheequipmenttobecomefamiliarwiththedevicebeforetryingtoinstall,operate,ormaintainit.Thefollowingspecialmessagesmayappearthroughoutthisdocumentationorontheequipmenttowarnofpotentialhazardsortocallattentiontoinformationthatclarifiesorsimplifiesaprocedure.
EIO000000031605/2010 5
PLEASENOTE
Electricalequipmentshouldbeinstalled,operated,serviced,andmaintainedonlybyqualifiedpersonnel.NoresponsibilityisassumedbySchneiderElectricforanyconsequencesarisingoutoftheuseofthismaterial.
Aqualifiedpersonisonewhohasskillsandknowledgerelatedtotheconstructionandoperationofelectricalequipmentandtheinstallation,andhasreceivedsafetytrainingtorecognizeandavoidthehazardsinvolved.
6 EIO000000031605/2010
AbouttheBook
AtaGlance
DocumentScope
ThisdocumentdescribestheSoMachineCAACiA405LibraryfunctionblocksusedtomanageandmonitortheCANopennetworkanddevicesfromthecontrollerapplication.
ValidityNote
ThisdocumenthasbeenupdatedwiththereleaseofSoMachineV2.0.
ProductRelatedInformation
WARNINGUNINTENDEDEQUIPMENTOPERATION
zOnlyusesoftwareapprovedbySchneiderElectricforusewiththisequipment.zUpdateyourapplicationprogrameverytimeyouchangethephysicalhardware
configuration.
Failuretofollowtheseinstructionscanresultindeath,seriousinjury,orequipmentdamage.
EIO000000031605/2010 7
WARNINGLOSSOFCONTROL
zThedesignerofanycontrolschememustconsiderthepotentialfailuremodesofcontrolpathsand,forcertaincriticalcontrolfunctions,provideameanstoachieveasafestateduringandafterapathfailure.Examplesofcriticalcontrolfunctionsareemergencystopandovertravelstop,poweroutageandrestart.
zSeparateorredundantcontrolpathsmustbeprovidedforcriticalcontrolfunctions.
zSystemcontrolpathsmayincludecommunicationlinks.Considerationmustbegiventotheimplicationsofunanticipatedtransmissiondelaysorfailuresofthelink.
zObserveallaccidentpreventionregulationsandlocalsafetyguidelines.1
zEachimplementationofthisequipmentmustbeindividuallyandthoroughlytestedforproperoperationbeforebeingplacedintoservice.
Failuretofollowtheseinstructionscanresultindeath,seriousinjury,orequipmentdamage.
1Foradditionalinformation,refertoNEMAICS1.1(latestedition),"SafetyGuidelinesfortheApplication,Installation,andMaintenanceofSolidStateControl"andtoNEMAICS7.1(latestedition),"SafetyStandardsforConstructionandGuideforSelection,InstallationandOperationofAdjustable-SpeedDriveSystems"ortheirequivalentgoverningyourparticularlocation.
UserComments
Wewelcomeyourcommentsaboutthisdocument.Youcanreachusbye-mailattechcomm@.
8 EIO000000031605/2010
IntroductionEIO000000031605/2010
Introduction I
Overview
ThispartgivesanoverviewofthevariousprotocolsusedinCANopen,andintroducestheCANopeninterfaceanddeviceprofileforIEC61131-3programmablecontrollers(CiA405)
NOTE:SomecontentofthisintroductionhasbeenextractedandadaptedfromtheCANinAutomation(CiA)website().CiA®andCANopen®areregisteredCommunityTrademarksofCANinAutomatione.V
AboutCiA:CANinAutomation(CiA)istheinternationalusersandmanufacturersgroupforControllerAreaNetwork(CAN).Thenon-profitassociationprovidestechnical,productandmarketinginformationaboutCAN,internationallystandardizedintheISO11898series.TheaimistopromotetheimageofCANandtoprovideapathforfuturedevelopmentsoftheCANtechnology.AnimportantpartoftheeffortoforganizationistodevelopandmaintaintheCANopenspecificationsaswellasthesupportofallotherinternationallystandardizedCAN-basedhigher-layerprotocols.
What'sinthisPart?
Thispartcontainsthefollowingchapters:
Chapter
1
2
ChapterName Page
IntroductiontoCANopenProtocol 11
IntroductiontoCiA405 21
EIO000000031605/2010 9
Introduction
10 EIO000000031605/2010
CANopenProtocolsEIO000000031605/2010
IntroductiontoCANopenProtocol 1
What'sinthisChapter?
Thischaptercontainsthefollowingtopics:
Topic Page
Introduction 12
NMTProtocol 13
PDOProtocol 14
SDOProtocol 15
EMCYProtocol 16
SYNCProtocol 17
ErrorControlProtocol 18
EIO000000031605/2010 11
CANopenProtocols
Introduction
CANopenProtocol
TheCANopenprotocolprovidesstandardizedcommunicationobjects(COB)forreal-timedata(processdataobjects(PDO)),configurationdata(servicedataobjects(SDO)),andnetworkmanagementdata(boot-upmessage,NMTmessage,anderrorcontrolmessage)aswellasotherfunctions(timestamp,SYNCmessage,emergencymessage).AllcommunicationobjectsareaccessiblethroughtheCANnetworkinthedeviceobjectdictionary.Theseobjectsareaddressablebya16-bitindex.Inthecaseofarrayandrecordobjects,thereisanadditional8-bitsub-index.Acommunicationobjectisidentifiedbyadedicatedanduniqueidentifier(COBID)overtheCANopennetwork.
DeviceObjectDictionary
TheobjectdictionaryentriesofaCANopendevicearedescribedinanelectronicdatasheet(EDS)file.CANopenmasterandslavesparameterscanbeadjustedintheSoMachineCANopenconfigurator.FormoreinformationaboutCANopenconfiguration,refertheonlinehelpCoDeSyspart,Editors/DeviceEditors/CANbusConfigurationEditorchapter.
12 EIO000000031605/2010
CANopenProtocols
NMTProtocol
NetworkManagement(NMT)Protocol
Thepurposeofthenetworkmanagement(NMT)protocolistocontrolthenetworkbehavioroftheCANopenNMTslavedevices.EitheronededicatedorallnetworkparticipantsareswitchedthroughtheNMTprotocolintheirNMTslavestatemachines.
ThefollowingfigurerepresentstheCANopenNMTslavestatemachine.
NMTServicesoverMaster-SlaveRelationship
AllCANopendevicesevaluatetheincomingNMTcommands(commandspecifier(CS)codeintheNMTmessage).OnlyCANopendevicewiththeNMTmastercapabilityisabletotransmitNMTmessages.InaCANopennetwork,onlyoneNMTmasterisactive.
EIO000000031605/2010 13
CANopenProtocols
PDOProtocol
ProcessDataObjects(PDO)Protocol
Processdataobjects(PDO)areshort(8-bytedatamax),high-priorCANmessageswhicharetransmittedinabroadcast.Therefore,PDOaresuitableforthetransmissionofreal-timedatasuchascontrolandstatusinformationofadriveoranI/Omodule,measuredvaluesprovidedbysensors,etc.
PDOaretransmittedinanunconfirmedmanner.Thismeans,evenafteranyspecificnetworkparticipantreceivestheinformation,thereisnoacknowledgementofthereceipt.
ThefollowingfigurerepresentsthePDOtransmissionfromproducer(TransmitPDO)toconsumers(ReceivePDO).
TriggeringEventsforPDOTransmission
ThetriggeringeventsforPDOtransmissionaredefinedbelow.
TriggeringEvent
Eventortimer-driven
Remotelyrequested
Cyclicsynchronous
Acyclicsynchronous
Definition
Adevice-internaleventtriggersthePDOtransmission(forexample,valuechange,temperaturevalueexceedsacertainlimit,event-timerelapsed,etc.)
PDOtransmissionrequestedbyremotetransmissionrequest(RTR).
ThetransmissionofthePDOiscoupledtothereceptionoftheSYNCmessage.
Adefineddevice-specificeventtriggersthePDO,whichtransmitswiththereceptionofthenextSYNCmessage.
14 EIO000000031605/2010
CANopenProtocols
SDOProtocol
ServiceDataObjects(SDO)Protocol
Servicedataobjects(SDO)allowtheaccesstoanyentryoftheCANopenobjectdictionary(OD).AnSDOestablishesapeer-to-peercommunicationchannelbetweentwodevices.Inaddition,theSDOprotocolenablestotransferanyamountofdatainasegmentedway.Therefore,theSDOprotocolismainlyusedinordertocommunicatewithconfigurationdata.
AnSDOconnectionbetweentwodevicesisestablishedbyconfiguringtherelatedSDOserverrespectivelywiththeclientchannel.SDOtransmissionisaconfirmedservice.
ThefollowingfigurerepresentstheSDOexchangewithrequestandresponse.
EIO000000031605/2010 15
CANopenProtocols
EMCYProtocol
Emergency(EMCY)Protocol
Theemergency(EMCY)objectenablesdevicestoindicatedevice-internaldetectederrors.Whentheyreceivethissignal,othernetworkparticipantscanevaluatethereceivedinformationandstartappropriate,manufacturer-specificcounteractions.
ThefollowingfigurerepresentsthedetectederrormessagethroughEMCYobjects.
EMCYMessages
TheEMCYmessagesreceivedfromotherCANopendevicesarestoredinanEMCYstoragetable.ForeachEMCYproducer,ifnoEMCYmessageisreceived,oraslongasthemostrecentEMCYmessagewasanoerrormessage,EMCYconsumersconsidertheEMCYproducertohavenointernaldetectederror.
16 EIO000000031605/2010
CANopenProtocols
SYNCProtocol
Synchronous(SYNC)Protocol
SynchronousnetworkbehaviorcanbeachievedwiththeSYNCprotocol.ThecyclicallytransmittedSYNCmessageindicatestheconsumerstostarttheirapplication-specificbehavior,whichiscoupledtothereceptionoftheSYNCmessage.
Oncedatahasbeenreceived,aSynchronousPDOconsidersthedatatobevaliduponreceiptoftheSYNCmessage.
ThefollowingfigurerepresentstheSYNCmessagestransmissionofSYNCprotocol.
ControlVariablesfortheSYNCbehavior
ThetimeperiodbetweentwoconsecutiveSYNCmessagesiscalledcommunicationcycleperiodandcanbeadjustedintheobjectdictionaryoftheSYNCproducer(objectindex1006hex).
ThesynchronoustransmitPDOaretransmittedwithinagiventimewindowafterthereceptionoftheSYNCmessage.ThistimewindowiscalledsynchronouswindowlengthandisconfigurableintheobjectdictionaryofalldeviceswhichhavetotransmitsynchronousPDO(objectindex1007hex).
Thefollowingfigurerepresentsthesynchronouswindowlengthandcommunicationcycleperiod.
EIO000000031605/2010 17
CANopenProtocols
ErrorControlProtocol
ErrorControlProtocol
Heartbeatorguardingservicesarenetworkmanagement(NMT)servicesusedtocheckthepresenceofnetworkparticipantsandtogettheirstate.
TwotypesoferrorcontrolprotocolsexistinCANopen:zHeartbeat
zNode/LifeGuarding
Becausetheheartbeatprotocolisthemoreflexibleoneandworkswithoutremotetransmissionrequest(RTR),itisyoushoulduseitifitissupportedbyyourCANopendevices.
Heartbeat
ACANopendevicetransmitsitsheartbeatcyclically.Thecycletimeiscalledheartbeatproducertime.Onreceptionoftheheartbeatmessage,theheartbeatconsumers(forexample,theCANopenmanager)evaluatewhethertherelateddeviceisstillworkingproperlyandremainsinthecorrectNMT-state.Theperiodoftimeinwhichatleastoneheartbeatmessagehastobereceivedfromtherelatedheartbeatproducerisconfiguredintheconsumers(heartbeatconsumertime).
Thefollowingfigurerepresentstheheartbeatwithtimeintervalsoftheerrorcontrolprotocol.
18 EIO000000031605/2010
CANopenProtocols
Node/LifeGuarding
TheCANopenmanagerrequeststheerrorcontrolmessagethrougharemotetransmissionrequest(RTR).ThedevicetobeguardedreplieswithaCANdataframewhichindicatesthecurrentNMT-state.
Master:ThemastermonitorstheslaveNMT-state(NodeGuarding)Slave:Theslavemonitorsthemastersignsoflife(LifeGuarding)
EIO000000031605/2010 19
CANopenProtocols
20 EIO000000031605/2010
CiA405
EIO000000031605/2010
IntroductiontoCiA405 2
Introduction
MethodsofAccessingtheCANopenNetwork
TheCANopeninterfaceanddeviceprofileforIEC61131-3programmablecontrollers(CiA405)describestwomethodsofaccessingtheCANopennetworkfromthecontroller:
znetworkvariableszfunctionblocks
NetworkVariables
ThenetworkvariablesareusuallymappedintoPDOtobereceivedortobetransmitted.Intheobjectdictionary,theIEC61131-3variablesareaccessibleinadefinedrangeofindexes.
FunctionBlocks
TheprofilealsodefinessomeCANopen-specificfunctionblocks,forexample,SDO,NMTandEmergencycommunicationservices.
EIO000000031605/2010 21
CiA405
TheCAACiA405Library
TheCAACiA405LibraryoffersasetoffunctionblockstomeettherequirementsoftheCiA405fortheaccesstotheCANopennetworkfromtheapplication(IEC61131-3program)ofthecontroller(CANopenmaster).ThelibraryisautomaticallydeclaredinthecontrollerlibrarymanagerwhenaCANopenmanagerisaddedtoacontrollerCANbusinterface.
Inthelibrary,thefunctionblocksareorganizedasfollows:zNetworkmanagementfunctionblocks:
zCIA405.NMT:tocontroltheCANopendevicesNMT-states
zCIA405.RECV_EMCY:toscantheEMCY-storagesoveralldevices
zCIA405.RECV_EMCY_DEV:togetthelaststoredEMCYmessageofaspecifieddevice
zOwnnodeidfunctionblock:
zCIA405.GET_LOCAL_NODE_ID:togetthecontrollerCANopenmanagernodeID
zQuerystatefunctionblocks:
zCIA405.GET_CANOPEN_KERNEL_STATE:togettheCANopenkernelcurrentstate
zCIA405.GET_STATE:togetaspecifieddevicecurrentstate
zSDOaccessfunctionblocks:
zCIA405.SDO_READ:toreadany-sizeobjectsofaspecifieddevice
zCIA405.SDO_READ4:toreadupto4-byteobjectsofaspecifieddevicezCIA405.SDO_WRITE:towriteany-sizeobjectsofaspecifieddevice
zCIA405.SDO_WRITE4:towriteupto4-byteobjectsofaspecifieddevice
NOTE:ForthecontrolofAltivardrivesandLexiummotiondrivesonCANopen,prefertheuseofdedicatedPLCopenfunctionblocks(ReferAltivar,IntegratedLexiumandLexiumLibraryGuides).
Namespace
TheCAACiA405librarynamespaceisCIA405.Thelibraryfunctionblocks,variablesandconstantshavetobeusedwiththelibrarynamespace.
Exampleoffunctionblockinstanceandvariabledeclaration:
VAR
ReadObject:CIA405.SDO_READ;SDOabort_info:CIA405.SDO_ERROR;END_VAR
22 EIO000000031605/2010
FunctionBlocksDescriptionsEIO000000031605/2010
FunctionBlocksDescriptions II
Overview
ThispartgivesanoverviewofthevariousfunctionblocksofCAACiA405LibraryusedtomanageandmonitorCANopennetworkanddevicesfromthecontrollerapplications.
What'sinthisPart?
Thispartcontainsthefollowingchapters:
Chapter
3
4
5
6
7
ChapterName Page
FunctionBlocksCommonI/OandBehavior 25
NetworkManagementFunctionBlocks 31
OwnNodeIDFunctionBlocks 39
QueryStateFunctionBlocks 41
SDOAccessFunctionBlocks 45
EIO000000031605/2010 23
FunctionBlocksDescriptions
24 EIO000000031605/2010
FunctionBlocksCommonI/OandBehaviorEIO000000031605/2010
FunctionBlocksCommonI/OandBehavior
3
3.1 CommonI/OandBehavior
What'sinthisSection?
Thissectioncontainsthefollowingtopics:
Topic Page
CommonI/ODescription 26
CANopenKernelDetectedErrorCodes 28
FunctionBlockExecutionDiagrams 29
EIO000000031605/2010 25
FunctionBlocksCommonI/OandBehavior
CommonI/ODescription
Introduction
ThistopicdescribesthegenericmanagementandexecutionsoftheCAACiA405LibraryfunctionblocksusingtheCIA405.RECV_EMCYfunctionblockasanexample.TheI/Ocommontoallfunctionblocksaredescribedhereafter.TheyareinheritedfromtheCiA405Baseinternalhiddenfunctionblock.
GraphicalRepresentation
TheparametersthatarecommontoallfunctionblocksintheCAACiA405libraryarehighlightedinthegraphicbelow.
CommonInputVariablesDescription
ThefollowingtabledescribestheinputparameterscommontoallfunctionblocksoftheCAACiA405Library.
Input
NETWORK
ENABLE
TIMEOUT
DataType
USINT
BOOL
UDINT
Description
CANchannelonwhichtherequestedservicemustbeexecuted.
1(defaultvalue)=firstCANbusinterface2=secondCANbusinterface(ifexists)
Enablestheexecutionofthefunctionblock.Onrisingedge:theexecutionstarts.
Onfallingedge:theexecutioniscanceledifitisnotcomplete.Otherwise,outputdataareresetto0.
Maximumexecutiontimeinms.Iftimeoutisreachedbeforearesponseisavailable,theexecutionisabortedontimeouterror.
0(facorysetting)=timeoutisdisabled.1...65535=timeoutvalueinms.
26 EIO000000031605/2010
FunctionBlocksCommonI/OandBehavior
CommonOutputVariablesDescription
ThefollowingtabledescribestheoutputvariablescommontoallfunctionblocksoftheCAACiA405Library.
Output
CONFIRM
ERROR
DataType
BOOL
CANOPEN_KERNEL_ERROR(USINT)
Description
TRUEwhentheexecutioniscompletedsuccessfully.
ContainstheexecutiondetectederrorcodereturnedbytheCANopenkernel.
00hex=noexecutionerrordetected.
01hex=detectederror,butcodeavailableatanotherfunctionblockoutput(notfromCANopenkernel).
02…FFhex=CANopenkerneldetectederrorcode.
EIO000000031605/2010 27
FunctionBlocksCommonI/OandBehavior
CANopenKernelDetectedErrorCodes
Description
ThelibraryoffersaCIA405.CANOPEN_KERNEL_ERROR_CODESglobalvariableslistwithpredefinederrorcodevariables.
DetectedErrorCode
Theerrorcodeswithassociatedglobalvariableanddescriptionaregivenbelow.
DetectedErrorCode
CANOPEN_KERNEL_NO_ERROR=00hex
CANOPEN_KERNEL_OTHER_ERROR=01hex
CANOPEN_KERNEL_DATA_OVERFLOW=02hex
CANOPEN_KERNEL_TIMEOUT=03hex
CANOPEN_KERNEL_CANBUS_OFF=10hex
CANOPEN_KERNEL_CAN_ERROR_PASSIVE=11hex
CANOPEN_INTERNAL_FB_ERROR=21hex
28
Description
TheCANopenkernelhasnotdetectedanerror.
IfERRORoutput=01hex,anerrorhasbeendetectedand,ifthereisanothererrorcodeoutputatthefunctionblock,thisoutputcontainsamorespecificinformation.Examples:
zCIA405.SDO_READandCIA405.SDO_WRITEfunctionblocks:theERRORINFOoutputcontainsthecontentoftheSDO-Abortmessage.
zCIA405.RECV_EMCYandCIA405.RECV_EMCY_DEVfunctionblocks:theERRORINFOoutputcontainsthecontentofthereceivedEMCYmessage.WhenanemergencymessageisavailableatERRORINFOoutput,theERRORoutput=1andCONFIRMoutput=0.
zCIA405.GET_CANOPEN_KERNEL_STATEfunctionblock:01hexvalueisneverdeliveredasthereisnoothererrorcodeoutput.
Overflowonsend-buffersorreceive-buffersofCANopenobjects.
Afunctionblockexecutiontimeoutoccurred.
TheCANopennodeisdisconnectedfromtheCANbus.
TheCANopennodeiserrorpassive:thenodeisabletocommunicate,butnotallowedtosendanactiveerrorflagincaseoferrordetection.
Manufacturerspecificerrorcode.
NOTE:21hextoFFhexaredevicemanufacturerdedicatedvalues.
EIO000000031605/2010
FunctionBlocksCommonI/OandBehavior
FunctionBlockExecutionDiagrams
BehavioroftheControlSignals
ThethreetypicalbehaviorsofthecontrolsignalsENABLE,CONFIRMandERRORaredescribedbelow:
zExecutionendedwithoutdetectederrorzExecutioncancelledbyapplication
zExecutionabortedorendedondetectederror
ExecutionEndedwithoutDetectedError
Assoonastheresponsetothecurrentrequestisavailabeandnoerrorhasbeendetected,theoutputCONFIRMissettoTRUEandstaysTRUEaslongasthefunctionblockiscalledwithinputENABLEisTRUE.WhenthefunctionblockiscalledwithENABLEresettoFALSE,CONFIRMisresettoFALSEandthefunctionblockisreadyforanewexecutionstart.
EIO000000031605/2010 29
FunctionBlocksCommonI/OandBehavior
ExecutionCancelledbyApplication
IfthefunctionblockiscalledwithENABLEresettoFALSEbeforethecurrentexecutionhasended,thefunctionblockexecutioniscancelled.Apossiblyavailableorlaterarrivingresponsetothecancelledrequestisignored.
ExecutionAbortedorEndedonDetectedError
AssoonasthecurrentexecutionhasbeenabortedbyanSDOabortmessagereceivedorhasendedonadetectederror,theoutputERRORissettoavaluedifferentfrom0(referCANopenKernelDetectedErrorsCodes(seepage28)forfurtherinformationaboutdetectederrorcodes).TheoutputERRORisresetto0andthefunctionblockisreadyforanewexecutionstartwhenthefunctionblockiscalledwithinputENABLEresettoFALSE.
30 EIO000000031605/2010
NetworkManagementFunctionBlocksEIO000000031605/2010
NetworkManagementFunctionBlocks
4
What'sinthisChapter?
Thischaptercontainsthefollowingsections:
Section
4.1
4.2
4.3
Topic Page
CIA405.NMT:DevicesNMT-StateManagement32CIA405.RECV_EMCY:EMCYMessagesScanning35
CIA405.RECV_EMCY_DEV:GetDeviceEMCYMessage 36
EIO000000031605/2010 31
NetworkManagementFunctionBlocks
4.1 CIA405.NMT:DevicesNMT-StateManagement
DevicesNMT-stateManagement
FunctionBlockDescription
TheCIA405.NMTfu
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- VKWY(客字)-D201失物招领处理记录表
- 数控车床实习总结5篇
- 部编版一年级语文下册第11课《古诗二首》教学课件
- 2024年酒店合作经营合同电子版(二篇)
- 2024年彩瓦经销协议范本(二篇)
- 2024年出租车承包合同(三篇)
- 2024年建房承包合同参考范文(4篇)
- 2024年股权转让合同经典版(6篇)
- 2024年新企业劳动合同样本(二篇)
- 2024年北京租房合同简单版(4篇)
- 建筑材料(A)-形考任务三-国开-参考资料
- 完美着装智慧树知到期末考试答案章节答案2024年武汉纺织大学
- 2024年04月上海世博会博物馆2024年招考3名工作人员笔试历年高频备考试题库含答案带难、易错考点黑钻版解析
- 医用氧气安全技术说明书
- 2024年山东春季高考模拟语文试卷试题及答案详解
- 2024高考物理全国卷(新课标5省)押题模拟含解析
- MOOC 猪生产学-南京农业大学 中国大学慕课答案
- 《变形记》的荒诞与真实
- 江苏红色文化-过程性考核作业二-参考资料-江苏开大
- TIT嵌固抗滑封层技术在高速公路养护中的应用探析
评论
0/150
提交评论