A Distributed Problem Solving (DPS) architecture (SCOPE) for the control of Flexible Manufacturing Systems is presented. The controller kernel is intended to be easily adapted for different manufacturing systems, and we propose this as a basis for the standardization of control architectures from the point of view of control system designers. Our concern is the dynamic (rapid) generation of flexible solutions to a control problem with several discrete decision variables. Each node consists of the object class (or classes) that it deals with, its local model (which describes the dynamics of the node), and a set of problem solving agents (knowledge sources), that could be invoked by this node. An object class is represented by a Petri net with an object orientated interpretation (PNO), and acts as a structured local database or a local hypothesis register. The local model indicates the conditions under which this problem solving node could invoke any of its agents, and also when a node demands the services of another node, this demand is formulated through the local model. A node calling for the treatment of its local hypothesis modification does not know the node which will respond. Inside a node its KSs are also disconnected (uncoupled), and react in an opportunistic manner. This control structure permits parallel activation of KSs. The protocols for activation, running, termination (normal and abnormal) and resumption of the different KS types are specified with generic Petri net structures. A detailed description of the problem solving mechanism in SCOPE is given for the activities involving the Batching node.