Cmd - Auto Commands - YASKAWA SPEED7 300S+ CPU 315PN Manual

Table of Contents

Advertisement

+
System 300S
5.18

CMD - auto commands

Overview
Command file
Commands
Command
CMD_START
WAIT1SECOND
WEBPAGE
LOAD_PROJECT
SAVE_PROJECT
FACTORY_RESET
DIAGBUF
SET_NETWORK
SET_MPI_ADDRESS
CMD_END
Examples
HB140 | CPU | 315-4PN23 | en | 18-02
A command file at a memory card is automatically executed under the following condi-
tions:
n
CPU is in STOP and memory card is stuck
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.
Description
In the first line CMD_START is to be located.
There is a diagnostic entry if CMD_START is missing
Waits about 1 second.
The current web page of the CPU is stored at the memory card as"
webpage.htm".
The function "Overall reset and reload from MMC" is executed. The
wld file located after the command is loaded else "s7prog.wld" is
loaded.
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 password protected so you have to
add this as parameter. Otherwise there is no project written.
Example: SAVE_PROJECT password
Executes "factory reset".
The current diagnostics buffer of the CPU is stored as "diagbuff.txt"
at the memory card.
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 sepa-
rated by a comma. Enter the IP address if there is no gateway used.
This lets you adjust the MPI interface on the value that follows the
command. The setting is retained even after power cycle, firmware
update or battery failure. With
tings' page 67 you get the default setting.
In the last line CMD_END is to be located.
The structure of a command file is shown in the following. The corresponding diagnostics
entry is put in parenthesizes.
Ä Chap. 5.15 'Reset to factory set-
Deployment CPU 315-4PN23
CMD - auto commands
Diagnostics
entry
0xE801
0xE8FE
0xE803
0xE804
0xE805
0xE806
0xE807
0xE80B
0xE80E
0xE814
0xE802
71

Advertisement

Table of Contents
loading

This manual is also suitable for:

315-4pn23

Table of Contents