Yaskawa MotionSuite Series Machine Controller Programming Instrukcja Użytkownika Strona 143

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 187
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 142
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-11
4.2.6 Remainder (MOD)
!
!!
! Outline
When designating a block following the division command as a MOD, the remain-
der is stored in a designated variable. Even if the integer and real numbers are mixed
in the block following the division command, the remainder is still stored by the data
type on the left side.
!
!!
! Detailed Explanation
Command Method
Data Type
!
!!
! Program Example
Example: 32-bit Integer Number
Important Point
The MOD command must be designated in the block following the division command.
Bit (B) Integer (W) 32-bit Integer (L) Real (F)
×
$$
×
Type Motion Program Ladder Program
B—
W
MW00101=MW00100/3;
MW00102=MOD;
L
ML00106=ML00102/ML00104;
ML00108=MOD;
F
MW00001=1000/999;
MW00002=MOD;
MW0002=1
MW00100/3 MW00101
MOD
MW00102
MW00102/ML00104 MW00106
MOD
MW00108
ML00106=ML00100*ML00102/ML00104;
(173575) (100000) (60000) (34567)
ML00108=MOD;
(32975)
Przeglądanie stron 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 186 187

Komentarze do niniejszej Instrukcji

Brak uwag