Generate structured text or ladder diagram (L5X) for the atomic subsystem
generates Structure Text or Ladder Diagram for the specified atomic subsystem in a
model.generatedfiles
= plcgeneratecode(system
)
Structured Text is generated for the specified atomic subsystem in a
model. Argument system
is the fully qualified path
name of the atomic subsystem.generatedfiles
is a cell
array of the generated file names. You must first load or start the
model.
Ladder Diagram (L5X) file is generated for the specified system in the
model. Argument system
is the fully qualified path
name of the top organizational unit in the Simulink® model. The system
should either be a
PLC Controller block, Ladder Diagram Function
(AOI) block or an AOI Runner block.
generatedfiles
is a cell array of the generated
file names. You must first load or start the Simulink model.
plcgeneratecode
| plcgeneraterunnertb
| plcimportladder
| plcladderlib
| plcladderoption
| plcopenconfigset