Writing directly to the PLC project

When the Write PLC changes directly option is selected under Settings > Common > Miscellaneous (see the General Settings chapter), changes made by the agent to the PLC code are not staged but are written to the PLC project while the tool is running. This setting is disabled by default.

Behavior:

Other solution files are modified directly in both modes and subsequently reviewed in the changeset.

Writing directly to the PLC project 2:

In direct editing mode, changes made by the agent take effect immediately in the project, including for compilation and activation.

  • Please review the entries in the changeset as soon as possible. Undoing individual blocks of changes can leave behind code that cannot be compiled, such as when a variable that has been removed is still used in a block that has been retained.
  • Use version control for the TwinCAT project.