Download Ethernet POWERLINK Controlled Node
Transcript
Table of Contents 2/297 Table of Contents 1 1.1 1.2 1.3 1.4 1.5 1.6 Introduction....................................................................................................................................5 Abstract ...................................................................................................................................... 5 List of Revisions ......................................................................................................................... 6 Functional Overview................................................................................................................... 7 System Requirements ................................................................................................................ 7 Intended Audience ..................................................................................................................... 7 Specifications ............................................................................................................................. 8 1.6.1 1.7 1.8 1.9 1.9.1 1.9.2 1.9.3 1.9.4 2 2.1 2.2 3.1 Input Process Data......................................................................................................................... 23 Output Process Data...................................................................................................................... 23 Acyclic Data (Mailboxes) .......................................................................................................... 24 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3 Application as Client....................................................................................................................... 20 Application as Server ..................................................................................................................... 21 Dual-Port Memory........................................................................................................................22 Cyclic Data (Input/Output Data) ............................................................................................... 22 3.1.1 3.1.2 3.2 Communication via Mailboxes ....................................................................................................... 14 Using Source and Destination Variables correctly ......................................................................... 15 Obtaining useful Information about the Communication Channel .................................................. 18 Client/Server Mechanism ......................................................................................................... 20 2.4.1 2.4.2 3 Getting the Receiver Task Handle of the Process Queue.............................................................. 13 Meaning of Source- and Destination-related Parameters .............................................................. 13 Accessing the Protocol Stack via the Dual Port Memory Interface.......................................... 14 2.3.1 2.3.2 2.3.3 2.4 Copyright........................................................................................................................................ 10 Important Notes.............................................................................................................................. 10 Exclusion of Liability....................................................................................................................... 10 Export............................................................................................................................................. 11 Fundamentals ..............................................................................................................................12 General Access Mechanisms on netX Systems ...................................................................... 12 Accessing the Protocol Stack by Programming the AP Task’s Queue.................................... 13 2.2.1 2.2.2 2.3 Technical Data ................................................................................................................................. 8 Terms, Abbreviations and Definitions ........................................................................................ 9 References ................................................................................................................................. 9 Legal Notes .............................................................................................................................. 10 General Structure of Messages or Packets for Non-Cyclic Data Exchange................................... 25 Status & Error Codes ..................................................................................................................... 28 Differences between System and Channel Mailboxes ................................................................... 28 Send Mailbox ................................................................................................................................. 28 Receive Mailbox............................................................................................................................. 28 Channel Mailboxes (Details of Send and Receive Mailboxes) ....................................................... 29 Status ....................................................................................................................................... 30 3.3.1 3.3.2 Common Status ............................................................................................................................. 30 Extended Status............................................................................................................................. 36 3.4 Control Block ............................................................................................................................ 40 4.1 4.2 Getting started / Configuration ..................................................................................................41 Overview about Essential Functionality ................................................................................... 41 Warmstart Parameters ............................................................................................................. 42 4 4.2.1 4.2.2 4.3 Timing of PRes Data Exchange ..................................................................................................... 47 Behavior when receiving a Set Configuration / Warmstart Command............................................ 48 Configuration of an Ethernet Powerlink Controlled Node ........................................................ 49 4.3.1 Steps and Hints to configuring with Warmstart Packet................................................................... 49 4.4 4.5 Process Data (Input and Output) ............................................................................................. 51 Task Structure of the Ethernet POWERLINK Controlled Node Stack ..................................... 51 5.1 5.2 Overview .......................................................................................................................................53 State Machine .......................................................................................................................... 53 Object Dictionary ...................................................................................................................... 64 5 5.2.1 5.2.2 Definition of the Object Dictionary .................................................................................................. 64 Indexing Concept ........................................................................................................................... 64 Ethernet POWERLINK Controlled Node | DOC071104API12EN | Revision 12 | English | 2013-10 | Released | Public © Hilscher, 2006-2013