10/10 MN05003003Z-EN
67
13 Defining system parameters via the STARTUP.INI file
Overview
You can create project-dependent system parameters and store
them on the memory card. Here they are contained in the
Startup.INI file. The memory card can also be fitted in other
controllers. The PLC accepts the parameters during start up.
The Startup.INI file is always created with all controller parameters
(
Table 14: Parameters in the Startup.INI file
The parameters from the INI file have priority before the
parameters of the PLC configuration. The parameters of the PLC
configuration are not accepted after a program download or after
loading the boot project.
Structure of the INI file
An INI file is a text file with a fixed data format. From a section
defined with a name (in square brackets) such as [STARTUP] the
system parameters are listed followed by an equals sign and their
value. The line is terminated with CR/LF (Carriage/Return).
Lines commencing with a semicolon are interpreted by the PLC as
comments and are ignored:
You can change or create the parameters with a text editor if you
fit the memory card in the memory card slot of the PC. First fit the
memory card in the supplied adapter, and then fit this into the PC
slot. The STARTUP.INI file is stored on the memory card in the
folder “MOELLER/EC4P_200/PROJECT/”.
Creating the Startup.INI file
When it is switched on for the first time (basic status), the
controller always works with the default system parameters, i.e.
the STARTUP data. When you load a project into the controller that
is in the basic status, the controller starts immediately with the
system parameters of the project.
With the browser command “createstartupini” you transfer the
current system parameters from the PLC to the memory card. This
creates the Startup.INI file that contains this data. Requirement:
The memory card must be fitted and formatted, i.e. without a
Startup.ini file already on it.
Table 15: Example: STARTUP.INI file for EC4-200
It is not possible to overwrite or change an already existing file
with the “createstartupini” browser command. If you still enter
the command, a warning appears. In order to create a new file the
existing file must be deleted first,
Switching on the PLC with the fitted memory card
containing the Startup.INI file
When the controller is started up, the data from the Startup.INI file
on the memory card is transferred to the controller. These system
parameters are also active after a new program is loaded.
Entries
COM_BAUDRATE: 4800,9600,19200,38400,57600
CAN1_BAUDRATE: 10,20,50,100,125,250,500
CAN1_NODEID: 1-127
CAN_ROUTINGID: 1-127
IP_ADDRESS=xxx.xxx.xxx.xxx
IP_SUBNETMASK=xxx.xxx.xxx.xxx
IP_GATEWAY=xxx.xxx.xxx.xxx
COM_BAUDRATE = 38400 (Carriage/Return)
; CAN_NODEID = 2
[STARTUP]
TARGET = EC4P-200
IP_ADDRESS=192.168.119.60
IP_SUBNETMASK=255.255.255.0
IP_GATEWAY=0.0.0.0
COM_Baudrate=38400
CAN1_Baudrate=125
CAN1_NODEID=2
CAN_ROUTINGID=127
Summary of Contents for easyControl EC4-200
Page 4: ...II...
Page 10: ...10 10 MN05003003Z EN 6...
Page 14: ...10 10 MN05003003Z EN 10...
Page 22: ...10 10 MN05003003Z EN 18...
Page 38: ...10 10 MN05003003Z EN 34...
Page 62: ...10 10 MN05003003Z EN 58...
Page 78: ...10 10 MN05003003Z EN 74...
Page 96: ...10 10 MN05003003Z EN 92...