Deployment to Programmable Logic Controller (PLC) Targets

Deploy generated structured text and ladder logic to PLC IDEs and integrate external code.

When deploying Simulink® PLC Coder™ generated ladder logic or structured text code to a target IDE, consider:

  • Deploying structured text.

  • Deploying ladder logic.

  • Supported IDE Platforms.

  • External Code Integration.

Functions

plccoderprefManage user preferences
plcgeneratecodeGenerate Structured Text or Ladder Diagram (L5X) for the atomic subsystem
plcopenconfigsetOpen Configuration Parameters dialog box for subsystem

Topics

Simulink PLC Coder Code Deployment

Deploy Structured Text

Deploy generated structured text code to your target IDE.

Deploy Ladder Diagram

Deploy generated ladder logic to Rockwell Automation® RSLogix™ 5000 or Studio 5000.

Simulink PLC Coder Supported Target IDEs and Requirements

Supported IDE Platforms

See which IDEs are supported for structured text and ladder diagram generation.

Rockwell Automation RSLogix Requirements

Learn how Rockwell Automation RSLogix IDE specifications cause differences in generated structured text code versus other IDEs.

Siemens IDE Requirements

Learn how Siemens® IDE specifications cause differences in generated structured text code versus other IDEs.

Selectron CAP1131 IDE Requirements

Learn how Selectron CAP1131 IDE specifications cause differences in generated structured text code versus other IDEs.

External Code Integration

Integrate Externally Defined Identifiers

Omit definitions of certain identifiers from generated structured text code and use your own definitions.

Integrate Custom Function Block in Generated Code

See how to omit a symbol definition from generated structured text code so that you can integrate your own definition.