Chapter 5 Applied Instructions *1: Value of the AccCurve input pin *2: Value of the eCamCurve input pin 3. Troubleshooting 4. Modules which are supported The motion control function block T_CamCurve supports AH05PM-5A, AH10PM-5A, AH15PM-5A, and AH20MC-5A. 5.10.23 Updating a Cam Curve 1. Motion control function block The motion control function block T_CamCurveUpdate is used to update a cam chart so that the cam curve in the next can cycle is the cam curve created by means of the motion control function block T_CamCurve. The value of the Axis input pin indicates an axis number. 2.
Input pins/Output pins 5-203 Value of output pin Name Function Data Output range Time when a value is valid type SyncEnd Terminal point of synchronization DWORD K0~K2,147,483,647 When the motion control function block is executed, the value of the SyncEnd output pin is updated repeatedly. Value Definition 0 Uniform curve 1 Uniform acceleration curve 2 SingleHypot curve 3 Cycloid Value Definition 0 leftCAM 1 midCAMall 2 midCAMbegin 3 midCAMend 5 rightCAM 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.
Input pin Name Function Data Setting value Time when a value is valid type Axis Motion axis number WORD 1~16 The value of the Axis input pin is valid when there is a transition in the Execute input pin’s signal from low to high. Execute When there is a transition in the Execute input pin’s signal from low to high, the update of a cam curve is BOOL True/False -