4. Motion Control Instructions 4.4.17. DMC_DisableAxis Explanation of the Instruction: The instruction is applied to disable the axes configured inside DVP10MC11T. For example, actually only 9 axes among 10 axes configured in the controller are available and the unavailable axis left which may be damaged can be controlled as a disabled axis via this instruction. That is, the controller has no connection with the axis specified by the instruction any more. The instruction can be performed only when the controller does not make any connection with the axis specified by the instruction. Otherwise, an error will occur.
For example, axis 2 among the 10 axes configured inside the controller is damaged. The motion program can’t be performed before the instruction is performed. Make sure the controller and all configured axes have made connection before the motion program is performed. And so the motion control program can be performed after the instruction is performed for axis 2. It is recommended that the instruction should be included in the logic program. Explanation of input and output parameter of the instruction: Notes: 1. After DVP10MC11T is repowered on and the instruction is re-executed, the specified axis can be disabled. 2. The V1.04 or above firmware supports this function.
DVP-MC operating manual 4-53 API DMC DisableAxis _ Disable an axis Applicable Model 17 10MC11T Available Parameter name Explanation Data type device Axis Node ID of the servo drive UINT Constant, D Execute This instruction is executed when “Executed” changes from OFF to ON. BOOL M,I,Q, constant Done "Done” is on when the instruction execution is finished; “Done” is reset when “Executed” changes to OFF. BOOL M,Q Error If any error is detected, "Error" turns on; when "Execute" turns off, "Error" is reset. BOOL M,Q ErrorID Error code. Please refer to selection 5.3. UINT D