EasyManuals Logo

Omron SYSMAC C200HS User Manual

Omron SYSMAC C200HS
503 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 #240 background imageLoading...
Page #240 background image
230
Example In
the following example, MBS(––) is used to multiply the signed binary contents
of IR 001 with the signed binary contents of DM 0020 and output the result to
LR 21 and LR 22.
MBS(––)
001
DM 0020
LR 21
Address Instruction Operands
00000 LD 00000
00001 MBS(––)
001
DM 0020
LR 21
00000
Md:
IR 100
15B1
Mr: DM 0020
FC13
R: LR 21
D82 3
X
R+1: LR 22
FFAA
(5,553)
(–1,005)
(–5,580,765)
5-20-8 DOUBLE SIGNED BINARY MULTIPLY – MBSL(––)
Md: First multiplicand word
IR, SR, AR, DM, HR, TC, LR
Mr: First multiplier word
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR LR
MBSL(––)
Md
Mr
R
@MBSL(––)
Md
Mr
R
Limitations Md
and Md+1 must be in the same data area, as
must Mr and Mr+1, and R and
R+3.
Description MBSL(––)
multiplies the 32-bit (8-digit) signed binary data in Md+1 and Md with
the 32-bit signed binary data in Mr+1 and Mr, and outputs the 16-digit signed
binary result to R+3 through R. Refer to page 29 for details on signed binary
data.
Md
+ 1
Md
Mr + 1
Mr
R + 1
R
R + 3 R + 2
x
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 zero (content of R+3 through R all zeroes), other
-
wise OFF.
Binary Calculations Section 5-20

Table of Contents

Other manuals for Omron SYSMAC C200HS

Questions and Answers:

Question and Answer IconNeed help?

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

Omron SYSMAC C200HS Specifications

General IconGeneral
BrandOmron
ModelSYSMAC C200HS
CategoryController
LanguageEnglish

Related product manuals