Model { Name "control2" Version 4.00 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowStorageClass off ExecutionOrder off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Sep 09 09:39:21 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "administrator" ModifiedDateFormat "%" LastModifiedDate "Sat Oct 04 16:51:48 2003" ModelVersionFormat "1.%" ConfigurationManager "None" SimParamPage "Solver" StartTime "0.0" StopTime "10.0" SolverMode "Auto" Solver "ode1" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "0.001" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" LimitDataPoints on MaxDataPoints "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" SingleTaskRateTransMsg "none" MultiTaskRateTransMsg "error" IntegerOverflowMsg "warning" CheckForMatrixSingularity "none" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" InvalidFcnCallConnMsg "error" SignalLabelMismatchMsg "none" LinearizationMsg "none" VectorMatrixConversionMsg "none" SfunCompatibilityCheckMsg "none" BlockPriorityViolationMsg "warning" ArrayBoundsChecking "none" ConsistencyChecking "none" ZeroCross on Profile off SimulationMode "external" RTWSystemTargetFile "wincon.tlc" RTWOptions " -aAllParameters=1 -aAllSignals=1 -aEnforceIntegerD" "owncast=1 -aExtMode=1 -aFoldNonRolledExpr=1 -aForceParamTrailComments=0 -aGen" "erateComments=1 -aIncHierarchyInIds=0 -aInlineInvariantSignals=1 -aInlinePara" "meters=0 -aLocalBlockOutputs=1 -aRTWVerbose=1 -aRollThreshold=5 -aShowElimina" "tedStatements=1" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "nt_msvc.tmf" RTWMakeCommand "make_wc" RTWGenerateCodeOnly off TLCProfiler off TLCDebug off TLCCoverage off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeMexFile "wc_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on OptimizeBlockIOStorage off BufferReuse on ParameterPooling on BlockReductionOpt on RTWExpressionDepthLimit 5 BooleanDataType off BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "control2" Location [60, 181, 911, 725] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Reference Name "Analog Input" Ports [0, 1] Position [415, 83, 510, 157] SourceBlock "qctools/Quanser Consulting\nMultiQ-PCI Series/A" "nalog Input" SourceType "Analog Input" boardNumber "0" channels "0" ranges "5" sampleTime "simget(bdroot,'FixedStep')" simulationInput off } Block { BlockType Reference Name "Analog Output" Ports [1] Position [200, 84, 290, 156] SourceBlock "qctools/Quanser Consulting\nMultiQ-PCI Series/A" "nalog Output" SourceType "Analog Output" boardNumber "0" channels "0" initialOutputs "0" finalOutputs "0" sampleTime "-1" simulationOutput off } Block { BlockType SubSystem Name "Calibrator" Ports [1, 1] Position [540, 82, 685, 158] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Calibrator" Location [435, 449, 720, 600] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Input\n(Voltage)" Position [35, 73, 65, 87] Port "1" LatchInput off Interpolate on } Block { BlockType Constant Name "K0 " Position [84, 25, 116, 45] Orientation "down" NamePlacement "alternate" ShowName off Value "K0" VectorParams1D on } Block { BlockType Constant Name "K3 " Position [130, 25, 160, 45] Orientation "down" NamePlacement "alternate" ShowName off Value "K3" VectorParams1D on } Block { BlockType Product Name "Product2" Ports [2, 1] Position [160, 56, 205, 89] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [90, 70, 110, 90] ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "Output\n(Theta)" Position [230, 68, 260, 82] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "K0 " SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "K3 " SrcPort 1 DstBlock "Product2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "Output\n(Theta)" DstPort 1 } Line { SrcBlock "Input\n(Voltage)" SrcPort 1 DstBlock "Sum2" DstPort 2 } } } Block { BlockType SubSystem Name "Calibrator Solver" Ports [1] Position [575, 29, 650, 61] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Calibrator Solver" Location [277, 117, 878, 511] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "portrait" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Input\n(Voltage)" Position [15, 118, 45, 132] Port "1" LatchInput off Interpolate on } Block { BlockType Display Name "Angle" Ports [1] Position [460, 275, 550, 305] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Constant Name "Constant1" Position [105, 27, 120, 43] ShowName off Value "1" VectorParams1D on } Block { BlockType Constant Name "Constant2" Position [105, 147, 120, 163] ShowName off Value "1" VectorParams1D on } Block { BlockType Constant Name "Constant3" Position [105, 97, 120, 113] ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Constant4" Position [105, 217, 120, 233] ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Constant5" Position [105, 117, 120, 133] ShowName off Value "1" VectorParams1D on } Block { BlockType Constant Name "Constant6" Position [105, 237, 120, 253] ShowName off Value "1" VectorParams1D on } Block { BlockType SubSystem Name "Equation Solver" Ports [6, 2] Position [200, 14, 325, 256] ShowPortLabels on TreatAsAtomicUnit off RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" System { Name "Equation Solver" Location [428, 93, 883, 628] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "Theta1" Position [25, 133, 55, 147] Port "1" LatchInput off Interpolate on } Block { BlockType Inport Name "Voltage1" Position [25, 193, 55, 207] Port "2" LatchInput off Interpolate on } Block { BlockType Inport Name "Rising Edge Enable1" Position [25, 248, 55, 262] Port "3" LatchInput off Interpolate on } Block { BlockType Inport Name "Theta2" Position [25, 383, 55, 397] Port "4" LatchInput off Interpolate on } Block { BlockType Inport Name "Voltage2" Position [25, 443, 55, 457] Port "5" LatchInput off Interpolate on } Block { BlockType Inport Name "Rising Edge Enable2" Position [25, 498, 55, 512] Port "6" LatchInput off Interpolate on } Block { BlockType DiscreteIntegrator Name "Analog Latch\n(Theta1)" Ports [3, 1] Position [135, 29, 185, 91] IntegratorMethod "ForwardEuler" ExternalReset "rising" InitialConditionSource "external" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "-1" RTWStateStorageClass "Auto" } Block { BlockType DiscreteIntegrator Name "Analog Latch\n(Theta2)" Ports [3, 1] Position [135, 279, 185, 341] IntegratorMethod "ForwardEuler" ExternalReset "rising" InitialConditionSource "external" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "-1" RTWStateStorageClass "Auto" } Block { BlockType DiscreteIntegrator Name "Analog Latch\n(Voltage1)" Ports [3, 1] Position [135, 149, 185, 211] IntegratorMethod "ForwardEuler" ExternalReset "rising" InitialConditionSource "external" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "-1" RTWStateStorageClass "Auto" } Block { BlockType DiscreteIntegrator Name "Analog Latch\n(Voltage2)" Ports [3, 1] Position [135, 399, 185, 461] IntegratorMethod "ForwardEuler" ExternalReset "rising" InitialConditionSource "external" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off SampleTime "-1" RTWStateStorageClass "Auto" } Block { BlockType Constant Name "Constant1" Position [105, 151, 115, 169] ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Constant2" Position [105, 31, 115, 49] ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Constant3" Position [105, 401, 115, 419] ShowName off Value "0" VectorParams1D on } Block { BlockType Constant Name "Constant4" Position [105, 281, 115, 299] ShowName off Value "0" VectorParams1D on } Block { BlockType Fcn Name "GetK0" Position [285, 265, 345, 295] Expr "(u[3]*u[2]-u[1]*u[4])/(u[1]-u[3])" } Block { BlockType Fcn Name "GetK3" Position [285, 215, 345, 245] Expr "(u[1]-u[3])/(u[2]-u[4])" } Block { BlockType Mux Name "Mux" Ports [4, 1] Position [250, 221, 260, 284] ShowName off Inputs "4" DisplayOption "bar" } Block { BlockType Outport Name "K3" Position [360, 223, 390, 237] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "K0" Position [360, 273, 390, 287] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Analog Latch\n(Theta1)" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Analog Latch\n(Voltage1)" DstPort 1 } Line { SrcBlock "Theta1" SrcPort 1 Points [0, -60] DstBlock "Analog Latch\n(Theta1)" DstPort 3 } Line { SrcBlock "Voltage1" SrcPort 1 DstBlock "Analog Latch\n(Voltage1)" DstPort 3 } Line { SrcBlock "Rising Edge Enable1" SrcPort 1 Points [15, 0; 0, -75] Branch { Points [0, -120] DstBlock "Analog Latch\n(Theta1)" DstPort 2 } Branch { DstBlock "Analog Latch\n(Voltage1)" DstPort 2 } } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "Analog Latch\n(Theta2)" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "Analog Latch\n(Voltage2)" DstPort 1 } Line { SrcBlock "Theta2" SrcPort 1 Points [0, -60] DstBlock "Analog Latch\n(Theta2)" DstPort 3 } Line { SrcBlock "Voltage2" SrcPort 1 DstBlock "Analog Latch\n(Voltage2)" DstPort 3 } Line { SrcBlock "Rising Edge Enable2" SrcPort 1 Points [15, 0; 0, -75] Branch { Points [0, -120] DstBlock "Analog Latch\n(Theta2)" DstPort 2 } Branch { DstBlock "Analog Latch\n(Voltage2)" DstPort 2 } } Line { SrcBlock "Analog Latch\n(Theta1)" SrcPort 1 Points [20, 0; 0, 170] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Analog Latch\n(Voltage1)" SrcPort 1 Points [15, 0; 0, 65] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Analog Latch\n(Theta2)" SrcPort 1 Points [15, 0; 0, -50] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Analog Latch\n(Voltage2)" SrcPort 1 Points [20, 0; 0, -155] DstBlock "Mux" DstPort 4 } Line { SrcBlock "Mux" SrcPort 1 Points [5, 0] Branch { DstBlock "GetK3" DstPort 1 } Branch { DstBlock "GetK0" DstPort 1 } } Line { SrcBlock "GetK3" SrcPort 1 DstBlock "K3" DstPort 1 } Line { SrcBlock "GetK0" SrcPort 1 DstBlock "K0" DstPort 1 } } } Block { BlockType Display Name "K0" Ports [1] Position [460, 180, 550, 210] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Display Name "K3" Ports [1] Position [460, 61, 550, 89] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Reference Name "Manual Switch" Ports [2, 1] Position [140, 97, 170, 133] ShowName off SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType Reference Name "Manual Switch1" Ports [2, 1] Position [140, 217, 170, 253] ShowName off SourceBlock "simulink3/Nonlinear/Manual Switch" SourceType "Manual Switch" sw "1" action "0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [390, 270, 420, 305] ShowName off Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [350, 285, 370, 305] ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "Theta1" Ports [1, 1] Position [140, 20, 170, 50] SourceBlock "simulink3/Math/Slider\nGain" SourceType "Slider Gain" low "-100" gain "60" high "100" } Block { BlockType Reference Name "Theta2" Ports [1, 1] Position [140, 140, 170, 170] SourceBlock "simulink3/Math/Slider\nGain" SourceType "Slider Gain" low "-100" gain "-60" high "100" } Block { BlockType Display Name "Voltage" Ports [1] Position [460, 320, 550, 350] Format "short" Decimation "1" Floating off SampleTime "-1" } Line { SrcBlock "Theta1" SrcPort 1 DstBlock "Equation Solver" DstPort 1 } Line { SrcBlock "Theta2" SrcPort 1 DstBlock "Equation Solver" DstPort 4 } Line { SrcBlock "Manual Switch" SrcPort 1 DstBlock "Equation Solver" DstPort 3 } Line { SrcBlock "Equation Solver" SrcPort 1 Points [40, 0] Branch { Points [0, 205] DstBlock "Product" DstPort 1 } Branch { DstBlock "K3" DstPort 1 } } Line { SrcBlock "Equation Solver" SrcPort 2 Points [30, 0] Branch { Points [0, 75] DstBlock "Sum" DstPort 1 } Branch { DstBlock "K0" DstPort 1 } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Angle" DstPort 1 } Line { SrcBlock "Input\n(Voltage)" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, 70] Branch { DstBlock "Equation Solver" DstPort 5 } Branch { Points [0, 100] Branch { DstBlock "Sum" DstPort 2 } Branch { Points [0, 40] DstBlock "Voltage" DstPort 1 } } } Branch { Points [0, -50] DstBlock "Equation Solver" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "Manual Switch" DstPort 1 } Line { SrcBlock "Constant5" SrcPort 1 DstBlock "Manual Switch" DstPort 2 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "Manual Switch1" DstPort 1 } Line { SrcBlock "Constant6" SrcPort 1 DstBlock "Manual Switch1" DstPort 2 } Line { SrcBlock "Manual Switch1" SrcPort 1 DstBlock "Equation Solver" DstPort 6 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Theta1" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Theta2" DstPort 1 } Annotation { Position [411, 30] Text "Theta(1) = K3*(Voltage(1) + K0)\nTheta(2) =" " K3*(Voltage(2) + K0)\n" } Annotation { Position [132, 93] Text "Set1" } Annotation { Position [132, 213] Text "Set2" } } } Block { BlockType Scope Name "Control\nScope" Ports [1] Position [230, 225, 260, 255] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Gain Name "Controller" Position [140, 105, 170, 135] Gain "K" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Controller1" Position [140, 295, 170, 325] Gain "K" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [730, 101, 735, 139] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [210, 221, 215, 259] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Output\nScope" Ports [1] Position [755, 105, 785, 135] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "on" List { ListType AxesTitles axes1 "%" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType TransferFcn Name "Plant Model" Position [365, 290, 475, 330] Numerator "[Kp]" Denominator "[T 1 0]" AbsoluteTolerance "auto" Realization "auto" } Block { BlockType Step Name "Reference" Position [35, 105, 65, 135] Time "1" Before "0" After "30" SampleTime "0" VectorParams1D on } Block { BlockType Step Name "Step1" Position [340, 410, 370, 440] ShowName off Time "500" Before "0" After "1" SampleTime "0" VectorParams1D on } Block { BlockType Stop Name "Stop Simulation" Position [410, 407, 445, 443] } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [100, 110, 120, 130] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [100, 300, 120, 320] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Line { SrcBlock "Step1" SrcPort 1 DstBlock "Stop Simulation" DstPort 1 } Line { SrcBlock "Controller" SrcPort 1 Points [5, 0] Branch { DstBlock "Analog Output" DstPort 1 } Branch { Points [0, 110] DstBlock "Mux1" DstPort 1 } } Line { SrcBlock "Analog Input" SrcPort 1 Points [5, 0] Branch { Points [0, -75] DstBlock "Calibrator Solver" DstPort 1 } Branch { DstBlock "Calibrator" DstPort 1 } } Line { SrcBlock "Reference" SrcPort 1 Points [5, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { Points [0, 190] DstBlock "Sum1" DstPort 1 } Branch { Points [0, -105; 640, 0] DstBlock "Mux" DstPort 1 } } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Controller" DstPort 1 } Line { SrcBlock "Calibrator" SrcPort 1 Points [10, 0] Branch { Points [0, 85; -590, 0] DstBlock "Sum" DstPort 2 } Branch { DstBlock "Mux" DstPort 2 } } Line { SrcBlock "Controller1" SrcPort 1 Points [5, 0] Branch { DstBlock "Plant Model" DstPort 1 } Branch { Points [0, -60] DstBlock "Mux1" DstPort 2 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Controller1" DstPort 1 } Line { SrcBlock "Plant Model" SrcPort 1 Points [205, 0] Branch { Points [0, 55; -575, 0] DstBlock "Sum1" DstPort 2 } Branch { Points [30, 0] DstBlock "Mux" DstPort 3 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Output\nScope" DstPort 1 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Control\nScope" DstPort 1 } Annotation { Position [318, 120] Text "To Plant\n(D/A)" } Annotation { Position [381, 119] Text "From Plant\n(A/D)" } } }