Lenze ETC Motion Control User Manual

Page 334

Advertising
background image

ETC−MMI

Appendix
Configuration file (DELPHMMI.INI)

7

7.8
7.8.3

l

334

EDSTCXN EN 2.0

)

Note!

The file can be edited by means of the MMI software
(Diagnostics operating mode − MMI−config. function). It must be
noted here that some changes are only updated after a restart of
the software and some changes are only updated when the
control system is reset.
A restart of the software can be achieved by quitting the MMI
software and then restarting it. To reset the control system, it
must be switched off and on or the Reset pushbutton must be
pressed.

In the Delphmmi.ini in the [SPS_EXEC] section, the programs are entered
that are to be executed if required. The entry number specifies the index of
the program that the PLC must report. The name of the application is
entered. Another program parameter can be specified separated by a
semicolon.

It can also be specified whether the application is executed in a normal
window (NORMAL) or in a maximised or minimised window. The default
setting is normal.

[SPS_EXEC]
entry0=C:\WinNT\Notepad
entry1=C:\WinNT\Notepad;Readme.txt
entry2=C:\WinNT\Notepad;Readme.txt;Max
entry3=C:\WinNT\Notepad;;Min

The PLC now sends a message SB0_PLC_EXECUTE = $8015; to the MMI. The
first word of the message contains the entry number. If the second data
word is non−zero, an error is displayed in the dialogue window.

The HMI always sends back a message to the PLC: SB0_MMI_EXECUTE =
$8016;. In the first DW, the error number is coded.

0: No error
1: Error executing the program
2: A program is already running
3: Could not find program
4: No program specified for the entry

In the second DW, the number of the requested job is returned.

)

Note!

Limitation: Only one program from the list can be executed at
the same time.

SPS_EXEC

Advertising