Mitsubishi — 9.4.2 Use DTO / DFROM Instructions to Set up E-CAM Data

9 Electrical CAM CR#10002 : E-CAM Chart Real-time Change [ Explanations ] There are 3 built-in E-CAM charts in PMSoft: E-CAM Chart-0~E-CAM Chart-2. If you need to conduct real-time change of E-CAM chart during program execution, set up this register to designate the E-CAM chart to be enable in the next cycle. Care should be taken on the number of E-CAM charts, which should be as least 2 sets available for the change. The instruction below is the application example. Set D0 = K10002 before the E-CAM Chart real time change. When X0 = ON, set value (0, 1, 2) in D100 indicating the CAM Chart to be selected (E-CAM Chart-0~E-CAM Chart-2) will be written into DVP-PM. X0 CR#10003 :

Smooth Curve Interpolation [ Explanations ] When the original data points are not sufficient for a smoother operation, you can apply Smooth Curve Interpolation. The detailed content of smooth curve interpolation will be explained in 9.4.2.2. Parameters for setting up the function are listed as below. CR#10005 : Read E-CAM status in Capture mode [ Explanations ] DVP-PM Application Manual 9-32 DTO K100 D0 D100 K1 Parameters Data Format Explanations P1 Length of Master Integer Length of master can be modified according to actual needs.

P2 Original data points Integer Data points before interpolation Total points to be inserted Integer Number of points to be equally inserted into the sections between original points. P3 Smoothing coefficient Integer Times of smoothing curve operation 3: 3 times 4: 4 times 5: 5 times 6: 6 times Other: 3 times Cycloid types Integer 0: Uniform B-Spline 1: Non Uniform B Spline 2: C-spline (original data points should be less than 20 points) 3: CC Spline 4: Cycloid