Use the PLC Online Change

See PC Online Change for descriptions of the functionality.

Set an Application

  1. Create a new PLC application.
  2. Connect to a controller and scan for EtherCAT devices.
  3. Add logic and function blocks to the application.
  4. On the toolbar, click the  button to compile the project.

Enable Online Change

  1. On the toolbar, click the  button.
    The Project Settings dialog box opens. (Figure 1)
  2. Figure 1: Project Settings dialog box

  3. Select the Online Line Change Enabled check box to update the PLC application while it is running on the controller.
  4. Click OK to save the changes or selections and close the dialog box.
  5. Compile the project .
  6. Connect and download the application to the device.
  7. Start executing the application.

Use the Online Change

  1. Enable the Toggle Edit/Debug mode button in the tool bar.
    The application variables are not updated even though the application is running. (Figure 2)
  2. Figure 2: Online change, running and connected

  3. Modify a local or global variable name in the Dictionary. (Figure 3)
  4. Figure 3: Change the name in the Dictionary

  5. Compile the project .
  6. Click the PLC Online Change download button on the tool bar to download the changes to the controller.
    The status bar has changed from Running to Paused during the download and back to Running once the download has finished.
    The applications variables are updating.

  • If Online Change is disabled while the application is running, even temporarily, downloading will fail.

Revert the Online Change

  1. Click the PLC Online Change Revert button on the tool bar.
    A message appears stating that revert was successful.
  2. Note the reverted state of the application in the KAS-IDE. (Figure 4)
  3. Figure 4: Reverted state

  4. Connect to the device.
  5. Note the state of the application and the device. (Figure 5)
  6. Figure 5: Application state

  7. From this state, Online Change can only be used again after:
    1. Stopping the application.
    2. Making changes.
    3. Recompile.
    4. Download the application to the controller.