1. Home
  2. Docs
  3. SmartConfig2.1
  4. 5.1 User defined
  5. 5.1.5 Adding and configuring actions

5.1.5 Adding and configuring actions

The Blocks tab contains all actions available for building a user-defined program. Each action displays its function number, name, and a short description of what it does.

To add an action, drag it from the Blocks tab onto the canvas. Its configuration window opens automatically.

The available settings depend on the selected action. A configuration window can contain:

  • Action parameters: Define how the action is executed. Depending on the setting, you can enter a fixed value or select a parameter or counter.
  • Program section: Assigns the action to the main program or to a sub-program. For a standard program, retain Main program (no P value).
  • Comment: Adds an optional description to the action. Comments can make larger programs easier to understand and do not affect program execution.

Select Apply to save the settings and add the action to the canvas. Select Cancel to close the configuration window without applying the changes.

To modify an existing action, double-click its block on the canvas. Update the required settings and select Apply. The information displayed inside the block is updated to reflect its current configuration.

Blocks can be repositioned by dragging them to another location on the canvas. If Snap to grid is enabled, blocks automatically align with the grid.

How can we help?