Main Content

Supported Blocks

For Simulink®semantics not supported bySimulink PLC Coder™, seeStructured Text Code Generation Limitations.

View Supported Blocks Library

To view a Simulink library of blocks that theSimulink PLC Codersoftware supports, typeplclibin the Command Window. The coder can generate Structured Text code for subsystems that contain these blocks. The library window is displayed.

This library contains two sublibraries, Simulink and Stateflow®. Each sublibrary contains the blocks that you can include in aSimulink PLC Codermodel.

SupportedSimulinkBlocks

The coder supports the following Simulink blocks.

Additional Math & Discrete/Additional Discrete

Commonly Used Blocks

Discontinuities

Discrete

Logic and Bit Operations

Lookup Tables

Math Operations

Model Verification

Model-Wide Utilities

Ports & Subsystems

Signal Attributes

Signal Routing

Sinks

Sources

User-Defined Functions

SupportedStateflowBlocks

The coder supports the following Stateflow blocks.

Stateflow

Blocks with Restricted Support

SimulinkBlock Support Exceptions

StateflowChart Exceptions

Data Store Memory Block

Reciprocal Sqrt Block

Lookup Table Blocks

Baidu
map