Omron SYSMAC C200H Installation Manual page 143

Programmable
Hide thumbs Also See for SYSMAC C200H:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
ROTATE RIGHT
(@)ROR(28)
COMPLEMENT
(@)COM(29)
BCD ADD
(@)ADD(30)
BCD SUBTRACT
(@)SUB(31)
BCD MULTIPLY
(@)MUL(32)
BCD DIVIDE
(@)DIV(33)
LOGICAL AND
(@)ANDW(34)
Data Areas
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
IR
00000 to 23515 23600 to 25507
Downloaded from
Elcodis.com
electronic components distributor
Symbol
ROR(28)
Wd
COM(29)
Wd
ADD(30)
Au
Ad
R
SUB(31)
Mi
Su
R
MUL(32)
Md
Mr
R
DIV(33)
Dd
Dr
R
ANDW(34)
I1
I2
R
SR
HR
TR
HR 0000 to 9915
TR 0 to 7
Function
Each bit within a single word of data (Wd)
is moved one bit to the right, with bit 00
moving to carry (CY), and CY moving to bit
15.
15
CY
Inverts bit status of one word (Wd) of data,
changing 0s to 1s, and vice versa.
Wd
Wd
Adds two 4-digit BCD values (Au and Ad)
and content of CY, and outputs the result to
the specified result word (R).
Au + Ad +
CY
Subtracts both the 4-digit BCD subtrahend
(Su) and content of CY, from the 4-digit
BCD minuend (Mi) and outputs the result
to the specified result word (R).
Mi – Su –
CY
Multiplies the 4-digit BCD multiplicand
(Md) and 4-digit BCD multiplier (Mr), and
outputs the result to the specified result
words (R and R + 1). R and R + 1 must be
in the same data area.
R + 1
Md x Mr
Divides the 4-digit BCD dividend (Dd) by
the 4-digit BCD divisor (Dr), and outputs
the result to the specified result words. R
receives the quotient; R + 1 receives the
remainder. R and R + 1 must be in the
same data area.
÷
Dd
Dr
R + 1
Logically ANDs two 16-bit input words (I1
and I2) and sets the bits in the result word
(R) if the corresponding bits in the input
words are both ON.
AR
LR
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Appendix E
Operand Data Areas
Wd:
IR
HR
AR
00
LR
Wd
DM
Wd:
IR
HR
AR
LR
DM
Au/Ad:
R:
IR
IR
SR
HR
HR
AR
AR
LR
CY
R
LR
DM
TC
DM
#
Mi/Su:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
R CY
TC
DM
#
Md/Mr:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
R
DM
#
Dd/Dr:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
R
DM
#
I1/I2:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
DM
TC
DM
#
TC
DM
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
#
0000 to 9999
or 0000 to FFFF
129

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents