Omron SYSMAC CP Series Instruction & Reference Manual page 216

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
Function
*B
*B(424) multiplies the BCD content of Md and Mr and outputs the result to R, R+1.
*BL
*BL(425) multiplies BCD values in Md and Md+1 and Mr and Mr+1 and outputs the result to R, R+1,
R+2, and R+3.
Sample program
0.00
0.00
2-180
Md
×
Mr
R + 1
R
Md + 1
Md
×
Mr + 1
Mr
R + 3
R + 2
R + 1
R
*B
When CIO 0.00 is ON in the following example, D100
and D110 will be multiplied as 4-digit BCD values and
D100
the result will be output to D121 and D120.
D110
D120
When CIO 0.00 is ON in the following example, D101,
*BL
D100, D111, and D110 will be multiplied as 8-digit
D100
unsigned BCD values and the result will be output to
D123, D122, D121 and D120.
D110
D120
(BCD)
(BCD)
(BCD)
(BCD)
(BCD)
(BCD)
CP1E CPU Unit Instructions Reference Manual(W483)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents