![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436222.webp)
212
5-19-10 DOUBLE BCD MULTIPLY – MULL(56)
Md: First multiplicand word (BCD)
IR, SR, AR, DM, HR, TC, LR
Mr: First multiplier word (BCD)
IR, SR, AR, DM, HR, TC, LR
Ladder Symbols
Operand Data Areas
R: First result word
IR, SR, AR, DM, HR LR
MULL(56)
Md
Mr
R
@MULL(56)
Md
Mr
R
Limitations
Md and Md+1 must be in the same data area, as must Mr and Mr+1.
R and R+3 must be in the same data area.
Description
When the execution condition is OFF, MULL(56) is not executed. When the exe-
cution condition is ON, MULL(56) multiplies the eight-digit content of Md and
Md+1 by the content of Mr and Mr+1, and places the result in R to R+3.
Md + 1
Md
Mr + 1
Mr
R + 1
R
R + 3
R + 2
x
Flags
ER:
Md, Md+1,Mr, or Mr+1 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.)
CY:
ON when there is a carry in the result.
EQ:
ON when the result is 0.
5-19-11 BCD DIVIDE – DIV(33)
Dd: Dividend word (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbol
Dr: Divisor word (BCD)
IR, SR, AR, DM, HR, TC, LR, #
Operand Data Areas
DIV(33)
Dd
Dr
R
R: First result word (BCD)
IR, SR, AR, DM, HR, LR
Limitations
R and R+1 must be in the same data area.
BCD Calculations
Section 5-19
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...