摘要 |
PURPOSE:To dissolve complicatedness of commanding positions, by setting the multiple of the minimum unit of a position detector by means of a controller. CONSTITUTION:A DC motor controlling system sets a DC motor M at the center of the full bridge of four pieces of transistors (TR) Q and connects the motor M with the TRs Q and the motor M is rotated in the normal and reverse directions by driving the TRs Q by means of a microcomputer MPU1. Moreover, an encoder E is directly connected with the shaft of the motor M and the speed and position of the motor M are inputted in the microcomputer MPU1 through an up-down counter circuit UDCNT. In addition, various commands are inputted in an interface circuit INF1. In this invention, a step pitch command SP which can change and set the minimum unit of position is inputted in the microcomputer MPU1 and a pulse number, PCXSP, is moved by using the SP as the minimum unit of position and in accordance with the input of a positional command PC. Therefore, the positional command PC can be commanded easily, when the minimum unit to be moved is set in the step pitch command SP at every shaft. |