30.15.1 Logic Program Settings Guide

Logic Program

Select whether or not to use the logic features.

For the list of models that support the logic features, please see the following:

1.5 Supported Features

Register Variable

Select [Variable Format] or [Address Format] to register an address.

Share Local Variables in Function Blocks

Selects whether identical function block instructions in the logic program will share local variables or have individual ones.

Identical function block instructions share local variables.

Each FB has its own local variable even for identical function block instructions.

 

Retentive Area Settings

Click [Retentive Area Settings] to display the [Retentive Area Settings] dialog box.

The retentive/volatile points can be specified for symbol variables in [Variable Format]. The retentive/volatile ranges can be specified for symbol variables in [Address Format].

You can specify only the variable points for retentive/volatile.

You can configure the retentive/volatile settings individually in the [Symbol Variable] window, the [Address] window or [Properties] after creating a new variable.

Please note that this setting is volatile when creating a new variable.

For each address, specify the retentive/volatile range. With this setting, all the addresses within the retentive area will be retained, and the address values within the clear area will not be retained.

Please note that all the variables allocated to I/O (X, Y, I, Q) will be set to volatile. You cannot change the settings to retain variables between sessions. Furthermore, you can only choose the retentive setting for PID Variables (U).