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

  • 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 543
9 Application Instructions API 150-199
DVP-PLC Application Manual
9-72
Program Example 2:
When X1 = On, M1097 = On, indicating a right matrix displacement is performed. Set M1096 = 1 and the 16-bit
registers D0 ~ D2 will perform a right matrix displacement and the result will be stored in the matrix of the 16-bit
registers D20 ~ D22. The carry flag M1095 will be “0”.
X1
M1097
MBSP D0 D20 K3
1
b0
0101010101
0
101
1010101010101010
1011010
10
101010
b15
0
0
10101010101
0
101
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
111010101010100
0
S
D
0
M1095
M1095
MBS
M1097=1
1
1
M1096
Carry flag
Carry flag
Before
execution
Complement
flage
After the execution of
right matrix displacement
Explanations:
Flag explanations:
Flags Function
M1095 Matrix rotation/displacement/output carry flag.
M1096 Matrix displacement/input complement flag.
M1097 Matrix rotation/displacement direction flag.
Vue de la page 543
1 2 ... 539 540 541 542 543 544 545 546 547 548 549 ... 585 586

Commentaires sur ces manuels

Pas de commentaire