📄 timetriggered.mdl
字号:
Position [720, 244, 750, 276] Floating off Location [645, 454, 969, 693] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "10" YMin "1" YMax "2.5" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [235, 130, 255, 150] ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType Reference Name "TrueTime Network" Ports [1, 2] Position [575, 200, 670, 255] DropShadow on SourceBlock "truetime/TrueTime Network" SourceType "Real-Time Network" nwtype "CSMA/CD (Ethernet)" nwnbr "1" nnodes "2" rate "10000000" minsize "512" lossprob "0" bandwidths "[0.5 0.5]" slotsize "512" schedule "[1 1 2]" memsize "80000" buftype "Common buffer" overflow "Retransmit" } Block { BlockType Reference Name "ttGetMsg1" Ports [1, 1] Position [115, 116, 165, 164] DropShadow on SourceBlock "truetime/ttGetMsg" SourceType "" network "1" receiver "1" trigger off } Block { BlockType Reference Name "ttGetMsg2" Ports [1, 1] Position [335, 282, 385, 328] Orientation "left" DropShadow on SourceBlock "truetime/ttGetMsg" SourceType "" network "1" receiver "2" trigger off } Block { BlockType Reference Name "ttSendMsg1" Ports [1, 1, 0, 1] Position [395, 117, 445, 163] DropShadow on Priority "1" SourceBlock "truetime/ttSendMsg" SourceType "" network "1" network_input off sender "1" sender_input off receiver "2" receiver_input off data "0" data_input on length "1000" length_input off priority "1" priority_input off TriggerType "rising" } Block { BlockType Reference Name "ttSendMsg2" Ports [1, 1, 0, 1] Position [165, 282, 215, 328] Orientation "left" DropShadow on Priority "1" SourceBlock "truetime/ttSendMsg" SourceType "" network "1" network_input off sender "2" sender_input off receiver "1" receiver_input off data "0" data_input on length "1000" length_input off priority "1" priority_input off TriggerType "rising" } Block { BlockType Scope Name "u" Ports [1] Position [175, 75, 205, 105] Orientation "up" Floating off Location [164, 365, 488, 604] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "10" YMin "-1" YMax "1" SaveToWorkspace off SaveName "ScopeData2" DataFormat "StructureWithTime" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "y" Ports [1] Position [340, 75, 370, 105] Orientation "up" Floating off Location [447, 336, 772, 575] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "xonly" List { ListType AxesTitles axes1 "%<SignalLabel>" } List { ListType SelectedSignals axes1 "" } Grid "on" TimeRange "10" YMin "-1" YMax "1" SaveToWorkspace off SaveName "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints off MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "0" } Line { SrcBlock "Clock" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [5, 0; 25, 0] Branch { DstBlock "ttSendMsg1" DstPort 1 } Branch { DstBlock "y" DstPort 1 } } Line { SrcBlock "Pulse\nGenerator" SrcPort 1 DstBlock "ttSendMsg1" DstPort trigger } Line { SrcBlock "ttSendMsg1" SrcPort 1 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "TrueTime Network" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "From" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Goto" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Goto1" DstPort 1 } Line { SrcBlock "TrueTime Network" SrcPort 2 Points [10, 0; 0, 20] DstBlock "Schedule" DstPort 1 } Line { SrcBlock "ttGetMsg2" SrcPort 1 DstBlock "P-controller" DstPort 1 } Line { SrcBlock "P-controller" SrcPort 1 DstBlock "ttSendMsg2" DstPort 1 } Line { SrcBlock "ttSendMsg2" SrcPort 1 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "ttGetMsg1" DstPort 1 } Line { SrcBlock "From3" SrcPort 1 DstBlock "ttGetMsg2" DstPort 1 } Line { SrcBlock "Pulse\nGenerator " SrcPort 1 DstBlock "ttSendMsg2" DstPort trigger } Line { SrcBlock "Mux" SrcPort 1 DstBlock "TrueTime Network" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Band-Limited\nWhite Noise" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "ttGetMsg1" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Sum" DstPort 2 } Branch { DstBlock "u" DstPort 1 } } Annotation { Position [296, 421] Text "TrueTime 1.5 Time-Triggered Networked Control ""Loop\nCopyright (c) 2007\nMartin Ohlin, Dan Henriksson and Anton Cervin\nDepa""rtment of Automatic Control, Lund University, Sweden\nPlease direct questions"" and bug reports to: truetime@control.lth.se " } }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -