Delta-electronics Programmable Logic Controller DVP-PLC Manuel d'utilisateur Page 556

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 586
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 555
9 Application Instructions API 150-199
DVP-PLC Application Manual
9-84
K0
D214
M1029
DCIMR
Y0
END
K0D210DCIMR Y0
K0D206DCIMR Y0
K0D202DCIMR Y0
= D0 K1
= D0 K2
= D0 K4
M0
K1 D0
D0
M0 M1029
3. Motion explanation:
When PLC RUN and M0 = On, PLC will start the drawing of the first segment of the arc. D0 will plus 1 whenever a
segment of arc is completed and the second segment of the arc will start to execute automatically. The same
motion will keep executing until the fourth segment of arc is completed.
Program Example 2:
1. Draw a tilted ellipse as the figure below.
Y
X
(0,0)
(26000,26000)
(34000,18000)
(8000,-8000)
2. Steps:
a) Find the max. and min. coordinates on X and Y axes (0,0), (26000,26000), (34000,18000), (8000,-8000) (as the
figure above). Calculate the relative coordinates of the four points and obtain (26000,26000)(8000,-8000)
(-26000,-26000), (-8000,8000). Place them respectively in the 32-bit (D200,D202), (D204,D206), (D208,D210)
and (D212,D214).
b) Select “draw clockwise arc” and “average resolution” (S = K0).
c) Select DCIMR instruction for drawing arc and write program codes as follows.
d) PLC RUN. Set M0 as On and start the drawing of the ellipse.
Vue de la page 555
1 2 ... 551 552 553 554 555 556 557 558 559 560 561 ... 585 586

Commentaires sur ces manuels

Pas de commentaire