This dialog allows to define settings in the following views:

  • Options
  • Runtime Service
  • Compiler
  • Debugging
  • Advanced
  • (All)

Hint: Setting modes can be defined additionally. Click on the Setting nodes button to open the configuration dialog.

General

Parameter

Description

Communication parameters

Communication parameters for Online connection to the Runtime Service. A double-click opens the Communication Settings dialog.
Example: localhost:1200(10)

Cycle time

Duration of the PLC scan. Value 0 means as fast as possible (never wait).

A double-click opens the Cycle time dialog.

Code Generation

Defines, if Release or Debug code is generated.

With Debug code you can use breakpoints and step by step debugging.

This option is time consuming.

Store complex variables in a seperate segment

Enables complex data such as arrays of structures.

This option is time consuming.

Online Change

Double-click to disable or enable and configure Online Change capabilities.

Version

Project compilation version number.

Double-click to reset it.

Libraries

Double-click on Edit... to configure libraries linked to the project.

Use external objects

Double-click on Edit... to configure extern POUs to use in the project. The Workbench Studio enables you to use in a projects some objects defined in other projects, such as UDFBs.

Code Checker rules

Double-click to configure the rules of the Code Checker...

Version control

A double-click opens the dialog Version control.

Runtime Service

Parameter

Description

Runtime Service

Defines the controller type of the target system:

  • Little endian: Intel like byte ordering
  • Big endian: Motorola like byte ordering

Default: Little endian

Cycle time

Duration of the PLC scan. Value 0 means as fast as possible (never wait).

A double-click opens the Cycle time dialog.

Code Generation

Defines, if Release or Debug code is generated.

With Debug code you can use breakpoints and step by step debugging.

This option is time consuming.

Exchange IOs while stepping

If checked, IOs are exchanged when the program is stopped on a breakpoint or step.

Support variables locking

Locked variables can be forced to a fixed value from the debugger.

This option is time consuming.

Store complex variables in a seperate segment

Enables complex data such as arrays of structures.

This option is time consuming. See Management of complex variables at Runtime Service.

Online Change

Double-click to disable or enable and configure Online Change capabilities.

Enable dynamic memory allocation

Dynamic memory is required for some libraries such as XML, Text Buffers and HMI menus. Double-click to configure...

Compiling

Parameter

Description

Color FBD lines during debug

FBD lines values can be monitored during debug if this option is checked.

Lines for boolean values are colored. You can set the colors via the menu bar entry Tools and Options.

See chapter Coloring FBD Flow lines.

Display warning messages

Displays warnings in the compiler output window, if enabled.

Reports possible blocking conditions or unclear operations during compiling.

Hint: Error messages can be enabled or disabled one by one too. Please find detailed information in the chapter Enable or disable warnings one by one.

Treat warnings as error

Warning messages are treaten as error, if enabled.

Produces an error if warnings are reported.

Check safety of SFC charts

Check possibly unsafe or blocking strunctures in SFC charts during compiling.

See chapter Safety build options.

Check array bounds at Runtime Service

Checks indexes used for array read/write operations in the Runtime Service, if enabled.

See chapter Safety build options.

Forbid equality tests between reals

Errors will be output, if equality tests are performed between REALs or LREALs during compiling.

Allocate status flags for variables with embedded properties

If this option is checked status flags and time stamps are allocated at Runtime Service for all variables having either a profile or their symbol embedded.

Embed symbols of all variables

Embeds the symbol information for all variables in the project.

Individual settings are ignored if this option is checked. Warning: Downloaded code can be much bigger.

Keep case of embedded symbols

Embedded symbols are turned uppercase if this option is not checked.

Check multiple calls to FB instances

Report warnings if the same FB instance is called more than once in the programs.

Check duplicated profiles

Report warnings if several variables have the same profile and settings.

Enable forcing of initial values during debug

If this option is checked, initial values of variables can be changed during debugging.

Update extern POUs before build

If checked, all extern POUs from other projects are updated before compiling.

Use global definition of extern POUs

If checked, global definitions of the original projects of extern POUs are loaded.

Runtime Service password

If defined and not "0", this password will be asked at any connection to the Runtime Service.

C post compiling

Configuration of the "C" compiling options.

Double-click opens the C compiling dialog.

Post build actions

Commands to be run after a build.

Double-click opens the Post build actions dialog.

Run Code Checker after build

The Code Checker is started after any successful build of the project, if enabled.

Code Checker rules

Configuration of the Code Checker.

Double-click opens the Code Checker dialog.

Debugging

Parameter

Description

Communication parameters

Communication parameters for Online connection to the Runtime Service. A double-click opens the Communication Settings dialog.
Example: localhost:1200(10)

Download procedure

Double-click to configure the items to be sent to the Runtime Service host during download.

Always start simulator in 'cold start' mode

Select the Always start simlator in cold start mode. The simulator starts always in cold start mode without an additional dialog box.This option applies to any project.

Cycle time in microseconds during debug

If this option is checked, cycle time is displayed and edited in microseconds during debug. This option influences all projects!

Precision for REAL variables

Number of decimal digits displayed during debug for REAL variables. Use "0" for default format. This option influences all projects!

Precision for LREAL variables

Number of decimal digits displayed during debug for LREAL variables. Use "0" for default format. This option influences all projects!

Prompt before stopping the application

If Yes, a confirmation window will be displayed before a stop operation.

Change the setting in the Value row Yes/No via a double-click.

This option influences all projects!

Prompt before downloading the application code

If Yes, a confirmation window will be displayed before a download.

Change the setting in the Value row Yes/No via a double-click.

This option influences all projects!

Prompt before performing Online Change

If Yes, a confirmation window will be displayed before an Online change.

Change the setting in the Value row Yes/No via a double-click.

This option influences all projects!

Propose to start with RETAIN variables loaded

If Yes, the default choice for starting the Runtime Service is with RETAIN variables reloaded. If No, the default choice for starting the Runtime Service is cold start.

Change the setting in the Value row Yes/No via a double-click.

This option influences all projects!

Log user actions during test

If Yes, user operations are logged during simulation or Online test.

Change the setting in the Value row Yes/No via a double-click.

Show log file...

Double click to open the log file.

Plus...

Advanced options. Double-click to edit...

Advanced

Parameter

Description

Maximum number of error messages displayed

Defines the maximum number of displayed error messages in the output window.

Default: 128

Check possible name conflicts

Report warnings, if the same name is used for Global and Local defines.

Change the setting in the Value row Yes/No via a double-click.

Default: Yes

Check IEC conformity

Report warnings if non IEC compliant features or blocks are used.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Enable FBD optimizations

Defines, if FBD optimization should be used. This may produce smaller code.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Enable LD optimizations

Defines, if LD optimization should be used. This may produce smaller code.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Report code size of POUs

If this option is checked, POU code sizes are displayed after compiling. The code size of a POU is limited to 64KB.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Strict IEC confirmity for ST language

If this option is not checked, equality comparison of TIME variables is forbidden.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Accept non IEC compliant variable names

If active it is allowed to use non IEC compliant variable names. To use the non compliant variables in a program you need to put the variable inside {}. E.g {123\notcompliant}

If not active, it is not possible to declare variables with a not compliant name.

Attention: Not recommended! Some limitations may occur during engineering your programs.

Change the setting in the Value row Yes/No via a double-click.

Default: No

R_TRIG: always FALSE on first call

If checked, R_TRIG output is always FALSE on the first call to an instance.

Change the setting in the Value row Yes/No via a double-click.

Default: No

SHR: do not duplicate most significant bit

If checked, the most significant bit of a word shifted to the right is set to FALSE.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Deny unwired inputs in FBD

If checked, errors are generated when some block inputs are not wired in FBD diagrams.

Change the setting in the Value row Yes/No via a double-click.

Default: No

ST: optimize AND/OR left to right evaluation

If checked, the evalutation of AND/OR expressions from left to right is stopped as soon as the result is known.

Change the setting in the Value row Yes/No via a double-click.

Default: No

Other compiling options

Additional compiling options. You don't have to change these options, unless you're asked by your technical support.

STRICTRETAINCRC=ON;

Option for a more strict calculation of the CRC, used to detect whether RETAIN variables can be reloaded. The option has to be entered in the Other options dialog. If active, the variable names will also be included in the CRC signature. The CRC will be displayed at the end of the build report.

Hint: If the option is not checked, only the quantity and the type of the RETAIN variable are taken into account.

NOCODESTAMP=ON;

Option to prevent the application version from being incremented by one as soon as you click the compile button in the Workbench Studio.

Hint: The version incrementation happens, even if the zenon Logic project has not changed.

Default: MapUINT=ON;

All

Lists all available settings in an own view.

Hint: Additional information to Online change and "C" compiler usage is availabe in the corresponding topics.


Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation