Save Parameters Commands

Introduction

The commands Online > Save parameters of active editor and Online > Save parameters of all devices allow you to save the parameter values of an active editor or of the configured controllers to your EcoStruxure Machine Expert project.

Supported Controllers and Datatypes

The following controllers support the commands Save parameters of active editor and Save parameters of all devices:

  • PacDrive LMC Pro

  • PacDrive LMC Eco

The following data types and derived types are supported:

  • BIT, BOOL

  • SINT, USINT, INT, UINT, DINT, UDINT, LINT, ULINT

  • BYTE, WORD, DWORD, LWORD

  • REAL, LREAL

  • STRING, WSTRING

  • TIME, DATE, DATE_AND_TIME (DT), TIME_OF_DAY (DOT)

Considerations

Before executing the commands, consider the following:

  • Fieldbus master or slave configuration data for the controller cannot be saved. In addition, there are no parameters to control activation and deactivation of fieldbus devices.

  • The commands save the present parameter values to the project, not to the SD memory card. To save the parameter values to the SD memory card, execute the runtime function FC_SysSaveParameter in your application. Otherwise, modified parameter values will be reset to their original values if a controller reset is executed.

  • Parameters are read one by one to avoid affecting the performance of the application. Therefore, the parameters are not read all at the same time. That is, the values are not coherent. If a parameter is frequently updated within the application, it is indeterminable which value is read.

Save parameters of active editor Command

Execute the command Online > Save parameters of active editor to read the parameter values of the controllers represented by the active editor and save them to the EcoStruxure Machine Expert project.

The following editors are supported:

Editor

Description

Device editor

If you execute the command while the Parameters tab of a device editor is open, the parameters of this specific controller are read and saved to the project (column Value).

ParameterList editor

If you execute the command with a ParameterList open, the configured parameters (columns) for the specified devices (rows) are read and saved to the project.

The command can only be executed if the following conditions are met:

  • A supported editor is active, that is, the focus is located on this editor.

  • You are logged in on the controller with the present application.

  • The simulation mode is deactivated.

After executing the command, a small report of the changed parameters is available in the Messages view.

Save parameters of all devices Command

Execute the command Online > Save parameters of all devices to read the parameter values of the configured devices and save them to the EcoStruxure Machine Expert project.

The parameter values are saved in the column Value of the Parameters tab (offline value of the parameter which is used for initialization during start-up of the application) to your project.

The command can only be executed if the following conditions are met:

  • You are logged in on the controller with the present application.

  • The simulation mode is deactivated.

After executing the command, a small report of the changed parameters is available in the Messages view.