Supported Features in Ladder Diagram

The ladder import feature of Simulink® PLC Coder™ allows you to import Ladder Diagram created with Rockwell Automation® IDEs such as RSLogix™ 5000 and Studio 5000 into the Simulink environment as a model.

Supported Ladder Elements

Simulink PLC Coder supports the following ladder elements:

  • Boolean variables

  • Data access to array elements, bus elements, bit, and constant variables.

  • Multiple rungs

  • Simple Jump, Temporary End, and other supported execution control elements.

  • Ladder diagram blocks. See plcladderlib.

  • Ladder Diagram Instructions. See Instructions Supported in Ladder Diagram

  • L5X Datatypes:

    L5X Data TypesSimulink Types
    BOOLBoolean datatype
    SINTInt8 datatype
    INTInt16 datatype
    DINTInt32 datatype
    REALSingle datatype
    TIMERTimer bustype
    COUNTERCounter bustype
    CONTROLControl bustype
    UDTUDT bustype
    AOIAOI bustype
  • Ladder diagram tags

    • Controller Tags

    • Program Tags

    • AOI Tags such as Input, Output and InOut

See Also

| | | | | |

Related Topics