Simulating the execution of four nodes

Distributed Synthesis

Many automation systems are so complex that they consist of a number of electronic control units. For example, multiple programmable logic controllers (PLC) – each one dedicated to a specific aspect of a production process – might communicate with each other in order to achieve a global goal. MGSyn supports synthesis of individual control programs for each of the controllers in such a scenario.

The screenshot on the right shows the simulated execution of four individual control programs in order to achieve a global goal: the red, green, blue and yellow console windows represent one so-called node each. A node can be a PLC, an industrial PC (IPC), a microcontroller-based system or – like in this case – a "virtual" node that is simulated on the host PC where the MGSyn modeling tool is running on.

In the scenario at hand, the four nodes cooperate to achieve the goal "drill and mount a cap on the work piece at position A in the storage if it is red and small". The fact that a work piece is red can only be detected by the yellow node ("e-st"), which corresponds to the storage MPS unit. Smallwork pieces can only be detected by the red processing node ("e-pr"). The blue node ("e-pp") represents a pick & place station, which can mount a cap on a work piece. Finally, the green node ("e-cb") controls a conveyor belt which is required to transport the work piece between processing stations.

The communication between the nodes is optimized to only exchange the state information needed to achieve the global goal. Communication can take place over arbitrary media that allow bidirectional communication and has been implemented via IP over Ethernet using the UDP and TCP protocols.