
This System Configuration implements the layered Model+View+Control+Diagnostics testing architecture for the pallet handling example.The screenshot above shows the result of performing the following actions:
- Launching the configuration.
- Clicking the RESET button to initialize the system.
- Clicking the LOAD button to load a pallet onto the FEED conveyor.
- Clicking the RUN button.
- Allowing the system to run through Steps 1-5 shown in the animation.
- Causing a fault by clicking on the lifter as it is moving down.
As shown below, this System configuration is created by simply
adding a DIAGNOSTICS
device to the LIFTER_MVCL
configuration. This device contains a MONITOR
Resource to detect the fault conditions, and a LOG
device to record the detected fault conditions.
The use of the local
multicast and Tagged
Data design patterns enables the insertion of the DIAGNOSTICS
Device into the System configuration without any modification of the
Tag data base except the
addition of the two Diagnostics-related channels shown in the table
below.
Tag Name | Type(s) | Description |
---|---|---|
DIAG
|
WSTRING,WSTRING
|
SRC(Source), COND (Condition)
|
DIAG_CLK
|
|
Diagnostic Sampling Clock
|



