Creating The Script Folder In The Scout Project; Creating The Work Directories On The Pc/Pg - Siemens SIMOTION Function Manual

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

Advertisement

Appendix
A.2 Creating the card images for the configuration server by means of SCOUT scripting
The steps for creating the card images of configurations (as described in Procedure for creating
the card images of configurations (Page 107)) can be largely automated by means of SCOUT
scripting.
After you have set up the folder for the scripts (Creating the script folder in the SCOUT
project (Page 122)), create the individual scripts for the following tasks:
● Creating the work directories on the PC/PG (Page 122)
● Saving the configuration files in the work directories on the PC/PG (Page 124)
● Creating the compressed configuration files (Page 125)
● Creating the card images of the configurations (Page 126)
Script to call up the individual scripts to create the card image (Page 128) in the appendix
defines another script which calls up the ones specified above.
A.2.1

Creating the script folder in the SCOUT project

First, you must set up the folder in the engineering system (e.g. SIMOTION SCOUT) in which
the scripts will be stored.
Proceed as follows:
1. Select the project in the project navigator.
2. Select the Expert > Insert script folder context menu.
Proceed as follows to create a script in this folder:
1. Select the folder.
2. Select the Insert new object > Script context menu.
3. Specify the name.
4. Confirm with OK.
A.2.2

Creating the work directories on the PC/PG

The following script "createDirsModMach" deletes any directories present in the d:
\modular_machine directory and also sets up the required directories there, see also
Creating the work directories on the PC/PG (Page 108).
' createDirsModMach
App.LogActive = True
APP.LogMode = 1
122
The SCRIPTS folder is created in the project. The scripts defined in the following sections
are stored in this folder.
Basic Functions for Modular Machines
Function Manual, 04/2014

Advertisement

Table of Contents
loading

Table of Contents