AH500 Motion Control Module Manual 5.10.17 Electronic Gear Motion 1. Motion control function block The motion control function block T_GearIn is used to start electronic gear motion. The value of the Master input pin indicates a master axis, and the value of the Slave input pin indicates a slave axis. The motion of the slave axis specified follows the motion of the master axis specified. The value of the RatioNum input pin is the numerator of an electronic gear ratio. The value of the RatioDen input pin is the denominator of an electronic gear ration. The Reset input pin is used to clear the number of input pulses. 2.
Input pins/Output pins 5-188 Input pin Name Function Data Setting value Time when a value is valid type Master Master axis number WORD 0~16, 200, 204, 208, 212, 216, 220 (*1) The value of the Master input pin is valid when there is a transition in the Enable input pin’s signal from low to high. Slave Slave axis number WORD 1~16 The value of the Slave input pin is valid when there is a transition in the Enable input pin’s signal from low to high. Enable Enabling electronic gear motion BOOL True/False - Reset Resetting the InputPulses output pin BOOL True/False The value of the Reset input pin is valid when there is a transition in the Enable input pin’s signal from low to high.
RatioNum Numerator of an electronic gear ratio DWORD K-32,767~K32,767 When the motion control function block is executed, the value of the RatioNum input pin is updated repeatedly. RatioDen Denominator of an electronic gear ratio DWORD K1~K32,767 When the motion control function block is executed, the value of the RatioDen input pin is updated repeatedly.