Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
etherlabmaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ICS Control System Infrastructure
etherlabmaster
Commits
9864b818
Commit
9864b818
authored
16 years ago
by
Florian Pose
Browse files
Options
Downloads
Patches
Plain Diff
sec:ecrt is a chapter; sec:eoeimp -> sec:eoe, ...
parent
9ec10e32
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
documentation/ethercat_doc.tex
+11
-11
11 additions, 11 deletions
documentation/ethercat_doc.tex
with
11 additions
and
11 deletions
documentation/ethercat_doc.tex
+
11
−
11
View file @
9864b818
...
...
@@ -199,7 +199,7 @@ independent architecture.
\end
{
itemize
}
\item
Common ``Application Interface'' for applications, that want to use
EtherCAT functionality
(
see
section
~
\ref
{
sec:ecrt
}
)
.
EtherCAT functionality
(
see
chap.
~
\ref
{
sec:ecrt
}
)
.
\item
\textit
{
Domains
}
are introduced, to allow grouping of process
data transfers with different slave groups and task periods.
...
...
@@ -332,7 +332,7 @@ Figure~\ref{fig:arch} gives a general overview of the master architecture.
Kernel module containing one or more EtherCAT master instances
(
see
section~
\ref
{
sec:mastermod
}
)
, the ``Device Interface''
(
see
section~
\ref
{
sec:ecdev
}
)
and the ``Application Interface''
(
see
section
~
\ref
{
sec:ecrt
}
)
.
chap.
~
\ref
{
sec:ecrt
}
)
.
\paragraph
{
Device Modules
}
\index
{
Device modules
}
...
...
@@ -353,7 +353,7 @@ process data with EtherCAT slaves). These modules are not part of the EtherCAT
master code
\footnote
{
Although there are some examples provided in the
\textit
{
examples
/
}
directory.
}
, but have to be generated or written by the
user. An application module can ``request'' a master through the application
interface
(
see
section
~
\ref
{
sec:ecrt
}
)
. If this succeeds, the module has the
interface
(
see
chap.
~
\ref
{
sec:ecrt
}
)
. If this succeeds, the module has the
control over the master: It can provide a bus configuration and exchange
process data.
...
...
@@ -428,7 +428,7 @@ MAC addresses for multiple masters have to be separated by commas:
The two masters can be addressed by their indices
0
and
1
respectively
(
see
figure~
\ref
{
fig:masters
}
)
. The master index is needed for the
\lstinline
+
ecrt
_
master
_
request
()+
function of the application interface
(
see
section
~
\ref
{
sec:ecrt
}
)
and the
\lstinline
+--
master
+
option of the
chap.
~
\ref
{
sec:ecrt
}
)
and the
\lstinline
+--
master
+
option of the
\textit
{
ethercat
}
command
-
line tool
(
see section~
\ref
{
sec:ethercat
}
)
, which
defaults to
$
0
$
.
...
...
@@ -629,7 +629,7 @@ code. They are documented in the source code.
In some cases, one master is used by several instances, for example when an
application does cyclic process data exchange, and there are EoE
-
capable slaves
that require to exchange Ethernet data with the kernel
(
see
section~
\ref
{
sec:eoe
imp
}
)
. For this reason, the master is a shared resource,
section~
\ref
{
sec:eoe
}
)
. For this reason, the master is a shared resource,
and access to it has to be sequentialized. This is usually done by locking with
semaphores, or other methods to protect critical sections.
...
...
@@ -655,8 +655,8 @@ The application's cyclic task uses the master for process data exchange, while
the master
-
internal EoE process uses it to communicate with EoE
-
capable
slaves. Both have to acquire the master lock before access: The application
task can access the lock natively, while the EoE process has to use the
callbacks. See the application interface documentation
(
section~
\ref
{
sec:ecrt
}
of how to use the locking callbacks.
callbacks. See the application interface documentation
(
chap.~
\ref
{
sec:ecrt
}
of how to use the locking callbacks.
%------------------------------------------------------------------------------
...
...
@@ -1007,7 +1007,7 @@ time it waits for datagram reception. There is no difficulty when only
one instance is using the master, but if more instances want to
(
synchronously
\footnote
{
At this time, synchronous master access will
be adequate to show the advantages of an FSM. The asynchronous
approach will be discussed in section~
\ref
{
sec:eoe
imp
}}
)
use the
approach will be discussed in section~
\ref
{
sec:eoe
}}
)
use the
master, it is inevitable to think about an alternative to the
sequential model.
...
...
@@ -1577,7 +1577,7 @@ The Pdo state machines are a set of state machines that read or write the Pdo
assignment and the Pdo mapping via the ``CoE Communication Area'' described in
\cite
[
section
5
.
6
.
7
.
4
]
{
alspec
}
. For the object access, the
CANopen
-
over
-
EtherCAT access primitives are used
(
see
section~
\ref
{
sec:coe
imp
}
)
, so the slave must support the CoE mailbox protocol.
section~
\ref
{
sec:coe
}
)
, so the slave must support the CoE mailbox protocol.
\paragraph
{
Pdo Reading FSM
}
This state machine
(
fig.~
\ref
{
fig:fsm
-
pdo
-
read
}
)
has the purpose to read the complete Pdo configuration of a slave. It reads
...
...
@@ -1637,7 +1637,7 @@ protocols. See the below section for details.
%------------------------------------------------------------------------------
\section
{
Ethernet
-
over
-
EtherCAT
(
EoE
)
}
\label
{
sec:eoe
imp
}
\label
{
sec:eoe
}
\index
{
EoE
}
The EtherCAT master implements the Ethernet
-
over
-
EtherCAT mailbox protocol to
...
...
@@ -1795,7 +1795,7 @@ application-layer state is automatically set to OP.
%------------------------------------------------------------------------------
\section
{
CANopen
-
over
-
EtherCAT
(
CoE
)
}
\label
{
sec:coe
imp
}
\label
{
sec:coe
}
\index
{
CoE
}
The CANopen
-
over
-
EtherCAT protocol
\cite
[
section~
5
.
6
]
{
alspec
}
is used to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment