摘要 |
<p>An apparatus for synchronously controlling the actual operation of a machine using one or more motors, such as servo motors, by simulating in program form a combination of selectable machine mechanisms, including drivers, connecting shafts, clutches, gears and cams. Each such machine mechanism is represented virtually, preferably as a software module that contains information uniquely identifying the module, operation information that defines the generation of position information and connection information that defines other modules to which connection is made. The software modules comprise drive modules for generating position information, transmission modules for simulating the transmission mechanisms and output modules for outputting motor commands. The combinations of such modules for control of a motor may be considered as a block and a plurality of blocks can define the control of a machine that requires a plurality of motors for operation. The modules may be interactively defined by an operator with the use of a display system that presents an operator with a standard module menu, using graphics or icons that identify each module function, and permits the operator to select desired modules, define parameters and input values as may be appropriate. The display system also permits the modules to be combined in desired arrangements of one or more blocks, and connection information among modules to be thereby established. The assembled blocks, based on the input parameters and values, the generated connection information and the operational expressions for each included module, form the basis for the automatic generation of a program that emulates the machine's operation. The program may be used as the basis for control of the one or more servo motors that combine to establish the machine's operation.</p> |