Mitsubishi — 5.10.22 Creating a Cam Curve

AH500 Motion Control Module Manual 3. Troubleshooting 4. Modules which are supported The motion control function block T_CamSyncRatio supports AH05PM-5A, AH10PM-5A, AH15PM-5A, and AH20MC-5A. 5.10.22 Creating a Cam Curve 1. Motion control function block The motion control function block T_CamCurve is used to create a cam curve. The value of the Axis input pin indicates an axis number. The value of the MLength input pin, the value of the SLength input pin, the value of the SSyncRatio input pin, and the value of the SMaxRatio input pin indicate the physical quantity needed to generate a cam curve. The value of the AccCurve input pin and the value of the eCamCurve determine a cam curve type.

Please refer to section 8.4.2 for more information. 2. Input pins/Output pins 5-200 Value of output pin Name Function Data Output range Time when a value is type valid SRatio Ratio of the distance for which a slave axis moves to the number of pulses for which the slave axis moves DWORD K-2,147,483,647~ K2,147,483,647 The value of the SRatio output pin is valid when there is a transition in the Done output pin’s signal from low to high. SyncRatio Synchronization ratio DWORD K-2,147,483,647~ K2,147,483,647 The value of the SyncRatio output pin is valid when there is a transition in the Done output pin’s signal from low to high.

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.