315-4PN33

Command Description Diagnostics entry
SAVE_PROJECT The recent project (blocks and hardware config-
uration) is stored as "s7prog.wld" at the MMC.If
the file just exists it is renamed to "s7prog.old".
If your CPU is password protected so you have
to add this as parameter. Otherwise 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 "diagbuff.txt" at the MMC.
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
The structure of a command file is shown in the following. The corre-
sponding diagnostics entry is put in parenthesizes.
Example 1
CMD_START
Marks the start of the command sequence (0xE801)
LOAD_PROJECT proj.wld
Execute an overall reset and load "proj.wld" (0xE805)
WAIT1SECOND
Wait ca. 1s (0xE803)
WEBPAGE
Store web page as "webpage.htm" (0xE804)
DIAGBUF
Store diagnostics buffer of the CPU as "diagbuff.txt"
(0xE80B)
CMD_END
Marks the end of the command sequence (0xE802)
... arbitrary text ...
Text after the command CMD_END is not evaluated.
Example 2
CMD_START
Marks the start of the command sequence (0xE801)
LOAD_PROJECT proj2.wld
Execute an overall reset and load "proj2.wld" (0xE805)
WAIT1SECOND
Wait ca. 1s (0xE803)
WAIT1SECOND
Wait ca. 1s (0xE803)
SET_NETWORK
172.16.129.210,255.255.224.0
,172.16.129.210
IP parameter(0xE80E)
WAIT1SECOND
Wait ca. 1s (0xE803)
WAIT1SECOND
Wait ca. 1s (0xE803)
WEBPAGE
Store web page as "webpage.htm" (0xE804)
DIAGBUF
Store diagnostics buffer of the CPU as "diagbuff.txt"
(0xE80B)
Examples
VIPA System 300SDeployment CPU 315-4PN33
MMC-Cmd - Auto commands
HB140 | CPU | 315-4PN33 | GB | 14-43 64