January 2012 8.10 Python Settings (Option 46) 1585
8.10 Python Settings (Option 46)
Under System/PLC/PythonSettings you define general settings for software
option 46 "Python OEM Process."
Using CfgPythonScript you can specify a Python script that is to be started
automatically during start-up of the MANUALplus 620. In this case, a PLC
module call for starting the Python script is not required. The specified script
is started automatically when the Power Interrupted message is
acknowledged.
Proceed as follows to have a Python script started automatically during start-
up:
Place the cursor on CfgPythonScript and press the INSERT soft key.
Enter a key name for the script (freely selectable) and specify the *.CFG
storage file.
In MP_path, MP_jobName, MP_parameter and MP_memLimit, define
the settings for calling the Python script.
For the script to be started automatically during start-up, the key name
defined in CfgPythonScript must be entered under System/Paths/
CfgPlcPath/pythonScripts, see "MP_pythonScripts" on page 1545.
Settings in the configuration editor MP number
System
PLC
PythonSettings
Process
CfgPythonScript
[Key name of the Python script]
path
jobName
parameter
memLimit
118303
118304
118301
118302
System
Paths
CfgPlcPath
pythonScripts 102315