Nuestras marcas

Impact-Company-Logo-English Black-01-177x54

Bienvenido(a) al sitio web para México de Schneider Electric

Te damos la bienvenida a nuestro sitio web para México.
		
¿Cómo podemos ayudarte hoy?
Is it Possible to Make Live Program Changes in EcoStruxure Machine Expert Logic Builder for a Modicon M241/M251/M262 PLC?

Issue

How Do You Make Live Program Changes in EcoStruxure Machine Expert Logic Builder for a Modicon M241/M251/M262 PLC?

Product Line

EcoStruxure Machine Expert (formerly SoMachine)

Modicon M241 PLC

Modicon M251 PLC

Modicon M262 PLC

Environment

Software for PLC Configuration in Windows 10/11

Resolution

Here are the steps on how to make online edits while the PLC is in RUN mode without stopping the controller:

1) Login to the PLC

-> the PLC can be in RUN mode for the following steps

2) Go to the Applications Tree tab

3) Right-click on the POU you wish to make changes to

4) Choose "Edit Object (Offline)"

Right-click on the POU you wish to edit and choose > Edit Object (Offline)

5) This will open up a second instance of the POU window:

Second instance of POU editing screen will appear

6) Click and Drag the Tab and dock it to make a side-by side view:

Arrange the dockable windows to put the POU Editing screen to the right of the Live POU screen

(Left) Live Data POU screen; (Right) POU Editing screen

7) On the Right pane, you can just make direct code changes. For example, here I added the a new Symbol and added a line of code:

If your syntax is validated as OK by the compiler, it will automatically apply it to the running PLC (see green arrow):

Make your logic edit on the right pane

The indication that the program was modified will be shown at the bottom status bar:

When you make modifications, the status bar at the bottom of the Logic Builder will show "Program modified (Online change)"

You can see that the status is "Program modified (Online Change)"

So this means that the program in the PLC's RAM has been edited with an "Online Change".

8) To commit the changes, go to Online > Online Change

This will commit the changes to the RAM (and not the Boot Application):

Commit changes to the state RAM (i.e. the Running application) by choosing "Online Change" from the "Online" drop-down menu

The result will be that the Status bar will show "Program unchanged" which signifies that your Logic Editor pane matches the program running in the RAM:

The status after an "Online Change" operation will show "Program unchanged"

Note that you will also see that the Messages list, when you select "Boot Application" from the dropdown list, it will tell you the status of whether or not the Boot Application matches the Application that you just put into the RAM .

It will show you that "The boot application is different than RAM application. Need to update".

Messages box under "Boot Application" dropdown displays "The boot application is different than RAM application"

The behavioural significance of this is that if you power cycle the PLC, it will boot up the old version of your project that is stored in Flash Memory without the edits you made in Step 7.

9) In order to save the change to the Boot Application in the Flash Memory so that it matches your RAM application, select Online > Create Boot Application

Online dropdown menu > Create Boot Application

The result will be that the Messages Box (when the dropdown is set to "Boot Application" will show no longer show the previous Warning.

The Messages box will now be empty:

Message box for "Boot Application" empty when the Boot Application in Flash Memory matches the running RAM application

And if you were to power cycle the PLC at this point, it will boot and run newly edited application code.

NOTES:

1) You will not be able to add new nodes (e.g. POU, GVL, WebVisu, Recipe, Symbol Configuration, etc) when logged in. Only changes to existing nodes can be performed while the PLC is in RUN.

2) When you are editing Global Variable List (GVL) nodes, use "Edit Object":

Use "Edit Object" from Right-click menu on Global Variable List (GVL) nodes

If this article does not answer your question, check out our FAQ database that has answers to more commonly asked questions:

Frequently Asked Questions - Schneider Electric (se.com)

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

Schneider Electric Mexico

Explora más
Rango:
Explora más
Rango:
  • Documentación de productos
  • Descargas de software
  • Selector de productos
  • Sustitución y reemplazo de productos
  • Centro de ayuda y contacto
  • Encuentra nuestras oficinas
  • Obtén un presupuesto
  • Dónde comprar
  • Comunidad Schneider Electric
  • Empleo
  • Perfil corporativo
  • Informar una conducta indebida
  • Accesibilidad
  • Sala de redacción
  • Inversores
  • EcoStruxure
  • Búsqueda de empleo
  • Blog
  • Política de privacidad
  • Aviso de Cookies
  • Términos y condiciones
  • Change your cookie settings