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
SAVE_PROJECT
The recent project (blocks and hardware configuration) is
stored as "s7prog.wld" at the memory card. If the file just
exists it is renamed to "s7prog.old". If your CPU is pass-
word protected so you have to add this as parameter. Oth-
erwise there is no project written.
Example: SAVE_PROJECT password
0xE806
FACTORY_RESET
Executes "factory reset".
0xE807
DIAGBUF
The current diagnostics buffer of the CPU is stored as "dia-
gbuff.txt" at the memory card.
0xE80B
SET_NETWORK
IP parameters for Ethernet PG/OP channel may be set by
means of this command. The IP parameters are to be
given in the order IP address, subnet mask and gateway in
the format x.x.x.x each separated by a comma. Enter the
IP address if there is no gateway used.
0xE80E
CMD_END
In the last line CMD_END is to be located.
0xE802
WEBPAGE
Saves all information on the device web page (Expert-
View) as
webpage.txt
on the memory card
‘Accessing the web server’ page 85
0xE804
WEBVISU_PGOP_ENABLE
Enable
WebVisu
project via Ethernet PG/OP channel
0xE82C
Overview
Command file
Commands
VIPA System MICRO
Deployment CPU M13-CCF0000
CMD - auto commands
HB400 | CPU | M13-CCF0000 | en | 18-50
102