


This System Configuration illustrates the use of the Local Multicast design pattern to implement the Time-Stamped Messaging design pattern. As shown at right:
- The
AGENT1
resource of theAGENTS
device contains an instance of theREQUESTER
FB type to simulate the operation of a software agent.- An event from an
IN_EVENT
button triggers the operation of an instance of theE_TRAIN
type. - The
E_TRAIN
outputs drive an instance of theRQSTR_TGEN
type to produce a sequence of test events and data for the simulated agent. - The resulting outputs from the simulated agent are then
converted to service primitive format by an instance of the
E_TO_PRIM2
type, time stamped by an instance of theSTAMP_MSG
type, and transmitted for logging via theMSG_LOG
local multicast channel.
- An event from an
- the
LOG_RES
of theLOG
device receives the generated service primitive reports from theMSG_LOG
local multicast channel and displays them on an instance of theMSG_LOG
HMI FB type.
The figure below shows the result of clicking the Agent 1 button; waiting 6 seconds for the sequence of messages to complete; clicking the Agent 2 button and waiting again; then clicking the Agent 1 button immediately followed by the Agent 2 button.
