Yaskawa MotionSuite Series Machine Controller Programming Manuel d'utilisateur Page 139

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 187
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 138
1 2 ... 134 135 136 137 138 139 140 141 142 143 144 ... 186 187

Commentaires sur ces manuels

Pas de commentaire