Delta-electronics Programmable Logic Controller DVP-PLC Instrukcja Użytkownika Strona 546

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 586
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 545
9 Application Instructions API 150-199
DVP-PLC Application Manual
9-74
Program Example 2:
When X1 = On, M1097 = On, indicating a right matrix rotation is performed. The 16-bit registers D0 ~ D2 will perform
a right matrix rotation and the result will be stored in the matrix of the 16-bit registers D20 ~ D22. The carry flag
M1095 will be “0”.
X1
MBRP D0 D20 K3
M1097
Before
Execution
After right
rotation
M1097=0
1
b0
0101010101
0
101
1010101010101010
101101010101010
b15
0
0
10101010101
0
101
1010101010101010
1011010101010100
0
0
M1095
M1095
MBR
Remarks:
Flag explanations:
Flags Function
M1095 Matrix rotation/displacement/output carry flag.
M1097 Matrix rotation/displacement direction flag.
Przeglądanie stron 545
1 2 ... 541 542 543 544 545 546 547 548 549 550 551 ... 585 586

Komentarze do niniejszej Instrukcji

Brak uwag