AH500 Motion Control Module Manual *1: Value of the Master input pin 3. Troubleshooting 4. Modules which are supported The motion control function block T_GearIn supports AH05PM-5A, AH10PM-5A, AH15PM-5A, and AH20MC-5A. 5.10.18 Electronic Cam Motion 1. Motion control function block The motion control function block T_CamIn is used to start electronic cam 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 MasterOffset input pin indicates the starting angle of the master axis specified.
The Reset input pin is used to clear the number of input pulses. If the CamOut input pin is set to True, the slave axis specified will not mesh with the master axis specified. If the CycleStop input pin is set to True when the Enable input pin is reset, cam motion will not stop until a cycle is complete. Please refer to section 8.2.2 for more information. 5-190 Value of output pin Name Function Data Output range Update type InputPulses Number of input pulses DWORD K-2,147,483,648~ K2,147,483,647 When the motion control function block is executed, the value of the InputPulses output pin is updated repeatedly.
InputFreq Frequency of input pulses DWORD K0~K2,147,483,647 When the motion control function block is executed, the value of the InputFreq output pin is updated repeatedly. Value Definition 0 Manual pulse generator 1~16 Motion axis 1~motion axis 16 200 C200 204 C204 208 C208 212 C212 216 C216 220 C220 Error Troubleshooting The values of input pins in the motion control function block are incorrect. Check whether the values of the input pins are in the ranges allowed.