Omron SYSMAC C20K Installation Manual page 79

Hide thumbs Also See for SYSMAC C20K:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
Word Shift
WSFT(16)
Compare
CMP(20)
Move
MOV(21)
Move Inverse
MVN(22)
BCD to
Binary
BIN(23)
Binary to
BCD
BCD(24)
BCD Add
ADD(30)
Area
74
Bits/Words
0000 to 1807
Symbol
Shifts data between the start and end
words in word units.
WSFT(16)
St
E
Compares two sets of four–digit hexa-
decimal data (Cp1 and Cp2) and out-
CMP(20)
puts result to GR, EQ, and LE.
Cp1
Cp2
Transfers source data (S) (word or
four–digit constant) to destination word
MOV(21)
(D).
S
D
Inverts source data (S) (word or four–
digit constant) and then transfers it to
MVN(22)
destination word(D).
S
D
Converts four–digit, BCD data in
source word (S) into 16–bit binary
BIN(23)
data, and outputs converted data to re-
S
sult word (R).
R
Converts binary data in source word (S)
into BCD, and outputs converted data to
BCD(24)
result word (R).
S
R
Adds two four–digit BCD values (Au
and Ad) and content of CY, and out-
ADD(30)
puts result to specified result word (R).
Au
Ad
R
IR
SR
HR
1808 to 1907
HR 000 to 915
Function
S
R
)
(
)
(BCD
BIN
0
0
x16
x10
1
1
x10
x16
2
2
x16
x10
3
3
x10
x16
S
R
(
)
BIN)
(BCD
0
0
x16
x10
1
1
x10
x16
2
2
x16
x10
3
3
x10
x16
Au + Ad +
CY
CY
R
TR
TC
TR 0 to 7
TC 00 to 47
Appendix D
Operands
St/E:
IR
HR
DM
Cp1/Cp2:
IR
SR
HR
TC
DM
#
S:
D:
IR
IR
SR
HR
HR
DM
TC
DM
#
S:
D:
IR
IR
SR
HR
HR
DM
TC
DM
#
S:
R:
IR
IR
SR
HR
HR
DM
TC
DM
S:
R:
IR
IR
SR
HR
HR
DM
DM
Au/Ad:
R:
IR
IR
SR
HR
HR
DM
TC
DM
#
DM
#
DM 00 to DM 63
0000 to 9999
or 0000 to FFFF

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28kSysmac c40kSysmac c60k

Table of Contents