SYSTEM TANK_MVCR

This System Configuration implements a distribution design of the process control example. It is identical to the TANK_MVCL configuration with the exception that the TANK_VIEW device containing the Model+View elements has been converted from an instance of the FRAME_DEVICE type to an instance of the RMT_FRAME type, which can be launched in a separate physical device. Hence, this configuration represents a centralized controller and HMI with distributed I/O.

This System configuration uses the Local Multicast design pattern, as well as UDP multicast, for the communication of data and events among Resources and Devices. The FBDK uses the Tagged Data design pattern to ensure consistency of the communicated events and data, as shown in the following table. As shown in the figures below, this requires the addition of matching TAGS resources to convert between local and UDP multicast in the CTRL and TANK_VIEW Devices (the tagged data is shared via local multicast between the CTRL and RECORDER Devices, which are configured to execute concurrently in the same runtime process).

Name Type UDP Channel Description
MODE BOOL 0=Manual, 1=Automatic
PUMP_POS INT {-359..+359} degrees
PUMP_SPEED UINT 225.0.0.2:1032 {0..100}% => {0..36} degrees per clock tick
SIM_CLK Simulation Clock
SP UINT Set Point, {0..100}%
TANK_LEVEL UINT 225.0.0.3:1033 {0..100}%
VALVE_POS UINT 225.0.0.4:1034 {0..100}% => {closed..open}
CTRL
TANK_VIEW
CTRL.TAGS
TANK_VIEW.TAGS