4. Motion Control Instructions 4.5.5. MC_GearIn The instruction is applied to establish the gear relation between master and slave axis. While the gear relation is being established, the parameters like gear ratio can be set. After the gear relation is established, slave axis will follow master axis to move at the given proportional relationship to accomplish the synchronized control of master and slave axis. Master and slave axes could be real or virtual axis or the external encoder master axis and etc. Explanation of the instruction: Explanation of input and output parameter of the instruction:
DVP-MC operating manual 4-85 API Gear-in instruction Controller 68 MC GearIn _ 10MC11T Parameter Data Available Explanation name type device Axis The slave axis number UINT Constant, D Master The master axis number. We suggest that the master axis number should be less than the slave axis number so that the slave axis could better follow the master axis for gear motion. The axis number can be set in order of 1~24 from small to large. UINT Constant, D Execute This instruction is executed when “Execute” turns Off –> On.
BOOL M,I,Q, Constant, RatioNumerator Numerator data of electronic gear (This parameter can not be 0) REAL Constant, D Ratio Denominator Denominator data of e-gear (this parameter can not be 0); when gear ratio is negative, it indicates the directions for the master and slave axis are opposite. Gear ratio represents the ratio of the numbers of the teeth. REAL Constant, D Acceleration When Cam-in, the acceleration of the terminal actuator corresponding to slave axis, unit: Unit/ second2 (The parameter is always positive). REAL Constant, D Deceleration When Cam-in, the deceleration of the terminal actuator corresponding to slave axis, unit: Unit/ second2 (The parameter is always positive).
REAL Constant, D