EasyManuals Logo
Home>Omron>Controller>CPM1

Omron CPM1 Programming Manual

Omron CPM1
541 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #324 background imageLoading...
Page #324 background image
303
Binary Calculation Instructions Section 5-21
5-21-7 SIGNED BINARY MULTIPLY – MBS(––)
Limitations This instruction is available in the CQM1-CPU4@-E/-EV1 only.
DM 6143 to DM 6655 cannot be used for R.
Description MBS(––) multiplies the signed binary content of two words and outputs the 8-
digit signed binary result to R+1 and R. The rightmost four digits of the result
are placed in R, and the leftmost four digits are placed in R+1.
Note Refer to 1-10 Calculating with Signed Binary Data for more details.
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ: ON when the result is 0000 0000, otherwise OFF.
Example In the following example, MBS(––) is used to multiply the signed binary con-
tents of DM 0010 with the signed binary contents of DM 0012 and output the
result to DM 0100 and DM 0101.
Md: Multiplicand word
IR, SR, AR, DM, HR, TC, LR, #
Mr: Multiplier word
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR LR
MBS(––)
Md
Mr
R
@MBS(––)
Md
Mr
R
Md
Mr
R +1 R
X
MBS(––)
DM 0010
DM 0012
DM 0100
Address Instruction Operands
00000 LD 00100
00001 MBS(––)
DM 0010
DM 0012
DM 0100
00100
Md: DM 0010
15B1
Mr: DM 0012
FC 1 3
R: DM 0100
D8 2 3
X
R+1: DM 0101
FF AA
(5,553)
(–1,005)
(–5,580,765)

Table of Contents

Other manuals for Omron CPM1

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CPM1 and is the answer not in the manual?

Omron CPM1 Specifications

General IconGeneral
BrandOmron
ModelCPM1
CategoryController
LanguageEnglish

Related product manuals