Model { Name "Aclarus_task" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10.0" SolverMode "SingleTasking" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine 1 MaxStep "auto" InitialStep "auto" FixedStep "auto" 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 "Matrix" LimitMaxRows off MaxRows 1000 Decimation 1 AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking off ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off Created "Thu Jan 14 14:46:32 2010" Creator "Jarda" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "XPMUser" ModifiedDateFormat "%" LastModifiedDate "Thu Apr 04 19:30:46 2013" ModelVersionFormat "1.%" ConfigurationManager "none" #RexVersion "2.10.8 rev. 5910, Date 2016-02-28" BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on Orientation "right" } 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 "Aclarus_task" Location [612, 33, 1264, 881] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor 100 AutoZoom on ReportName "simulink-default.rpt" #GUID 56b1ca65-dfbb-4cb8-9b4c-c53d1799e388 Block { BlockType Reference Name "ABS_" Ports [1, 2, 0, 0, 0] Position [380, 98, 410, 122] SourceBlock "mathlib/ABS_" #GUID 2dd7f977-5c40-4eac-a77a-b93d27c1756a } Block { BlockType Reference Name "ABS_1" Ports [1, 2, 0, 0, 0] Position [325, 193, 355, 217] SourceBlock "mathlib/ABS_" #GUID 35d068a1-518b-4249-8698-92645b0a13d4 } Block { BlockType Reference Name "ABS_2" Ports [1, 2, 0, 0, 0] Position [375, 313, 405, 337] SourceBlock "mathlib/ABS_" #GUID 95082db9-b794-4899-9f67-dc97b3c4b3eb } Block { BlockType Reference Name "AND_" Ports [2, 2, 0, 0, 0] Position [625, 148, 660, 172] SourceBlock "logiclib/AND_" #GUID b70dbd2b-f66f-4828-8c8a-ff109953b2ed } Block { BlockType Reference Name "AND_1" Ports [2, 2, 0, 0, 0] Position [640, 283, 675, 307] SourceBlock "logiclib/AND_" #GUID 9a2f2e78-7db5-4bd0-bb88-e0e05bc72d3c } Block { BlockType SubSystem Name "Arduino_UNO1" Ports [21, 34, 0, 0, 0] Position [775, 60, 920, 420] ShowPortLabels on MaskType "REX sequence" MaskPromptString "Serial device, e.g. COM7, /dev/ttyACM0, /dev/tt" "yUSB0 etc.|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|P" "in 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pi" "n 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin" " 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin 2 mode|Pin " "2 mode" MaskStyleString "edit,popup(1: Not connected|2: Digital output|3" ": Digital input|4: Digital input with internal pull-up|5: --- N/A for this pin" " ---|6: --- N/A for this pin ---|7: 1-Wire temperature|8: Counter|9: Encoder A" "),popup(1: Not connected|2: Digital output|3: Digital input|4: Digital input w" "ith internal pull-up|5: PWM (analog output)|6: --- N/A for this pin ---|7: 1-W" "ire temperature|8: Counter|9: Encoder A),popup(1: Not connected|2: Digital out" "put|3: Digital input|4: Digital input with internal pull-up|5: --- N/A for thi" "s pin ---|6: --- N/A for this pin ---|7: 1-Wire temperature|8: --- N/A for thi" "s pin ---|9: --- N/A for this pin ---|10: Counter DIR / Encoder B),popup(1: No" "t connected|2: Digital output|3: Digital input|4: Digital input with internal " "pull-up|5: PWM (analog output)|6: --- N/A for this pin ---|7: 1-Wire temperatu" "re|8: --- N/A for this pin ---|9: --- N/A for this pin ---|10: Counter DIR / E" "ncoder B),popup(1: Not connected|2: Digital output|3: Digital input|4: Digital" " input with internal pull-up|5: PWM (analog output)|6: --- N/A for this pin --" "-|7: 1-Wire temperature),popup(1: Not connected|2: Digital output|3: Digital i" "nput|4: Digital input with internal pull-up|5: PWM (analog output)|6: --- N/A " "for this pin ---|7: 1-Wire temperature),popup(1: Not connected|2: Digital outp" "ut|3: Digital input|4: Digital input with internal pull-up|5: PWM (analog outp" "ut)|6: --- N/A for this pin ---|7: 1-Wire temperature),popup(1: Not connected|" "2: Digital output|3: Digital input|4: Digital input with internal pull-up|5: P" "WM (analog output)|6: --- N/A for this pin ---|7: 1-Wire temperature),popup(1:" " Not connected|2: Digital output|3: Digital input|4: Digital input with intern" "al pull-up|5: --- N/A for this pin ---|6: Analog input|7: 1-Wire temperature)," "popup(1: Not connected|2: Digital output|3: Digital input|4: Digital input wit" "h internal pull-up|5: --- N/A for this pin ---|6: Analog input|7: 1-Wire tempe" "rature),popup(1: Not connected|2: Digital output|3: Digital input|4: Digital i" "nput with internal pull-up|5: --- N/A for this pin ---|6: Analog input|7: 1-Wi" "re temperature),popup(1: Not connected|2: Digital output|3: Digital input|4: D" "igital input with internal pull-up|5: --- N/A for this pin ---|6: Analog input" "|7: 1-Wire temperature),popup(1: Not connected|2: Digital output|3: Digital in" "put|4: Digital input with internal pull-up|5: --- N/A for this pin ---|6: Anal" "og input|7: 1-Wire temperature),popup(1: Not connected|2: Digital output|3: Di" "gital input|4: Digital input with internal pull-up|5: --- N/A for this pin ---" "|6: Analog input|7: 1-Wire temperature)" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "REXduino_mask_comPort = get_param(gcb,'comPort'" ");\nREXduino_mask_comPort = sscanf(fliplr(REXduino_mask_comPort),'%u',1);\nif " "( ~isempty(REXduino_mask_comPort) & (REXduino_mask_comPort<100) )\nset_param([" "gcb '/CNI_comPort'],'icn',fliplr(num2str(REXduino_mask_comPort)))\nelse\nset_p" "aram([gcb '/CNI_comPort'],'icn','15') \nend\nclear REXduino_mask_comPort|||" "|||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" MaskVariables "comPort=@1;pinmode2=&2;pinmode3=&3;pinmode4=&4;" "pinmode5=&5;pinmode6=&6;pinmode9=&7;pinmode10=&8;pinmode11=&9;pinmodeA0=&10;pi" "nmodeA1=&11;pinmodeA2=&12;pinmodeA3=&13;pinmodeA4=&14;pinmodeA5=&15" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "/dev/ttyACM0|8: Counter|1: Not connected|2: Dig" "ital output|2: Digital output|2: Digital output|2: Digital output|2: Digital o" "utput|1: Not connected|6: Analog input|6: Analog input|6: Analog input|1: Not " "connected|1: Not connected|1: Not connected" #GUID 0ce10458-378b-4aa5-827f-61767ffa7d49 System { Name "Arduino_UNO1" Location [57, 36, 1163, 955] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor 100 #GUID 0ce10458-378b-4aa5-827f-61767ffa7d49 Block { BlockType Inport Name "DO2" Ports [0, 1, 0, 0, 0] Position [40, 73, 70, 87] Port 1 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID b9733254-01a3-4868-b24a-3f0b28760801 } Block { BlockType Inport Name "DO3_PWM" Ports [0, 1, 0, 0, 0] Position [40, 103, 70, 117] Port 2 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 854d3062-1d7b-4d02-bc4e-9a5cef9ff081 } Block { BlockType Inport Name "DO4" Ports [0, 1, 0, 0, 0] Position [40, 133, 70, 147] Port 3 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 1645f6d4-eccd-4212-98e2-214afd6fb758 } Block { BlockType Inport Name "DO5_PWM" Ports [0, 1, 0, 0, 0] Position [40, 163, 70, 177] Port 4 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 88bd28e5-0835-4404-bdad-e9fee5fc3fbf } Block { BlockType Inport Name "DO6_PWM" Ports [0, 1, 0, 0, 0] Position [40, 193, 70, 207] Port 5 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID baea87a1-885b-4b08-8bf8-d36fa584a741 } Block { BlockType Inport Name "DO9_PWM" Ports [0, 1, 0, 0, 0] Position [40, 283, 70, 297] Port 6 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID b2242015-04c2-40c2-a1b1-8ab32cf57583 } Block { BlockType Inport Name "DO10_PWM" Ports [0, 1, 0, 0, 0] Position [40, 313, 70, 327] Port 7 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID b480da23-1e2d-40d1-88cb-3203f7bb41ef } Block { BlockType Inport Name "DO11_PWM" Ports [0, 1, 0, 0, 0] Position [40, 343, 70, 357] Port 8 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID d49bd8da-f719-4a7d-87f0-8110dfcdfa1a } Block { BlockType Inport Name "DO12" Ports [0, 1, 0, 0, 0] Position [40, 373, 70, 387] Port 9 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID ca16f61d-a929-447e-8af5-429a6ab7683d } Block { BlockType Inport Name "DO13" Ports [0, 1, 0, 0, 0] Position [40, 403, 70, 417] Port 10 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID e307091b-94dc-4d40-8f5f-da3290d64eb6 } Block { BlockType Inport Name "DO_A0" Ports [0, 1, 0, 0, 0] Position [40, 433, 70, 447] Port 11 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 7cd7e666-6ef3-434d-9b1a-b2613aba6f52 } Block { BlockType Inport Name "DO_A1" Ports [0, 1, 0, 0, 0] Position [40, 463, 70, 477] Port 12 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID f4ec139e-c63f-430e-8ee0-738e1e9553a4 } Block { BlockType Inport Name "DO_A2" Ports [0, 1, 0, 0, 0] Position [40, 518, 70, 532] Port 13 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 6db01c55-cd4e-493e-a867-99b5bff8e404 } Block { BlockType Inport Name "DO_A3" Ports [0, 1, 0, 0, 0] Position [40, 548, 70, 562] Port 14 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 3fffe229-9637-4e04-b87d-f8e5bc35d7f5 } Block { BlockType Inport Name "DO_A4" Ports [0, 1, 0, 0, 0] Position [40, 578, 70, 592] Port 15 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID b3cafefe-5219-4d6a-b6ac-d09709e1dbfb } Block { BlockType Inport Name "DO_A5" Ports [0, 1, 0, 0, 0] Position [40, 608, 70, 622] Port 16 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID e0267a88-8996-4445-93a3-a953d59b38db } Block { BlockType Inport Name "CNT2R" Ports [0, 1, 0, 0, 0] Position [35, 1048, 65, 1062] Port 17 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID ce6a79a8-60e7-47e8-be9b-5b142cea0ca8 } Block { BlockType Inport Name "CNT2E" Ports [0, 1, 0, 0, 0] Position [35, 1078, 65, 1092] Port 18 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 3a50b3d6-1e92-4465-90b0-da3a92c3d54d } Block { BlockType Inport Name "CNT3R" Ports [0, 1, 0, 0, 0] Position [35, 1108, 65, 1122] Port 19 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 63a345a1-8953-40a0-a245-b095cdf480fa } Block { BlockType Inport Name "CNT3E" Ports [0, 1, 0, 0, 0] Position [35, 1138, 65, 1152] Port 20 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID cb1cf8f6-01a0-4208-b388-fe4889069a9b } Block { BlockType Inport Name "userSend" Ports [0, 1, 0, 0, 0] Position [35, 1173, 65, 1187] Port 21 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 5a6f4b6c-0c04-4c45-b721-d79b22219dc7 } Block { BlockType SubSystem Name "AI_demux1" Ports [1, 3, 0, 0, 0] Position [920, 768, 1020, 802] ShowPortLabels on MaskType "REX sequence" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" #GUID 8a4b6b03-9d83-49fe-9081-fef4c439b084 System { Name "AI_demux1" Location [87, 105, 469, 319] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor 100 AutoZoom on #GUID 8a4b6b03-9d83-49fe-9081-fef4c439b084 Block { BlockType Inport Name "AI_data" Ports [0, 1, 0, 0, 0] Position [10, 23, 40, 37] Port 1 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID dc81ed26-ca14-4a6a-856a-ba8f2bd20bb2 } Block { BlockType Reference Name "BITOP_1" Ports [2, 1, 0, 0, 0] Position [125, 98, 150, 122] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID 37434774-ff85-473d-b388-1da74c4b6217 } Block { BlockType Reference Name "BITOP_10" Ports [2, 1, 0, 0, 0] Position [125, 23, 150, 47] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 53e97a42-c605-4265-8f22-8470eec6d022 } Block { BlockType Reference Name "BITOP_2" Ports [2, 1, 0, 0, 0] Position [210, 103, 235, 127] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 74e18f6d-6b73-4fce-af3d-fffaa356d806 } Block { BlockType Reference Name "BITOP_3" Ports [2, 1, 0, 0, 0] Position [190, 163, 215, 187] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID a8101f7b-d5e4-405b-bfa1-d07fc247576c } Block { BlockType Reference Name "BITOP_4" Ports [2, 1, 0, 0, 0] Position [255, 168, 280, 192] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID b53c402c-50b5-4a1d-b5cf-31811bf13d8a } Block { BlockType Reference Name "CNI" Ports [0, 1, 0, 0, 0] Position [65, 57, 95, 73] SourceBlock "mathlib/CNI" SourceType "CNI" icn 1023 #GUID 217d1880-9f49-4318-bfe1-e60e2c1f4e74 } Block { BlockType Reference Name "CNI_1" Ports [0, 1, 0, 0, 0] Position [70, 108, 85, 122] SourceBlock "mathlib/CNI" SourceType "CNI" icn 10 #GUID b44f19a7-ff37-4972-9dcb-303b1eefc80e } Block { BlockType Outport Name "AIdata1" Ports [1, 0, 0, 0, 0] Position [325, 28, 355, 42] Port 1 OutputWhenDisabled "held" InitialOutput [] #GUID 40ab8b5f-b6de-4e7a-baa0-37b8b9410293 } Block { BlockType Outport Name "AIdata2" Ports [1, 0, 0, 0, 0] Position [325, 108, 355, 122] Port 2 OutputWhenDisabled "held" InitialOutput [] #GUID e0e82a2f-8ddf-4b98-8687-08c7be7fcd32 } Block { BlockType Outport Name "AIdata3" Ports [1, 0, 0, 0, 0] Position [325, 173, 355, 187] Port 3 OutputWhenDisabled "held" InitialOutput [] #GUID 218bb2cc-3d98-42dc-8b67-f1e50f68634b } Line { SrcBlock "AI_data" SrcPort 1 Points [5, 0] #GUID 8cd45a74-e716-4f55-afe6-2f0d8789cfc8 Branch { Points [0, 75] DstBlock "BITOP_1" DstPort 1 #GUID 346b29a1-28fe-43df-b1ec-28a4979c029b } Branch { DstBlock "BITOP_10" DstPort 1 #GUID c6c62855-851f-4d8f-bceb-69fbd88217ed } } Line { SrcBlock "BITOP_1" SrcPort 1 Points [15, 0] #GUID 4ae27379-fd4c-45c6-af71-a28e8e54540b Branch { DstBlock "BITOP_2" DstPort 1 #GUID f12b2c84-3eff-499b-b806-97445e44f0de } Branch { Points [0, 60] DstBlock "BITOP_3" DstPort 1 #GUID 9a13a186-025e-4496-bc36-6edcbbbf7faa } } Line { SrcBlock "BITOP_10" SrcPort 1 DstBlock "AIdata1" DstPort 1 #GUID 2af7e108-7226-4e6f-8002-065d102a047c } Line { SrcBlock "BITOP_2" SrcPort 1 DstBlock "AIdata2" DstPort 1 #GUID 0270050d-1dea-44b4-9b37-d9ae11e4af81 } Line { SrcBlock "BITOP_3" SrcPort 1 DstBlock "BITOP_4" DstPort 1 #GUID 90a07ed3-0256-44ae-b9a2-d85eac5d59c2 } Line { SrcBlock "BITOP_4" SrcPort 1 DstBlock "AIdata3" DstPort 1 #GUID abab19c9-125a-4649-a2fd-62768215afae } Line { SrcBlock "CNI" SrcPort 1 Points [10, 0] #GUID abcb2486-f22d-4550-968e-1f5ecf59d502 Branch { DstBlock "BITOP_10" DstPort 2 #GUID 5bc3a7dc-5c3b-4c61-8863-6b099145282d } Branch { Points [75, 0; 0, 55] #GUID 026ecf74-91b3-474b-91a0-57944de208b5 Branch { DstBlock "BITOP_2" DstPort 2 #GUID 5e9b0835-826d-4fa3-b71d-9b474fd40d8e } Branch { Points [0, 25; 50, 0; 0, 40] DstBlock "BITOP_4" DstPort 2 #GUID 38f60f37-0402-4a8b-b8c6-88dd15dd125f } } } Line { SrcBlock "CNI_1" SrcPort 1 Points [10, 0] #GUID 680e118b-f66f-41e0-922c-922c7d629b09 Branch { DstBlock "BITOP_1" DstPort 2 #GUID 1a8973f1-5966-4ff2-9a11-929e8e6bf167 } Branch { Points [0, 65] DstBlock "BITOP_3" DstPort 2 #GUID 25d2d88b-83ab-4152-a556-1d2b572a96e1 } } } } Block { BlockType SubSystem Name "AI_demux2" Ports [1, 3, 0, 0, 0] Position [920, 843, 1020, 877] ShowPortLabels on MaskType "REX sequence" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" #GUID ee93a360-d85f-4c5e-917a-dd18fbecf967 System { Name "AI_demux2" Location [87, 105, 469, 319] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor 100 AutoZoom on #GUID ee93a360-d85f-4c5e-917a-dd18fbecf967 Block { BlockType Inport Name "AI_data" Ports [0, 1, 0, 0, 0] Position [10, 23, 40, 37] Port 1 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID eb7dd205-06e4-4adc-92af-70eb01dc9f51 } Block { BlockType Reference Name "BITOP_1" Ports [2, 1, 0, 0, 0] Position [125, 98, 150, 122] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID a7fe5949-64d5-4e2f-9c3c-019a67ec571a } Block { BlockType Reference Name "BITOP_10" Ports [2, 1, 0, 0, 0] Position [125, 23, 150, 47] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID a7115099-7e73-431f-ac72-e580c7311938 } Block { BlockType Reference Name "BITOP_2" Ports [2, 1, 0, 0, 0] Position [210, 103, 235, 127] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 76b08081-2dcd-4f81-9264-af8d3b918ef0 } Block { BlockType Reference Name "BITOP_3" Ports [2, 1, 0, 0, 0] Position [190, 163, 215, 187] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID 5f670274-85ad-4c70-b343-370603d7c64f } Block { BlockType Reference Name "BITOP_4" Ports [2, 1, 0, 0, 0] Position [255, 168, 280, 192] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 6991c202-ea86-4077-b5b0-42de92066409 } Block { BlockType Reference Name "CNI" Ports [0, 1, 0, 0, 0] Position [65, 57, 95, 73] SourceBlock "mathlib/CNI" SourceType "CNI" icn 1023 #GUID 079f1426-6046-4ca1-b85a-4e7115338788 } Block { BlockType Reference Name "CNI_1" Ports [0, 1, 0, 0, 0] Position [70, 108, 85, 122] SourceBlock "mathlib/CNI" SourceType "CNI" icn 10 #GUID 90c584f4-6148-49c8-874e-ecb91f90458b } Block { BlockType Outport Name "AIdata1" Ports [1, 0, 0, 0, 0] Position [325, 28, 355, 42] Port 1 OutputWhenDisabled "held" InitialOutput [] #GUID 37c34bc6-d223-4c63-87fe-4067913f4aa8 } Block { BlockType Outport Name "AIdata2" Ports [1, 0, 0, 0, 0] Position [325, 108, 355, 122] Port 2 OutputWhenDisabled "held" InitialOutput [] #GUID 3ccbf66e-17cc-4932-a804-203dd2fb05a2 } Block { BlockType Outport Name "AIdata3" Ports [1, 0, 0, 0, 0] Position [325, 173, 355, 187] Port 3 OutputWhenDisabled "held" InitialOutput [] #GUID ed9634a0-4dc0-4b27-9ecb-d7d32bc9bd2d } Line { SrcBlock "AI_data" SrcPort 1 Points [5, 0] #GUID a2d05376-203e-4d03-8f32-c254b0e58947 Branch { Points [0, 75] DstBlock "BITOP_1" DstPort 1 #GUID d940f22b-2e0b-4aff-bde6-b1c11810d671 } Branch { DstBlock "BITOP_10" DstPort 1 #GUID 627c5f0f-cf6c-45e3-a9bb-e7b5af1674e0 } } Line { SrcBlock "BITOP_1" SrcPort 1 Points [15, 0] #GUID fe226290-d809-4057-936a-92d59a30654c Branch { DstBlock "BITOP_2" DstPort 1 #GUID 4cc6c84c-7fd1-4a2e-ae3d-14cf82e1a5c5 } Branch { Points [0, 60] DstBlock "BITOP_3" DstPort 1 #GUID 09cd05de-126f-4620-9666-15b1f56bef8e } } Line { SrcBlock "BITOP_10" SrcPort 1 DstBlock "AIdata1" DstPort 1 #GUID 991210dd-dc72-4f33-bc42-f382eb11bff9 } Line { SrcBlock "BITOP_2" SrcPort 1 DstBlock "AIdata2" DstPort 1 #GUID 26360ced-5a0a-45dd-806b-594a87dc4f8f } Line { SrcBlock "BITOP_3" SrcPort 1 DstBlock "BITOP_4" DstPort 1 #GUID 48f7827f-c84a-4ec2-83c2-bb5ad6f2c2fa } Line { SrcBlock "BITOP_4" SrcPort 1 DstBlock "AIdata3" DstPort 1 #GUID 0c63fbd0-0ab2-485c-be1e-16e6efbc6e58 } Line { SrcBlock "CNI" SrcPort 1 Points [10, 0] #GUID 2286954f-8567-49fc-9c8f-64224bfa0721 Branch { DstBlock "BITOP_10" DstPort 2 #GUID bda08cd7-afd6-4a76-b505-4106fef0f041 } Branch { Points [75, 0; 0, 55] #GUID 6c852692-b7e5-4550-bfbd-83c9b4b58dd8 Branch { DstBlock "BITOP_2" DstPort 2 #GUID f4232142-f09c-45e7-85a0-8c1054a26b1d } Branch { Points [0, 25; 50, 0; 0, 40] DstBlock "BITOP_4" DstPort 2 #GUID 6856c537-dd6d-4e90-a1dc-c300b83a0b62 } } } Line { SrcBlock "CNI_1" SrcPort 1 Points [10, 0] #GUID 489f55ed-7f54-4c87-9517-94ec69748c1f Branch { DstBlock "BITOP_1" DstPort 2 #GUID 0cf4741c-32da-48aa-9f05-33e63568112d } Branch { Points [0, 65] DstBlock "BITOP_3" DstPort 2 #GUID 0d5031ea-a052-46e0-8d73-c34127f9e24e } } } } Block { BlockType Reference Name "BITOP" Ports [2, 1, 0, 0, 0] Position [220, 803, 245, 827] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 81bcf29a-d96b-4e84-add7-468904d087a9 } Block { BlockType Reference Name "BITOP_1" Ports [2, 1, 0, 0, 0] Position [220, 843, 245, 867] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID e390b8cf-7fe7-4081-8499-fd903831119a } Block { BlockType Reference Name "BITOP_10" Ports [2, 1, 0, 0, 0] Position [315, 238, 340, 262] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "2: Bit OR" #GUID e7988301-3a95-4a24-a614-f325a51d0c36 } Block { BlockType Reference Name "BITOP_11" Ports [2, 1, 0, 0, 0] Position [365, 813, 390, 837] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "2: Bit OR" #GUID 3b2dcc19-c84b-4e20-a800-cbcf2b7bdc52 } Block { BlockType Reference Name "BITOP_12" Ports [2, 1, 0, 0, 0] Position [365, 888, 390, 912] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "2: Bit OR" #GUID 9a80b499-7f77-4d37-b7af-4e8f43daf738 } Block { BlockType Reference Name "BITOP_13" Ports [2, 1, 0, 0, 0] Position [365, 968, 390, 992] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "2: Bit OR" #GUID 04592c1d-2cef-4307-994e-cbf66bbca294 } Block { BlockType Reference Name "BITOP_2" Ports [2, 1, 0, 0, 0] Position [220, 883, 245, 907] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 9b0ea239-a918-4252-b172-2ed217d57bb6 } Block { BlockType Reference Name "BITOP_3" Ports [2, 1, 0, 0, 0] Position [220, 923, 245, 947] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 44eedce3-1a8f-41f6-9c72-82ac73f9ec56 } Block { BlockType Reference Name "BITOP_4" Ports [2, 1, 0, 0, 0] Position [220, 963, 245, 987] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 13b9a339-4e08-4566-8acd-076e139c3ecf } Block { BlockType Reference Name "BITOP_5" Ports [2, 1, 0, 0, 0] Position [220, 1003, 245, 1027] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID a6e93432-27b5-47a3-9540-33b0b131c8ba } Block { BlockType Reference Name "BITOP_6" Ports [2, 1, 0, 0, 0] Position [305, 808, 330, 832] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "5: Shift Left" #GUID 8bc5ca83-ee09-481f-b79f-84836e8ebf94 } Block { BlockType Reference Name "BITOP_7" Ports [2, 1, 0, 0, 0] Position [305, 1008, 330, 1032] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "5: Shift Left" #GUID ea82c9ef-def9-42bb-bb8f-0f12cc8b5a00 } Block { BlockType Reference Name "BITOP_8" Ports [2, 1, 0, 0, 0] Position [305, 928, 330, 952] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "5: Shift Left" #GUID cd4a8440-baf6-457f-a2e1-04861323153e } Block { BlockType Reference Name "BITOP_9" Ports [2, 1, 0, 0, 0] Position [305, 848, 330, 872] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "5: Shift Left" #GUID c58cf450-c95c-4e45-808c-9f1e13b6df3c } Block { BlockType Reference Name "CNB_LOG_INCOMING" Ports [0, 1, 0, 0, 0] Position [220, 1263, 240, 1277] SourceBlock "mathlib/CNB" SourceType "CNB" YCN off #GUID 8bc985ff-d8c8-4d19-8ce2-0788931747d2 } Block { BlockType Reference Name "CNB_LOG_OUTGOING" Ports [0, 1, 0, 0, 0] Position [220, 1293, 240, 1307] SourceBlock "mathlib/CNB" SourceType "CNB" YCN off #GUID 128fc568-52e4-4362-b0b5-a5c9359f19ee } Block { BlockType Reference Name "CNI" Ports [0, 1, 0, 0, 0] Position [155, 812, 180, 828] SourceBlock "mathlib/CNI" SourceType "CNI" icn 255 #GUID 78e87db4-dff7-4469-9454-e59631914cb7 } Block { BlockType Reference Name "CNI0" Ports [0, 1, 0, 0, 0] Position [445, 333, 465, 347] SourceBlock "mathlib/CNI" SourceType "CNI" icn 0 #GUID 5f96d400-03aa-42cd-97aa-1b777eb7f6d4 } Block { BlockType Reference Name "CNI1" Ports [0, 1, 0, 0, 0] Position [470, 343, 490, 357] SourceBlock "mathlib/CNI" SourceType "CNI" icn 1 #GUID bf907789-9a35-4bdd-8aad-ffe46c171746 } Block { BlockType Reference Name "CNI_1" Ports [0, 1, 0, 0, 0] Position [270, 818, 285, 832] SourceBlock "mathlib/CNI" SourceType "CNI" icn 8 #GUID 6107bcc9-2ae7-4281-9fcf-4bb3d540d729 } Block { BlockType Reference Name "CNI_2" Ports [0, 1, 0, 0, 0] Position [270, 1018, 285, 1032] SourceBlock "mathlib/CNI" SourceType "CNI" icn 8 #GUID b4713552-8a7c-4b90-90e0-94d5d1e91418 } Block { BlockType Reference Name "CNI_3" Ports [0, 1, 0, 0, 0] Position [270, 938, 285, 952] SourceBlock "mathlib/CNI" SourceType "CNI" icn 24 #GUID b326f2e1-b8c6-45fd-96d1-b51f84327a1e } Block { BlockType Reference Name "CNI_4" Ports [0, 1, 0, 0, 0] Position [270, 858, 285, 872] SourceBlock "mathlib/CNI" SourceType "CNI" icn 24 #GUID d4ce99bd-a3f9-4ed7-b060-6a5560f33714 } Block { BlockType Reference Name "CNI_comPort" Ports [0, 1, 0, 0, 0] Position [510, 308, 535, 322] SourceBlock "mathlib/CNI" SourceType "CNI" icn 15 #GUID 3c05a25a-ca9b-47eb-bfd3-8c7c7f94e9d8 } Block { BlockType SubSystem Name "CNT_mux" Ports [4, 1, 0, 0, 0] Position [135, 1068, 225, 1112] ShowPortLabels on MaskType "REX sequence" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" #GUID d983862c-a274-4ad4-8ec1-6f5eb20675d5 System { Name "CNT_mux" Location [193, 173, 465, 335] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor 100 AutoZoom on #GUID d983862c-a274-4ad4-8ec1-6f5eb20675d5 Block { BlockType Inport Name "CNT2R" Ports [0, 1, 0, 0, 0] Position [20, 23, 50, 37] Port 1 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID a1529a7a-3756-4389-8b27-02d5473c890c } Block { BlockType Inport Name "CNT2E" Ports [0, 1, 0, 0, 0] Position [20, 53, 50, 67] Port 2 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 27c1e04b-5b81-469e-8383-70d29275c196 } Block { BlockType Inport Name "CNT3R" Ports [0, 1, 0, 0, 0] Position [20, 78, 50, 92] Port 3 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 80df2a55-64a2-4ec1-8acb-525d0a9f6c10 } Block { BlockType Inport Name "CNT3E" Ports [0, 1, 0, 0, 0] Position [20, 103, 50, 117] Port 4 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID bd4dd22b-933a-4549-b62a-d83f9ae3159f } Block { BlockType Reference Name "OCTBM" Ports [8, 1, 0, 0, 0] Position [135, 21, 170, 109] SourceBlock "logiclib/BMOCT" SourceType "BMOCT" shift 0 #GUID ff6cef8a-8e0a-4433-aae8-e3e6693dc9fa } Block { BlockType Outport Name "cntCmd" Ports [1, 0, 0, 0, 0] Position [215, 58, 245, 72] Port 1 OutputWhenDisabled "held" InitialOutput [] #GUID 39570f34-97ae-4e6e-8603-8dac712c4df2 } Line { SrcBlock "CNT2E" SrcPort 1 Points [20, 0; 0, -20] DstBlock "OCTBM" DstPort 2 #GUID e592ad42-c8f2-4195-89aa-f585595bfc35 } Line { SrcBlock "CNT2R" SrcPort 1 DstBlock "OCTBM" DstPort 1 #GUID 51aec97f-8156-4b33-9ece-c5ba95c4ab4b } Line { SrcBlock "CNT3E" SrcPort 1 Points [45, 0; 0, -50] DstBlock "OCTBM" DstPort 4 #GUID 65cc1898-699a-4a17-bc22-df29ea12ac14 } Line { SrcBlock "CNT3R" SrcPort 1 Points [35, 0; 0, -35] DstBlock "OCTBM" DstPort 3 #GUID 95390ea2-0219-419a-a6a3-29921780b7c0 } Line { SrcBlock "OCTBM" SrcPort 1 DstBlock "cntCmd" DstPort 1 #GUID dcb958e6-7282-4f4e-8ce3-64f9fadee9e5 } } } Block { BlockType SubSystem Name "ERR_demux" Ports [1, 4, 0, 0, 0] Position [920, 932, 1020, 978] ShowPortLabels on MaskType "REX sequence" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" #GUID 450f69bf-6d7a-4f2e-be24-1f53e88044cd System { Name "ERR_demux" Location [89, 103, 567, 380] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor 100 AutoZoom on #GUID 450f69bf-6d7a-4f2e-be24-1f53e88044cd Block { BlockType Inport Name "data" Ports [0, 1, 0, 0, 0] Position [10, 23, 40, 37] Port 1 PortWidth -1 SampleTime -1 DataType "auto" SignalType "auto" Interpolate on #GUID 1bbd8769-580f-4226-98c2-dfb866f683f1 } Block { BlockType Reference Name "BITOP_1" Ports [2, 1, 0, 0, 0] Position [125, 83, 150, 107] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID 90648fbf-7fd5-4f40-bd49-3c28b8d7c3fb } Block { BlockType Reference Name "BITOP_10" Ports [2, 1, 0, 0, 0] Position [125, 23, 150, 47] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 18b68e12-f5c7-4169-92e5-c3233bda8164 } Block { BlockType Reference Name "BITOP_2" Ports [2, 1, 0, 0, 0] Position [210, 88, 235, 112] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 5a169fd2-3326-44d9-a045-c78a6b76c4bd } Block { BlockType Reference Name "BITOP_4" Ports [2, 1, 0, 0, 0] Position [345, 198, 370, 222] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID fa717147-ed8d-442f-9cc1-21ec1fe0e2df } Block { BlockType Reference Name "BITOP_5" Ports [2, 1, 0, 0, 0] Position [210, 128, 235, 152] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID f5f1da6f-dc79-4ef1-8602-cb016a11e9f2 } Block { BlockType Reference Name "BITOP_6" Ports [2, 1, 0, 0, 0] Position [305, 133, 330, 157] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "3: Bit AND" #GUID 056c89d5-0cc2-4e24-b837-154ce11e7671 } Block { BlockType Reference Name "BITOP_7" Ports [2, 1, 0, 0, 0] Position [270, 193, 295, 217] SourceBlock "logiclib/BITOP" SourceType "BITOP" iop "6: Shift Right" #GUID 46967bcd-aef9-4619-b058-ab2bfce840e3 } Block { BlockType Reference Name "CNI" Ports [0, 1, 0, 0, 0] Position [65, 57, 95, 73] SourceBlock "mathlib/CNI" SourceType "CNI" icn 255 #GUID 3fb1460d-efdd-46fb-ab08-0d725d3cb725 } Block { BlockType Reference Name "CNI_1" Ports [0, 1, 0, 0, 0] Position [70, 93, 85, 107] SourceBlock "mathlib/CNI" SourceType "CNI" icn 8 #GUID 11b2a955-11fb-4a20-aeb1-d5db2996f78d } Block { BlockType Reference Name "CNI_2" Ports [0, 1, 0, 0, 0] Position [260, 143, 275, 157] SourceBlock "mathlib/CNI" SourceType "CNI" icn 63 #GUID 6b77ace9-677c-4eec-afcb-4c79aed0eea9 } Block { BlockType Reference Name "CNI_3" Ports [0, 1, 0, 0, 0] Position [220, 203, 235, 217] SourceBlock "mathlib/CNI" SourceType "CNI" icn 6 #GUID eb6a68ad-a4fe-47cc-baa3-9e6b5e6632ff } Block { BlockType Reference Name "CNI_4" Ports [0, 1, 0, 0, 0] Position [270, 233, 300, 247] SourceBlock "mathlib/CNI" SourceType "CNI" icn 1023 #GUID 46ff1d87-ddd7-430d-8bc6-5f309fdfd859 } Block { BlockType Outport Name "err_code" Ports [1, 0, 0, 0, 0] Position [410, 93, 440, 107] Port 1 OutputWhenDisabled "held" InitialOutput [] #GUID 5da12ed9-9bf1-4f1e-8887-373dc772d377 } Block { BlockType Outport Name "err_subcode" Ports [1, 0, 0, 0, 0] Position [410, 28, 440, 42] Port 2 OutputWhenDisabled "held" InitialOutput [] #GUID 7621290d-d308-4b79-ba95-9b06c791eb94 } Block { BlockType Outport Name "status" Ports [1, 0, 0, 0, 0] Position [410, 138, 440, 152] Port 3 OutputWhenDisabled "held" InitialOutput [] #GUID c247ead2-48f7-4312-b5fb-df740497b020 } Block { BlockType Outport Name "AIdata" Ports [1, 0, 0, 0, 0] Position [410, 203, 440, 217] Port 4 OutputWhenDisabled "held" InitialOutput [] #GUID 7b74b784-2173-4632-a728-4960c485b2fb } Line { SrcBlock "BITOP_1" SrcPort 1 Points [15, 0] #GUID 6153213c-5088-404b-a136-fa3e69485936 Branch { DstBlock "BITOP_2" DstPort 1 #GUID c1721874-8a13-4780-9ef4-fd45ea471b15 } Branch { Points [0, 40] DstBlock "BITOP_5" DstPort 1 #GUID 247423cc-4906-4f34-a247-516e544ea8b8 } } Line { SrcBlock "BITOP_10" SrcPort 1 DstBlock "err_subcode" DstPort 1 #GUID 28767621-b3d9-47d3-90b7-2a943f19ac83 } Line { SrcBlock "BITOP_2" SrcPort 1 DstBlock "err_code" DstPort 1 #GUID 5775be84-f626-4a9f-bd07-fd410d16bd08 } Line { SrcBlock "BITOP_4" SrcPort 1 DstBlock "AIdata" DstPort 1 #GUID d2eab4a3-7605-4f33-8aa2-5125f11110ba } Line { SrcBlock "BITOP_5" SrcPort 1 Points [10, 0] #GUID 334ff7ab-a932-4fb4-bd85-6cf61d438fca Branch { DstBlock "BITOP_6" DstPort 1 #GUID 1b51d711-fd19-41a6-a9fd-b8d59178275d } Branch { Points [0, 60] DstBlock "BITOP_7" DstPort 1 #GUID c5e46340-fb7c-4096-af6e-1adfb128b9fd } } Line { SrcBlock "BITOP_6" SrcPort 1 DstBlock "status" DstPort 1 #GUID 90a9efab-ccdf-4ee1-9d97-5bae7c28e783 } Line { SrcBlock "BITOP_7" SrcPort 1 DstBlock "BITOP_4" DstPort 1 #GUID cb14d757-fe3e-448c-8bd4-578f08f007ed } Line { SrcBlock "CNI" SrcPort 1 Points [10, 0] #GUID 057d21e5-6b05-4c2a-a6fb-44506e79d4ba Branch { DstBlock "BITOP_10" DstPort 2 #GUID 49d0d712-76b0-419a-8aa2-601c7a9aea0d } Branch { Points [75, 0; 0, 40] DstBlock "BITOP_2" DstPort 2 #GUID 16276e0d-4acf-468d-bdfe-47e7c164c6d0 } } Line { SrcBlock "CNI_1" SrcPort 1 Points [15, 0] #GUID 78d97f18-9b0d-4e7b-bf38-6aedcf28b45c Branch { DstBlock "BITOP_1" DstPort 2 #GUID bdd96670-9c99-481c-9111-ff5bc1010184 } Branch { Points [0, 45] DstBlock "BITOP_5" DstPort 2 #GUID c85ad883-80a9-46e2-9895-81a49c4cb230 } } Line { SrcBlock "CNI_2" SrcPort 1 DstBlock "BITOP_6" DstPort 2 #GUID ae3a69b6-6eb5-481f-b744-6205262c26ad } Line { SrcBlock "CNI_3" SrcPort 1 DstBlock "BITOP_7" DstPort 2 #GUID 21341d08-7f3a-415f-8cfd-278d38069aab } Line { SrcBlock "CNI_4" SrcPort 1 Points [20, 0; 0, -25] DstBlock "BITOP_4" DstPort 2 #GUID 3c8f08af-4225-45b8-99d5-3f349c9c9a20 } Line { SrcBlock "data" SrcPort 1 Points [5, 0] #GUID 2f8ca0b5-1985-4357-b237-70a3dd022593 Branch { Points [0, 60] DstBlock "BITOP_1" DstPort 1 #GUID 32ba28f4-728d-466f-9f27-4dd60146b72c } Branch { DstBlock "BITOP_10" DstPort 1 #GUID a5109610-5955-4e13-81a1-51f22bda43b1 } } } } Block { BlockType Reference Name "HEXDBD" Ports [1, 16, 0, 0, 0] Position [935, 16, 980, 484] SourceBlock "logiclib/BDHEXD" SourceType "BDHEXD" shift 0 #GUID 80629cda-9406-4ac1-896d-5bc7051ddb91 } Block { BlockType Reference Name "HEXDBM" Ports [16, 1, 0, 0, 0] Position [185, 12, 235, 478] SourceBlock "logiclib/BMHEXD" SourceType "BMHEXD" shift 0 #GUID 8c0876ee-5c3d-4d07-a293-52b9303e6a35 } Block { BlockType Reference Name "ISSW" Ports [3, 1, 0, 0, 0] Position [565, 333, 595, 367] SourceBlock "logiclib/ISSW" SourceType "ISSW" #GUID de245c57-e4d9-4b78-91f6-efdfd604aefa } Block { BlockType Reference Name "MP_FORCE_RECONNECT" Ports [0, 1, 0, 0, 0] Position [225, 1203, 240, 1217] SourceBlock "genlib/MP" SourceType "MP" pwidth 10 BSTATE off RPTF off #GUID af0987bb-6246-49b6-bfc0-8f7758579794 } Block { BlockType Reference Name "MP_LOG_MASTER_VERSION" Ports [0, 1, 0, 0, 0] Position [225, 1323, 240, 1337] SourceBlock "genlib/MP" SourceType "MP" pwidth 10 BSTATE off RPTF off #GUID 383337fb-d586-4ed6-b963-c46e87e74480 } Block { BlockType Reference Name "MP_LOG_PINMODES" Ports [0, 1, 0, 0, 0] Position [225, 1233, 240, 1247] SourceBlock "genlib/MP" SourceType "MP" pwidth 10 BSTATE off RPTF off #GUID d244069c-9b74-4397-a33c-5782cdbbf60d } Block { BlockType Reference Name "OCTBD" Ports [1, 8, 0, 0, 0] Position [935, 508, 980, 742] SourceBlock "logiclib/BDOCT" SourceType "BDOCT" shift 16 #GUID 45da7c98-d290-4c3c-b0b8-8390300fefb3 } Block { BlockType Reference Name "OCTBM" Ports [8, 1, 0, 0, 0] Position [185, 508, 235, 752] SourceBlock "logiclib/BMOCT" SourceType "BMOCT" shift 16 #GUID bfeaf186-206a-4a7a-9624-33e27c6ca2c0 } Block { BlockType Reference Name "OCTBM_DEBUG" Ports [8, 1, 0, 0, 0] Position [315, 1193, 365, 1437] SourceBlock "logiclib/BMOCT" SourceType "BMOCT" shift 0 #GUID 84302c02-a319-4cf8-96ce-59228e3e7893 } Block { BlockType Reference Name "REXLANG_REXduino" Ports [17, 17, 0, 0, 0] Position [620, 230, 670, 410] SourceBlock "speclib/REXLANG" SourceType "REXLANG" tab_matlab "MORE" srcname "REXduino_master.stl" srctype "1: STL" stack 0 debug "1: No check" fname "comPort" p0 0 p1 "pinmode2" p2 "pinmode3" p3 "pinmode4" p4 "pinmode5" p5 "pinmode6" p6 "pinmode9" p7 "pinmode10" p8 "pinmode11" p9 "pinmodeA0" p10 "pinmodeA1" p11 "pinmodeA2" p12 "pinmodeA3" p13 "pinmodeA4" p14 "pinmodeA5" p15 1 #GUID afda869a-3720-4289-a815-f7ef0b915256 } Block { BlockType SubSystem Name "Simulation_Detector" Ports [0, 1, 0, 0, 0] Position [495, 352, 510, 368] ShowPortLabels on MaskType "REX sequence" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" #GUID 5e6fd702-deb0-45f0-bfc0-2570b61ba24e System { Name "Simulation_Detector" Location [50, 69, 1224, 553] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor 100 AutoZoom on #GUID 5e6fd702-deb0-45f0-bfc0-2570b61ba24e Block { BlockType Reference Name "CNI3" Ports [0, 1, 0, 0, 0] Position [20, 23, 40, 37] SourceBlock "mathlib/CNI" SourceType "Unknown" icn 1 #GUID dc59da8a-25a0-4091-9fe1-9c7b0819df70 } Block { BlockType Outport Name "Y" Ports [1, 0, 0, 0, 0] Position [65, 23, 95, 37] Port 1 OutputWhenDisabled "held" InitialOutput [] #GUID f079f396-0068-49ed-ae55-8c6aecbb2e52 } Line { SrcBlock "CNI3" SrcPort 1 DstBlock "Y" DstPort 1 #GUID 8542b586-1b69-490b-aedb-6d1cc6c057bf } } } Block { BlockType Outport Name "comm_status" Ports [1, 0, 0, 0, 0] Position [1070, 993, 1100, 1007] Port 1 OutputWhenDisabled "held" InitialOutput [] #GUID 8d8c14ce-a337-4d4b-989e-4e63e3ef67a5 } Block { BlockType Outport Name "err_code" Ports [1, 0, 0, 0, 0] Position [1070, 933, 1100, 947] Port 2 OutputWhenDisabled "held" InitialOutput [] #GUID ce4d2eee-78dc-4156-beb6-864773fa7e5c } Block { BlockType Outport Name "err_subcode" Ports [1, 0, 0, 0, 0] Position [1070, 963, 1100, 977] Port 3 OutputWhenDisabled "held" InitialOutput [] #GUID 4462a47e-9e4a-4766-ab9b-12d95f33ef74 } Block { BlockType Outport Name "DI2" Ports [1, 0, 0, 0, 0] Position [1010, 78, 1040, 92] Port 4 OutputWhenDisabled "held" InitialOutput [] #GUID 3ce475a6-ca4b-4455-8c54-85e2040e6df4 } Block { BlockType Outport Name "DI3" Ports [1, 0, 0, 0, 0] Position [1010, 108, 1040, 122] Port 5 OutputWhenDisabled "held" InitialOutput [] #GUID eb169f13-21b5-42e4-84a5-2c86134a5170 } Block { BlockType Outport Name "DI4" Ports [1, 0, 0, 0, 0] Position [1010, 138, 1040, 152] Port 6 OutputWhenDisabled "held" InitialOutput [] #GUID f150075b-e9ba-40bd-815a-8d2c70dce324 } Block { BlockType Outport Name "DI5" Ports [1, 0, 0, 0, 0] Position [1010, 168, 1040, 182] Port 7 OutputWhenDisabled "held" InitialOutput [] #GUID 63785fc5-2279-40fc-b5a7-62a6b59b8322 } Block { BlockType Outport Name "DI6" Ports [1, 0, 0, 0, 0] Position [1010, 198, 1040, 212] Port 8 OutputWhenDisabled "held" InitialOutput [] #GUID 85bb2386-bf11-46c2-b31b-8f026a69f4a8 } Block { BlockType Outport Name "DI7" Ports [1, 0, 0, 0, 0] Position [1010, 228, 1040, 242] Port 9 OutputWhenDisabled "held" InitialOutput [] #GUID 9d50348b-087d-4f3c-9407-8978bc6790ae } Block { BlockType Outport Name "DI8" Ports [1, 0, 0, 0, 0] Position [1010, 258, 1040, 272] Port 10 OutputWhenDisabled "held" InitialOutput [] #GUID 7d8d67f1-0283-43dc-a98c-98af3701298d } Block { BlockType Outport Name "DI9" Ports [1, 0, 0, 0, 0] Position [1010, 288, 1040, 302] Port 11 OutputWhenDisabled "held" InitialOutput [] #GUID e698ff5a-8c72-4aff-9f48-73530476409b } Block { BlockType Outport Name "DI10" Ports [1, 0, 0, 0, 0] Position [1010, 318, 1040, 332] Port 12 OutputWhenDisabled "held" InitialOutput [] #GUID 50efacfb-953d-4547-8229-e23ec4cc842a } Block { BlockType Outport Name "DI11" Ports [1, 0, 0, 0, 0] Position [1010, 348, 1040, 362] Port 13 OutputWhenDisabled "held" InitialOutput [] #GUID 55cbcbb0-5386-406a-a3d4-cdb9ab39153e } Block { BlockType Outport Name "DI_A0" Ports [1, 0, 0, 0, 0] Position [1010, 438, 1040, 452] Port 14 OutputWhenDisabled "held" InitialOutput [] #GUID ada5ca2f-024a-4730-8100-e745aa6b4891 } Block { BlockType Outport Name "DI_A1" Ports [1, 0, 0, 0, 0] Position [1010, 468, 1040, 482] Port 15 OutputWhenDisabled "held" InitialOutput [] #GUID 7810aa39-9ad5-4fca-a25c-85afb5db3822 } Block { BlockType Outport Name "DI_A2" Ports [1, 0, 0, 0, 0] Position [1010, 513, 1040, 527] Port 16 OutputWhenDisabled "held" InitialOutput [] #GUID 217fcb17-fc68-4391-a95e-4188f806cebb } Block { BlockType Outport Name "DI_A3" Ports [1, 0, 0, 0, 0] Position [1010, 543, 1040, 557] Port 17 OutputWhenDisabled "held" InitialOutput [] #GUID b7f13bc7-f0df-4468-abce-b73426dd9ce3 } Block { BlockType Outport Name "DI_A4" Ports [1, 0, 0, 0, 0] Position [1010, 573, 1040, 587] Port 18 OutputWhenDisabled "held" InitialOutput [] #GUID 33636548-f425-4a51-9873-cc555acbe7b8 } Block { BlockType Outport Name "DI_A5" Ports [1, 0, 0, 0, 0] Position [1010, 603, 1040, 617] Port 19 OutputWhenDisabled "held" InitialOutput [] #GUID 67a20251-13d1-4c35-b200-cfeb826b4616 } Block { BlockType Outport Name "AI0" Ports [1, 0, 0, 0, 0] Position [1075, 768, 1105, 782] Port 20 OutputWhenDisabled "held" InitialOutput [] #GUID 9f16cfa6-b2c2-446c-ab6a-06b2cc4ea5e1 } Block { BlockType Outport Name "AI1" Ports [1, 0, 0, 0, 0] Position [1075, 793, 1105, 807] Port 21 OutputWhenDisabled "held" InitialOutput [] #GUID 5e630fcc-4c26-4f22-89ed-bde7918089db } Block { BlockType Outport Name "AI2" Ports [1, 0, 0, 0, 0] Position [1075, 818, 1105, 832] Port 22 OutputWhenDisabled "held" InitialOutput [] #GUID 762f46e9-23f5-4988-906c-d36f5be45764 } Block { BlockType Outport Name "AI3" Ports [1, 0, 0, 0, 0] Position [1075, 843, 1105, 857] Port 23 OutputWhenDisabled "held" InitialOutput [] #GUID 590ef76f-2448-408e-befc-8053c407112d } Block { BlockType Outport Name "AI4" Ports [1, 0, 0, 0, 0] Position [1075, 868, 1105, 882] Port 24 OutputWhenDisabled "held" InitialOutput [] #GUID d605394c-5a85-4d3b-b8ab-ae698fd30ae4 } Block { BlockType Outport Name "AI5" Ports [1, 0, 0, 0, 0] Position [1075, 893, 1105, 907] Port 25 OutputWhenDisabled "held" InitialOutput [] #GUID 37826115-b06c-468c-acfc-da2ba9cf1c23 } Block { BlockType Outport Name "CNT2" Ports [1, 0, 0, 0, 0] Position [1070, 1048, 1100, 1062] Port 26 OutputWhenDisabled "held" InitialOutput [] #GUID 53a23ecd-e0f6-4701-9281-643028e0b893 } Block { BlockType Outport Name "CNT3" Ports [1, 0, 0, 0, 0] Position [1070, 1078, 1100, 1092] Port 27 OutputWhenDisabled "held" InitialOutput [] #GUID 510fe6cb-c5a7-4bc8-afb1-5102d866414d } Block { BlockType Outport Name "OW_2_3_data" Ports [1, 0, 0, 0, 0] Position [1070, 1133, 1100, 1147] Port 28 OutputWhenDisabled "held" InitialOutput [] #GUID a5392390-49e4-4342-9266-ef23a24ba827 } Block { BlockType Outport Name "OW_4_5_data" Ports [1, 0, 0, 0, 0] Position [1070, 1158, 1100, 1172] Port 29 OutputWhenDisabled "held" InitialOutput [] #GUID 7a6da927-195b-4733-82f1-47ff6ccdce85 } Block { BlockType Outport Name "OW_6_9_data" Ports [1, 0, 0, 0, 0] Position [1070, 1188, 1100, 1202] Port 30 OutputWhenDisabled "held" InitialOutput [] #GUID 252b61dd-8331-4a59-85ad-91b91438d827 } Block { BlockType Outport Name "OW_10_11_data" Ports [1, 0, 0, 0, 0] Position [1070, 1218, 1100, 1232] Port 31 OutputWhenDisabled "held" InitialOutput [] #GUID fee9c6dc-34db-4fdc-bded-0b422addccc3 } Block { BlockType Outport Name "OW_A0_A1_data" Ports [1, 0, 0, 0, 0] Position [1070, 1248, 1100, 1262] Port 32 OutputWhenDisabled "held" InitialOutput [] #GUID 1d14964b-10cf-4c41-8bc7-1085bc8c630a } Block { BlockType Outport Name "OW_A2_A3_data" Ports [1, 0, 0, 0, 0] Position [1070, 1278, 1100, 1292] Port 33 OutputWhenDisabled "held" InitialOutput [] #GUID ed7c0881-5e05-41f9-b187-de18d1a5fa5a } Block { BlockType Outport Name "userRecv" Ports [1, 0, 0, 0, 0] Position [1070, 1308, 1100, 1322] Port 34 OutputWhenDisabled "held" InitialOutput [] #GUID b9bb6990-91e9-46d1-afda-ca51dde49960 } Line { SrcBlock "AI_demux1" SrcPort 1 DstBlock "AI0" DstPort 1 #GUID 74af2e5b-0eb1-416e-aba7-279ce646046c } Line { SrcBlock "AI_demux1" SrcPort 2 Points [30, 0; 0, 15] DstBlock "AI1" DstPort 1 #GUID 07b436ba-c6ee-4c32-84f1-6215afd5b336 } Line { SrcBlock "AI_demux1" SrcPort 3 Points [20, 0; 0, 30] DstBlock "AI2" DstPort 1 #GUID 24ad61e6-3bcf-4c3f-955d-9dee47c1e226 } Line { SrcBlock "AI_demux2" SrcPort 1 DstBlock "AI3" DstPort 1 #GUID c0913ffc-917e-4d06-b17a-03a653364be8 } Line { SrcBlock "AI_demux2" SrcPort 2 Points [30, 0; 0, 15] DstBlock "AI4" DstPort 1 #GUID f4b5a949-c02e-4376-b901-6a8d490d5a8a } Line { SrcBlock "AI_demux2" SrcPort 3 Points [20, 0; 0, 30] DstBlock "AI5" DstPort 1 #GUID 1ebc9768-19f9-4442-ad77-3d94aaaa5c5d } Line { SrcBlock "BITOP" SrcPort 1 DstBlock "BITOP_6" DstPort 1 #GUID 040e4d17-6f8b-4ae5-b5c1-518e3643f263 } Line { SrcBlock "BITOP_1" SrcPort 1 DstBlock "BITOP_9" DstPort 1 #GUID 314c6075-785d-4a33-8243-9664ae642f0f } Line { SrcBlock "BITOP_10" SrcPort 1 DstBlock "REXLANG_REXduino" DstPort 2 #GUID 7359db70-90c9-47dd-a4f0-ce162f53406a } Line { SrcBlock "BITOP_11" SrcPort 1 Points [5, 0; 0, -545] DstBlock "REXLANG_REXduino" DstPort 5 #GUID ff389f7b-ad22-4b9e-8f8e-847ca2f9f389 } Line { SrcBlock "BITOP_12" SrcPort 1 Points [15, 0; 0, -610] DstBlock "REXLANG_REXduino" DstPort 6 #GUID 1d068b24-9138-40ae-bcc4-769b609b154c } Line { SrcBlock "BITOP_13" SrcPort 1 Points [25, 0; 0, -680] DstBlock "REXLANG_REXduino" DstPort 7 #GUID 69b4c0dc-13d9-4e38-a53e-f1cdd4e6cc8d } Line { SrcBlock "BITOP_2" SrcPort 1 DstBlock "BITOP_12" DstPort 1 #GUID cf00eaaf-20b1-4c69-b819-eeb986aeee69 } Line { SrcBlock "BITOP_3" SrcPort 1 DstBlock "BITOP_8" DstPort 1 #GUID d6b05bf5-01cf-4e2c-aaf7-721f252c6c52 } Line { SrcBlock "BITOP_4" SrcPort 1 DstBlock "BITOP_13" DstPort 1 #GUID f9ef3159-0b80-4167-bc49-9f06d20a2afb } Line { SrcBlock "BITOP_5" SrcPort 1 DstBlock "BITOP_7" DstPort 1 #GUID dd834ed9-8468-44b3-906f-d1486e40525e } Line { SrcBlock "BITOP_6" SrcPort 1 DstBlock "BITOP_11" DstPort 1 #GUID 18f0169d-b78c-4145-8baf-d930152c4de8 } Line { SrcBlock "BITOP_7" SrcPort 1 Points [0, -35] DstBlock "BITOP_13" DstPort 2 #GUID 40c71cdd-7702-4442-8b09-6dffbd7110d8 } Line { SrcBlock "BITOP_8" SrcPort 1 Points [0, -35] DstBlock "BITOP_12" DstPort 2 #GUID da1d29c5-8cbb-4aad-9246-ad02b5575516 } Line { SrcBlock "BITOP_9" SrcPort 1 Points [10, 0; 0, -30] DstBlock "BITOP_11" DstPort 2 #GUID 1c20c7d0-8525-4532-a08d-9395b255f26d } Line { SrcBlock "CNB_LOG_INCOMING" SrcPort 1 DstBlock "OCTBM_DEBUG" DstPort 3 #GUID df769e92-064a-4a12-99e0-fe1333cf2780 } Line { SrcBlock "CNB_LOG_OUTGOING" SrcPort 1 DstBlock "OCTBM_DEBUG" DstPort 4 #GUID 9c566330-a0a9-43e7-86be-e05fff9e242e } Line { SrcBlock "CNI" SrcPort 1 Points [10, 0] #GUID 4f190c10-0498-4f03-ab6d-ed08d048086e Branch { DstBlock "BITOP" DstPort 2 #GUID b96eb761-bb6a-419a-972b-0221c00101b0 } Branch { Points [0, 40] #GUID eb2df4d0-f312-48ba-9b90-0303d71c9f32 Branch { DstBlock "BITOP_1" DstPort 2 #GUID 2800ec13-5e33-4dd1-b8ab-d75d75f0e6c3 } Branch { Points [0, 40] #GUID dffe5c06-c6ca-4d31-bfb3-b089eac459ed Branch { DstBlock "BITOP_2" DstPort 2 #GUID 0e485763-0433-4623-b156-78497e6459b0 } Branch { Points [0, 40] #GUID 048e8fc5-44b1-46b0-b196-7299146ed833 Branch { DstBlock "BITOP_3" DstPort 2 #GUID 72a082fb-af4d-4166-8fff-8114df709704 } Branch { Points [0, 40] #GUID 9e0bbd84-09d9-4549-b51b-601c145564d9 Branch { DstBlock "BITOP_4" DstPort 2 #GUID "30d9e4ee-0a8a-4775-b05e-032ed763c" #"a77" } Branch { Points [0, 40] DstBlock "BITOP_5" DstPort 2 #GUID "7f5bf655-379f-47a8-89e1-d3c22df64" #"f75" } } } } } } Line { SrcBlock "CNI0" SrcPort 1 DstBlock "ISSW" DstPort 1 #GUID 35032b7a-acbd-42d0-9893-ab4f90c3643f } Line { SrcBlock "CNI1" SrcPort 1 DstBlock "ISSW" DstPort 2 #GUID 0b109f04-11b6-437a-8ae3-8ae2ae58e32f } Line { SrcBlock "CNI_1" SrcPort 1 DstBlock "BITOP_6" DstPort 2 #GUID bb26f1ef-9812-40e4-9e67-f5bce42b1665 } Line { SrcBlock "CNI_2" SrcPort 1 DstBlock "BITOP_7" DstPort 2 #GUID d8fb08b5-958c-4a91-936a-da8ed4978a9c } Line { SrcBlock "CNI_3" SrcPort 1 DstBlock "BITOP_8" DstPort 2 #GUID 67f80728-427e-40c7-b542-69f99bd62a2e } Line { SrcBlock "CNI_4" SrcPort 1 DstBlock "BITOP_9" DstPort 2 #GUID bda053ca-c79f-49ca-95f1-3811fe3f6616 } Line { SrcBlock "CNI_comPort" SrcPort 1 Points [65, 0] DstBlock "REXLANG_REXduino" DstPort 11 #GUID c9ec9d87-cd8d-44c5-b1a5-ca8d5b8a231d } Line { SrcBlock "CNT2E" SrcPort 1 DstBlock "CNT_mux" DstPort 2 #GUID 2f69cc4f-15a4-4ab5-84ea-67882d6372ed } Line { SrcBlock "CNT2R" SrcPort 1 Points [40, 0; 0, 20] DstBlock "CNT_mux" DstPort 1 #GUID ff8d19c3-dc14-4ae2-9641-f504788583c1 } Line { SrcBlock "CNT3E" SrcPort 1 Points [50, 0] DstBlock "CNT_mux" DstPort 4 #GUID ed58a810-738c-4b21-a04f-59ea18d772cd } Line { SrcBlock "CNT3R" SrcPort 1 Points [40, 0; 0, -20] DstBlock "CNT_mux" DstPort 3 #GUID 60bf9eac-7002-4334-b54d-d780037351c0 } Line { SrcBlock "CNT_mux" SrcPort 1 Points [275, 0; 0, -700] DstBlock "REXLANG_REXduino" DstPort 16 #GUID b4f7eeef-fa6c-41bd-986c-976885d55aa7 } Line { SrcBlock "DO10_PWM" SrcPort 1 Points [35, 0] #GUID 4102cff1-a731-4797-bbfe-1a00b1df985a Branch { Points [0, 650] DstBlock "BITOP_4" DstPort 1 #GUID db9ce557-85ec-46b8-a83d-22182dd26d3d } Branch { DstBlock "HEXDBM" DstPort 11 #GUID 00e313b9-d823-462d-ade2-1e9d35dc4bd6 } } Line { SrcBlock "DO11_PWM" SrcPort 1 Points [25, 0] #GUID 2ef5b19e-ec57-414d-9958-ad6b3929e2d9 Branch { Points [0, 660] DstBlock "BITOP_5" DstPort 1 #GUID 0c1f8546-4dd8-4bf4-abb6-b1cb25a4adad } Branch { DstBlock "HEXDBM" DstPort 12 #GUID edbf72b3-ff46-4d11-b5c3-8e5ff6cb2a93 } } Line { SrcBlock "DO12" SrcPort 1 DstBlock "HEXDBM" DstPort 13 #GUID aefde7d1-1516-4c67-bb53-9bb640710cb0 } Line { SrcBlock "DO13" SrcPort 1 DstBlock "HEXDBM" DstPort 14 #GUID 14911289-3213-464c-95e0-de2dd265be82 } Line { SrcBlock "DO2" SrcPort 1 DstBlock "HEXDBM" DstPort 3 #GUID ad494422-f9fc-438d-a6cf-31c2ea1aad7f } Line { SrcBlock "DO3_PWM" SrcPort 1 Points [75, 0] #GUID 9fc25c38-b84e-488e-9df8-7a9d8d37d166 Branch { Points [0, 700] DstBlock "BITOP" DstPort 1 #GUID 1437d188-bac0-4be8-b76d-9c447116b17e } Branch { DstBlock "HEXDBM" DstPort 4 #GUID cb8f2cdb-8ad3-4d3c-b26b-0e07f27aad69 } } Line { SrcBlock "DO4" SrcPort 1 DstBlock "HEXDBM" DstPort 5 #GUID 57cff176-3e79-4edc-8afd-3fa26b75cad5 } Line { SrcBlock "DO5_PWM" SrcPort 1 Points [65, 0] #GUID 4b366b41-d7a7-47ff-8a92-37fd0cbf5182 Branch { Points [0, 680] DstBlock "BITOP_1" DstPort 1 #GUID 76bdc9d3-8496-4c63-87fc-e9a52450380d } Branch { DstBlock "HEXDBM" DstPort 6 #GUID 785912a8-d349-48a0-9c8e-32626597a9ed } } Line { SrcBlock "DO6_PWM" SrcPort 1 Points [55, 0] #GUID 289b103e-67fe-4bf7-ac98-45203acffc4d Branch { Points [0, 690] DstBlock "BITOP_2" DstPort 1 #GUID 6d2d28e3-0112-490e-bb9b-3c339f5caeec } Branch { DstBlock "HEXDBM" DstPort 7 #GUID f5b68dfc-219a-4776-800d-ce9cc82db0e1 } } Line { SrcBlock "DO9_PWM" SrcPort 1 Points [45, 0] #GUID 60971901-624c-416a-b11c-e01a0385b081 Branch { Points [0, 640] DstBlock "BITOP_3" DstPort 1 #GUID 3755985e-bc68-4cf8-81e5-afcb52a4d4b3 } Branch { DstBlock "HEXDBM" DstPort 10 #GUID 65a9fcba-b1a8-4b45-b33d-fbdf3e77737c } } Line { SrcBlock "DO_A0" SrcPort 1 DstBlock "HEXDBM" DstPort 15 #GUID dfc65eab-80ea-4fdf-82ac-c1466344e101 } Line { SrcBlock "DO_A1" SrcPort 1 DstBlock "HEXDBM" DstPort 16 #GUID 81659b37-8e4e-49de-b145-5c4515e3297e } Line { SrcBlock "DO_A2" SrcPort 1 DstBlock "OCTBM" DstPort 1 #GUID ae4c71c2-c018-43ba-9fe1-978a827a3b86 } Line { SrcBlock "DO_A3" SrcPort 1 DstBlock "OCTBM" DstPort 2 #GUID 404787c3-726a-4bbf-8a3d-f38b05fd0f23 } Line { SrcBlock "DO_A4" SrcPort 1 DstBlock "OCTBM" DstPort 3 #GUID 7d4b3db2-cc86-4a0e-a254-f734280b703f } Line { SrcBlock "DO_A5" SrcPort 1 DstBlock "OCTBM" DstPort 4 #GUID 7d3ff1e0-4f59-49f7-ab83-9ae5c4dea604 } Line { SrcBlock "ERR_demux" SrcPort 1 DstBlock "err_code" DstPort 1 #GUID 979f033a-19d7-44b2-8e7b-03c199506194 } Line { SrcBlock "ERR_demux" SrcPort 2 Points [30, 0] DstBlock "err_subcode" DstPort 1 #GUID 299bd87f-c516-421c-a74e-377912e974f1 } Line { SrcBlock "ERR_demux" SrcPort 3 Points [20, 0; 0, 40] DstBlock "comm_status" DstPort 1 #GUID 2e7edc33-094c-474b-97a2-8cfdd7976a65 } Line { SrcBlock "HEXDBD" SrcPort 3 DstBlock "DI2" DstPort 1 #GUID 4f37e541-2d25-45c6-a404-7c2bcb66491d } Line { SrcBlock "HEXDBD" SrcPort 4 DstBlock "DI3" DstPort 1 #GUID 2601beaf-7bb0-4e3e-8c6f-bb0a62d5e586 } Line { SrcBlock "HEXDBD" SrcPort 5 DstBlock "DI4" DstPort 1 #GUID 3e0109d1-2c5a-4ef1-84c8-2d8b9bdfe1c2 } Line { SrcBlock "HEXDBD" SrcPort 6 DstBlock "DI5" DstPort 1 #GUID 4a6ab36d-a943-41d1-b2bd-c4d253e48de3 } Line { SrcBlock "HEXDBD" SrcPort 7 DstBlock "DI6" DstPort 1 #GUID 6917e74d-975c-4f72-9509-b5de906ad0a7 } Line { SrcBlock "HEXDBD" SrcPort 8 DstBlock "DI7" DstPort 1 #GUID b6382d56-dc2f-41a4-bc61-3de0f1b27038 } Line { SrcBlock "HEXDBD" SrcPort 9 DstBlock "DI8" DstPort 1 #GUID 6e3132c9-a6e5-4964-9989-7de51e630e62 } Line { SrcBlock "HEXDBD" SrcPort 10 DstBlock "DI9" DstPort 1 #GUID c28f1526-ac95-49ef-9766-2fc37dbb485f } Line { SrcBlock "HEXDBD" SrcPort 11 DstBlock "DI10" DstPort 1 #GUID 2e8df750-accc-4702-a570-b9cad2094625 } Line { SrcBlock "HEXDBD" SrcPort 12 DstBlock "DI11" DstPort 1 #GUID cc1adff6-207b-4c86-958c-d17b78c9a19a } Line { SrcBlock "HEXDBD" SrcPort 15 DstBlock "DI_A0" DstPort 1 #GUID 078412ce-edfc-4226-9c1f-1308981da91b } Line { SrcBlock "HEXDBD" SrcPort 16 DstBlock "DI_A1" DstPort 1 #GUID 2f38acb1-f63b-4bd6-89d1-43e9304d265c } Line { SrcBlock "HEXDBM" SrcPort 1 DstBlock "BITOP_10" DstPort 1 #GUID ef186cf0-95c3-4208-bada-e38750d0a0b0 } Line { SrcBlock "ISSW" SrcPort 1 DstBlock "REXLANG_REXduino" DstPort 12 #GUID 034bb1e6-2de8-4df4-a15e-c217dbed3d38 } Line { SrcBlock "MP_FORCE_RECONNECT" SrcPort 1 DstBlock "OCTBM_DEBUG" DstPort 1 #GUID 3b5fecbd-6238-4159-8097-613aaad0d90d } Line { SrcBlock "MP_LOG_MASTER_VERSION" SrcPort 1 DstBlock "OCTBM_DEBUG" DstPort 5 #GUID da0f1e89-d718-48a6-9b45-fa23bd93cd3c } Line { SrcBlock "MP_LOG_PINMODES" SrcPort 1 DstBlock "OCTBM_DEBUG" DstPort 2 #GUID e68e4fb5-538e-49e3-a358-86537dfadc0e } Line { SrcBlock "OCTBD" SrcPort 1 DstBlock "DI_A2" DstPort 1 #GUID ea985350-fe2c-47db-b33a-da6ddfadf395 } Line { SrcBlock "OCTBD" SrcPort 2 DstBlock "DI_A3" DstPort 1 #GUID 36ba35c5-6020-40c8-8270-2314a9b713b6 } Line { SrcBlock "OCTBD" SrcPort 3 DstBlock "DI_A4" DstPort 1 #GUID f308e754-b4d6-43ed-8087-1819a41cc34f } Line { SrcBlock "OCTBD" SrcPort 4 DstBlock "DI_A5" DstPort 1 #GUID 9173cc17-6ff9-4345-a2ab-90b473b010f1 } Line { SrcBlock "OCTBM" SrcPort 1 Points [35, 0; 0, -375] DstBlock "BITOP_10" DstPort 2 #GUID 9bcd4cf3-cb4b-4f1e-831a-86d67bc7e06a } Line { SrcBlock "OCTBM_DEBUG" SrcPort 1 Points [200, 0; 0, -935] DstBlock "REXLANG_REXduino" DstPort 15 #GUID c4ac48da-ceb5-4676-b234-53882c42ad7b } Line { SrcBlock "REXLANG_REXduino" SrcPort 2 Points [235, 0] #GUID 3357eb90-d2b2-4cdd-91f0-dafe8ab9e820 Branch { DstBlock "HEXDBD" DstPort 1 #GUID 6211c71d-2a60-4093-880f-4858e6f416aa } Branch { Points [0, 375] DstBlock "OCTBD" DstPort 1 #GUID 961f5617-80b0-42d3-99fa-1ba3bde01be1 } } Line { SrcBlock "REXLANG_REXduino" SrcPort 5 Points [225, 0; 0, 505] DstBlock "AI_demux1" DstPort 1 #GUID c5e14ea1-407c-4612-9af6-a000a940da11 } Line { SrcBlock "REXLANG_REXduino" SrcPort 6 Points [215, 0; 0, 570] DstBlock "AI_demux2" DstPort 1 #GUID 036847de-1f24-46c4-acf0-2b5580810cdc } Line { SrcBlock "REXLANG_REXduino" SrcPort 8 Points [160, 0; 0, 745] DstBlock "CNT2" DstPort 1 #GUID 54c16004-c5f2-4460-8145-d6cb1607c5bb } Line { SrcBlock "REXLANG_REXduino" SrcPort 9 Points [150, 0; 0, 765] DstBlock "CNT3" DstPort 1 #GUID 588a85c4-7a25-402f-8b46-b12e02bd7e2f } Line { SrcBlock "REXLANG_REXduino" SrcPort 10 Points [205, 0; 0, 625] DstBlock "ERR_demux" DstPort 1 #GUID a1c4bc1e-2cf7-4e9e-abfe-f2283500e646 } Line { SrcBlock "REXLANG_REXduino" SrcPort 11 Points [100, 0; 0, 800] DstBlock "OW_2_3_data" DstPort 1 #GUID 1a2c699e-4d94-4bf9-9dbb-d2bc0dd02017 } Line { SrcBlock "REXLANG_REXduino" SrcPort 12 Points [90, 0; 0, 815] DstBlock "OW_4_5_data" DstPort 1 #GUID 6abd286b-f0d6-489b-96c5-4bb4fbe781cb } Line { SrcBlock "REXLANG_REXduino" SrcPort 13 Points [80, 0; 0, 835] DstBlock "OW_6_9_data" DstPort 1 #GUID 906c1317-3414-4270-b72f-9fa07ace8aee } Line { SrcBlock "REXLANG_REXduino" SrcPort 14 Points [70, 0; 0, 855] DstBlock "OW_10_11_data" DstPort 1 #GUID b4cb3268-c434-4fc9-9799-885935a5dc3e } Line { SrcBlock "REXLANG_REXduino" SrcPort 15 Points [60, 0; 0, 875] DstBlock "OW_A0_A1_data" DstPort 1 #GUID 3e7e6d3f-35e2-40a8-9ffb-a2338440ddc4 } Line { SrcBlock "REXLANG_REXduino" SrcPort 16 Points [50, 0; 0, 895] DstBlock "OW_A2_A3_data" DstPort 1 #GUID 79e86935-7ebd-472a-be22-250fe7182675 } Line { SrcBlock "REXLANG_REXduino" SrcPort 17 Points [40, 0; 0, 915] DstBlock "userRecv" DstPort 1 #GUID 9dd6880f-ab6b-4dfc-af21-2af9495ac801 } Line { SrcBlock "Simulation_Detector" SrcPort 1 DstBlock "ISSW" DstPort 3 #GUID 9d02f185-25a0-40c4-aeac-e0d58ecdac75 } Line { SrcBlock "userSend" SrcPort 1 Points [445, 0; 0, -780] DstBlock "REXLANG_REXduino" DstPort 17 #GUID 646f037f-52df-4857-95d4-aa79355edab6 } } } Block { BlockType Reference Name "CNR1" Ports [0, 1, 0, 0, 0] Position [175, 213, 195, 227] SourceBlock "mathlib/CNR" ycn 50 #GUID 608f17c9-7b99-453f-ad57-bccadce3c6ec } Block { BlockType Reference Name "CNR2" Ports [0, 1, 0, 0, 0] Position [270, 138, 290, 152] SourceBlock "mathlib/CNR" ycn 887 #GUID fc885105-4cbf-4b45-ab6d-a7b79c8e00cd } Block { BlockType Reference Name "CNR4" Ports [0, 1, 0, 0, 0] Position [190, 368, 210, 382] SourceBlock "mathlib/CNR" ycn 1000 #GUID fde32e69-ba02-449d-99e3-26b60898173c } Block { BlockType Reference Name "DATETIME" Ports [9, 13, 0, 0, 0] Position [685, -42, 765, 102] SourceBlock "execlib/DATETIME" isetmode "1: OS clock" igetmode "6: REX clock" settol 1 setper 0 getper "0.001" FDOW off tz "1: Local time" BackgroundColor "orange" #GUID d9445e23-b9f6-4061-920c-b224cdedc5a7 } Block { BlockType From Name "From4" Ports [0, 1, 0, 0, 0] Position [140, 188, 230, 202] ShowName off GotoTag "flow switch" #GUID 59e5c0de-0cc5-4616-a025-76ea833cadca } Block { BlockType From Name "From_3" Ports [0, 1, 0, 0, 0] Position [145, 258, 235, 272] ShowName off GotoTag "ORP Probe" #GUID 686ba865-d862-49ef-bdd3-6aed4b81813e } Block { BlockType From Name "From_4" Ports [0, 1, 0, 0, 0] Position [175, 98, 265, 112] ShowName off GotoTag "Current Transformer" #GUID ce6de3cb-6055-41f2-a487-76fa083803da } Block { BlockType Goto Name "Goto_2" Ports [1, 0, 0, 0, 0] Position [965, 303, 1055, 317] ShowName off GotoTag "ORP Probe" TagVisibility "global" #GUID faa8f432-1f66-4f81-a143-d604301c3db7 } Block { BlockType Goto Name "Goto_3" Ports [1, 0, 0, 0, 0] Position [960, 222, 1065, 238] ShowName off GotoTag "Current Transformer" TagVisibility "local" #GUID 4e114e9a-38af-4836-b71a-fbffe26302a7 } Block { BlockType Goto Name "Goto_4" Ports [1, 0, 0, 0, 0] Position [980, 257, 1085, 273] ShowName off GotoTag "flow switch" TagVisibility "global" #GUID 4b9349b3-0461-4267-a6e8-7c963f724c71 } Block { BlockType Reference Name "NOT_1" Ports [1, 1, 0, 0, 0] Position [565, 103, 590, 117] SourceBlock "logiclib/NOT_" #GUID 67bdea24-1255-4186-807b-69ba81085311 } Block { BlockType Reference Name "NOT_2" Ports [1, 1, 0, 0, 0] Position [680, 148, 705, 162] SourceBlock "logiclib/NOT_" #GUID 5dca3979-2ce3-4dde-a0ee-f6e8729b7669 } Block { BlockType Reference Name "OR_" Ports [2, 2, 0, 0, 0] Position [465, 208, 500, 232] SourceBlock "logiclib/OR_" #GUID f2bcfa81-1142-4159-a12f-89ba6b99dea3 } Block { BlockType Reference Name "PWM" Ports [1, 2, 0, 0, 0] Position [470, 98, 500, 122] SourceBlock "reglib/PWM" pertm "0.09" dtime "0.1" btime "0.1" offtime 1 asyfac 1 SYNCH off #GUID 839e607e-ffa1-4ea9-9bda-797ed6327198 } Block { BlockType Reference Name "PWM1" Ports [1, 2, 0, 0, 0] Position [385, 198, 415, 222] SourceBlock "reglib/PWM" pertm "0.09" dtime "0.1" btime "0.1" offtime 1 asyfac 1 SYNCH off #GUID b4b8379c-1b34-4a85-9396-cf20720c807d } Block { BlockType Reference Name "PWM2" Ports [1, 2, 0, 0, 0] Position [450, 303, 480, 327] SourceBlock "reglib/PWM" pertm "0.09" dtime "0.1" btime "0.1" offtime 1 asyfac 1 SYNCH off #GUID c2eb08f6-aa00-4dc0-9da6-ee8a38e2223e } Block { BlockType Reference Name "SUB" Ports [2, 1, 0, 0, 0] Position [310, 98, 335, 122] SourceBlock "mathlib/SUB" #GUID 435e03da-1e2f-4cad-9260-dac32348c4dd } Block { BlockType Reference Name "SUB1" Ports [2, 1, 0, 0, 0] Position [275, 193, 300, 217] SourceBlock "mathlib/SUB" #GUID 43604bf4-7706-4509-8723-5190251fe86b } Block { BlockType Reference Name "SUB2" Ports [2, 1, 0, 0, 0] Position [305, 313, 330, 337] SourceBlock "mathlib/SUB" #GUID 2a2ce1ab-2b86-4f56-80c9-33cbcb0e5de0 } Block { BlockType Outport Name "Outport" Ports [1, 0, 0, 0, 0] Position [1005, 348, 1035, 362] Port 1 #GUID e7194063-d3cf-4c6a-abe9-6694d6b26c81 } Block { BlockType Outport Name "Outport1" Ports [1, 0, 0, 0, 0] Position [1005, 383, 1035, 397] Port 2 #GUID ac97d51c-762a-41d3-9055-53232fa1a53a } Line { SrcBlock "ABS_" SrcPort 2 Points [40, 0] DstBlock "PWM" DstPort 1 #GUID 13629d87-bb51-4324-9383-d36a64d0dbfd } Line { SrcBlock "ABS_1" SrcPort 2 DstBlock "PWM1" DstPort 1 #GUID 06b992b3-43ed-4613-b2b5-cc113e4b618f } Line { SrcBlock "ABS_2" SrcPort 2 Points [25, 0] DstBlock "PWM2" DstPort 1 #GUID 38809033-1f46-4318-99be-183f5292db40 } Line { SrcBlock "AND_" SrcPort 1 DstBlock "NOT_2" DstPort 1 #GUID 966163ab-8500-4a39-9fb4-764a7ceddee6 } Line { SrcBlock "AND_1" SrcPort 1 Points [80, 0] DstBlock "Arduino_UNO1" DstPort 10 #GUID 6aed2d12-5b65-4d34-afeb-4eb98c182881 } Line { SrcBlock "Arduino_UNO1" SrcPort 20 Points [15, 0] #GUID 5c1c9281-a991-4e2c-af92-cf0dd4d1f849 Branch { Points [5, 0] DstBlock "Goto_3" DstPort 1 #GUID 668b30cc-7492-447b-a801-307683faafb5 } Branch { Points [0, 90] DstBlock "Outport" DstPort 1 #GUID cb2a8ff7-2b52-4867-bcc4-a1d3073a38a9 } } Line { SrcBlock "Arduino_UNO1" SrcPort 21 Points [40, 0] DstBlock "Goto_4" DstPort 1 #GUID 04088cc3-0053-42ce-b7f6-42ba648e6bb1 } Line { SrcBlock "Arduino_UNO1" SrcPort 22 Points [5, 0] #GUID 54bd8e65-cc29-4723-b02d-d785cf0bca09 Branch { Points [20, 0] DstBlock "Goto_2" DstPort 1 #GUID a8963191-a1c4-49cf-8fee-d33bdf5ad7bf } Branch { Points [0, 105] DstBlock "Outport1" DstPort 1 #GUID 85f3506f-40c0-40b6-ab60-b1ff9aa90638 } } Line { SrcBlock "CNR1" SrcPort 1 Points [60, 0] DstBlock "SUB1" DstPort 2 #GUID 03c7e4f9-1bdb-41b5-ae5c-efbba8cde0c7 } Line { SrcBlock "CNR2" SrcPort 1 DstBlock "SUB" DstPort 2 #GUID 309a41ff-44d0-4748-9795-eca900ab7bf2 } Line { SrcBlock "CNR4" SrcPort 1 Points [75, 0] DstBlock "SUB2" DstPort 2 #GUID 6261cf39-ad60-4018-bbc7-784e348004c4 } Line { SrcBlock "From4" SrcPort 1 Points [25, 0] DstBlock "SUB1" DstPort 1 #GUID 26582cf8-2af9-4730-ab06-2cba8cf34e4b } Line { SrcBlock "From_3" SrcPort 1 Points [50, 0] DstBlock "SUB2" DstPort 1 #GUID cee1b8b8-a060-4298-9f94-9b6693f2c921 } Line { SrcBlock "From_4" SrcPort 1 DstBlock "SUB" DstPort 1 #GUID 56d46bc9-eb69-45a3-9ff2-b381d13322ed } Line { SrcBlock "NOT_1" SrcPort 1 Points [15, 0; 0, 40] #GUID ef77458e-0024-4d57-9f88-d23231bcd17c Branch { DstBlock "AND_" DstPort 1 #GUID d0de440b-3946-4010-9a68-3791ad5da776 } Branch { Points [0, 140] DstBlock "AND_1" DstPort 1 #GUID 4dfec3b0-eec9-4bb3-8e1d-ab6eaa3ff380 } } Line { SrcBlock "NOT_2" SrcPort 1 Points [50, 0; 0, -30] #GUID 6774a37b-b03e-42f9-8dea-075af8cb8080 Branch { DstBlock "Arduino_UNO1" DstPort 3 #GUID a407406f-4ea1-4a0b-b87d-7536694a1bdc } Branch { Points [-90, 0; 0, -20] #GUID da8dd490-fb77-41e2-87e4-a1be7802b487 Branch { DstBlock "DATETIME" DstPort 9 #GUID ec7a6f33-cade-415d-a3a8-0d8b3e413986 } Branch { Points [-30, 0; 0, -30] DstBlock "DATETIME" DstPort 8 #GUID 6b5c3899-4d70-4f9e-b718-9fea13d864b0 } } } Line { SrcBlock "OR_" SrcPort 1 Points [35, 0; 0, -50] DstBlock "AND_" DstPort 2 #GUID e4642bbe-7696-4b89-8ac6-f9d944c791c2 } Line { SrcBlock "PWM" SrcPort 1 Points [45, 0] DstBlock "NOT_1" DstPort 1 #GUID aad65053-3a64-4cd9-8b0a-99028cbc1de8 } Line { SrcBlock "PWM1" SrcPort 1 Points [30, 0] DstBlock "OR_" DstPort 1 #GUID 79a868d0-e19c-4bbc-9533-dedbc7e7f809 } Line { SrcBlock "PWM2" SrcPort 2 Points [10, 0] #GUID 14ffac40-37c7-45c9-bdc6-38e1b54b1908 Branch { Points [130, 0] DstBlock "AND_1" DstPort 2 #GUID 9fdf5bc4-7334-41d2-b0a5-5009690ab102 } Branch { Points [0, -50; -45, 0] DstBlock "OR_" DstPort 2 #GUID 954c85c2-4fcf-4796-9583-86706351004a } } Line { SrcBlock "SUB" SrcPort 1 DstBlock "ABS_" DstPort 1 #GUID 9e4d6c41-0291-4cbb-99fc-d4e2c3dc6a74 } Line { SrcBlock "SUB1" SrcPort 1 DstBlock "ABS_1" DstPort 1 #GUID 24d3dbc3-3b76-43c4-95d9-20ed327d298b } Line { SrcBlock "SUB2" SrcPort 1 DstBlock "ABS_2" DstPort 1 #GUID 1cb52845-da75-4e44-bf40-35f487bd5028 } } }