Yaskawa MotionSuite Series Machine Controller Programming Bedienungsanleitung Seite 143

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 187
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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)
Seitenansicht 142
1 2 ... 138 139 140 141 142 143 144 145 146 147 148 ... 186 187

Kommentare zu diesen Handbüchern

Keine Kommentare