Chapter 14 DMCNET 14.7 Examples 14.7.1 Connecting an Incremental Servo Drive Set P2-08 to 16#10. (Restore the servo drive to its factory setting.) Turn off the servo drive. Turn on the servo drive. Set P1-01 to 16#0B. (Set the servo drive to DMCNET mode.) Set P3-01 to 16#203. (Set P3-01 to Delta DMCNET mode.) Set P2-15 to 16#0000. (Remove the negative limit switch which is connected.) (Users can set P2-15 by themselves.) Set P2-16 to 16#0000. (Remove the positive limit switch which is connected.) (Users can set P2-16 by themselves.) Set P2-17 to 16#0000. (Remove the function of stopping the servo drive in an emergency.) (Users can set P2-17 by themselves.) Set P3-00.
(Set the station address of the servo drive.) The value of P3-00 must be in the range of 16#01 to 16#0C. * There must be a servo drive whose station address is 16#01 on a DMCNET. Turn off the servo drive, and then turn on the servo drive. Set P0-02 to 16#120. If the servo drive is connected successfully, the value shown on the display of the servo drive will be 16#80. If the value shown on the display is 16#06, users have to check whether there is a servo drive whose station address is 16#01. Writing a program Setting a servo drive Write T_DMCControllnit in a program for AH20MC-5A.
In this example, after the PLC used begins to operate, the servo drive whose station address is 1 will be initialized first. After the initialization of the servo drive whose station address is 1 is complete, the value shown on the display of the servo drive will be 16#111, the servo drive will be operable, and the servo drive will be ON. * When the motion control function block T_DMCControllnit is used, only one servo drive can be initialized at a time. 14-17