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
b036f7d1
Commit
b036f7d1
authored
18 years ago
by
Florian Pose
Browse files
Options
Downloads
Patches
Plain Diff
Updated mini example.
parent
e9a9f7b0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/mini/mini.c
+3
-3
3 additions, 3 deletions
examples/mini/mini.c
with
3 additions
and
3 deletions
examples/mini/mini.c
+
3
−
3
View file @
b036f7d1
...
@@ -63,8 +63,8 @@ uint32_t k_pos;
...
@@ -63,8 +63,8 @@ uint32_t k_pos;
uint8_t
k_stat
;
uint8_t
k_stat
;
ec_pdo_reg_t
domain1_pdos
[]
=
{
ec_pdo_reg_t
domain1_pdos
[]
=
{
{
"
1
"
,
Beckhoff_EL4132_Output1
,
&
r_ana_out
},
{
"
2
"
,
Beckhoff_EL4132_Output1
,
&
r_ana_out
},
{
"
8
"
,
Beckhoff_EL5001_Value
,
NULL
},
{
"
3
"
,
Beckhoff_EL5001_Value
,
NULL
},
{}
{}
};
};
...
@@ -148,7 +148,7 @@ int __init init_mini_module(void)
...
@@ -148,7 +148,7 @@ int __init init_mini_module(void)
goto
out_release_master
;
goto
out_release_master
;
}
}
if
(
!
(
slave
=
ecrt_master_get_slave
(
master
,
"
8
"
)))
if
(
!
(
slave
=
ecrt_master_get_slave
(
master
,
"
3
"
)))
goto
out_release_master
;
goto
out_release_master
;
if
(
ecrt_slave_conf_sdo8
(
slave
,
0x4061
,
1
,
0
))
if
(
ecrt_slave_conf_sdo8
(
slave
,
0x4061
,
1
,
0
))
...
...
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