📄 n_test3.mdl
字号:
BusOutputAsStruct off
}
Line {
SrcBlock "Sfunc"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "alfa1_signal"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "alfad3_signal"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "alfa3_signal"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "alfad2_signal"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "alfad1_signal"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "alfa2_signal"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Sfunc"
DstPort 1
}
Line {
SrcBlock "v1_signal"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "v2_signal"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "v3_signal"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType Fcn
Name "Fcn"
Position [210, 150, 270, 180]
Expr "(u(2)-u(1))/.02"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [215, 415, 275, 445]
Expr "(u(2)-u(1))/.02"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [200, 690, 260, 720]
Expr "(u(2)-u(1))/.02"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [335, 300, 395, 330]
Expr "(u(2)-u(1))/.02"
}
Block {
BlockType Fcn
Name "Fcn4"
Position [335, 555, 395, 585]
Expr "(u(2)-u(1))/.02"
}
Block {
BlockType Fcn
Name "Fcn5"
Position [325, 815, 385, 845]
Expr "(u(2)-u(1))/.02"
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace"
Position [20, 113, 85, 137]
VariableName "alfa1"
SampleTime ".02"
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace1"
Position [20, 373, 85, 397]
VariableName "alfa2"
SampleTime ".02"
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace2"
Position [15, 638, 80, 662]
VariableName "alfa3"
SampleTime ".02"
}
Block {
BlockType Memory
Name "Memory"
Position [135, 140, 165, 170]
InheritSampleTime on
}
Block {
BlockType Memory
Name "Memory1"
Position [140, 405, 170, 435]
InheritSampleTime on
}
Block {
BlockType Memory
Name "Memory2"
Position [125, 680, 155, 710]
InheritSampleTime on
}
Block {
BlockType Memory
Name "Memory3"
Position [260, 290, 290, 320]
InheritSampleTime on
}
Block {
BlockType Memory
Name "Memory4"
Position [260, 545, 290, 575]
InheritSampleTime on
}
Block {
BlockType Memory
Name "Memory5"
Position [250, 805, 280, 835]
InheritSampleTime on
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [480, 111, 485, 149]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [480, 371, 485, 409]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux10"
Ports [2, 1]
Position [305, 551, 310, 589]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux11"
Ports [2, 1]
Position [300, 811, 305, 849]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [465, 636, 470, 674]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [6, 1]
Position [670, 617, 675, 708]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [6, 1]
Position [675, 347, 680, 438]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [185, 146, 190, 184]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [6, 1]
Position [675, 87, 680, 178]
ShowName off
Inputs "6"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1]
Position [190, 411, 195, 449]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux8"
Ports [2, 1]
Position [175, 686, 180, 724]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux9"
Ports [2, 1]
Position [310, 296, 315, 334]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "R/D"
Position [215, 95, 245, 125]
Value "57.3"
}
Block {
BlockType Constant
Name "R/D1"
Position [245, 355, 275, 385]
Value "57.3"
}
Block {
BlockType Constant
Name "R/D2"
Position [230, 620, 260, 650]
Value "57.3"
}
Block {
BlockType Constant
Name "R/D3"
Position [355, 735, 385, 765]
Value "57.3"
}
Block {
BlockType Constant
Name "R/D4"
Position [365, 485, 395, 515]
Value "57.3"
}
Block {
BlockType Constant
Name "R/D5"
Position [365, 240, 395, 270]
Value "57.3"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [700, 44, 730, 76]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [445, 34, 475, 66]
Orientation "left"
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [1]
Position [730, 249, 760, 281]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope3"
Ports [1]
Position [730, 299, 760, 331]
Location [188, 390, 512, 629]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData3"
DataFormat "StructureWithTime"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [395, 110, 415, 130]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [395, 150, 415, 170]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [390, 370, 410, 390]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [390, 415, 410, 435]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [380, 635, 400, 655]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -