The ASM_MVL system configuration implements the layered
Model+View
testing architecture for the assembly example as
follows:
-
The
HMIDevice provides instances of theIN_BOOLtype for user input of actuator values and display of sensor values. -
The
MODEL.ASSEMBLYResource is configured identically to theVIEW.ASSEMBLYResource of theASM_VIEWLconfiguration to provide the View elements for the Model. -
The remaining Resources of the
MODELDevice are configured as follows to simulate the behavior of the physical elements of this example:-
The
PRESS_MDLResource provides an instance of theXBAR_MDLLtype to model the press. -
The
TRANSPORT_MDLResource provides an instance of theDSCYL_MDLLtype to model the dual-stroke cylinder, as well as an instance of theLOADLtype to model the assembly operation. -
The
CLOCKResource provides an instance of theE_CYCLEtype 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
|