Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
6203c017
Commit
6203c017
authored
Apr 12, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Profibus configurator help
parent
5b82c618
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
184 additions
and
0 deletions
+184
-0
profibus/exp/rt/src/os_linux/hw_x86/makefile
profibus/exp/rt/src/os_linux/hw_x86/makefile
+106
-0
profibus/exp/rt/src/profibus_gsdeditor.gif
profibus/exp/rt/src/profibus_gsdeditor.gif
+0
-0
profibus/exp/rt/src/profibus_xtthelp.dat
profibus/exp/rt/src/profibus_xtthelp.dat
+78
-0
No files found.
profibus/exp/rt/src/os_linux/hw_x86/makefile
0 → 100644
View file @
6203c017
include
$(pwre_dir_symbols)
ifndef
variables_mk
-include
$(pwre_croot)/src/tools/bld/src/$(os_name)/$(hw_name)/variables.mk
endif
ifndef
variables_mk
include
$(pwre_croot)/src/tools/bld/src/$(os_name)/variables.mk
endif
ifndef
rules_mk
-include
$(pwre_croot)/src/tools/bld/src/$(os_name)/$(hw_name)/rules.mk
endif
ifndef
rules_mk
include
$(pwre_croot)/src/tools/bld/src/$(os_name)/rules.mk
endif
vpath %.c $(hw_source)
:
$(os_source):$(co_source)
vpath %.dat $(hw_source)
:
$(os_source):$(co_source)
vpath %.gif $(hw_source)
:
$(os_source):$(co_source)
source_dirs
=
$(hw_source)
$(os_source)
$(co_source)
sources
:=
$(
sort
\
$(
foreach
file,
\
$(
foreach
dir
,
\
$(source_dirs)
,
\
$(
wildcard
$(dir)
/
*
.c
)
\
)
,
$(
notdir
$(file)
)
\
)
\
)
c_sources
:=
$(
filter
%.c,
$(sources)
)
sources
:=
$(
sort
\
$(
foreach
file,
\
$(
foreach
dir
,
\
$(source_dirs)
,
\
$(
wildcard
$(dir)
/
*
.gif
)
\
)
,
$(
notdir
$(file)
)
\
)
\
)
gif_sources
:=
$(
filter
%.gif,
$(sources)
)
sources
:=
$(
sort
\
$(
foreach
file,
\
$(
foreach
dir
,
\
$(source_dirs)
,
\
$(
wildcard
$(dir)
/
*
.wav
)
\
)
,
$(
notdir
$(file)
)
\
)
\
)
wav_sources
:=
$(
filter
%.wav,
$(sources)
)
export_obj
:=
$(
patsubst
%.c,
$(obj_dir)
/%.o,
$(c_sources)
)
clean_obj
:=
$(
patsubst
%.c,clean_%.o,
$(c_sources)
)
export_gif
:=
$(
patsubst
%.gif,
$(exe_dir)
/%.gif,
$(gif_sources)
)
export_gifdoc
:=
$(
patsubst
%.gif,
$(doc_dir)
/help/%.gif,
$(gif_sources)
)
export_wav
:=
$(
patsubst
%.wav,
$(exe_dir)
/%.wav,
$(wav_sources)
)
.PHONY
:
all init copy lib exe clean realclean
\
$(clean_c)
all
:
init copy lib
init
:
copy
:
$(exe_dir)/profibus_xtthelp.dat $(export_gif) $(export_gifdoc) $(export_wav)
lib
:
$(export_obj)
exe
:
clean
:
realclean
:
clean $(clean_obj)
.SUFFIXES
:
$(exe_dir)/%.wav
:
../../%.wav
@
$(log_h_h)
@
$(cp)
$(cpflags)
$(source)
$(target)
$(exe_dir)/profibus_xtthelp.dat
:
profibus_xtthelp.dat
@
echo
"Copying
$(source)
"
@
$(cp)
$(cpflags)
$(source)
$(target)
@
co_convert
-t
-d
$(pwr_doc)
/help
$(source)
$(exe_dir)/%.gif
:
../../%.gif
@
echo
"Copying
$(source)
.gif exe"
@
$(cp)
$(cpflags)
$(source)
$(target)
$(doc_dir)/help/%.gif
:
../../%.gif
@
echo
"Copying
$(source)
.gif doc/help"
@
$(cp)
$(cpflags)
$(source)
$(target)
$(clean_obj)
:
clean_%.o : %.c
rm
$(obj_dir)
/
$*
.o
profibus/exp/rt/src/profibus_gsdeditor.gif
0 → 100644
View file @
6203c017
25.1 KB
profibus/exp/rt/src/profibus_xtthelp.dat
0 → 100644
View file @
6203c017
<topic> pb_slave_editor
Profibus Slave Configuration
The Profibus configuration for slaves are displayed and configured
from the Profibus Gsd Editor.
The configuration is read from the gsd-file for the slave and from
the data of any previous configuration stored in the PrmUserData attribute
of the slave object.
<b>SlaveGsdData
Under the map SlaveGsdData data from the gsd-file are displayed. This data
can't be changed.
<b>UserPrmData
The UserPrmData map displays the configuration of the slave.
<b>Modules
There is one module entry for each possible module in the slave. Every
module might not be occupied.
A module is specified by the
- ObjectName.
- Module type. The available types are listed from the gsd-file,
and one is selected. If no module is present, 'No' is selected.
- UserPrmData, which holds the configuration of the module.
- Class, i.e. the class of the module object.
<h1> Configuration
When the GsdEditor is opened from the Configurator in edit mode, it is
possible to configure a Profibus DP Slave.
Create an object of class Pb_DP_Slave. The object can also be of a class
that is a subclass of Pb_DP_Slave.
Configuration data are fetched from a gsd-file. If you use a Pb_DP_Slave
object, the filename of the gds-file should be inserted into the GSDfile
attribute. For subclasses, a valid gsd-file is already set as a template
value.
The GsdEditor is then opened from the popup menu of the Pb_DP_Slave object.
Open the UserPrmData map and set configuration values for the slave. This
data is specific for the actual slave type.
Next step is to configure the modules of the slave. Open the first Module
entry, and select a module type. Under Type all the module types available
for this slave are listed.
When a module type is choosen, UserPrmData for this type can be edited under
the UserPrmData map. This data is specific for the actual module type.
The configuration will create a module object for each module, and you have
to set an object name and a class for this object. Under the Class entry, all
available module classes are listed. If you find a special module class
that matches you module, you choose this, otherwise you choose the Pb_Module
class.
Configure the other modules of the slave in the same way, and then press the
Apply button. Now the configuration data is inserted into the slave object,
and the module objects are created.
The configuration in the GsdEditor is now finished and you can leave the
GsdEditor. But there are still some configuration to be done.
If you found a matching module class for each module, the module objects will
contain the channels for the module. Though, if you had to use the Pb_Module
class, you have to create channel objects under the module object. The channel
objects should match the data area (input and/or ouput area) of the specific
module.
Finally you have to connect the channels to signal objects. In some cases, it
is possible to connect a module to a component object, and then make all signal/
channel connections in one operation.
<image> profibus_gsdeditor.gif
</topic>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment