Yaskawa MotionSuite Series Machine Controller Programming Bedienungsanleitung Seite 139

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 187
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 138
MotionSuite™ Series Machine Controller Motion Programming Manual Chapter 4: Sequence Commands
4-7
4.2.2 Addition (+)
!
!!
! Outline
The addition function performs integer and real number addition on the right side, and
stores the result in the register on the left side. For the right-side addition, a constant can
also be used instead of the register. Even if the integer and real numbers are mixed, the
result can still be stored by the data type on the left side.
!
!!
! Detailed Explanation
Command Method
Data Types
!
!!
! Program Example
Important Point
When executing the variable calculation which has different data types, the results vary
depending on the data type on the left side. Refer to item 5.1.1Variable Overview for
details.
Bit (B) Integer (W) 32-bit Integer (L) Real (F)
×
$$$
Type Motion Program Ladder Program
B—
W MW00101=MW00100+12345;
L ML00106=ML00102+ML00104;
F MF00202=MF00200+1.23456;
MW
=MW
+MW
;
MW00100+12345MW00101
ML00102+ML00104ML00106
MF00200+1.23456MF00202
Seitenansicht 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 186 187

Kommentare zu diesen Handbüchern

Keine Kommentare