Main Content

PLC Coder: General Tab Overview

Set up general information about generating Structured Text code to download to target PLC IDEs.

Configuration

To enable the Simulink® PLC Coder™ options pane, you must:

  1. Create a model.

  2. Add either an Atomic Subsystem block, or a Subsystem block for which you have selected the Treat as atomic unit check box.

  3. Right-click the subsystem block and select PLC Code > Options.

Tip

  • In addition to configuring parameters for the Simulink PLC Coder model, you can also use this dialog box to generate Structured Text code and test bench code for the Subsystem block.

  • Certain options are target-specific and are displayed based on the selection for Target IDE.

See Also

Prepare Model for Structured Text Generation

Generate Structured Text from the Model Window