5.17 CMD - auto commandsA command file at a memory card is automatically executed under the following condi-tions:n CPU is in STOP and memory card is stuckn After each PowerONThe command file is a text file, which consists of a command sequence to be stored asvipa_cmd.mmc in the root directory of the memory card. The file has to be started byCMD_START as 1. command, followed by the desired commands (no other text) andmust be finished by CMD_END as last command.Text after the last command CMD_END e.g. comments is permissible, because this isignored. As soon as the command file is recognized and executed each action is storedat the memory card in the log file logfile.txt. In addition for each executed command adiagnostics entry may be found in the diagnostics buffer.Please regard the command sequence is to be started with CMD_START and ended withCMD_END.Command Description DiagnosticsentryCMD_START In the first line CMD_START is to be located. 0xE801There is a diagnostic entry if CMD_START is missing 0xE8FEWAIT1SECOND Waits about 1 second. 0xE803WEBPAGE The current web page of the CPU is stored at the memory card as"webpage.htm".0xE804LOAD_PROJECT The function "Overall reset and reload from MMC" is executed. Thewld file located after the command is loaded else "s7prog.wld" isloaded.0xE805SAVE_PROJECT The recent project (blocks and hardware configuration) is stored as"s7prog.wld" at the memory card. If the file just exists it is renamedto "s7prog.old". If your CPU is password protected so you have toadd this as parameter. Otherwise there is no project written.Example: SAVE_PROJECT password0xE806FACTORY_RESET Executes "factory reset". 0xE807DIAGBUF The current diagnostics buffer of the CPU is stored as "diagbuff.txt"at the memory card.0xE80BSET_NETWORK IP parameters for Ethernet PG/OP channel may be set by means ofthis command. The IP parameters are to be given in the order IPaddress, subnet mask and gateway in the format x.x.x.x each sepa-rated by a comma. Enter the IP address if there is no gateway used.0xE80ESET_MPI_ADDRESS This lets you adjust the MPI interface on the value that follows thecommand. The setting is retained even after power cycle, firmwareupdate or battery failure. WithÄ Chap. 5.14 ‘Reset to factory set-tings’ page 75 you get the default setting.0xE814CMD_END In the last line CMD_END is to be located. 0xE802The structure of a command file is shown in the following. The corresponding diagnosticsentry is put in parenthesizes.OverviewCommand fileCommandsExamplesVIPA System 300S+ Deployment CPU 313-5BF23CMD - auto commandsHB140 | CPU-SC | 313-5BF23 | en | 19-01 79