31.01.2014 Views

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

7.3. Concrete Syntax for Graph Bindings<br />

7.3.3. gEmbeddedStateMachine Graph Type<br />

The gEmbeddedStateMachine graph type syntax is similar to the gEVCStateMachine, but<br />

is also used, as the gMainFunctionBlock and gSubFunctionBlock graph typ<strong>es</strong>, to define the<br />

functionality or rather the behaviour in a certain EVC Mode. In contrast to those graph typ<strong>es</strong><br />

that are used to model data flows, this graph type is used to specify control flows. Experience<br />

with system modelling shows that the specification of data flows alone is insufficient in most<br />

cas<strong>es</strong> because a separate means for modelling control is needed [8]. For example, to model<br />

communication protocols. The syntax definition of the gEmbeddedStateMachine graph type is<br />

shown in Figure 7.8, which only differs from Figure 7.3 in the object type used for stat<strong>es</strong>. Of<br />

gEmbeddedStateMachine<br />

InitialTransition<br />

StateTransition<br />

CurrentState<br />

1...1<br />

NextState<br />

1...1<br />

CurrentState<br />

1...1<br />

NextState<br />

1...1<br />

oEmbeddedInitialState<br />

1...1<br />

oEmbeddedState<br />

1...1<br />

oEmbeddedState<br />

1...*<br />

oEmbeddedFinalState<br />

1...*<br />

Figure 7.8.: gEmbeddedStateMachine binding syntax<br />

course, it is also meaningful to pr<strong>es</strong>ent instanc<strong>es</strong> of gEmbeddedStateMachine as matrix as for<br />

gEVCStateMachine, but for a smaller amount of stat<strong>es</strong> the “normal” graphical repr<strong>es</strong>entation<br />

might provide the same or even better abstraction. Therefore, the repr<strong>es</strong>entation kind for this<br />

graph type can be chosen accordingly to the concrete state machine to be modelled.<br />

7.3.4. gCommunicationSen<strong>der</strong> Graph Type<br />

The purpose of gCommunicationSen<strong>der</strong> graphs is to compose telegrams with data from gFunctionBlock<br />

graphs and to transmit them via a communication device. Currently, for this case<br />

study, only Eurobalis<strong>es</strong> [84] are used. The object typ<strong>es</strong> they operate on are oTelegram, oPacket,<br />

oVariableInstace, oVariableStorage, and the different devic<strong>es</strong> typ<strong>es</strong> for transmission. To model<br />

or specify operations on an oTelegram, an oVariableStorage object can be connected by a<br />

DataFlow relationship with an oVariableInstance object. Composition of gPacket objects by<br />

oVariableInstance objects is modelled by graphical containment. The same is done for the<br />

composition of oTelegram objects. Composed oTelegram objects can also be connected by a<br />

DataFlow relationship with a certain sending device to specify the transmission of a telegram.<br />

93

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!