摘要 |
<P>PROBLEM TO BE SOLVED: To highly accurately control a motor by a master/slave type programmable controller which transfers data via a network. <P>SOLUTION: A motor control device includes: a control part (master) for executing a program; an output part (slave) for controlling a motor based on the command of this control part; and a pulse count part (slave) for counting the output pulse of an encoder connected to the motor. A pulse count part stores a counter value obtained by counting a clock with a predetermined frequency synchronously with the output pulse, and transmits the stored counter value and the counter value obtained by counting the output pulse in response to an access request from the control part, and the control part searches the frequency of the output pulse on the basis of the both counter values received from the pulse count part, and transmits a command corresponding to the frequency to the output part. <P>COPYRIGHT: (C)2013,JPO&INPIT |