



The ASM_MVL
system configuration implements the layered
Model+View
testing architecture for the assembly example as
follows:
-
The
HMI
Device provides instances of theIN_BOOL
type for user input of actuator values and display of sensor values. -
The
MODEL.ASSEMBLY
Resource is configured identically to theVIEW.ASSEMBLY
Resource of theASM_VIEWL
configuration to provide the View elements for the Model. -
The remaining Resources of the
MODEL
Device are configured as follows to simulate the behavior of the physical elements of this example:-
The
PRESS_MDL
Resource provides an instance of theXBAR_MDLL
type to model the press. -
The
TRANSPORT_MDL
Resource provides an instance of theDSCYL_MDLL
type to model the dual-stroke cylinder, as well as an instance of theLOADL
type to model the assembly operation. -
The
CLOCK
Resource provides an instance of theE_CYCLE
type to provide a simulation clock for the model elements.
-
The
This System configuration uses the Local Multicast design pattern for the communication of data and events among Resources. The FBDK uses the Tagged Data design pattern to ensure consistency of the communicated events and data, as shown in the table below.
Tag Name | Type(s) | Description |
---|---|---|
ASSEMBLE
|
|
Intra-Model Assembly Event
|
PRESS_ACT
|
BOOL,BOOL
|
PRESS_FWD, PRESS_REV
|
PRESS_SENSE
|
BOOL,BOOL
|
PRESS_HOME, PRESS_AT_END
|
SIM_CLK
|
|
Model Simulation Clock
|
TRANSPORT_ACT
|
BOOL,BOOL,BOOL
|
CYL1_ADVANCE, CYL2_ADVANCE, CYL12_RETRACT
|
TRANSPORT_SENSE
|
BOOL,BOOL,BOOL
|
HOME, MID, END
|







