![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030544.webp)
504
Conversion Instructions
Section 3-12
DMPX(077)
D0000 D0100 #0000
DMPX(077)
D0001 D0100 #0001
DMPX(077)
D0002 D0100 #0002
DMPX(077)
D0003 D0100 #0003
Examples
When CIO 000000 is ON in the following example, DMPX(077) will find the
leftmost ON bits in CIO 0100, CIO 0101, and CIO 0102 and write those loca-
tions to 3 digits in R beginning with digit 1 (the second digit), as indicated by C
(#0021).
3-12-10 ASCII CONVERT: ASC(086)
Purpose
Converts 4-bit hexadecimal digits in the source word into their 8-bit ASCII
equivalents.
Ladder Symbol
Variations
Applicable Program Areas
Operands
S: Source Word
Up to four digits in the source word can be converted. The digits are num-
bered 0 to 3, right to left.
C: #
S:
R: D00100
S
R
C
Digits
DMPX(077) finds the
leftmost ON bits.
Starting digit
(Digit 1)
ASC(086)
S
D
Di
S
: Source word
Di
: Digit designator
D
: First destination word
Variations
Executed Each Cycle for ON Condition
ASC(086)
Executed Once for Upward Differentiation
@ASC(086)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...