Dialog Options - Write Options

Write Options

Separate Line IDs

  • TRUE: 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 in the source control system as content changes. The requirement for this is from TC3.1 Build 4026 that "Write Line IDs" has the value TRUE. (Default setting: FALSE)
    Up to TC3.1 Build 4024, line IDs are required for breakpoint handling, for example, 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. (Default setting: FALSE)

This setting is the global default setting. When a new PLC project is created, the value of this setting is transferred once to the local project setting. 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. (Default setting: FALSE)

This setting is the global default setting. When a new PLC project is created, the value of this setting is transferred once to the local project setting. 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

Sort by name = FALSE

Dialog Options - Write Options 1:

Dialog Options - Write Options 2: