摘要 |
PURPOSE:To control a motor so as to have a speed and acceleration for the purpose by storing a plurality of kinds of cam curve table and by allowing a free choice from among them. CONSTITUTION:When data is inputted from a keyboard 10 concerning the moving distance, etc., of an object for a motor to drive and concerning the kinds of cam curve tables 501 to 50n, a data input section 20 outputs an NC command corresponding to this entry and this NC command is stored into a memory 30. An interpreter 40 fetches NC commands one after another from the memory 30 and executes. A cam curve command section 60 selects one of the tables 501 to 50n out of the data of a kind of cam curves given by the interpreter 40 and works out a command value to satisfy the stroke and a moving time given by the interpreter 40. Based on the command value worked out by the command section 60 a positioning servo driver 70 controls a motor 80 so that the motor rotating position may coincide with the command value. |