X20 system modules • Compact CPUs • X20CP0201, X20CP0291, X20CP0292
628
X20 system User's Manual 3.10
4.9.2.8 Programming the system flash memory
General information
CPUs are delivered with a runtime system. When delivered, the node number switch is set to switch position 0x00
(bootstrap loader mode).
A suitable switch position must be set (0x01 to 0xFE) in order to boot the PLC in RUN mode. Updating the runtime
system is only possible in RUN mode.
Runtime system update
The runtime system can be updated via the programming environment. When updating the runtime system via an
online connection, the following procedure must be carried out:
1. An online runtime system update is only possible if the processor is in RUN mode. For this to be true, the
node number must be set to a value in the range 0x01 to 0xFE.
2. Switch on the power.
3. The runtime system update is performed via the existing online connection. The online connection can be
established via the onboard serial RS232 interface, for example. If a CPU has an Ethernet interface, then it
too can be used to perform the update.
4. Start B&R Automation Studio.
5. Start the update procedure by selecting
Online
from the
Project
menu. Select
Transfer Automation Run-
time
from the pop-up menu. Now follow the instructions given by B&R Automation Studio.
6. A window opens up for setting the runtime system version. The runtime system version is already pre-selected
by the project settings made by the user. The drop-down menu can be used to select one of the runtime
system versions stored in the project. Clicking on the
Browse
button allows a runtime system version to be
loaded from the hard drive or CD.
Clicking on
Next
opens a pop-up window that allows the user to select whether modules with target memory
SYSTEM ROM should be transferred during the subsequent runtime system update. If not, these modules
can also be transferred later during an application download.
Clicking on
Next
opens a dialog box where the user can set the CAN transfer rate, CAN ID and CAN node
number (the CAN node number set here is only relevant if an interface module does not have a CAN node
number switch). The CAN node number must be between decimal 01 and 99. Assigning a unique node
number is especially important with online communication over a CAN network (INA2000 protocol).
7. The update procedure is started by clicking on
Next
. Update progress is shown in a message box.
Information:
User flash memory is deleted.
8. When the update procedure is complete, the online connection is reestablished automatically.
9. The PLC is now ready for use.
Updating the runtime system is possible not only via an online connection, but also via a CAN network, serial
network (INA2000 protocol) or Ethernet network, depending on the system configuration.