![Omron SYSMAC C200HE Скачать руководство пользователя страница 253](http://html1.mh-extra.com/html/omron/sysmac-c200he/sysmac-c200he_operation-manual_742434253.webp)
235
5-19-9
BCD MULTIPLY – MUL(32)
Md
: Multiplicand (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Mr
: Multiplier (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R
: First result word
IR, SR, AR, DM, HR LR
MUL(32)
Md
Mr
R
@MUL(32)
Md
Mr
R
Limitations
R and R+1 must be in the same data area.
Description
When the execution condition is OFF, MUL(32) is not executed. When the
execution condition is ON, MUL(32) multiplies Md by the content of Mr, and
places the result In R and R+1.
Md
Mr
R +1
R
X
Example
When IR 00000 is ON with the following program, the contents of IR 013 and DM
0005 are multiplied and the result is placed in HR 07 and HR 08. Example data
and calculations are shown below the program.
MUL(32)
013
DM 0005
HR 07
00000
R+1: HR 08
R: HR 07
0
0
0
8
3
9
0
0
Md: IR 013
3
3
5
6
Mr: DM 0005
0
0
2
5
X
Address
Instruction
Operands
00000
LD
00000
00001
MUL(32)
013
DM
00005
HR
07
Flags
ER:
Md and/or Mr is not BCD.
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 0.
BCD Calculations
Section 5-19
Содержание SYSMAC C200HE
Страница 1: ...Cat No W303 E1 09 OPERATION MANUAL Programmable Controllers C200HX C200HG C200HE ...
Страница 2: ......
Страница 3: ...C200HX C200HG C200HE Programmable Controllers Operation Manual Revised August 2004 ...
Страница 6: ...vi ...
Страница 10: ......
Страница 12: ......
Страница 380: ......
Страница 410: ......
Страница 438: ......
Страница 464: ......
Страница 474: ......
Страница 522: ......
Страница 538: ......
Страница 552: ...534 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 554: ......
Страница 560: ......
Страница 584: ......
Страница 585: ......
Страница 586: ...W303 E1 09 ...