User manual

4. Motion Control Instructions
DVP-MC operating manual 4-75
4.5.6. MC_GearOut
API
Controller
69
MC_GearOut
Gear-out instruction
10MC11T
Explanation of the instruction
The instruction is applied to disconnect the gear relation between master and slave axis. After disconnection,
slave will keep moving at the speed when the gear relation is disconnected.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
Axis The node address of slave axis. UINT D
Execute
The instruction is executed when “Execute" turns Off –>
On.
BOOL M,I,Q,Constant
Done
As executing "MC_GearOut" is finished, "Done" is on;
As "Execute" is off, "Done" is reset.
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 section 5.3. UINT D
Note:
1. After the execution of MC_GearOut is finished, the slave axis in the original gear relationship can
execute other motion instruction.
2. The sequence for execution of the instructions related with electronic gear
MC_Power
MC_GearIn
MC_GearOut
Rebuild the gear relation after modifying the parameters
while gear is running
Build gear relation
Disconnect gear relation
Rebuild gear relation after disconnecting
the gear relation