Chapitre 12
Applications de commande de mouvement
CAP
amount
ID350 (P5.058)
Call PR#45
ID351 (P5.059.U) Bit 0 = 1
398
Exemple 1 :
Si ID179 (P1.097) = 5 ; ID153 (P1.046) = 2 500
OA/OB output
Exemple 2 :
Si ID179 (P1.097) = 5 ; ID153 (P1.046) = 2 500
OA/OB output
Figure 188 - Organigramme de comparaison de position haute vitesse
Data array
Start address
1234
ID348 (P5.056)
2345
5678
6789
CMP switch
7890
ID351 (P5.059.X) Bit0
ID351 (P5.059.Z) = 0
DO4
DO4
ID351 (P5.059.Z) = 1
ID350 (P5.058) = ID350 (P5.058) - 1
Cyclic CMP
ID351 (P5.059.X) Bit 1 = 1
ID350 (P5.058) = Previous setting
value
Publication Rockwell Automation 2198-UM004C-FR-P - Août 2021
2500
----------
=
=
500 pulses
5
2500
----------
357,142857 pulses
=
=
7
CMP axis
position 7890
≥
CMP trigger logic
Normally open
Pulse output duration
ID351 (P5.059.CBA)
Normally closed
CMP amount
CMP completed?
ID350 (P5.058) = 0
Yes
Enable CAP after
completed
ID351 (P5.059.X) Bit 2 = 1
CMP axis source
AUX ENC ID351 (P5.059.Y) = 1
CMP axis
Pulse Cmd ID351 (P5.059.Y) = 2
position
Main ENC ID351 (P5.059.Y) = 3
ID349 (P5.057)
No
CMP axis position resets to
ID351 (P5.059.X) Bit 3 = 1
0