From 5ca8c2b53e4b85559e8f76e795fddb1d35641e00 Mon Sep 17 00:00:00 2001 From: SpieringsAE Date: Wed, 10 Apr 2024 14:21:33 +0200 Subject: [PATCH] works with crank ThermostatIO demo --- README.md | 3 + .../blocks/sfcn_crank_deserialize.tlc | 12 +- blockset_crank/blocks/sfcn_crank_receive.c | 3 +- blockset_crank/blocks/sfcn_crank_receive.tlc | 15 +- blockset_crank/blocks/sfcn_crank_serialize.c | 3 +- .../blocks/sfcn_crank_serialize.tlc | 4 +- blockset_crank/blockset_crank_version.m | 10 +- examples/GOcontroll_Crank_Example.mdl | 4604 +++++++++++++++++ 8 files changed, 4637 insertions(+), 17 deletions(-) create mode 100644 examples/GOcontroll_Crank_Example.mdl diff --git a/README.md b/README.md index 4258c65..d6d28f6 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,9 @@ Then place any number of Crank deserialize event blocks in this subsystem to get ### Sending events from Simulink Place a Crank serialize event block and select the desired event to serialize. +Copy the model from examples to the root of your project, this model is made to work with the ThermostatIO example from Crank. +This is also the project that the example header file comes from so you can move that to your project aswell. + ### Notes The first startup might take some time as it needs to compile some MEX files. \ No newline at end of file diff --git a/blockset_crank/blocks/sfcn_crank_deserialize.tlc b/blockset_crank/blocks/sfcn_crank_deserialize.tlc index 1bb821d..4e6df18 100644 --- a/blockset_crank/blocks/sfcn_crank_deserialize.tlc +++ b/blockset_crank/blocks/sfcn_crank_deserialize.tlc @@ -65,11 +65,13 @@ { if (% == %) { - %_event_t *data = (%_event_t *)%; - - %foreach outnum = 2 %%SIZE(output_names)[1] - % = data->%; - %endforeach + %if SIZE(output_names, 1) + %_event_t *data = (%_event_t *)%; + + %foreach outnum = SIZE(output_names, 1) + % = data->%; + %endforeach + %endif %% Call a function to process the received message via function-call subsystem %foreach callIdx = NumSFcnSysOutputCalls diff --git a/blockset_crank/blocks/sfcn_crank_receive.c b/blockset_crank/blocks/sfcn_crank_receive.c index b74722c..2af6acf 100644 --- a/blockset_crank/blocks/sfcn_crank_receive.c +++ b/blockset_crank/blocks/sfcn_crank_receive.c @@ -81,7 +81,8 @@ static void mdlInitializeSizes(SimStruct *S) { } static void mdlInitializeSampleTimes(SimStruct *S) { - ssSetSampleTime(S, 0, (int_T)mxGetPr(ssGetSFcnParam(S, PARAM_TSAMP))[0]); + ssSetNumSampleTimes(S, 1); + ssSetSampleTime(S, 0, mxGetPr(ssGetSFcnParam(S, PARAM_TSAMP))[0]); ssSetOffsetTime(S, 0, 0); ssSetCallSystemOutput(S,OUT_FCN_CALL); } diff --git a/blockset_crank/blocks/sfcn_crank_receive.tlc b/blockset_crank/blocks/sfcn_crank_receive.tlc index 780d481..c4d3ba1 100644 --- a/blockset_crank/blocks/sfcn_crank_receive.tlc +++ b/blockset_crank/blocks/sfcn_crank_receive.tlc @@ -45,11 +45,11 @@ %function BlockInstanceSetup(block, system) void %assign channel = "::gre_%" - %if EXISTS(%) + %if EXISTS(%) == 0 + %assign % = 1 + %else %assign error = "Can't make more than one crank channel receive block for the same channel %" % - %else - %assign % = 1 %endif %endfunction @@ -67,8 +67,7 @@ %assign srcFile = LibGetModelDotCFile() % - - % = gre_io_open("%", GRE_IO_TYPE_RDONLY, GRE_IO_FLAG_NONBLOCK); + % = gre_io_open("%", GRE_IO_TYPE_RDONLY | GRE_IO_FLAG_NONBLOCK); % = gre_io_size_buffer(NULL, %); %endfunction @@ -87,7 +86,6 @@ char *event_addr; char *event_name; char *event_fmt; - int32_t n = 0; while ((n = gre_io_receive(%, &%)) > 0){ gre_io_unserialize(%, &event_addr, &event_name, &event_fmt, &%); @@ -97,11 +95,11 @@ %foreach eventnum = SIZE(events,1) %if eventnum == 0 - if (strcmp(event_name, "%")) { + if (strcmp(event_name, "%") == 0) { % = %; } %else - else if (strcmp(event_name, "%")) { + else if (strcmp(event_name, "%") == 0) { % = %; } %endif @@ -109,6 +107,7 @@ else { continue; %% no matching event found } + event_name = NULL; %% Call a function to process the received message via function-call subsystem %foreach callIdx = NumSFcnSysOutputCalls %if LibIsEqual(SFcnSystemOutputCall[callIdx].BlockToCall,"unconnected") diff --git a/blockset_crank/blocks/sfcn_crank_serialize.c b/blockset_crank/blocks/sfcn_crank_serialize.c index 939dd42..8317ffb 100644 --- a/blockset_crank/blocks/sfcn_crank_serialize.c +++ b/blockset_crank/blocks/sfcn_crank_serialize.c @@ -83,7 +83,8 @@ static void mdlInitializeSizes(SimStruct *S) { } static void mdlInitializeSampleTimes(SimStruct *S) { - ssSetSampleTime(S, 0, (int_T)mxGetPr(ssGetSFcnParam(S, PARAM_TSAMP))[0]); + ssSetNumSampleTimes(S, 1); + ssSetSampleTime(S, 0, mxGetPr(ssGetSFcnParam(S, PARAM_TSAMP))[0]); ssSetOffsetTime(S, 0, 0); } diff --git a/blockset_crank/blocks/sfcn_crank_serialize.tlc b/blockset_crank/blocks/sfcn_crank_serialize.tlc index df65687..e4ac075 100644 --- a/blockset_crank/blocks/sfcn_crank_serialize.tlc +++ b/blockset_crank/blocks/sfcn_crank_serialize.tlc @@ -59,6 +59,8 @@ %assign srcFile = LibGetModelDotCFile() % + + % = gre_io_open("%", GRE_IO_TYPE_WRONLY | GRE_IO_FLAG_NONBLOCK); %endif %openfile tmpBuf gre_io_serialized_data_t *% = NULL; %% serialized send buffer, one per event @@ -68,7 +70,7 @@ %assign srcFile = LibGetModelDotCFile() % - + memset(&%, 0, sizeof(%)); %endfunction diff --git a/blockset_crank/blockset_crank_version.m b/blockset_crank/blockset_crank_version.m index 3516f30..6ab40b4 100644 --- a/blockset_crank/blockset_crank_version.m +++ b/blockset_crank/blockset_crank_version.m @@ -30,4 +30,12 @@ function [version] = blockset_crank_version() -version = "Crank v0.0.1"; +version = "Crank v0.0.2"; + +%% V0.0.2 Update 10-4-2024 +%% fixed deserialize name number +%% fixed deserialize for events containing no data +%% fixed sample time for receive and serialize blocks +%% fixed event name matching in the receive block +%% fixed channels in receive and serialize +%% added example model \ No newline at end of file diff --git a/examples/GOcontroll_Crank_Example.mdl b/examples/GOcontroll_Crank_Example.mdl new file mode 100644 index 0000000..e431414 --- /dev/null +++ b/examples/GOcontroll_Crank_Example.mdl @@ -0,0 +1,4604 @@ +# MathWorks OPC Text Package +Model { + Version 23.2 + Description "Simulink model saved in R2023b" +} +__MWOPC_PACKAGE_BEGIN__ R2023b +__MWOPC_PART_BEGIN__ /[Content_Types].xml + + + + + + + + + + + + + + + + + + + + + + + + +__MWOPC_PART_BEGIN__ /_rels/.rels + + + + + + + + + + + + + +__MWOPC_PART_BEGIN__ /metadata/coreProperties.xml + + + model + 2017-08-04T11:05:19Z + la_obwlf + + maud + 2024-04-10T12:11:12Z + 11.57 + R2023b + + +__MWOPC_PART_BEGIN__ /metadata/mwcoreProperties.xml + + + application/vnd.mathworks.simulink.model + Simulink Model + R2023b + + +__MWOPC_PART_BEGIN__ /metadata/mwcorePropertiesExtension.xml + + + 8eadc907-000d-4371-a0ec-b8247cfb773c + + +__MWOPC_PART_BEGIN__ /metadata/mwcorePropertiesReleaseInfo.xml + + + + 23.2.0.2515942 + R2023b + Update 7 + Jan 30 2024 + 3538596537 + + +__MWOPC_PART_BEGIN__ /simulink/_rels/blockdiagram.xml.rels + + + + + + + + + + + +__MWOPC_PART_BEGIN__ /simulink/_rels/configSetInfo.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/bddefaults.xml + + + +

A4

+

centimeters

+

[1.270000, 1.270000, 1.270000, 1.270000]

+
+ +

center

+

middle

+
+ + + + + + + +
+ +__MWOPC_PART_BEGIN__ /simulink/blockdiagram.xml + + + +

166857dd-b191-4385-8e26-d00f129d8cc7

+

librarySetup +

+

core_info = evalc('feature(''numcores'')'); +core_info_split = split(core_info, " "); +num_cores = core_info_split{12}; +set_param(bdroot, "MakeCommand", ['make_rtw -j' num_cores]); +clear num_cores core_info core_info_split +

+

glnxa64

+ +

4291425176

+

1689149694

+

Power_System_Blocks

+
+ +

%<Auto>

+

%<Auto>

+

%<AutoIncrement:11.57>

+
+ +

on

+

on

+

on

+

on

+

on

+
+ +

normal

+ +

$bdroot

+

0U

+ + $bdroot + + + [] + +
+
+ +

warning

+
+ + +

Ensure deterministic transfer (maximum delay)

+

Ensure data integrity only

+

Ensure deterministic transfer (minimum delay)

+

None

+
+ +

+

[]

+

[]

+

[]

+ + +

+

Initialize

+ + + +

+

+ +

+

+
+ +

Auto

+ +

+

+
+
+ +

+

Terminate

+ + + +

+

+ +

+

+
+ +

Auto

+ +

+

+
+
+ + +

+

2

+

0.01

+

0.0

+

+

Step

+ + + +

+

+ +

+

+
+ +

Auto

+ +

+

+
+
+

[]

+

[]

+

[]

+

[]

+

[]

+

[]

+

[]

+

[]

+ + +

0

+ + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+

9152

+

+

+ +

0

+ + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+

9157

+

+

+ +

0

+ + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+

9154

+

+

+ +

0

+ + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+

9166

+

+

+ +

0

+ + +

StorageClass

+ +

49c69b75-1e5d-4583-8e2e-adfdb3383b6e

+
+

[]

+

+

[]

+

+

+

9191

+

+

+ +

1

+ + +

StorageClass

+ +

49c69b75-1e5d-4583-8e2e-adfdb3383b6e

+
+

[]

+

+

[]

+

+

+

9191

+

+

+ +

4

+ + +

StorageClass

+ +

49c69b75-1e5d-4583-8e2e-adfdb3383b6e

+
+

[]

+

+

[]

+

+

+

9097

+

+

+ +

3

+ + +

StorageClass

+ +

49c69b75-1e5d-4583-8e2e-adfdb3383b6e

+
+

[]

+

+

[]

+

+

+

9097

+

+

+ +

2

+ + +

StorageClass

+ +

49c69b75-1e5d-4583-8e2e-adfdb3383b6e

+
+

[]

+

+

[]

+

+

+

9097

+

+

+ +

1

+ + +

StorageClass

+ +

49c69b75-1e5d-4583-8e2e-adfdb3383b6e

+
+

[]

+

+

[]

+

+

+

9097

+

+

+ +

[]

+

[]

+

[]

+

[]

+ + +

0

+

0

+ + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+

9200

+

+

+ +

0

+

0

+ + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+

9221

+

+

+ + + + +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

StorageClass

+

[]

+

[]

+

+

[]

+

+

+ +

[]

+

[]

+
+ +

[]

+

[]

+
+ +

[]

+

[]

+
+
+

0

+

Unset

+

GOcontroll_Linux_c

+

1

+
+ + + + + +__MWOPC_PART_BEGIN__ /simulink/codeDictionary.xml + + + + + SimulinkBuiltin + + + Simulink + + + + CODER_DICTIONARY + + Constants + + + DataTransfers + + + + GlobalDataStores + + + GlobalParameters + + + + Inports + + + InternalData + + + LocalParameters + + + ModelData + + + Outports + + + ParameterArguments + + + SharedLocalDataStores + + + + + + +__MWOPC_PART_BEGIN__ /simulink/configSet0.xml + + + +

[]

+

+ + + + SolverType + +

+

[]

+

0.0

+

5

+

auto

+

on

+

0.01

+

auto

+

5

+

auto

+

10*128*eps

+

1000

+

4

+

1

+

auto

+

auto

+

1

+

1e-3

+

off

+

off

+

off

+

FixedStepDiscrete

+

auto

+

auto

+

DisableAll

+

UseLocalSettings

+

Nonadaptive

+

TrustRegion

+

on

+

off

+

Fast

+

off

+

off

+

Unconstrained

+

Whenever possible

+

[]

+

off

+

off

+

ode3

+

off

+

2

+

10

+
+ +

[]

+

+

[]

+

1

+

[t, u]

+

xFinal

+

xInitial

+

on

+

1000

+

off

+

off

+

off

+

off

+

Array

+

Dataset

+

on

+

off

+

on

+

on

+

on

+

off

+

on

+

off

+

streamout

+

on

+

off

+

xout

+

tout

+

yout

+

logsout

+

dsmout

+

RefineOutputTimes

+

[]

+

out

+

1

+

off

+

timeseries

+

out.mat

+

[-inf, inf]

+
+ +

[]

+

+

[]

+

off

+

on

+

on

+

Inlined

+

off

+

off

+

off

+

off

+

double

+

off

+

off

+

on

+

on

+

on

+

off

+

off

+

on

+

off

+

+

on

+

off

+

uint_T

+

Same as modeled

+

on

+

64

+

Structure reference

+

12

+

128

+

on

+

5

+

off

+

off

+

Native Integer

+

on

+

on

+

off

+

off

+

off

+

on

+

1

+

-1

+

Inherit from target

+

on

+

on

+

off

+

off

+

off

+

on

+

on

+

off

+

off

+

level2

+

Balanced

+

on

+

off

+

off

+

GradualUnderflow

+

on

+
+ +

[]

+

+

[]

+

error

+

none

+

none

+

none

+

error

+

none

+

UseLocalSettings

+

UseLocalSettings

+

UseLocalSettings

+

warning

+

warning

+

warning

+

warning

+

on

+

Simplified

+

error

+

off

+

UseLocalSettings

+

warning

+

warning

+

none

+

error

+

warning

+

warning

+

warning

+

none

+

error

+

error

+

warning

+

none

+

warning

+

none

+

warning

+

none

+

warning

+

warning

+

error

+

error

+

none

+

none

+

warning

+

none

+

none

+

none

+

none

+

none

+

none

+

error

+

none

+

warning

+

warning

+

none

+

error

+

none

+

error

+

none

+

warning

+

warning

+

UseLocalSettings

+

on

+

off

+

none

+

error

+

none

+

none

+

warning

+

warning

+

none

+

warning

+

error

+

none

+

warning

+

error

+

warning

+

error

+

none

+

warning

+

ErrorLevel1

+

WarnAndRepair

+

none

+

warning

+

warning

+

error

+

error

+

none

+

none

+

warning

+

warning

+

warning

+

warning

+

warning

+

none

+

warning

+

error

+

warning

+

warning

+

none

+

warning

+

all

+

warning

+

on

+

none

+

none

+

off

+

+

none

+

off

+

warning

+

none

+

warning

+

warning

+

UseLocalSettings

+
+ +

[]

+

+

[]

+

8

+

16

+

32

+

64

+

64

+

32

+

64

+

64

+

64

+

64

+

Long

+

Double

+

Zero

+

LittleEndian

+

64

+

on

+

on

+

ARM Compatible->ARM 64-bit (LP64)

+

8

+

16

+

32

+

32

+

64

+

32

+

64

+

32

+

32

+

32

+

Char

+

None

+

on

+

off

+

Undefined

+

Unspecified

+

32

+

32

+

32

+

Specified

+

off

+

on

+

on

+

on

+

EmbeddedCoderHSP

+
+ +

[]

+

+

[]

+

IfOutOfDateOrStructuralChange

+

on

+

error

+

off

+

on

+

None

+

Multi

+

Infer from blocks in model

+

+

on

+

off

+

off

+

off

+

off

+
+ +

[]

+

+

[]

+

+

+

+

+

[]

+

+

+

+

+

+

+

on

+

on

+

on

+

off

+

on

+

off

+

off

+

off

+

on

+

50

+

on

+

on

+

off

+

65536

+

off

+

[]

+

NotSpecified

+

UseInterfaceOnly

+

off

+

None

+

+

generic

+

C

+

off

+

200

+

1024

+

off

+

+

+

mkl-dnn

+

on

+
+ +

[]

+

Linux Embedded Coder

+

ert_linux.tlc

+

+

None

+

off

+

off

+

+

off

+

make_rtw -j24

+

on

+

off

+

+

ert_linux_target_64.tmf

+

+

off

+

on

+

on

+

[]

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

+

+

+

+

+

+

+

+

+

+

+

Automatically locate an installed toolchain

+

Faster Builds

+

[]

+

off

+

off

+

off

+

None

+

off

+

executionProfile

+

SummaryOnly

+

off

+

off

+

stackProfile

+

off

+

CoderTypedefs

+

off

+

C

+

None

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

[]

+

+

Off

+

1024

+

+

-1

+

discrete

+

200

+

off

+

1024

+

on

+

on

+

on

+

off

+

3.5

+

+

+

0

+

none

+

on

+

20.02.1

+

unspecified

+

None

+ + +

[]

+

+

[]

+

+

off

+

on

+

Auto

+

off

+

off

+

31

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

1

+

8

+

$R$N$M

+

$N$R$M_T

+

$N$M

+

$R$N$M$F

+

$R$N

+

rt$I$N$M

+

rtb_$N$M

+

$N$M

+

$R$N$M

+

$N$C

+

emxArray_$M$N

+

emx$M$N

+

+

+

None

+

+

None

+

+

None

+

+

off

+

off

+

on

+

BlockPathComment

+

on

+

off

+

off

+

+

Shortened

+

Literals

+

off

+

off

+

[]

+

error

+
+ + + ModelReferenceCompliant + GenerateSampleERTMain + +

+

ansi_tfl_table_tmw.mat

+

+

+

NOT IN USE

+

C89/C90 (ANSI)

+

GNU C99 extensions

+

Auto

+

System defined

+

2048

+

256

+

on

+

off

+

+

off

+

off

+

on

+

off

+

off

+

off

+

on

+

on

+

off

+

off

+

off

+

Auto

+

on

+

on

+

rt_

+

off

+

Nonreusable function

+

off

+

on

+

on

+

off

+

off

+

off

+

on

+

off

+

Nominal

+

Nominal

+

Simulink.SoftwareTarget.ERTCustomization

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

on

+

[]

+

[]

+

1,2,3,4,...

+

Size,Breakpoints,Table

+

Size,Breakpoints,Table

+

Column-major

+

error

+

$R$E

+

$R$E

+

$R_data

+ + None + +

off

+

ert_linux.tlc

+ + + + ModelReferenceCompliant + GenerateSampleERTMain + +

+

[]

+

ansi_tfl_table_tmw.mat

+

+

+

NOT IN USE

+

C89/C90 (ANSI)

+

GNU C99 extensions

+

Auto

+

System defined

+

2048

+

256

+

on

+

off

+

+

off

+

off

+

on

+

off

+

off

+

off

+

on

+

on

+

off

+

off

+

off

+

Auto

+

on

+

on

+

rt_

+

off

+

Nonreusable function

+

off

+

on

+

on

+

off

+

off

+

off

+

on

+

off

+

Nominal

+

Nominal

+

Simulink.SoftwareTarget.ERTCustomization

+

off

+

off

+

off

+

off

+

off

+

off

+

off

+

on

+

[]

+

[]

+

1,2,3,4,...

+

Size,Breakpoints,Table

+

Size,Breakpoints,Table

+

Column-major

+

error

+

$R$E

+

$R$E

+

$R_data

+ + None + +

off

+

off

+

off

+

off

+

0

+

off

+

on

+

10

+

1000000

+

off

+

ext_comm

+

+

Level1

+

Hierarchical

+

BareBoardExample

+

Error

+

Individual arguments

+

off

+

off

+

off

+

off

+

ert_code_template.cgt

+

ert_code_template.cgt

+

ert_code_template.cgt

+

ert_code_template.cgt

+

ert_linux_file_process.tlc

+

off

+

10

+

10

+

Auto

+

global.c

+

Auto

+

Modular

+

Inline

+

global.h

+

on

+

off

+

on

+

on

+

on

+

off

+

on

+

on

+

off

+

K&R

+

2

+

Default

+

80

+

off

+ + + + + + + + + + + + + + + + + + +

MAX_int64_T

+

MIN_int64_T

+

MAX_uint64_T

+

MAX_int32_T

+

MIN_int32_T

+

MAX_uint32_T

+

MAX_int16_T

+

MIN_int16_T

+

MAX_uint16_T

+

MAX_int8_T

+

MIN_int8_T

+

MAX_uint8_T

+

true

+

false

+

+

--- None ---

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

Default

+

C-style array

+
+
+ +

40

+
+ +

192.168.2.130

+
+ +

8001

+
+ +

50002

+
+ + +

0

+

Auto upload

+

1

+

Do not upload

+
+

Do not upload

+
+ + +

0

+

i.MX6

+

1

+

i.MX8

+

2

+

Raspberry Pi

+
+

i.MX8

+
+
+
+
+ +

[]

+

Simulink Coverage Configuration Component

+

[]

+

Simulink Coverage

+

off

+

EntireSystem

+

on

+

off

+

/

+

covdata

+

+

dw

+

+

+

off

+

on

+

on

+

on

+

on

+

covCumulativeData

+

off

+

on

+

slcov_output/$ModelName$

+

$ModelName$_cvdata

+

on

+

off

+

+

off

+

off

+

1e-05

+

0.01

+

off

+

0

+

0

+

Masking

+

off

+
+ +

[]

+

HDL Coder custom configuration component

+

[]

+

HDL Coder

+ + + +

0

+
+ +

[]

+

+

[]

+

Simscape

+

Full

+

warning

+

warning

+

on

+

[{"value":"1","unit":"A"},{"value":"1","unit":"bar"},{"value":"1","unit":"cm^2"},{"value":"1","unit":"cm^3/s"},{"value":"1","unit":"kJ/kg"},{"value":"1","unit":"kW"},{"value":"1","unit":"l"},{"value":"1","unit":"N"},{"value":"1","unit":"N*m"},{"value":"1","unit":"V"}]

+

none

+

off

+

off

+

off

+

simlog

+

1

+

on

+

5000

+

off

+

+

off

+

on

+

+

+
+

Configuration

+

Code Generation/Interface

+

[ 1009, 71, 1850, 786 ]

+

-aBlockCommentType="BlockPathComment" -aIgnoreTestpoints=0

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/configSetInfo.xml + + + Configuration + + +__MWOPC_PART_BEGIN__ /simulink/graphicalInterface.xml + + +

0

+

0

+

+

0

+

0

+

0

+

0

+

0

+

0

+

0

+

0

+

Unset

+

0

+

FixedStepDiscrete

+

0

+

Simulink

+

0

+

10

+ +

GOcontroll_Crank/Crank receive channel

+

$bdroot/GOcontroll Moduline algorithm/Crank receive channel

+

9096

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank serialize event

+

$bdroot/GOcontroll Moduline algorithm/Crank serialize event

+

9188

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank deserialize event

+

$bdroot/GOcontroll Moduline algorithm/Function-Call Subsystem/Crank deserialize event

+

9101

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank deserialize event

+

$bdroot/GOcontroll Moduline algorithm/Function-Call Subsystem/Crank deserialize event1

+

9109

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank deserialize event

+

$bdroot/GOcontroll Moduline algorithm/Function-Call Subsystem/Crank deserialize event2

+

9122

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank deserialize event

+

$bdroot/GOcontroll Moduline algorithm/Function-Call Subsystem/Crank deserialize event3

+

9171

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank deserialize event

+

$bdroot/GOcontroll Moduline algorithm/Function-Call Subsystem/Crank deserialize event4

+

9176

+

LIBRARY_BLOCK

+
+ +

GOcontroll_Crank/Crank deserialize event

+

$bdroot/GOcontroll Moduline algorithm/Function-Call Subsystem/Crank deserialize event5

+

9182

+

LIBRARY_BLOCK

+
+ +

simulink/Logic and Bit +Operations/Compare +To Constant

+

$bdroot/GOcontroll Moduline algorithm/Subsystem/Compare To Constant

+

9202

+

LIBRARY_BLOCK

+
+ +

simulink/Logic and Bit +Operations/Compare +To Constant

+

$bdroot/GOcontroll Moduline algorithm/Subsystem/Compare To Constant1

+

9204

+

LIBRARY_BLOCK

+
+

1

+
+ +__MWOPC_PART_BEGIN__ /simulink/hdlParams.xml + + + + + HDLSubsystem + $bdroot + + + + +__MWOPC_PART_BEGIN__ /simulink/modelDictionary.xml + + + + + + +__MWOPC_PART_BEGIN__ /simulink/ScheduleCore.xml + + + + HighNumberLast + 1 + + + true + + + + + false + Default + -2147483648 + + + + false + 2 + true + D1 + 40 + + D1 + -12240129 + true + ClassicPeriodicDiscrete0.010 + 0 + + .01 + + 0 + + + D2 + 986198527 + true + 1 + + 2.0 + + 1 + + + + + + +__MWOPC_PART_BEGIN__ /simulink/ScheduleEditor.xml + + + + + + 40 + + #ff453a + true + 0.01 + D1 + + + #3ac831 + true + 2 + D2 + + D1 + implicit-periodic + + + D1 + + + + Default + + + + + + 0,0 + 0,0,0,0 + + D1 + implicit-periodic + + 0,0 + + D1 + graph.Graph + + + 0,0 + 0,0,0,0 + + Default + graph.Graph + + +__MWOPC_PART_BEGIN__ /simulink/stateflow/_rels/machine.xml.rels + + + + + + + + +__MWOPC_PART_BEGIN__ /simulink/stateflow/chart_16.xml + + +

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle ac/Chart

+

[199.5 216.75 417 348.75]

+

[1021.219 1465.019 310.998 614.398]

+

0.267

+

[1 1 3200 1200 1.25]

+

16

+ +

6

+

CLUSTER_CHART

+

2

+

0

+

1

+

1

+

1

+

2

+ + +

celsius +en: unit = 1;

+

[1267 444 90 60]

+

12

+

16

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

fahrenheit +en: unit = 0;

+

[1267 579.2 90 60]

+

12

+

16

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

OUTPUT_DATA

+ +

uint8(0)

+ +

-1

+
+ +

SF_UINT8_TYPE

+

1

+

16

+
+

SF_FRAME_NO

+ +

inherit

+
+
+

uint8

+
+ +

+

[1287.55 429 0 0]

+

12

+ +

[0 0 1 0 1287.55 414 0 0]

+
+ +

1

+

[1 0 -1 0.2283 1287.55 444 0 0]

+
+

[1287.55 429]

+

[1285.15 1289.95 414 444]

+

16

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1288.769 537.6 0 0]

+

12

+ +

1

+

[3 0 1 0.7581 1288.769 504 0 0]

+
+ +

3

+

[1 -0 -1 0.2419 1288.769 579.2 0 0]

+
+

[1288.769 537.6]

+

[1286.369 1291.169 504 579.2]

+

16

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1331.519 545.6 0 0]

+

12

+ +

3

+

[1 0 -1 0.7169 1331.519 579.2 0 0]

+
+ +

1

+

[3 -0 1 0.2831 1331.519 504 0 0]

+
+

[1331.519 545.6]

+

[1329.119 1333.919 504 579.2]

+

16

+

SMART

+ +

BOTH_STICK

+
+

1

+
+
+
+ +__MWOPC_PART_BEGIN__ /simulink/stateflow/chart_24.xml + + +

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle units/Chart

+

[3912 0 3768 2160]

+

[825.602 1565.269 267.614 773.281]

+

0.444

+

[1 1 3200 1200 1.25]

+

24

+

1

+ +

6

+

CLUSTER_CHART

+

3

+

0

+

1

+

1

+

1

+

2

+ + +

fahrenheit1 +en: unit = 0;

+

[1267 444 90 60]

+

12

+

24

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

celsius +en: unit = 1;

+

[1267 579.2 90 60]

+

12

+

24

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

OUTPUT_DATA

+ +

uint8(1)

+ +

-1

+
+ +

SF_UINT8_TYPE

+

1

+

16

+
+

SF_FRAME_NO

+ +

inherit

+
+
+

uint8

+
+ +

+

[1287.55 429 0 0]

+

12

+ +

[0 0 1 0 1287.55 414 0 0]

+
+ +

1

+

[1 0 -1 0.2283 1287.55 444 0 0]

+
+

[1287.55 429]

+

[1285.15 1289.95 414 444]

+

24

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1288.769 537.6 0 0]

+

12

+ +

1

+

[3 0 1 0.7581 1288.769 504 0 0]

+
+ +

3

+

[1 -0 -1 0.2419 1288.769 579.2 0 0]

+
+

[1288.769 537.6]

+

[1286.369 1291.169 504 579.2]

+

24

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1331.519 545.6 0 0]

+

12

+ +

3

+

[1 0 -1 0.7169 1331.519 579.2 0 0]

+
+ +

1

+

[3 -0 1 0.2831 1331.519 504 0 0]

+
+

[1331.519 545.6]

+

[1329.119 1333.919 504 579.2]

+

24

+

SMART

+ +

BOTH_STICK

+
+

1

+
+
+
+ +__MWOPC_PART_BEGIN__ /simulink/stateflow/chart_32.xml + + +

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle fan/Chart

+

[199.5 216.75 417 348.75]

+

[1021.219 1465.019 310.998 614.398]

+

0.267

+

[1 1 3200 1200 1.25]

+

32

+

1

+ +

6

+

CLUSTER_CHART

+

4

+

0

+

1

+

1

+

1

+

2

+ + +

celsius +en: unit = 1;

+

[1267 444 90 60]

+

12

+

32

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

fahrenheit +en: unit = 0;

+

[1267 579.2 90 60]

+

12

+

32

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

OUTPUT_DATA

+ +

uint8(0)

+ +

-1

+
+ +

SF_UINT8_TYPE

+

1

+

16

+
+

SF_FRAME_NO

+ +

inherit

+
+
+

uint8

+
+ +

+

[1287.55 429 0 0]

+

12

+ +

[0 0 1 0 1287.55 414 0 0]

+
+ +

1

+

[1 0 -1 0.2283 1287.55 444 0 0]

+
+

[1287.55 429]

+

[1285.15 1289.95 414 444]

+

32

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1288.769 537.6 0 0]

+

12

+ +

1

+

[3 0 1 0.7581 1288.769 504 0 0]

+
+ +

3

+

[1 -0 -1 0.2419 1288.769 579.2 0 0]

+
+

[1288.769 537.6]

+

[1286.369 1291.169 504 579.2]

+

32

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1331.519 545.6 0 0]

+

12

+ +

3

+

[1 0 -1 0.7169 1331.519 579.2 0 0]

+
+ +

1

+

[3 -0 1 0.2831 1331.519 504 0 0]

+
+

[1331.519 545.6]

+

[1329.119 1333.919 504 579.2]

+

32

+

SMART

+ +

BOTH_STICK

+
+

1

+
+
+
+ +__MWOPC_PART_BEGIN__ /simulink/stateflow/chart_8.xml + + +

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle timer/Chart

+

[199.5 216.75 417 348.75]

+

[1021.219 1465.019 310.998 614.398]

+

0.267

+

[1 1 3200 1200 1.25]

+

8

+ +

6

+

CLUSTER_CHART

+

1

+

0

+

1

+

1

+

1

+

2

+ + +

celsius +en: unit = 1;

+

[1267 444 90 60]

+

12

+

8

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

fahrenheit +en: unit = 0;

+

[1267 579.2 90 60]

+

12

+

8

+

OR_STATE

+

CLUSTER_STATE

+ +
+ +

OUTPUT_DATA

+ +

uint8(0)

+ +

-1

+
+ +

SF_UINT8_TYPE

+

1

+

16

+
+

SF_FRAME_NO

+ +

inherit

+
+
+

uint8

+
+ +

+

[1287.55 429 0 0]

+

12

+ +

[0 0 1 0 1287.55 414 0 0]

+
+ +

1

+

[1 0 -1 0.2283 1287.55 444 0 0]

+
+

[1287.55 429]

+

[1285.15 1289.95 414 444]

+

8

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1288.769 537.6 0 0]

+

12

+ +

1

+

[3 0 1 0.7581 1288.769 504 0 0]

+
+ +

3

+

[1 -0 -1 0.2419 1288.769 579.2 0 0]

+
+

[1288.769 537.6]

+

[1286.369 1291.169 504 579.2]

+

8

+

SMART

+ +

BOTH_STICK

+
+

1

+
+ +

+

[1331.519 545.6 0 0]

+

12

+ +

3

+

[1 0 -1 0.7169 1331.519 579.2 0 0]

+
+ +

1

+

[3 -0 1 0.2831 1331.519 504 0 0]

+
+

[1331.519 545.6]

+

[1329.119 1333.919 504 579.2]

+

8

+

SMART

+ +

BOTH_STICK

+
+

1

+
+
+
+ +__MWOPC_PART_BEGIN__ /simulink/stateflow/machine.xml + + + +

80000068

+ + +

Default Simulink S-Function Target.

+
+ + + + + +
+
+ +

7

+

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle timer/Chart

+

8

+
+ +

7

+

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle ac/Chart

+

16

+
+ +

7

+

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle units/Chart

+

24

+
+ +

7

+

GOcontroll Moduline algorithm/Function-Call +Subsystem/toggle fan/Chart

+

32

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_388.xml.rels + + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9097.xml.rels + + + + + + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9102.xml.rels + + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9110.xml.rels + + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9123.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9172.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9177.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9183.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_9191.xml.rels + + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/_rels/system_root.xml.rels + + + + + +__MWOPC_PART_BEGIN__ /simulink/systems/system_388.xml + + +

[3912, 0, 7680, 2160]

+

on

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

300

+ + +

[-375, -991, -195, -904]

+

449

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank receive channel

+

Crank receive channel

+

GOcontroll Crank

+ +

auto

+

["num" "unit" string(missing) string(missing) string(missing) string(missing);"num" "unit" string(missing) string(missing) string(missing) string(missing);"target_temperature" "current_temperature" "ac" "fan" "timer" "units"]

+

[2 2 6 0 0 0 0]

+

[5 5 0 0 0 0;5 5 0 0 0 0;4 4 3 3 3 3]

+

["2u1 num 2u1 unit" "2u1 num 2u1 unit" "2s1 target_temperature 2s1 current_temperature 1u1 ac 1u1 fan 1u1 timer 1u1 units" "" "" "" ""]

+

0.01

+

100

+

'thermostat_backend'

+

#define DECREASE_TEMPERATURE_EVENT "decrease_temperature" +#define DECREASE_TEMPERATURE_FMT "2u1 num 2u1 unit" +typedef struct { + uint16_t num; + uint16_t unit; +} decrease_temperature_event_t; + +#define INCREASE_TEMPERATURE_EVENT "increase_temperature" +#define INCREASE_TEMPERATURE_FMT "2u1 num 2u1 unit" +typedef struct { + uint16_t num; + uint16_t unit; +} increase_temperature_event_t; + +#define THERMOSTAT_UPDATE_EVENT "thermostat_update" +#define THERMOSTAT_UPDATE_FMT "2s1 target_temperature 2s1 current_temperature 1u1 ac 1u1 fan 1u1 timer 1u1 units" +typedef struct { + int16_t target_temperature; + int16_t current_temperature; + uint8_t ac; + uint8_t fan; + uint8_t timer; + uint8_t units; +} thermostat_update_event_t; + +#define TOGGLE_AC_EVENT "toggle_ac" + +#define TOGGLE_FAN_EVENT "toggle_fan" + +#define TOGGLE_TIMER_EVENT "toggle_timer" + +#define TOGGLE_UNITS_EVENT "toggle_units" + +

+

["decrease_temperature","increase_temperature","thermostat_update","toggle_ac","toggle_fan","toggle_timer","toggle_units"]

+

'ThermostatIO_events.h'

+

7

+
+
+ + +

[675, -961, 860, -854]

+

452

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank serialize event

+

Crank serialize event

+

GOcontroll Crank

+ +

auto

+

[5 5 0 0 0 0;5 5 0 0 0 0;4 4 3 3 3 3]

+

0.01

+

'thermostat_frontend'

+

thermostat_update

+

["target_temperature","current_temperature","ac","fan","timer","units"]

+

[4 4 3 3 3 3]

+

'ThermostatIO_events.h'

+

#define DECREASE_TEMPERATURE_EVENT "decrease_temperature" +#define DECREASE_TEMPERATURE_FMT "2u1 num 2u1 unit" +typedef struct { + uint16_t num; + uint16_t unit; +} decrease_temperature_event_t; + +#define INCREASE_TEMPERATURE_EVENT "increase_temperature" +#define INCREASE_TEMPERATURE_FMT "2u1 num 2u1 unit" +typedef struct { + uint16_t num; + uint16_t unit; +} increase_temperature_event_t; + +#define THERMOSTAT_UPDATE_EVENT "thermostat_update" +#define THERMOSTAT_UPDATE_FMT "2s1 target_temperature 2s1 current_temperature 1u1 ac 1u1 fan 1u1 timer 1u1 units" +typedef struct { + int16_t target_temperature; + int16_t current_temperature; + uint8_t ac; + uint8_t fan; + uint8_t timer; + uint8_t units; +} thermostat_update_event_t; + +#define TOGGLE_AC_EVENT "toggle_ac" + +#define TOGGLE_FAN_EVENT "toggle_fan" + +#define TOGGLE_TIMER_EVENT "toggle_timer" + +#define TOGGLE_UNITS_EVENT "toggle_units" + +

+

[2 2 6 0 0 0 0]

+

["num" "unit" string(missing) string(missing) string(missing) string(missing);"num" "unit" string(missing) string(missing) string(missing) string(missing);"target_temperature" "current_temperature" "ac" "fan" "timer" "units"]

+

["2u1 num 2u1 unit" "2u1 num 2u1 unit" "2s1 target_temperature 2s1 current_temperature 1u1 ac 1u1 fan 1u1 timer 1u1 units" "" "" "" ""]

+

["decrease_temperature" "increase_temperature" "thermostat_update" "toggle_ac" "toggle_fan" "toggle_timer" "toggle_units"]

+
+
+ + +

[-115, -951, 150, -899]

+

450

+

on

+ + +

ac

+
+ +

fan

+
+ +

timer

+
+ +

unit

+
+
+ +
+ + +

[290, -953, 490, -922]

+

454

+ + +

target_temp

+
+ +

current_temp

+
+
+ +
+ +

209

+

9096#out:1

+

[205, 0]

+

9097#trigger

+
+ +

210

+

9096#out:2

+

9097#in:1

+
+ +

ac

+

213

+

[3, 1]

+

9097#out:2

+

[108, 0; 0, 20]

+

9188#in:3

+
+ +

fan

+

214

+

[3, 1]

+

9097#out:3

+

[85, 0; 0, 25]

+

9188#in:4

+
+ +

timer

+

215

+

[3, 1]

+

9097#out:4

+

[61, 0; 0, 30]

+

9188#in:5

+
+ +

unit

+

216

+

9097#out:5

+

[34, 0]

+ +

222

+

[0, -25]

+

9191#in:2

+
+ +

221

+

[2, 1]

+

[0, 35]

+

9188#in:6

+
+
+ +

current_temp

+

217

+

[1, 1]

+

9191#out:2

+

9188#in:2

+
+ +

218

+

9097#out:1

+

9191#in:1

+
+ +

target_temp

+

219

+

[1, 1]

+

9191#out:1

+

9188#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9097.xml + + +

[3912, 0, 7680, 2160]

+

on

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

150

+ +

[-60, 233, -30, 247]

+

-1

+
+ + +

[210, -105, 230, -85]

+

-2

+

function-call

+

(inherit)

+

held

+
+ + +

[85, 197, 265, 283]

+

15

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank deserialize event

+

Crank deserialize event

+

GOcontroll Crank

+ +

auto

+

'thermostat_backend'

+

increase_temperature

+

1

+

["num","unit"]

+

[5 5]

+
+
+ + +

[85, 372, 265, 458]

+

18

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank deserialize event

+

Crank deserialize event

+

GOcontroll Crank

+ +

auto

+

'thermostat_backend'

+

decrease_temperature

+

0

+

["num","unit"]

+

[5 5]

+
+
+ + +

[85, 547, 265, 633]

+

20

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank deserialize event

+

Crank deserialize event

+

GOcontroll Crank

+ +

auto

+

'thermostat_backend'

+

toggle_units

+

6

+

[]

+

[]

+
+
+ + +

[85, 722, 265, 808]

+

182

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank deserialize event

+

Crank deserialize event

+

GOcontroll Crank

+ +

auto

+

'thermostat_backend'

+

toggle_ac

+

3

+

[]

+

[]

+
+
+ + +

[85, 897, 265, 983]

+

185

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank deserialize event

+

Crank deserialize event

+

GOcontroll Crank

+ +

auto

+

'thermostat_backend'

+

toggle_timer

+

5

+

[]

+

[]

+
+
+ + +

[85, 1072, 265, 1158]

+

188

+

[1.000000, 0.666667, 0.000000]

+

0.33

+

GOcontroll_Crank/Crank deserialize event

+

Crank deserialize event

+

GOcontroll Crank

+ +

auto

+

'thermostat_backend'

+

toggle_fan

+

4

+

[]

+

[]

+
+
+ + +

[395, 225, 495, 315]

+

16

+

on

+ +
+ + +

[540, 182, 590, 533]

+

17

+

single(16)

+
+ +

[290, 435, 310, 455]

+

193

+
+ +

[290, 260, 310, 280]

+

194

+
+ +

[425, 528, 460, 562]

+

192

+

on

+

single(16)

+

-1

+

on

+
+ + +

[395, 401, 495, 489]

+

19

+

on

+ +
+ + +

[330, 779, 430, 821]

+

183

+

on

+ +
+ + +

[330, 1129, 430, 1171]

+

189

+

on

+ +
+ + +

[330, 954, 430, 996]

+

186

+

on

+ +
+ + +

[330, 604, 430, 646]

+

21

+

on

+ +
+ +

[730, 353, 760, 367]

+

-3

+
+ +

[510, 793, 540, 807]

+

181

+

2

+
+ +

[510, 1143, 540, 1157]

+

187

+

3

+
+ +

[510, 968, 540, 982]

+

184

+

4

+
+ +

[510, 618, 540, 632]

+

180

+

5

+
+ +

2

+

9098#out:1

+

[42, 0]

+ +

10

+

[0, 175]

+ +

14

+

[0, 175]

+ +

46

+

[0, 175]

+ +

52

+

[0, 175]

+ +

57

+

[0, 175]

+

9182#in:1

+
+ +

56

+

9176#in:1

+
+
+ +

51

+

9171#in:1

+
+
+ +

45

+

9122#in:1

+
+
+ +

13

+

9109#in:1

+
+
+ +

9

+

9101#in:1

+
+
+ +

38

+

9101#out:2

+

9102#in:1

+
+ +

39

+

9101#out:1

+

9102#trigger

+
+ +

6

+

9109#out:1

+

[175, 0]

+

9110#trigger

+
+ +

8

+

9109#out:2

+

9110#in:1

+
+ +

11

+

9110#out:1

+

9108#in:2

+
+ +

40

+

9102#out:1

+

9108#in:1

+
+ +

17

+

9122#out:1

+

[110, 0]

+

9123#trigger

+
+ +

18

+

9123#out:1

+

[33, 0]

+ +

79

+

[0, -48; -121, 0; 0, -132]

+ +

81

+

[0, -175]

+

9102#in:2

+
+ +

80

+

9110#in:2

+
+
+ +

78

+

9169#in:1

+
+
+ +

44

+

9171#out:1

+

[110, 0]

+

9172#trigger

+
+ +

48

+

9172#out:1

+

9170#in:1

+
+ +

49

+

9177#out:1

+

9181#in:1

+
+ +

50

+

9176#out:1

+

[110, 0]

+

9177#trigger

+
+ +

54

+

9182#out:1

+

[110, 0]

+

9183#trigger

+
+ +

55

+

9183#out:1

+

9187#in:1

+
+ +

75

+

9221#out:1

+

[-94, 0; 0, -70]

+ +

84

+

[0, -175]

+

9102#in:3

+
+ +

76

+

9110#in:3

+
+
+ +

19

+

9108#out:1

+

[25, 0]

+ +

69

+

[0, 185]

+

9221#in:1

+
+ +

67

+

9100#in:1

+
+
+ +

83

+

9109#out:3

+

9222#in:1

+
+ +

85

+

9101#out:3

+

9223#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9102.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

250

+ +

[1870, 1033, 1900, 1047]

+

13

+
+ +

[1615, 1058, 1645, 1072]

+

14

+

2

+
+ +

[1615, 998, 1645, 1012]

+

15

+

3

+

degC

+
+ + +

[1970, 945, 1990, 965]

+

12

+

function-call

+

(inherit)

+

held

+
+ +

[1720, 998, 1770, 1012]

+

19

+

Unit

+
+ +

[2075, 1018, 2125, 1032]

+

22

+

Unit

+
+ +

[1665, 1057, 1715, 1073]

+

18

+

Unit

+
+ + +

[1720, 1031, 1770, 1049]

+

20

+ +
+ + +

[2075, 1051, 2125, 1069]

+

23

+ +
+ + +

[1980, 989, 2015, 1056]

+

16

+

rectangular

+

single

+

single

+
+ +

[1800, 955, 1845, 1055]

+

17

+

u2 > Threshold

+

off

+

off

+
+ +

[2140, 975, 2185, 1075]

+

21

+

u2 > Threshold

+

off

+

off

+
+ +

[2235, 1018, 2265, 1032]

+

11

+

single(16)

+
+ +

9

+

9166#out:1

+

9165#in:1

+
+ +

13

+

9150#out:1

+

9165#in:2

+
+ +

14

+

9154#out:1

+

9166#in:2

+
+ +

15

+

9151#out:1

+

9156#in:1

+
+ +

16

+

9155#out:1

+

9167#in:2

+
+ +

21

+

9165#out:1

+

[22, 0]

+ +

31

+

[0, 35]

+

9161#in:1

+
+ +

30

+

[0, -35]

+

9167#in:1

+
+
+ +

22

+

9167#out:1

+

9168#in:1

+
+ +

23

+

9157#out:1

+

9166#in:3

+
+ +

12

+

9152#out:1

+

[42, 0]

+ +

27

+

[0, 35]

+

9157#in:1

+
+ +

26

+

[0, -35]

+

9166#in:1

+
+
+ +

28

+

9161#out:1

+

9167#in:3

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9110.xml + + +

[3912, 0, 7680, 2160]

+

on

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

300

+ +

[110, 103, 140, 117]

+

-1

+
+ +

[-145, 128, -115, 142]

+

1

+

2

+
+ +

[-145, 68, -115, 82]

+

2

+

3

+

degC

+
+ + +

[210, 15, 230, 35]

+

-2

+

function-call

+

(inherit)

+

held

+
+ +

[-40, 68, 10, 82]

+

6

+

Unit

+
+ +

[315, 88, 365, 102]

+

9

+

Unit

+
+ +

[-95, 127, -45, 143]

+

5

+

Unit

+
+ + +

[-40, 101, 10, 119]

+

7

+ +
+ + +

[315, 121, 365, 139]

+

10

+ +
+ + +

[220, 59, 255, 126]

+

3

+

rectangular

+

+-

+

single

+

single

+
+ +

[40, 25, 85, 125]

+

4

+

u2 > Threshold

+

off

+

off

+
+ +

[380, 45, 425, 145]

+

8

+

u2 > Threshold

+

off

+

off

+
+ +

[475, 88, 505, 102]

+

-3

+

int16(16)

+
+ +

3

+

9111#out:1

+

9121#in:2

+
+ +

5

+

9113#out:1

+

[42, 0]

+ +

28

+

[0, 35]

+

9140#in:1

+
+ +

27

+

[0, -35]

+

9137#in:1

+
+
+ +

16

+

9121#out:1

+

[20, 0]

+ +

33

+

[0, 35]

+

9146#in:1

+
+ +

32

+

[0, -35]

+

9144#in:1

+
+
+ +

8

+

9112#out:1

+

9138#in:1

+
+ +

9

+

9139#out:1

+

9137#in:2

+
+ +

15

+

9137#out:1

+

9121#in:1

+
+ +

20

+

9145#out:1

+

9144#in:2

+
+ +

24

+

9144#out:1

+

9115#in:1

+
+ +

25

+

9140#out:1

+

9137#in:3

+
+ +

30

+

9146#out:1

+

9144#in:3

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9123.xml + + +

[3912, 0, 7680, 2160]

+

on

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

300

+ + +

[210, 15, 230, 35]

+

-2

+

function-call

+

(inherit)

+

held

+
+ + +

[190, 84, 250, 136]

+

2

+

Stateflow.Translate.translate

+

ExplicitOnly

+

on

+

Chart

+ + +

unit

+
+
+ +
+ +

[360, 103, 390, 117]

+

-3

+
+ +

2

+

9127#out:1

+

9126#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9127.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

113

+ + +

[270, 230, 320, 270]

+

90

+

1

+
+ +

[20, 121, 40, 139]

+

92

+
+ +

Stateflow S-Function 3

+ +

[180, 100, 230, 160]

+

89

+

sf_sfun

+

[1 2]

+

off

+

on

+

off

+ + +

unit

+
+
+
+ +

[460, 241, 480, 259]

+

91

+
+ +

[460, 101, 480, 119]

+

93

+
+ +

unit

+

7

+

[0, 0]

+

9127::109#out:2

+

9127::113#in:1

+
+ +

8

+

9127::112#out:1

+

9127::109#in:1

+
+ +

9

+

9127::110#out:1

+

9127::111#in:1

+
+ +

10

+

9127::109#out:1

+

9127::110#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9140.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

400

+ +

[110, 103, 140, 117]

+

-1

+

degC

+
+ +

[215, 89, 285, 131]

+

2

+

Inherit: Inherit via back propagation

+
+ +

[360, 103, 390, 117]

+

-2

+

single

+

degF

+
+ +

1

+

9141#out:1

+

9143#in:1

+
+ +

2

+

9143#out:1

+

9142#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9146.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

260

+ +

[110, 103, 140, 117]

+

-1

+

degF

+
+ +

[215, 89, 285, 131]

+

2

+

Inherit: Inherit via back propagation

+
+ +

[360, 103, 390, 117]

+

-2

+

single

+

degC

+
+ +

1

+

9148#out:1

+

9149#in:1

+
+ +

2

+

9147#out:1

+

9148#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9157.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

400

+ +

[110, 103, 140, 117]

+

-1

+

degC

+
+ +

[215, 89, 285, 131]

+

2

+

Inherit: Inherit via back propagation

+
+ +

[360, 103, 390, 117]

+

-2

+

single

+

degF

+
+ +

1

+

9158#out:1

+

9159#in:1

+
+ +

2

+

9159#out:1

+

9160#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9161.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

400

+ +

[110, 103, 140, 117]

+

-1

+

degF

+
+ +

[215, 89, 285, 131]

+

2

+

Inherit: Inherit via back propagation

+
+ +

[360, 103, 390, 117]

+

-2

+

single

+

degC

+
+ +

1

+

9163#out:1

+

9164#in:1

+
+ +

2

+

9162#out:1

+

9163#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9172.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

200

+ + +

[210, 15, 230, 35]

+

-2

+

function-call

+

(inherit)

+

held

+
+ + +

[190, 84, 250, 136]

+

283

+

Stateflow.Translate.translate

+

ExplicitOnly

+

on

+

Chart

+ + +

unit

+
+
+ +
+ +

[360, 103, 390, 117]

+

-3

+
+ +

10

+

9239#out:1

+

9175#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9177.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

250

+ + +

[210, 15, 230, 35]

+

-2

+

function-call

+

(inherit)

+

held

+
+ + +

[190, 84, 250, 136]

+

283

+

Stateflow.Translate.translate

+

ExplicitOnly

+

on

+

Chart

+ + +

unit

+
+
+ +
+ +

[360, 103, 390, 117]

+

-3

+
+ +

11

+

9238#out:1

+

9180#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9183.xml + + +

[3912, 0, 7680, 2160]

+

on

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

500

+ + +

[210, 15, 230, 35]

+

-2

+

function-call

+

(inherit)

+

held

+
+ + +

[210, 84, 270, 136]

+

2

+

Stateflow.Translate.translate

+

ExplicitOnly

+

on

+

Chart

+ + +

unit

+
+
+ +
+ +

[360, 103, 390, 117]

+

-3

+
+ +

1

+

9185#out:1

+

9186#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9185.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

113

+ + +

[270, 230, 320, 270]

+

90

+

1

+
+ +

[20, 121, 40, 139]

+

92

+
+ +

Stateflow S-Function 4

+ +

[180, 100, 230, 160]

+

89

+

sf_sfun

+

[1 2]

+

off

+

on

+

off

+ + +

unit

+
+
+
+ +

[460, 241, 480, 259]

+

91

+
+ +

[460, 101, 480, 119]

+

93

+
+ +

1

+

9185::109#out:1

+

9185::110#in:1

+
+ +

2

+

9185::110#out:1

+

9185::111#in:1

+
+ +

3

+

9185::112#out:1

+

9185::109#in:1

+
+ +

unit

+

4

+

[0, 0]

+

9185::109#out:2

+

9185::113#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9191.xml + + +

[3912, 0, 7680, 2160]

+

on

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

250

+ +

[-290, 63, -260, 77]

+

1

+
+ +

[-290, 268, -260, 282]

+

8

+

2

+ + +

unit

+
+
+
+ + +

[45, 34, 70, 101]

+

12

+

rectangular

+

int16

+

int16

+
+ +

[195, -7, 245, 7]

+

258

+

int16

+

Floor

+

off

+
+ +

[-185, 133, -135, 147]

+

259

+

int16

+

Floor

+

off

+
+ + +

[-60, 35, -30, 65]

+

9

+

5.1

+

simulink/Logic and Bit +Operations/Compare +To Constant

+

Compare To Constant

+ +

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

on

+

>

+

0

+

uint8

+

on

+
+
+ + +

[-60, 70, -30, 100]

+

11

+

5.1

+

simulink/Logic and Bit +Operations/Compare +To Constant

+

Compare To Constant

+ +

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

Inherit from model

+

on

+

<

+

0

+

uint8

+

on

+
+
+ + +

[85, 52, 120, 88]

+

7

+

0.5

+

16

+

Auto

+

2

+

single

+

DiscIntNeverNeededParam

+

DiscIntNeverNeededParam

+
+ +

[-185, 168, -135, 182]

+

23

+

Unit

+ + +

unit

+
+
+
+ +

[195, 28, 245, 42]

+

26

+

Unit

+ + +

unit

+
+
+
+ +

[-5, 35, 25, 65]

+

10

+

-1

+

int16

+

single

+
+ +

[-185, 267, -135, 283]

+

22

+

Unit

+
+ + +

[-185, 201, -135, 219]

+

24

+ +
+ + +

[195, 61, 245, 79]

+

27

+ +
+ + +

[-135, 11, -105, 89]

+

4

+

rectangular

+

+-

+
+ +

[-105, 125, -60, 225]

+

21

+

u2 > Threshold

+

off

+

off

+
+ +

[275, -15, 320, 85]

+

25

+

u2 > Threshold

+

off

+

off

+
+ +

[70, 168, 100, 182]

+

-2

+
+ +

[360, 28, 390, 42]

+

2

+

2

+
+ +

10

+

9197#out:1

+

[15, 0]

+ +

19

+

[0, 35]

+

9204#in:1

+
+ +

18

+

9202#in:1

+
+
+ +

17

+

9202#out:1

+

9203#in:1

+
+ +

21

+

9203#out:1

+

9205#in:1

+
+ +

22

+

9204#out:1

+

9205#in:2

+
+ +

24

+

9205#out:1

+

9200#in:1

+
+ +

33

+

9212#out:1

+

9193#in:1

+
+ +

28

+

9208#out:1

+

9212#in:3

+
+ +

11

+

9194#out:1

+

[42, 0]

+ +

35

+

[0, 70]

+ +

36

+

[0, 70]

+

9208#in:1

+
+ +

29

+

9225#in:1

+
+
+ +

34

+

9197#in:2

+
+
+ +

32

+

9206#out:1

+

9212#in:2

+
+ +

38

+

9201#out:1

+

9207#in:1

+
+ +

39

+

9213#out:1

+

9218#in:2

+
+ +

12

+

9200#out:1

+

[16, 0]

+ +

42

+

9214#in:1

+
+ +

16

+

[0, -70]

+ +

44

+

9224#in:1

+
+ +

43

+

[-300, 0; 0, 30]

+

9197#in:1

+
+
+
+ +

41

+

9214#out:1

+

9218#in:3

+
+ +

45

+

9218#out:1

+

9195#in:1

+
+ +

49

+

9224#out:1

+

9218#in:1

+
+ +

50

+

9225#out:1

+

9212#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9208.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

400

+ +

[110, 103, 140, 117]

+

-1

+

degC

+
+ +

[215, 89, 285, 131]

+

2

+

Inherit: Inherit via back propagation

+
+ +

[360, 103, 390, 117]

+

-2

+

int16

+

degF

+
+ +

1

+

9209#out:1

+

9210#in:1

+
+ +

2

+

9210#out:1

+

9211#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9214.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

400

+ +

[110, 103, 140, 117]

+

-1

+

degC

+
+ +

[215, 89, 285, 131]

+

2

+

Inherit: Inherit via back propagation

+
+ +

[360, 103, 390, 117]

+

-2

+

int16

+

degF

+
+ +

1

+

9216#out:1

+

9217#in:1

+
+ +

2

+

9215#out:1

+

9216#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9238.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

113

+ + +

[270, 230, 320, 270]

+

90

+

1

+
+ +

[20, 121, 40, 139]

+

92

+
+ +

Stateflow S-Function 1

+ +

[180, 100, 230, 160]

+

89

+

sf_sfun

+

[1 2]

+

off

+

on

+

off

+ + +

unit

+
+
+
+ +

[460, 241, 480, 259]

+

91

+
+ +

[460, 101, 480, 119]

+

93

+
+ +

1

+

9238::109#out:1

+

9238::110#in:1

+
+ +

2

+

9238::110#out:1

+

9238::111#in:1

+
+ +

3

+

9238::112#out:1

+

9238::109#in:1

+
+ +

unit

+

4

+

[0, 0]

+

9238::109#out:2

+

9238::113#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_9239.xml + + +

[3912, 0, 7680, 2160]

+

usletter

+

inches

+

[0.500000, 0.500000, 0.500000, 0.500000]

+

113

+ + +

[270, 230, 320, 270]

+

90

+

1

+
+ +

[20, 121, 40, 139]

+

92

+
+ +

Stateflow S-Function 2

+ +

[180, 100, 230, 160]

+

89

+

sf_sfun

+

[1 2]

+

off

+

on

+

off

+ + +

unit

+
+
+
+ +

[460, 241, 480, 259]

+

91

+
+ +

[460, 101, 480, 119]

+

93

+
+ +

1

+

9239::109#out:1

+

9239::110#in:1

+
+ +

2

+

9239::110#out:1

+

9239::111#in:1

+
+ +

3

+

9239::112#out:1

+

9239::109#in:1

+
+ +

unit

+

4

+

[0, 0]

+

9239::109#out:2

+

9239::113#in:1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/systems/system_root.xml + + +

[3912, 0, 7680, 2160]

+

on

+

150

+

simulink-default.rpt

+

9239

+ + +

[-60, 1059, 545, 1541]

+

142

+

1.762

+

16

+ + TopLevelSubsystem + image(imread('GOcontroll.png')) + + +
+ +

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> +<html><head><meta name="qrichtext" content="1" /><style type="text/css"> +p, li { white-space: pre-wrap; } +</style></head><body style=" font-family:'Arial'; font-size:10px; font-weight:400; font-style:normal;"> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><a href="./../README.md"><span style=" font-size:12px; text-decoration: underline; color:#0000ff;">README</span></a></p> +<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%; font-size:12px; font-weight:600;"><br /></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><a href="./../LICENSE"><span style=" font-size:12px; text-decoration: underline; color:#0000ff;">LICENSE</span></a></p> +<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%; font-size:12px; color:#000000;"><br /></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-weight:600;">DISCLAIMER</span></p> +<p align="center" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%; font-size:12px;"><br /></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">HAN University of Applied Sciences (hereafter: &quot;HAN&quot;) has deliberately chosen </span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">to publish HANcoder in open source. The reason for using open source is that</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">HAN wants to contribute to innovation and development. HAN believes it is</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">important to share knowledge and give others the opportunity to use HANcoder</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">as a starting point for further developments. Because it is open source and</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">controlled by the community, HAN does not control the source code nor its</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">quality. Use HANcoder on your own risk. HANcoder is made available under the</span></p> +<p align="center" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; line-height:100%;"><span style=" font-size:12px; font-style:italic;">MIT license. Please note that this license contains an exclusion of liability.</span></p></body></html>

+

[32, 1589, 456, 1787]

+

[0, 0, 0, 0]

+

left

+

top

+

rich

+

-1

+
+
+ +__MWOPC_PART_BEGIN__ /simulink/windowsInfo.xml + + + + +

1

+

[3912.0, 0.0, 3768.0, 2160.0]

+ +

1

+

Left

+

50

+

50

+

9

+

Unset

+
+ +

1

+
+ + +

0

+

1

+

SimulinkTopLevel

+

0

+

[2747.0, 1517.0]

+

1.5

+

[-902.27634066157555, 862.88125128811544]

+

[-902.27634066157555, 862.88125128811544, 1831.3333333333333, 1011.3333333333334]

+
+ +

0

+

1

+

SimulinkSubsys

+

9191

+

[2219.0, 1517.0]

+

2.5

+

[-468.02678571428629, -86.580952380952141]

+

[-468.02678571428629, -86.580952380952141, 887.6, 606.8]

+
+ +

0

+

1

+

SimulinkSubsys

+

9110

+

[2219.0, 1517.0]

+

3.0

+

[-195.88969494047703, -91.399999999999665]

+

[-195.88969494047703, -91.399999999999665, 739.66666666666663, 505.66666666666669]

+
+ +

0

+

1

+

SimulinkSubsys

+

9123

+

[2219.0, 1517.0]

+

3.0

+

[-107.76190476190482, -211.94523809523827]

+

[-107.76190476190482, -211.94523809523827, 739.66666666666663, 505.66666666666669]

+
+ +

0

+

1

+

SimulinkSubsys

+

388

+

[2219.0, 1517.0]

+

3.0

+

[27.341662430093606, -1097.3167005592275]

+

[27.341662430093606, -1097.3167005592275, 739.66666666666663, 505.66666666666669]

+
+ +

0

+

1

+

SimulinkSubsys

+

9183

+

[2219.0, 1517.0]

+

5.0

+

[6.9656250000000455, -103.1]

+

[6.9656250000000455, -103.1, 443.8, 303.4]

+
+ +

1

+

1

+

SimulinkSubsys

+

9097

+

[2219.0, 1517.0]

+

1.5

+

[-278.64761904762247, 265.51138436680861]

+

[-278.64761904762247, 265.51138436680861, 1479.3333333333333, 1011.3333333333334]

+
+ +

0

+

0

+

StateflowChart

+

9185

+

[2219.0, 1517.0]

+

5.0

+

[1021.2190476190484, 310.99761904761868]

+

[1021.2190476190484, 310.99761904761868, 443.8, 303.4]

+
+ +

0

+

0

+

SimulinkSubsys

+

9146

+

[2219.0, 1517.0]

+

2.598360655737705

+

[-177.0, -180.28982649842271]

+

[-177.0, -180.28982649842271, 854.0, 583.82965299684543]

+
+ +

0

+

0

+

SimulinkSubsys

+

9172

+

[2219.0, 1517.0]

+

2.0

+

[-384.76770833333342, -348.4666666666667]

+

[-384.76770833333342, -348.4666666666667, 1109.5, 758.5]

+
+ +

0

+

0

+

SimulinkSubsys

+

9177

+

[2219.0, 1517.0]

+

2.5

+

[-387.43437500000005, -308.1]

+

[-387.43437500000005, -308.1, 887.6, 606.8]

+
+ +

0

+

0

+

SimulinkSubsys

+

9140

+

[2219.0, 1517.0]

+

4.0

+

[-91.228571428570831, -77.457142857142514]

+

[-91.228571428570831, -77.457142857142514, 554.75, 379.25]

+
+ +

0

+

0

+

StateflowChart

+

9127

+

[2219.0, 1517.0]

+

3.0

+

[825.60238095238128, 267.61428571428576]

+

[825.60238095238128, 267.61428571428576, 739.66666666666663, 505.66666666666669]

+
+ +

0

+

0

+

SimulinkSubsys

+

9157

+

[2219.0, 1517.0]

+

4.0

+

[-27.25, -78.0]

+

[-27.25, -78.0, 554.75, 379.25]

+
+ +

0

+

0

+

SimulinkSubsys

+

9161

+

[2219.0, 1517.0]

+

4.0

+

[-27.25, -78.0]

+

[-27.25, -78.0, 554.75, 379.25]

+
+ +

0

+

0

+

SimulinkSubsys

+

9102

+

[2219.0, 1517.0]

+

2.5

+

[1532.9734077282847, 746.62626659760838]

+

[1532.9734077282847, 746.62626659760838, 887.6, 606.8]

+
+ +

0

+

0

+

SimulinkSubsys

+

9214

+

[2219.0, 1517.0]

+

4.0

+

[-27.25, -78.0]

+

[-27.25, -78.0, 554.75, 379.25]

+
+ +

0

+

0

+

SimulinkSubsys

+

8965

+

[3802.0, 1892.0]

+

2.2037379170030973

+

[-433.37526289206136, -195.57064634186744]

+

[-433.37526289206136, -195.57064634186744, 1725.2505257841224, 858.5412926837347]

+
+ +

0

+

0

+

SimulinkSubsys

+

8789

+

[3802.0, 1892.0]

+

2.5550303848750846

+

[-1134.0636080135121, -165.44821397259653]

+

[-1134.0636080135121, -165.44821397259653, 1488.0449260042283, 740.49999999999989]

+
+ +

0

+

0

+

SimulinkSubsys

+

9129

+

[3416.0, 1919.0]

+

4.0

+

[-240.0, -192.85714285714283]

+

[-240.0, -192.85714285714283, 854.0, 479.75]

+
+ +

0

+

0

+

SimulinkSubsys

+

9081

+

[2747.0, 1129.0]

+

3.1422265253823536

+

[-186.91615377303003, -85.048472689095817]

+

[-186.91615377303003, -85.048472689095817, 874.22086784966541, 359.299366509746]

+
+ +

0

+

0

+

SimulinkSubsys

+

8983

+

[2819.0, 1102.0]

+

5.17717906882037

+

[-242.96338091747663, -81.799991240364392]

+

[-242.96338091747663, -81.799991240364392, 544.50502146573706, 212.85723081065706]

+
+ +

0

+

0

+

SimulinkSubsys

+

8973

+

[3488.0, 1892.0]

+

3.7032235459004905

+

[-159.26221021832043, -148.37756838457608]

+

[-159.26221021832043, -148.37756838457608, 941.88210805184974, 510.9062352161983]

+
+ +

0

+

0

+

SimulinkSubsys

+

8970

+

[2854.0, 1481.0]

+

1.75

+

[-499.47675710429485, -248.8988408308104]

+

[-499.47675710429485, -248.8988408308104, 1630.8571428571429, 846.28571428571433]

+
+ +

0

+

0

+

SimulinkSubsys

+

8786

+

[2854.0, 1481.0]

+

1.75

+

[135.82205476805348, 697.56310381025492]

+

[135.82205476805348, 697.56310381025492, 1630.8571428571429, 846.28571428571433]

+
+ +

0

+

0

+

SimulinkSubsys

+

8990

+

[2854.0, 1481.0]

+

3.0

+

[-188.43342726885612, -189.32895468550385]

+

[-188.43342726885612, -189.32895468550385, 951.33333333333337, 493.66666666666669]

+
+ +

0

+

0

+

SimulinkSubsys

+

8986

+

[3456.0, 1863.0]

+

1.0

+

[-1478.0, -865.0]

+

[-1478.0, -865.0, 3456.0, 1863.0]

+
+ +

0

+

0

+

SimulinkSubsys

+

8923

+

[2680.0, 1402.0]

+

2.5

+

[-427.83203125, -278.4]

+

[-427.83203125, -278.4, 1072.0, 560.8]

+
+ +

0

+

0

+

SimulinkSubsys

+

8827

+

[2680.0, 1402.0]

+

3.0

+

[-361.67447916666669, -181.16666666666666]

+

[-361.67447916666669, -181.16666666666666, 893.33333333333337, 467.33333333333331]

+
+
+ + +

GLUE2:PropertyInspector

+

Property Inspector

+

0

+

+

+

0

+

Right

+

640

+

480

+

Unset

+
+ +

Simulink:Editor:ReferencedFiles

+

Referenced Files

+

0

+

+

{"filterShowRefModels":"true","filterShowRefSubs":"true","filterShowOnlyDirtyFiles":"false"} +

+

0

+

Left

+

640

+

480

+

Unset

+
+
+

AAAA/wAAAAD9AAAAAwAAAAAAAAE0AAAHvPwCAAAABPsAAAAWAEQAbwBjAGsAVwBpAGQAZwBlAHQAMwEAAAAxAAAB+AAAAAAAAAAA+wAAABYARABvAGMAawBXAGkAZABnAGUAdAA0AAAAAAD/////AAAAAAAAAAD7AAAAUgBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQALwBHAEwAVQBFADIAIAB0AHIAZQBlACAAYwBvAG0AcABvAG4AZQBuAHQBAAAAeQAAB7wAAABiAP////wAAAcHAAABEQAAAAAA////+gAAAAECAAAAAvsAAABgAFMAaQBtAHUAbABpAG4AawA6AEUAZABpAHQAbwByADoAUgBlAGYAZQByAGUAbgBjAGUAZABGAGkAbABlAHMALwBSAGUAZgBlAHIAZQBuAGMAZQBkACAARgBpAGwAZQBzAAAAAAD/////AAAAiQD////7AAAAfABMAGkAYgByAGEAcgB5AEIAcgBvAHcAcwBlAHIAMgAgAEwAaQBiAHIAYQByAHkAQgByAG8AdwBzAGUAcgBTAHQAdQBkAGkAbwBDAG8AbQBwAG8AbgBlAG4AdAAvAEcATwBjAG8AbgB0AHIAbwBsAGwAXwBMAGkAbgB1AHgBAAAAAP////8AAAAAAAAAAAAAAAEAAASnAAAHvPwCAAAAAfwAAAB5AAAHvAAAACAA////+gAAAAICAAAAA/sAAABUAEcATABVAEUAMgA6AFAAcgBvAHAAZQByAHQAeQBJAG4AcwBwAGUAYwB0AG8AcgAvAFAAcgBvAHAAZQByAHQAeQAgAEkAbgBzAHAAZQBjAHQAbwByAAAAAAD/////AAABrAD////7AAAAXgBHAEwAVQBFADIAOgBOAG8AdABlAHMAIABCAHIAbwB3AHMAZQByACAAQwBvAG0AcABvAG4AZQBuAHQALwBTAHkAcwBEAG8AYwBNAGkAeABlAGQARQBkAGkAdABvAHIAAAAAAP////8AAAAAAAAAAPv/////AQAAAAD/////AAAAIAD///8AAAADAAAI0QAAAYz8AQAAABP8AAABKwAACzYAAAAAAP////r/////AQAAAAD8AAABOgAACQYAAAAAAP////r/////AQAAAAD8AAABOgAACQYAAAAAAP////r/////AQAAAAD8AAABOgAACl0AAAAAAP////r/////AQAAAAD8AAABOgAACl0AAAAAAP////r/////AQAAAAD8AAAApgAADIUAAAAAAP////r/////AQAAAAD8AAAA8AAACdMAAAAAAP////r/////AQAAAAD8AAABOgAACdEAAAAAAP////r/////AQAAAAD8AAAAzwAAC0wAAAAAAP////r/////AQAAAAD8AAAAzwAAC0wAAAAAAP////r/////AQAAAAD8AAAAzwAAC0wAAAAAAP////r/////AQAAAAD8AAAAzwAAC0wAAAAAAP////r/////AQAAAAD8AAAAzwAAC0wAAAAAAP////r/////AQAAAAD8AAAAzwAAC0wAAAAAAP////r/////AQAAAAD8AAABOgAADaYAAAAAAP////r/////AQAAAAD8AAABOgAACykAAAAAAP////r/////AQAAAAD8AAAAAP////8AAAAAAP////r/////AQAAAAD8AAABOgAACuEAAAAAAP////r/////AQAAAAD8AAABOgAACNEAAAFZAP////oAAAAAAQAAAAL7/////wEAAAAA/////wAAAVkA////+/////8AAAAAAP////8AAAEEAP///wAACNEAAAYqAAAAAQAAAAIAAAABAAAAAvwAAAAEAAAAAAAAAAEAAAA2AGMAbwBsAGwAYQBwAHMAaQBiAGwAZQBQAGEAbgBlAGwAVABvAG8AbABCAGEAcgBMAGUAZgB0AgAAAAD/////AAAAAAAAAAAAAAABAAAAAQAAADgAYwBvAGwAbABhAHAAcwBpAGIAbABlAFAAYQBuAGUAbABUAG8AbwBsAEIAYQByAFIAaQBnAGgAdAIAAAAA/////wAAAAAAAAAAAAAAAgAAAAAAAAADAAAAAQAAADoAYwBvAGwAbABhAHAAcwBpAGIAbABlAFAAYQBuAGUAbABUAG8AbwBsAEIAYQByAEIAbwB0AHQAbwBtAAAAAAD/////AAAAAAAAAAA=

+ +

87dcd2af-33b5-44d1-8ff8-152a2f151597

+
+

508d28ff-3375-48ce-a75e-f9ad6c8eb4c5

+
+
+ +__MWOPC_PACKAGE_END__