Simulink PLC Coder
4Pages

{{requestButtons}}

Catalog excerpts

Simulink PLC Coder - 1

Generate IEC 61131 structured text for PLCs and PACs Simulink PLC Coder™ generates hardware-independent IEC 61131 structured text from Simulink models, Stateflow® charts, and Embedded MATLAB® functions. The structured text is generated in PLCopen XML and other file formats supported by widely used integrated development environments (IDEs). As a result, you can compile and deploy your application to numerous programmable logic controller (PLC) and programmable automation controller (PAC) devices. Simulink PLC Coder generates test benches that help you verify the structured text using PLC and PAC IDEs and simulation tools. Support for industry standards is available through IEC Certification Kit (for IEC 61508 and IEC ■ Automatic generation of IEC 61131-3 structured text ■ Simulink support, including reusable subsystems, PID controller blocks, and lookup tables ■ Stateflow support, including graphical functions, truth tables, and state machines ■ Embedded MATLAB support, including if-else statements, loop constructs, and math operations ■ Support for multiple data types, including Boolean, integer, enumerated, and floating-point, as well as vectors, matrices, buses, and tunable parameters ■ IDE support, including B&R Automation Studio™, PLCopen XML, Rockwell Automation® RSlogix™ 5000, Siemens® SIMATIC® STEP® 7, and 3S-Smart Software Solutions CoDeSys Simulink PLC Coder generates test benches that help you verify the structured text using PLC and PAC IDEs and simulation tools. Mint '<il>yrlkM[ coaflieitm1 fawQNMM ■i■MinimiWIIWi '«M>/niMc' From model to structured text to application. Simulink PLC Coder generates structured text from your model that an IDE can deploy to your industrial control system. Accelerating the pace of engineering and science

Open the catalog to page 1
Simulink PLC Coder - 2

Working with Simulink PLC Coder In Simulink, you can generate structured text using Simulink PLC Coder by right-clicking on a Subsystem block and selecting the PLC Coder > Generate Code for Subsystem option in the resulting context menu. In MATLAB, you can invoke the plcgeneratecode command, which lets you create scripts to generate structured text using an automated, repeatable build process. With support for more than 130 Simulink blocks, all Stateflow constructs, and many Embedded MATLAB functions, Simulink PLC Coder can fully implement your control system models comprising feedback...

Open the catalog to page 2
Simulink PLC Coder - 3

Your optimization needs can change with your project's development phase. For example, during rapid prototyping, you might place parameters in global memory for tuning or calibration; during a subsequent production build, you might generate parameters with their literal numeric values using the Inline parameters option to produce more optimized code. Simulink PLC Coder can output structured text in a variety of file formats used by third-party IDEs. File formats supported by Simulink PLC Coder include: 3S-Smart Software Solutions CoDeSys Beckhoff® TwinCAT® Generic ASCII KW-Software...

Open the catalog to page 3
Simulink PLC Coder - 4

Code Test and Verification Simulink PLC Coder inserts comments and user-specified block descriptions in the structured text so that you can trace text back to the model. Built-in identifier naming control lets you create unique identifiers that preserve object names and signal names in the model. These capabilities help you conduct more efficient code reviews and document how the model was implemented. Simulink PLC Coder can simulate the model prior to structured text generation and package the results into a test harness that is generated with the algorithm code. The test harness serves to...

Open the catalog to page 4

All The MathWorks catalogs and technical brochures

  1. Stateflow

    8 Pages

  2. SimEvents

    7 Pages

  3. SimDriveline

    7 Pages

  4. SimRF

    6 Pages

  5. MATLAB Coder

    5 Pages

  6. OPC Toolbox

    5 Pages

  7. SimBiology

    6 Pages

  8. xPC Target

    5 Pages

  9. SimMechanics

    7 Pages

  10. Simscape

    7 Pages

  11. Simulink

    6 Pages

  12. MATLAB®

    6 Pages

Archived catalogs

  1. Graphics

    667 Pages

  2. Data Analysis

    220 Pages

  3. Mathematics

    316 Pages