Dialog Options - Write Options

Write Options

Separate Line IDs

  • TRUE (standard settings): The line IDs of a POU are stored in a separate file (LineIDs.dbg), so that changes in the line IDs do not lead to changes in the POU, which would then be misinterpreted as content changes in the source control system. From TC3.1 Build 4026, "Write Line IDs" must have the value TRUE – this is a prerequisite for this.
    Up to TC3.1 Build 4024, line IDs are required for breakpoint handling, among other things, and ensure that the code lines can be assigned to machine code instructions.

Sort by name

  • TRUE (default setting): The subelements of POUs (actions, methods, properties) are sorted by name and not by internal ID (see sample).

Write Line IDs

Available from TC3.1 Build 4026

  • TRUE: Line IDs are created and stored for POUs in new projects.
  • FALSE (default setting): No line IDs are generated for POUs in new projects.

This setting is the global default setting for writing line IDs. When a new PLC project is created, the value of this setting is transferred to the local project setting once. This can be found in the PLC project properties (Category Advanced) and can be adapted there for each project.

Write PLC Bookmarks to File

Available from TC3.1 Build 4026

  • TRUE: In new projects, the bookmarks are stored in a separate .bookmarks file in the project directory.
  • FALSE (default setting): In new projects, the bookmarks are not stored in a separate .bookmarks file in the project directory.

This setting is the global default setting for writing bookmarks. When a new PLC project is created, the value of this setting is transferred to the local project setting once. This can be found in the PLC project properties (Category Advanced) and can be adapted there for each project.

Sample

The sample illustrates the different storage sequence of the METH_A, METH_B and METH_C methods, depending on whether the Sort by name option is enabled or disabled. If the option is disabled (FALSE), the METH_B method is not in second place according to its name, but in first place according to its internal ID.

Sort by name = TRUE:

Dialog Options - Write Options 1:

Sort by name = FALSE:

Dialog Options - Write Options 2: