2 Functions of Devices in DVP-PLC e) Calculate the frequency and number of output pulses in each section Destination: Draw 10 sections of arcs clockwise until they reach (50,000, 50,000) (see Figure 10) Rx = target value in X; Ry = target value in Y; N = number of sections; π = 3.1416 Y (x10,y10) X (Rx,0) (Figure 10) Step 1: Calculate the position for each section x 1 = Rx – Rx Ч sin [(N-1) Ч π ч (2 Ч N)] x 2 = Rx – Rx Ч sin [(N-2) Ч π ч (2 Ч N)] …. See Table 3 y 1 = Ry Ч sin [1 Ч π ч (2 Ч N)] y 2 = Ry Ч sin [2 Ч π ч (2 Ч N)]….
See Table 4 (Table 3) (Table 4) DVP-PLC Application Manual 2-102 ,Ry) (x9,y9) (x7,y7) (x8,y8) (x6,y6) (x5,y5) (x4,y4) (x3,y3) (x2,y2) (x1,y1) (0,0) x 1 x 2 x 3 x 4 x 5 Position With decimal 615.55 2,447.12 5,449.61 9,549.08 14,464.59 point Without 615 2,447 5,449 9,549 14,464 decimal point x 6 x 7 x 8 x 9 x (R ) 10 X Position With decimal 20,610.67 27,300.42 34,549.11 42,178.25 50,000 point Without 20,610 27,300 34,549 42,178 50,000 decimal point y 1 y 2 y 3 y 4 y 5 Position With decimal 7,821.74 15,450.88 22,699.57 29,389.32 35,355.40 point Without 7,821 15,450 22,699 29,389 35,355 decimal point y 6 y 7 y 8 y 9 y (R ) 10 y Position With decimal 40,450.91 44,550.38 47,552.87 49,384.44 50,000 point Without 40,450 44,550 47,552 49,384 50,000 decimal point