Omron SYSMAC CP CP1E-N@@D@-@ Manuel d'utilisateur Page 199

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 467
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 198
2-163
2 Instructions
CP1E CPU Unit Instructions Reference Manual(W483)
Symbol Math Instructions
2
+B/+BL
Function
+B
+B(404) adds the BCD values in Au and Ad and outputs the result to R.
+BL
+BL(405) adds the BCD values in Au and Au+1 and Ad and Ad+1 and outputs the result to R, R+1.
Sample program
+
RCY
(BCD)
(BCD)
(BCD)
Au
Ad
CY will turn ON
when there is a
carry.
+
CY R
(BCD)
(BCD)
(BCD)
R+1
Au+1
Ad+1
Au
Ad
CY will turn ON
when there is a
carry.
+B
D100
D110
D120
0.00
+BL
D100
D110
D120
0.00
When CIO 0.00 is ON in the following example, D100 and
D110 will be added as 4-digit BCD values, and the result will
be output to D120.
When CIO 0.00 is ON in the following example, D101 and
D100 and D111 and D110 will be added as 8-digit BCD
values, and the result will be output to D121 and D120.
Vue de la page 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 466 467

Commentaires sur ces manuels

Pas de commentaire