The VesselControlSystem The purpose of this very simple example is to show how a cluster of synchronously interacting processes is specified. The example is complete and executable code can be generated for this CIP model.
|
External
Processes
A vessel is equipped with two discrete level sensors detecting when the vessel becomes full or empty. Two valves, which can be opened and closed by the system, serve to fill and empty the vessel. Two radio-buttons are used to activate and deactivate the system. A green and a red lamp serve to indicate the system activity. Functional Requirements CIP Specification COMMUNICATION NET
The system consists of the VesselControl cluster only. The communication net contains correspondingly source and sink channels only. They model the interface to the real external processes. INTERACTION NET
The straight connectors define the possible pulse transmission paths. The diamond connector enables the vessel process to inspect the RadioButtons process by means of inquiry calls. PROCESS RadioButtons
The inquiry isOn is a state vector access function of the process RadioButtons. Such functions return in general information depending on the process state and on the local process variables in the case of extended state machines.
PROCESS Vessel
For an occurring Emptied message in the state draining two state transitions are possible (switch). The non-determinism is resolved by allocated disjoint conditions. The inquiry call returns true when the RadioButtons process is in the on state. PROCESS Lamps
|