Main Content

Target IDE

Specify target IDE for the generated code

Model Configuration Pane: PLC Code Generation

Description

Select the target IDE for which you want to generate code. This option is available in the Configuration Parameters dialog box, PLC Code Generation pane.

The default Target IDE list shows the full set of supported targets. See Show Full Target List.

To see a reduced subset of targets, clear the option Show full target list. To customize this list and specify IDEs that you use more frequently, use the plccoderpref function.

For version numbers of supported IDEs, see Supported IDE Platforms.

Settings

CODESYS 2.3 (default)

Default: CODESYS 2.3

CODESYS 2.3

Generates Structured Text (IEC 61131-3) code for CODESYS Version 2.3.

CODESYS 3.5

Generates Structured Text code in PLCopen XML for CODESYS Version 3.5.

B&R Automation Studio 3.0

Generates Structured Text code for B&R Automation Studio® 3.0.

B&R Automation Studio 4.0

Generates Structured Text code for B&R Automation Studio 4.0.

Beckhoff TwinCAT 2.11

Generates Structured Text code for Beckhoff® TwinCAT® 2.11 software.

Beckhoff TwinCAT 3

Generates Structured Text code for Beckhoff TwinCAT 3 software.

KW-Software MULTIPROG 5.0

Generates Structured Text code in PLCopen XML for PHOENIX CONTACT (previously KW) Software MULTIPROG® 5.0 or 5.50.

Phoenix Contact PC WORX 6.0

Generates Structured Text code in PLCopen XML for Phoenix Contact® PC WORX™ 6.0.

Rockwell RSLogix 5000: AOI

Generates Structured Text code for Rockwell Automation® RSLogix™ 5000 using Add-On Instruction (AOI) constructs.

Rockwell RSLogix 5000: Routine

Generates Structured Text code for Rockwell Automation RSLogix 5000 routine constructs.

Rockwell Studio 5000: AOI

Generates Structured Text code for Rockwell Automation Studio 5000 Logix Designer using Add-On Instruction (AOI) constructs.

Rockwell Studio 5000: Routine

Generates Structured Text code for Rockwell Automation Studio 5000 Logix Designer routine constructs.

Siemens SIMATIC Step 7

Generates Structured Text code for Siemens® SIMATIC® STEP® 7.

Siemens TIA Portal

Generates Structured Text code for Siemens TIA Portal S7-300/400 CPUs.

Siemens TIA Portal: Double Precision

Generates Structured Text code for Siemens TIA Portal S7-1200 and S7-1500 CPUs. THE IDE also supports the int8 data type, unsigned integer data types, and double-precision, floating-point data types. The code uses LREAL type for double data type in the model and can be used on Siemens PLC devices that support the LREAL type.

Generic

Generates a pure Structured Text file. If the target IDE that you want is not available for the Simulink® PLC Coder™ product, consider generating and downloading a generic Structured Text file.

PLCopen XML

Generates Structured Text code formatted using PLCopen XML standard.

CAREL STone

Generates Structured Text code for CAREL STone version 1.6

Bosch Rexroth Indraworks

Generates Structured Text code for Bosch Rexroth IndraWorks version 13V12 IDE.

OMRON Sysmac Studio

Generates Structured Text code for OMRON® Sysmac® Studio Version 1.04, 1.05, or 1.09.

MITSUBISHI ELECTRIC MELSOFT GX Works3

Generates Structured Text code for MITSUBISHI ELECTRIC MELSOFT GX Works3.

Selectron CAP1131

Generates Structured Text code for Selectron CAP1131 v 11 IDE.

OMRON Sysmac Studio - IEC 61131-10 XML

Generates IEC 61131-10 compliant Structured Text Code for the OMRON® Sysmac® Studio version 1.30 and later.

Schneider Electric - EcoStruxure Control Expert

Generates Structured Text code for Schneider Electric - EcoStruxure Control Expert

Tips

  • Rockwell Automation RSLogix 5000 routines represent the model hierarchy using hierarchical user-defined types (UDTs). UDT types preserve model hierarchy in the generated code.

  • The coder generates code for reusable subsystems as separate routine instances. These subsystems access instance data in program tag fields.

Recommended Settings

ApplicationSetting
DebuggingNo recommendation
TraceabilityNo recommendation
EfficiencyNo recommendation
Safety precautionNo recommendation

Programmatic Use

Parameter: PLC_TargetIDE
Type: string
Value: 'codesys23' | | 'codesys35' | 'rslogix5000' | 'rslogix5000_routine' | 'studio5000' | 'studio5000_routine' | 'brautomation30' | 'brautomation40' | 'multiprog50' | 'pcworx60' | 'step7' | 'plcopen' | 'twincat211' | 'twincat3' | 'generic' | 'indraworks' | 'omron' | 'tiaportal' | 'tiaportal_double' | 'omron_iec61131_10' | 'stone' | 'schneider' | 'selectron' | 'gxworks3'
Default: 'codesys23'

Version History

Introduced in R2010a