A workcell is an anonymously instantiated object which communicates with other similar objects using a message based asynchronous network. This model is base don industrial automation which uses autonomous workcells and simple networking.
A star topology is used where all workcells connect to a central hub, also a workcell, which queues and forwards messages between objects.
A workcell is derived from a high level Tkinter class like Toplevel, Labelframe or Frame and a Transceiver class for communications.
Each workcell has a unique name and each message consists of a unique message tag and payload. The message tag is created by concatenating a workcell name, which is guaranteed to be unique and a non unique trigger.
Each workcell will have a dynamically created dictionary which associates message tags with internal tasks. If or how a workcell responds to a message depends only on its internal state.
Features
- Based on Python and Tkinter
- Simple and easy to use peer to peer asynchronous object communication.
- Suitable for projects with high level of both user and hardware asynchronous interaction .
- Workcells model is also applicable to browser add ons using JavaScript.