5.
Plug the memory card into the CPU and execute an
overall reset
ð
The overall reset stores the blocks in protect.wld permanently in the CPU pro-
tected from accesses of 3. persons.
Protected blocks are overwritten by a new protect.wld. Using a PG 3. persons may
access protected blocks but only the block header is transferred to the PG. The block
code that is to be protected remains in the CPU and cannot be read.
Protected blocks in the RAM of the CPU may be substituted at any time by blocks with
the same name. This change remains up to next overall reset. Protected blocks may per-
manently be overwritten only if these are deleted at the protect.wld before. A factory reset
does not affect the protected blocks. By transferring an empty protect.wld from the
memory card with an overall reset, you may delete all protected blocks in the CPU.
Due to the fact that reading of a "protected" block from the CPU monitors no symbol
labels it is convenient to provide the "block covers" for the end user. For this, create a
project of all protected blocks. Delete all networks in the blocks so that these only contain
the variable definitions in the according symbolism.
4.17 CMD - auto commands
A
Command
file at a memory card is automatically executed under the following condi-
tions:
n
CPU is in STOP and memory card is plugged
n
After each PowerON
The
Command
file is a text file, which consists of a command sequence to be stored as
vipa_cmd.mmc
in the root directory of the memory card. The file has to be started by
CMD_START as 1. command, followed by the desired commands (no other text) and
must be finished by CMD_END as last command.
Text after the last command
CMD_END
e.g. comments is permissible, because this is
ignored. As soon as the command file is recognized and executed each action is stored
at the memory card in the log file logfile.txt. In addition for each executed command a
diagnostics entry may be found in the diagnostics buffer.
Please regard the command sequence is to be started with
CMD_START
and ended with
CMD_END
.
Command
Description
Diagnostics entry
CMD_START
In the first line CMD_START is to be located.
0xE801
There is a diagnostics entry if CMD_START is missing.
0xE8FE
WAIT1SECOND
Waits about 1 second.
0xE803
LOAD_PROJECT
The function "Overall reset and reload from memory card" is
executed. The wld file located after the command is loaded else
"s7prog.wld" is loaded.
0xE805
Protection behaviour
Change respectively
delete protected blocks
Usage of protected blocks
Overview
Command file
Commands
VIPA System MICRO
Deployment CPU M13-CCF0000
CMD - auto commands
HB400 | CPU | M13-CCF0000 | en | 16-47
82