EasyManua.ls Logo

Omron SYSMAC C28P

Omron SYSMAC C28P
95 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
Loading...
Appendix CProgramming Instructions
77
Name
Mnemonic
OperandsFunctionSymbol
Move
MOV(21)
MOV(21)
S
D
Transfers source data (S) (word or four-
digit constant) to destination word (D).
S:
IR
SR
HR
AR
LR
TC
DM
#
D:
IR
HR
AR
LR
DM
Move NOT
MVN(22)
MVN(22)
S
D
Inverts source data (S) (word or four-digit
constant) and then transfers it to destina-
tion word (D).
S:
IR
SR
HR
AR
LR
TC
DM
#
D:
IR
HR
AR
LR
DM
BCD to
Binary
BIN(23)
BIN(23)
S
R
Converts four-digit, BCD data in source
word (S) into 16-bit binary data, and out-
puts converted data to result word (R).
S R
x10
0
x10
1
x10
2
x10
3
x16
0
x16
1
x16
2
x16
3
(BCD) (BIN)
S:
IR
SR
HR
AR
LR
TC
DM
R:
IR
HR
AR
LR
DM
Binary to
BCD
BCD(24)
BCD(24)
S
R
Converts binary data in source word (S)
into BCD, and outputs converted data to
result word (R).
x16
0
x16
1
x16
2
x16
3
x10
1
x10
2
x10
3
S R
(BIN) (BCD)
x10
0
S:
IR
SR
HR
AR
LR
DM
R:
IR
HR
AR
LR
DM
BCD Add
ADD(30)
ADD(30)
Au
Ad
R
CY CY
Adds two four-digit BCD values (Au and
Ad) and content of CY, and outputs result
to specified result word (R).
Au + Ad +
R
Au/Ad:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM
BCD
Subtract
SUB(31)
SUB(31)
Mi
Su
R
Subtracts both four-digit BCD subtrahend
(Su) and content of CY from four-digit BCD
minuend (Mi) and outputs result to speci-
fied result word (R).
CY CYMi – Su
R
Mi/Su:
IR
SR
HR
AR
LR
TC
DM
#
R:
IR
HR
AR
LR
DM

Related product manuals