ethercat-1.5.2
- 格式:pdf
- 大小:713.84 KB
- 文档页数:94
IgHMaster1.5.2Documentation
Dipl.-Ing.(FH)FlorianPose,fp@igh-essen.comIngenieurgemeinschaft
Essen,February8,2013
Revision1f03f2543fc3ii1f03f2543fc3,2013/02/08Contents
Conventions....................................x
1TheIgHEtherCATMaster1
1.1FeatureSummary..............................1
1.2License....................................3
2Architecture5
2.1MasterModule...............................7
2.2MasterPhases................................8
2.3ProcessData................................8
3ApplicationInterface11
3.1MasterConfiguration............................11
3.1.1SlaveConfiguration.........................11
3.2CyclicOperation..............................13
3.3VoEHandlers................................13
3.4ConcurrentMasterAccess.........................14
3.5DistributedClocks.............................15
4EthernetDevices19
4.1NetworkDriverBasics...........................19
4.2NativeEtherCATDeviceDrivers.....................21
4.3GenericEtherCATDeviceDriver.....................23
4.4ProvidingEthernetDevices........................24
4.5Redundancy.................................24
4.6EtherCATDeviceInterface.........................24
4.7PatchingNativeNetworkDrivers.....................25
5StateMachines27
5.1StateMachineTheory...........................28
5.2TheMaster’sStateModel.........................30
5.3TheMasterStateMachine.........................33
5.4TheSlaveScanStateMachine.......................33
5.5TheSlaveConfigurationStateMachine..................36
5.6TheStateChangeStateMachine.....................36
5.7TheSIIStateMachine...........................39
5.8ThePDOStateMachines.........................40
1f03f2543fc3,2013/02/08iii6MailboxProtocolImplementations45
6.1EthernetoverEtherCAT(EoE)......................45
6.2CANopenoverEtherCAT(CoE).....................47
6.3VendorspecificoverEtherCAT(VoE)...................49
6.4ServoProfileoverEtherCAT(SoE)....................49
7UserspaceInterfaces51
7.1Command-lineTool.............................51
7.1.1CharacterDevices..........................51
7.1.2SettingAliasAddresses.......................52
7.1.3DisplayingtheBusConfiguration.................52
7.1.4OutputPDOinformationinCLanguage.............53
7.1.5DisplayingProcessData......................53
7.1.6SettingaMaster’sDebugLevel..................54
7.1.7ConfiguredDomains........................54
7.1.8SDOAccess.............................55
7.1.9EoEStatistics............................56
7.1.10File-AccessoverEtherCAT.....................56
7.1.11CreatingTopologyGraphs.....................57
7.1.12MasterandEthernetDevices...................58
7.1.13SyncManagers,PDOsandPDOEntries.............58
7.1.14RegisterAccess...........................59
7.1.15SDODictionary...........................60
7.1.16SIIAccess..............................61
7.1.17SlavesontheBus..........................63
7.1.18SoEIDNAccess...........................64
7.1.19RequestingApplication-LayerStates...............65
7.1.20DisplayingtheMasterVersion...................66
7.1.21GeneratingSlaveDescriptionXML................66
7.2UserspaceLibrary..............................66
7.2.1UsingtheLibrary..........................66
7.2.2Implementation...........................67
7.2.3Timing................................68
7.3RTDMInterface...............................68
7.4SystemIntegration.............................69
7.4.1InitScript..............................69
7.4.2SysconfigFile............................69
7.4.3StartingtheMasterasaService..................70
7.4.4Integrationwithsystemd......................71
7.5DebugInterfaces..............................72
8TimingAspects73
8.0.1ApplicationInterfaceProfiling...................73
8.0.2BusCycleMeasuring........................74
iv1f03f2543fc3,2013/02/089Installation77
9.1GettingtheSoftware............................77
9.2BuildingtheSoftware............................77
9.3BuildingtheInterfaceDocumentation...................79
9.4InstallingtheSoftware...........................79
9.5AutomaticDeviceNodeCreation.....................81
Bibliography83
Glossary84
1f03f2543fc3,2013/02/08vvi1f03f2543fc3,2013/02/08ListofTables
3.1SpecifyingaSlavePosition.........................12
5.1Atypicalstatetransitiontable.......................29
7.1ApplicationInterfaceTimingComparison................68
8.1ProfilingofanApplicationCycleona2.0GHzProcessor........73
9.1Configurationoptions............................78
1f03f2543fc3,2013/02/08vii