Creating The Compressed Configuration Files - Siemens SIMOTION Function Manual

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

Advertisement

Changing the active configuration or the active kernel
6.6 Procedure for creating the card images of configurations
6.6.4

Creating the compressed configuration files

Proceed as follows to compress the configuration files
1. Create a batch file (e.g. make_zip.bat).
2. Edit this batch file. Write a command line for each configuration to start the u7mkcnfx.exe
3. Execute the batch file.
114
application with the following options:
– /m"Mode" option: /m"MAKE_ZIP"
– /s"Source Path" option: Specification of the complete path in which the uncompressed
files of the respective configuration are stored (e.g. /s"d:\modular_machine
\download\DE000001").
– /d"Destination Path" option: Specification of the complete path for the directory for
storing the compressed configuration files (e.g. /d"d:\modular_machine\zip").
– /i"Identifier" option: Specification of the subdirectory in which the compressed files of
the respective configuration are stored. This name is identical to the name of the
corresponding subdirectory for the uncompressed files (e.g. /i"DE000001").
You use the hexadecimal number in the name to specify the configuration for the call
of the _activateConfiguration system function, see Activating a configuration (Page 89).
You create the compressed files of the initial configuration with the /i"INITIAL"
option.
Example:
rem make_zip.bat Compress configuration files
rem he command must be written in a command line
u7mkcnfx /m"MAKE_ZIP"
/s"d:\modular_machine\download\DE000001"
/d"d:\modular_machine\zip" /i"DE000001"
u7mkcnfx /m"MAKE_ZIP"
/s"d:\modular_machine\download\DE000002"
/d"d:\modular_machine\zip" /i"DE000002"
u7mkcnfx /m"MAKE_ZIP"
/s"d:\modular_machine\download\DE000003"
/d"d:\modular_machine\zip" /i"DE000003"
rem Compress files of the initial configuration
u7mkcnfx /m"MAKE_ZIP"
/s"d:\modular_machine\download\initial"
/d"d:\modular_machine\zip" /i"INITIAL"
pause
The syntax of the command line application u7mkcnfx.exe is described in the appendix
in Command line application u7mkcnfx.exe (Page 119).
The compressed files are created in the specified directories (the PROJECT.ZIP file in each
PROJECT subdirectory).
Basic Functions for Modular Machines
Function Manual, 04/2014

Advertisement

Table of Contents
loading

Table of Contents