主要内容

金宝app支持的块

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, typePLCLIB.在命令窗口中。编码器可以为包含这些块的子系统生成结构化文本代码。将显示“库”窗口。

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

金宝app支持的金宝app

The coder supports the following Simulink blocks.

Additional Math & Discrete/Additional Discrete

Commonly Used Blocks

不连续性

离散

Logic and Bit Operations

查找表

数学运作

Model Verification

型号范围的公用事业

端口和子系统

信号属性

信号路由

Sinks

Sources

User-Defined Functions

金宝app支持的州流程

The coder supports the following Stateflow blocks.

州流程

受限制支持的块金宝app

金宝app阻止支持例外金宝app

州流程Chart Exceptions

Data Store Memory Block

互惠SQRT块

Lookup Table Blocks