Omron SYSMAC C20P Operation Manual page 176

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
Set Carry
STC(40)
Clear Carry
CLC(41)
4-to-16
Decoder
MLPX(76)
16-to-4
Encoder
DMPX(77)
High-speed
Counter
HDM(98)
Area
170
Bits/Words
0000 to 1807
Symbol
Sets carry flag (i.e., turns CY ON).
STC(40)
CLC clears carry flag (i.e, turns CY OFF).
CLC(41)
Converts up to four hexadecimal digits in
source word (S) into decimal values from 0
MLPX(76)
to 15 and turns ON, in result word(s) (R),
S
bit(s) whose position corresponds to con-
Di
verted value. Digits to be converted desig-
nated by Di (rightmost digit: indicates the
R
first digit; next digit to left: gives the num-
ber of digits minus 1).
S
R
Determines position of highest ON bit in
source word(s) (starting word: S) and turns
DMPX(77)
ON corresponding bit(s) in result word (R).
S
Digits to receive converted value are desig-
nated by Di (rightmost digit: indicates the
R
first digit; next digit to left: gives number of
Di
words to be converted minus 1).
Used to create and control a high-speed
(2-kHz) counter for IR 0000 with software
and hardware (IR 0001) resets.
HDM(98)
D
IR
SR
HR
1808 to 1907
HR 000 to 915
Function
0 to F
15
00
15
00
S
R
0 to F
TR
TC
TR 0 to 7
TC 00 to 47
Appendix B
Operands
None
None
S:
Di:
R:
IR
IR
IR
SR
HR
HR
HR
AR
AR
AR
LR
LR
LR
TC
DM
TC
DM
DM
#
S:
R:
Di:
IR
IR
IR
SR
HR
HR
HR
AR
AR
AR
LR
LR
LR
DM
TC
TC
DM
DM
#
D:
IR
HR
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 c28pSysmac c40pSysmac c60p

Table of Contents