VPLANE Define the coordinate system for Vector Mode |
Syntax
Binary code
// 2D linear interpolated profile. Position feedbacks: 500 lines //incremental encoder
SETMODE 0xCF00; //Clear buffer VPLANE (A, B, C);// X_axis = A, Y_axis = B and Tangent_axis = C RESRATIOX=0u; RESRATIOY=0u; NLINESTAN=2000; MODE VM; // Set Vector Mode // Circular segment of radius 3.14159[mm], with initial angle 0[deg] and angle increment 360[deg]) CIRCLE1 1L, 360.; CIRCLE2 1L, 0.; UPD; //Execute immediate // Insert End Segment VSEG1 0L, 0L; VSEG2 0L, 0L; WMC (A, B, C); // wait for motion completion
|