![Omron DA0271 Startup Manual Download Page 21](http://html1.mh-extra.com/html/omron/da0271/da0271_startup-manual_742533021.webp)
3
Select
Import ST Program
from the
Tools
Menu.
4
Select the PLCCoderDemoMC.xml file that was outputted in the previous section in the
Import ST Program Dialog Box.
The data is imported and the programs, functions, function blocks, data types, and
global variables in the XML file are added to the project of Sysmac Studio.
The
Controller
block whose code is outputted by the Simulink PLC Coder and its
internal blocks
CommandPositionGenerator
and
PositionController
are imported as
function blocks of Sysmac Studio.
TestBench
is a function block for a test to call the Controller function block.
MainTB
is a program to call the TestBench function block.
Additional Information
The TestBench function block and the MainTB program are outputted when the
Generate testbench for subsystem
check box is selected in Step 4 of
3.2.1 Outputting
the Code using the Simulink PLC Coder
.
19
Summary of Contents for DA0271
Page 38: ...2013 0613 W529 E1 01...