Omron SYSMAC CP CP1E-N@@D@-@ Manual do Utilizador Página 199

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 467
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 466 467

Comentários a estes Manuais

Sem comentários