Siemens SIMOTION Function Manual page 109

Motion control basic functions for modular machines
Hide thumbs Also See for SIMOTION:
Table of Contents

Advertisement

3. Edit this batch file. Write a command line to start the u7mkcnfx.exe application with the
4. Execute the batch file.
The figure below shows an example of the directory structure for three configurations identified
by means of 16#000001, 16#000002, and 16#000003.
Basic Functions for Modular Machines
Function Manual, 04/2014
following options:
– /m"Mode" option: /m"MAKE_DIRS".
– /l"Load Path" option: Specification of the complete path for the directory for storing the
uncompressed configuration files (e.g. /l"d:\modular_machine\download").
– /s"Source Path" option: Specification of the complete path for the directory for storing
the compressed configuration files (e.g. /s"d:\modular_machine\zip").
– /d"Destination Path" option: Specification of the complete path for the directory for
storing the card images (e.g. /d"d:\modular_machine\cardfiles").
– /i"Identifier" option: Specification of the identifier for the version of the SIMOTION Kernel
in the form VEyyyyyy, where yyyyyy is a hexadecimal number (e.g. /i"VE004156").
With this number you specify the kernel version for the call of the _activateConfiguration
system function, see Activating a kernel (Page 94).
– /n"Number of Projects" option: Specification of the number of configurations for which
the subdirectories are to be created.
Example:
rem make_dirs.bat Create work directories
rem The command must be written in a command line
u7mkcnfx /m"MAKE_DIRS"
/l"d:\modular_machine\download"
/s"d:\modular_machine\zip"
/d"d:\modular_machine\cardfiles"
/i"VE004156" /n"3"
pause
The syntax of the command line application u7mkcnfx.exe is described in the appendix in
Command line application u7mkcnfx.exe (Page 119).
The directories for the uncompressed and compressed configuration files as well as the
directory for the card images are created. The following is also created:
– In the directories for the uncompressed and compressed configuration files (e.g.
download), the following subdirectories:
DE000001, DE000002, etc.: Consecutively numbered directories for the files of the
associated configuration, in accordance with the number of configurations. The identifier
of these directories (DExxxxxx), corresponds to xxxxxx of a hexadecimal number with
which you identify the respective configuration when calling the _activateConfiguration
system function, see Activating a configuration (Page 89).
INITIAL: Directory for the files of the initial configuration
KERNEL: Directory for storing the kernel
– In the directory for the card images (e.g. cardfiles), the following INSTALL
\SIMOTION subdirectory containing a subdirectory with the identifier specified with the /
i"Identifier" option (e.g. VE004156).
Further directories, not specified here, are created within these subdirectories.
Changing the active configuration or the active kernel
6.6 Procedure for creating the card images of configurations
109

Advertisement

Table of Contents
loading

Table of Contents