![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030099.webp)
59
Instruction Functions
Section 2-2
DATA ENCODER
DMPX
@DMPX
077
Output
Required
500
ASCII CONVERT
ASC
@ASC
086
Output
Required
504
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
DMPX(077)
S
R
C
S
: 1st source
word
R
: Result word
C
: Control word
C
R
C
R
Leftmost bit
Rightmost bit
Leftmost bit
l
=1 (Convert
2 words.)
FInds the location of the first or last ON bit within the source word (or
16-word range), and writes that value to the specified digit (or byte) in
the result word.
16-to-4 bit conversion
Finds leftmost bit
(Highest bit address)
16-to-4 bit decoding
(Location of leftmost
bit (m) is written to R.)
n=2 (Start with digit 2.)
256-to-8 bit conversion
l
=0 (Convert one 16-word range.)
Finds leftmost bit
(Highest bit address)
256-to-8 bit decoding (The location of
the leftmost bit in the 16-word range
(m) is written to R.)
n=1 (Start with byte 1.)
ASC(086)
S
D
Di
S
: Source word
Di
: Digit
designator
D
: 1st destination
word
Right (0)
Left (1)
Di
Converts 4-bit hexadecimal digits in the source word into their 8-bit
ASCII equivalents.
First digit to convert
Number of
digits (n+1)
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...